Blame SPECS/adcli.spec

7ddab3
Name:		adcli
7ddab3
Version:	0.8.2
572004
Release:	5%{?dist}
7ddab3
Summary:	Active Directory enrollment
7ddab3
License:	LGPLv2+
7ddab3
URL:		http://cgit.freedesktop.org/realmd/adcli
7ddab3
Source0:	http://www.freedesktop.org/software/realmd/releases/adcli-%{version}.tar.gz
7ddab3
7ddab3
Patch1:		0001-Remove-upper-case-only-check-when-looking-for-the-Ne.patch
7ddab3
Patch2:		0002-Use-strdup-if-offset-are-used.patch
7ddab3
Patch3:		0003-correct-spelling-of-adcli_tool_computer_delete-descr.patch
7ddab3
Patch4:		0004-doc-explain-that-all-credential-cache-types-are-supp.patch
7ddab3
Patch5:		0005-library-add-adcli_conn_is_writeable.patch
7ddab3
Patch6:		0006-Handle-kvno-increment-for-RODCs.patch
7ddab3
Patch7:		0007-Fix-memory-leak-in-test_check_nt_time_string_lifetim.patch
7ddab3
Patch8:		0008-library-add-_adcli_bin_sid_to_str.patch
7ddab3
Patch9:		0009-library-add-_adcli_call_external_program.patch
7ddab3
Patch10:	0010-library-add-_adcli_ldap_parse_sid.patch
7ddab3
Patch11:	0011-library-add-lookup_domain_sid.patch
7ddab3
Patch12:	0012-library-add-adcli_conn_get_domain_sid.patch
7ddab3
Patch13:	0013-tools-add-option-add-samba-data.patch
7ddab3
Patch14:	0014-tools-store-Samba-data-if-requested.patch
7ddab3
Patch15:	0015-make-Samba-data-tool-configurable.patch
7ddab3
Patch16:	0016-Add-trusted-for-delegation-option.patch
7ddab3
Patch17:	0017-Only-update-attributes-given-on-the-command-line.patch
7ddab3
Patch18:	0018-update-allow-to-add-service-names.patch
7ddab3
Patch19:	0019-Calculate-enctypes-in-a-separate-function.patch
7ddab3
Patch20:	0020-join-add-all-attributes-while-creating-computer-obje.patch
7ddab3
Patch21:	0021-util-add-_adcli_strv_remove_unsorted.patch
7ddab3
Patch22:	0022-Add-add-service-principal-and-remove-service-princip.patch
7ddab3
Patch23:	0023-adcli_conn_is_writeable-do-not-crash-id-domain_disco.patch
7ddab3
Patch24:	0024-doc-fix-typos-in-the-adcli-man-page.patch
7ddab3
7ddab3
Patch25:	0001-fix-typo-in-flag-value.patch
7ddab3
Patch26:	0002-_adcli_call_external_program-silence-noisy-debug-mes.patch
7ddab3
Patch27:	0003-Do-not-add-service-principals-twice.patch
7ddab3
Patch28:	0004-Do-not-depend-on-default_realm-in-krb5.conf.patch
7ddab3
ee8dc1
# rhbz#1677194 -  Realm cannot join domain when hostname is not FQDN
ee8dc1
Patch29:	0001-adutil-add-_adcli_strv_add_unique.patch
ee8dc1
Patch30:	0002-adenroll-use-_adcli_strv_add_unique-for-service-prin.patch
ee8dc1
ee8dc1
# Forward port of RHEL-7.7 ticket rhbz#1642546 - adcli exports kerberos ticket
ee8dc1
# with old kvno
ee8dc1
Patch31:	0001-Increment-kvno-after-password-change-with-user-creds.patch
ee8dc1
ee8dc1
# Forward port of RHEL-7.7 ticket rhbz#1595911 - [RFE] Have `adcli join` work
ee8dc1
# without FQDN in `hostname` output
ee8dc1
Patch32:	0001-library-use-getaddrinfo-with-AI_CANONNAME-to-find-a-.patch
ee8dc1
ee8dc1
# Forward port of RHEL-7.7 ticket rhbz#1644311 - Improve handling of service
ee8dc1
# principals
ee8dc1
Patch33:	0001-join-always-add-service-principals.patch
ee8dc1
Patch34:	0002-library-return-error-if-no-matching-key-was-found.patch
ee8dc1
ee8dc1
# Forward port of RHEL-7.7 ticket rhbz#1337489 - [RFE] adcli command with
ee8dc1
# --unix-* options doesn't update values in UnixAttributes Tab for user
ee8dc1
Patch35:	0001-create-user-add-nis-domain-option.patch
ee8dc1
Patch36:	0002-create-user-try-to-find-NIS-domain-if-needed.patch
ee8dc1
ee8dc1
# Forward port of RHEL-7.7 ticket rhbz#1630187 - [RFE] adcli join should
ee8dc1
# preserve SPN added by adcli preset-computer
ee8dc1
Patch37:	0001-ensure_keytab_principals-do-not-leak-memory-when-cal.patch
ee8dc1
Patch38:	0002-library-make-_adcli_strv_has_ex-public.patch
ee8dc1
Patch39:	0003-library-_adcli_krb5_build_principal-allow-principals.patch
ee8dc1
Patch40:	0004-library-make-sure-server-side-SPNs-are-preserved.patch
ee8dc1
ee8dc1
# Forward port of RHEL-7.7 ticket rhbz#1622583 - [RFE] Need an option for adcli
ee8dc1
# command which will show domain join status.
ee8dc1
Patch41:	0001-Implement-adcli-testjoin.patch
ee8dc1
ee8dc1
# Forward port of RHEL-7.7 ticket rhbz#1630187 - [RFE] adcli join should
ee8dc1
# preserve SPN added by adcli preset-computer - additional patch
ee8dc1
Patch42:	0001-library-add-missing-strdup.patch
ee8dc1
ee8dc1
# Forward port of RHEL-7.7 ticket rhbz#1588596 - many adcli-krb5-?????
ee8dc1
# directories are created /tmp
ee8dc1
Patch43:	0001-tools-remove-errx-from-computer-commands.patch
ee8dc1
Patch44:	0002-tools-remove-errx-from-user-and-group-commands.patch
ee8dc1
Patch45:	0003-tools-remove-errx-from-info-commands.patch
ee8dc1
Patch46:	0004-tools-remove-errx-from-adcli_read_password_func.patch
ee8dc1
Patch47:	0005-tools-remove-errx-from-setup_krb5_conf_directory.patch
ee8dc1
Patch48:	0006-tools-entry-remove-errx-from-parse_option.patch
ee8dc1
Patch49:	0007-tools-computer-remove-errx-from-parse_option.patch
ee8dc1
ee8dc1
# rhbz#1717355 - `adcli join` fails in FIPS enabled environment
ee8dc1
Patch50:	0001-Fix-for-issues-found-by-Coverity.patch
ee8dc1
Patch51:	0001-adenroll-make-sure-only-allowed-enctypes-are-used-in.patch
ee8dc1
Patch52:	0002-adconn-add-adcli_conn_set_krb5_context.patch
ee8dc1
Patch53:	0003-adenroll-add-adcli_enroll_get_permitted_keytab_encty.patch
ee8dc1
Patch54:	0004-adenroll-use-only-enctypes-permitted-by-Kerberos-con.patch
ee8dc1
572004
# rhbz#1745931 - adcli update --add-samba-data does not work as expected
572004
Patch55:	0001-doc-explain-how-to-force-password-reset.patch
572004
Patch56:	0001-man-move-note-to-the-right-section.patch
572004
572004
# rhbz#1745932 - Issue is that with arcfour-hmac as first encryption type
572004
Patch57:	0001-Do-not-use-arcfour-hmac-md5-when-discovering-the-sal.patch
572004
572004
Patch58:	0001-Fix-for-issue-found-by-Coverity.patch
572004
572004
# rhbz#1737342 - [RFE] enhancement adcli to set description attribute and to
572004
# show all AD attributes
572004
Patch59:	0001-tools-add-show-computer-command.patch
572004
Patch60:	0002-add-description-option-to-join-and-update.patch
572004
572004
Patch61:	0001-Use-GSS-SPNEGO-if-available.patch
572004
Patch62:	0002-add-option-use-ldaps.patch
572004
7ddab3
BuildRequires:	gcc
7ddab3
BuildRequires:	intltool pkgconfig
7ddab3
BuildRequires:	libtool
7ddab3
BuildRequires:	gettext-devel
7ddab3
BuildRequires:	krb5-devel
7ddab3
BuildRequires:	openldap-devel
7ddab3
BuildRequires:	libxslt
7ddab3
BuildRequires:	xmlto
7ddab3
7ddab3
Requires:	cyrus-sasl-gssapi
7ddab3
7ddab3
# adcli no longer has a library of development files
7ddab3
# the adcli tool itself is to be used by callers
7ddab3
Obsoletes:	adcli-devel < 0.5
7ddab3
7ddab3
%description
7ddab3
adcli is a tool for joining an Active Directory domain using
7ddab3
standard LDAP and Kerberos calls.
7ddab3
7ddab3
%define _hardened_build 1
7ddab3
7ddab3
%prep
ee8dc1
%autosetup -p1
7ddab3
7ddab3
%build
7ddab3
autoreconf --force --install --verbose
7ddab3
%configure --disable-static --disable-silent-rules
7ddab3
make %{?_smp_mflags}
7ddab3
7ddab3
%check
7ddab3
make check
7ddab3
7ddab3
%install
7ddab3
make install DESTDIR=%{buildroot}
7ddab3
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
7ddab3
7ddab3
%post -p /sbin/ldconfig
7ddab3
7ddab3
%postun -p /sbin/ldconfig
7ddab3
7ddab3
%clean
7ddab3
7ddab3
%files
7ddab3
%{_sbindir}/adcli
7ddab3
%doc AUTHORS COPYING ChangeLog NEWS README
7ddab3
%doc %{_mandir}/*/*
7ddab3
7ddab3
%package doc
7ddab3
Summary: adcli documentation
7ddab3
BuildArch: noarch
7ddab3
7ddab3
%description doc
7ddab3
adcli is a tool for joining an Active Directory domain using
7ddab3
standard LDAP and Kerberos calls. This package contains its
7ddab3
documentation.
7ddab3
7ddab3
%files doc
7ddab3
%doc %{_datadir}/doc/adcli/*
7ddab3
7ddab3
%changelog
572004
* Wed Jan 29 2020 Sumit Bose <sbose@redhat.com> - 0.8.2-5
572004
- adcli should be able to Force LDAPS over 636 with AD Access Provider w.r.t
572004
  sssd [#1762420]
572004
572004
* Thu Nov 28 2019 Sumit Bose <sbose@redhat.com> - 0.8.2-4
572004
- adcli update --add-samba-data does not work as expected [#1745931]
572004
- Issue is that with arcfour-hmac as first encryption type [#1745932]
572004
- [RFE] enhancement adcli to set description attribute and to show all AD
572004
  attributes [#1737342]
572004
ee8dc1
* Fri Jun 14 2019 Sumit Bose <sbose@redhat.com> - 0.8.2-3
ee8dc1
- use autosetup macro to simplify patch handling
ee8dc1
- fixed rpmlint warnings in the spec file
ee8dc1
- join failed if hostname is not FQDN [#1677194]
ee8dc1
- adcli join fails in FIPS enabled environment [#1717355]
ee8dc1
- forward port of RHEL-7.7 fixes and enhancements
ee8dc1
7ddab3
* Tue Oct 09 2018 Sumit Bose <sbose@redhat.com> - 0.8.2-2
7ddab3
- Do not add service principals twice and related fixes
7ddab3
- Resolves: rhbz#1631734
7ddab3
7ddab3
* Thu Jul 05 2018 Sumit Bose <sbose@redhat.com> - 0.8.2-1
7ddab3
- Update to upstream release 0.8.2
7ddab3
- various other fixes and improvements from the latest Fedora update
7ddab3
7ddab3
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-6
7ddab3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7ddab3
7ddab3
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
7ddab3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
7ddab3
7ddab3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
7ddab3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7ddab3
7ddab3
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
7ddab3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7ddab3
7ddab3
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
7ddab3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7ddab3
7ddab3
* Thu Dec 17 2015 Sumit Bose <sbose@redhat.com> - 0.8.0-1
7ddab3
- Update to upstream release 0.8.0
7ddab3
7ddab3
* Mon Oct 19 2015 Stef Walter <stefw@redhat.com> - 0.7.6-1
7ddab3
- Fix issue with keytab use with sshd
7ddab3
- Resolves: rhbz#1267319
7ddab3
- Put documentation in a subpackage
7ddab3
7ddab3
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-5
7ddab3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7ddab3
7ddab3
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-4
7ddab3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7ddab3
7ddab3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-3
7ddab3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7ddab3
7ddab3
* Thu Jan 30 2014 Stef Walter <stefw@redhat.com> - 0.7.5-2
7ddab3
- Fix incorrect ownership of manual page directory
7ddab3
7ddab3
* Fri Sep 13 2013 Stef Walter <stefw@redhat.com> - 0.7.5-1
7ddab3
- Update to upstream point release 0.7.5
7ddab3
- Workaround for discovery via IPv6 address
7ddab3
- Correctly put IPv6 addresses in temporary krb5.conf
7ddab3
7ddab3
* Mon Sep 09 2013 Stef Walter <stefw@redhat.com> - 0.7.4-1
7ddab3
- Update to upstream point release 0.7.4
7ddab3
- Correctly handle truncating long host names
7ddab3
- Try to contact all available addresses for discovery
7ddab3
- Build fixes
7ddab3
7ddab3
* Wed Aug 07 2013 Stef Walter <stefw@redhat.com> - 0.7.3-1
7ddab3
- Update to upstream point release 0.7.3
7ddab3
- Don't try to set encryption types on Windows 2003
7ddab3
7ddab3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2
7ddab3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7ddab3
7ddab3
* Mon Jul 22 2013 Stef Walter <stefw@redhat.com> - 0.7.2-1
7ddab3
- Update to upstream point release 0.7.2
7ddab3
- Part of fix for bug [#961244]
7ddab3
7ddab3
* Mon Jul 15 2013 Stef Walter <stefw@redhat.com> - 0.7.1-4
7ddab3
- Build with verbose output logging
7ddab3
7ddab3
* Tue Jun 11 2013 Stef Walter <stefw@redhat.com> - 0.7.1-3
7ddab3
- Run 'make check' when building the package
7ddab3
7ddab3
* Mon May 13 2013 Stef Walter <stefw@redhat.com> - 0.7.1-2
7ddab3
- Bump version to get around botched update
7ddab3
7ddab3
* Mon May 13 2013 Stef Walter <stefw@redhat.com> - 0.7.1-1
7ddab3
- Update to upstream 0.7.1 release
7ddab3
- Fix problems with salt discovery [#961399]
7ddab3
7ddab3
* Mon May 06 2013 Stef Walter <stefw@redhat.com> - 0.7-1
7ddab3
- Work around broken krb5 with empty passwords [#960001]
7ddab3
- Fix memory corruption issue [#959999]
7ddab3
- Update to 0.7, fixing various bugs
7ddab3
7ddab3
* Mon Apr 29 2013 Stef Walter <stefw@redhat.com> - 0.6-1
7ddab3
- Update to 0.6, fixing various bugs
7ddab3
7ddab3
* Wed Apr 10 2013 Stef walter <stefw@redhat.com> - 0.5-2
7ddab3
- Add appropriate Obsoletes line for libadcli removal
7ddab3
7ddab3
* Wed Apr 10 2013 Stef Walter <stefw@redhat.com> - 0.5-1
7ddab3
- Update to upstream 0.5 version
7ddab3
- No more libadcli, and thus no adcli-devel
7ddab3
- Many new adcli commands
7ddab3
- Documentation
7ddab3
7ddab3
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
7ddab3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7ddab3
7ddab3
* Mon Nov 12 2012 Stef Walter <stefw@redhat.com> - 0.4-1
7ddab3
- Update for 0.4 version, fixing various bugs
7ddab3
7ddab3
* Sat Oct 20 2012 Stef Walter <stefw@redhat.com> - 0.3-1
7ddab3
- Update for 0.3 version
7ddab3
7ddab3
* Tue Sep 4 2012 Stef Walter <stefw@redhat.com> - 0.2-1
7ddab3
- Update for 0.2 version
7ddab3
7ddab3
* Wed Aug 15 2012 Stef Walter <stefw@redhat.com> - 0.1-1
7ddab3
- Initial 0.1 package