Blame SPECS/adcli.spec

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