Blame SPECS/adcli.spec

54f29a
Name:    adcli
54f29a
Version: 0.9.1
54f29a
Release: 7%{?dist}
54f29a
Summary: Active Directory enrollment
54f29a
License: LGPLv2+
54f29a
URL:     https://gitlab.freedesktop.org/realmd/adcli
54f29a
Source0: https://gitlab.freedesktop.org/sbose/adcli/uploads/30880d967e79cee789194435e70fbf30/adcli-%{version}.tar.gz
54f29a
54f29a
Patch1: 0001-build-add-with-vendor-error-message-configure-option.patch
54f29a
54f29a
# rhbz#1977167 - [RFE] adcli should allow to modify DONT_EXPIRE_PASSWORD
54f29a
#                attribute
54f29a
Patch2: 0001-configure-update-some-macros-for-autoconf-2.71.patch
54f29a
Patch3: 0001-coverity-add-missing-NULL-checks.patch
54f29a
Patch4: 0002-Add-dont-expire-password-option.patch
54f29a
Patch5: 0001-Fix-for-dont-expire-password-option-and-join.patch
54f29a
54f29a
# rhbz#1977168 - [RFE] Allow adcli to create AD user with password as well as
54f29a
#                set or reset existing user password
54f29a
Patch6: 0001-library-move-UAC-flags-to-a-more-common-header-file.patch
54f29a
Patch7: 0002-adcli_entry-add-entry_attrs-with-userAccountControl-.patch
54f29a
Patch8: 0003-entry-add-passwd-user-sub-command.patch
54f29a
54f29a
# rhbz#1977165 - [RFE] add option to populate "managed by" computer attribute
54f29a
Patch9: 0004-Add-setattr-option.patch
54f29a
Patch10: 0005-Add-delattr-option.patch
54f29a
54f29a
# rhbz#1984892 - adcli: FTBFS because of libresolv changes in glibc 2.34
54f29a
Patch11: 0001-configure-check-for-ns_get16-and-ns_get32-as-well.patch
54f29a
54f29a
BuildRequires: gcc
54f29a
BuildRequires: intltool pkgconfig
54f29a
BuildRequires: libtool
54f29a
BuildRequires: gettext-devel
54f29a
BuildRequires: krb5-devel
54f29a
BuildRequires: openldap-devel
54f29a
BuildRequires: libxslt
54f29a
BuildRequires: xmlto
54f29a
BuildRequires: make
54f29a
54f29a
Requires: cyrus-sasl-gssapi
54f29a
Conflicts: adcli-doc < %{version}-%{release}
54f29a
54f29a
# adcli no longer has a library of development files
54f29a
# the adcli tool itself is to be used by callers
54f29a
Obsoletes: adcli-devel < 0.5
54f29a
54f29a
%description
54f29a
adcli is a tool for joining an Active Directory domain using
54f29a
standard LDAP and Kerberos calls.
54f29a
54f29a
%define _hardened_build 1
54f29a
54f29a
%prep
54f29a
%autosetup -p1
54f29a
54f29a
%build
54f29a
autoreconf --force --install --verbose
54f29a
%configure --disable-static --disable-silent-rules \
54f29a
%if 0%{?rhel}
54f29a
    --with-vendor-error-message='Please check\n    https://red.ht/support_rhel_ad \nto get help for common issues.' \
54f29a
%endif
54f29a
    %{nil}
54f29a
make %{?_smp_mflags}
54f29a
54f29a
%check
54f29a
make check
54f29a
54f29a
%install
54f29a
make install DESTDIR=%{buildroot}
54f29a
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
54f29a
54f29a
%ldconfig_scriptlets
54f29a
54f29a
%files
54f29a
%{_sbindir}/adcli
54f29a
%doc AUTHORS COPYING ChangeLog NEWS README
54f29a
%doc %{_mandir}/*/*
54f29a
54f29a
%package doc
54f29a
Summary: adcli documentation
54f29a
BuildArch: noarch
54f29a
Conflicts: adcli < %{version}-%{release}
54f29a
54f29a
%description doc
54f29a
adcli is a tool for joining an Active Directory domain using
54f29a
standard LDAP and Kerberos calls. This package contains its
54f29a
documentation.
54f29a
54f29a
%files doc
54f29a
%doc %{_datadir}/doc/adcli/*
54f29a
54f29a
%changelog
54f29a
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.1-7
54f29a
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
54f29a
  Related: rhbz#1991688
54f29a
54f29a
* Wed Jul 28 2021 Sumit Bose <sbose@redhat.com> - 0.9.1-6
54f29a
- Add ns_get16() and ns_get32() to configure check
54f29a
  Resolves: rhbz#1984892
54f29a
54f29a
* Wed Jun 30 2021 Sumit Bose <sbose@redhat.com> - 0.9.1-5
54f29a
- Sync with upstream/Fedora/RHEL-8.5
54f29a
  Resolves: rhbz#1977168, rhbz#1977167, rhbz#1977165
54f29a
54f29a
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.1-4
54f29a
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
54f29a
54f29a
* Mon Mar 29 2021 Sumit Bose <sbose@redhat.com> - 0.9.1-3
54f29a
- Add vendor error message
54f29a
  Resolves: rhbz#1889386
54f29a
54f29a
* Sat Feb 20 2021 Sumit Bose <sbose@redhat.com> - 0.9.1-2
54f29a
- Add Conflicts to avoid update/downgrade issues
54f29a
54f29a
* Sat Feb 20 2021 Sumit Bose <sbose@redhat.com> - 0.9.1-1
54f29a
- Update to upstream release 0.9.1
54f29a
54f29a
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-7
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
54f29a
54f29a
* Fri Nov 13 2020 Sumit Bose <sbose@redhat.com> - 0.9.0-6
54f29a
- Include the latest upstream patches with use-ldaps fixes, man page
54f29a
  improvements and a new sub-command to create managed service accounts
54f29a
54f29a
* Thu Aug 13 2020 Sumit Bose <sbose@redhat.com> - 0.9.0-5
54f29a
- man page and help output fixes
54f29a
54f29a
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-4
54f29a
- Second attempt - Rebuilt for
54f29a
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
54f29a
54f29a
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
54f29a
54f29a
* Mon Jun 08 2020 Sumit Bose <sbose@redhat.com> - 0.9.0-2
54f29a
- Include the latest upstream patches
54f29a
54f29a
* Wed Mar 18 2020 Sumit Bose <sbose@redhat.com> - 0.9.0-1
54f29a
- Update to upstream release 0.9.0 and latest patches
54f29a
54f29a
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-9
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
54f29a
54f29a
* Mon Aug 26 2019 Sumit Bose <sbose@redhat.com> - 0.8.2-8
54f29a
- various fixes and improvements
54f29a
  Resolves: rhbz#1683745, rhbz#1738573
54f29a
54f29a
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-7
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
54f29a
54f29a
* Fri Jul  5 2019 Jakub Hrozek <jhrozek@redhat.com> - 0.8.2-6
54f29a
- Resolves: rhbz#1727144 - adcli join fails with new krb5-libs; adcli
54f29a
                           needs to backport patches to only use permitted
54f29a
                           enctypes from upstream
54f29a
54f29a
* Tue Apr 30 2019 Sumit Bose <sbose@redhat.com> - 0.8.2-5
54f29a
- addition patch for rhbz#1630187 and new ones for rhbz#1588596
54f29a
  Resolves: rhbz#1630187, rhbz#1588596
54f29a
54f29a
* Fri Mar 22 2019 Sumit Bose <sbose@redhat.com> - 0.8.2-4
54f29a
- various fixes and improvements
54f29a
  Resolves: rhbz#1593240, rhbz#1608212, rhbz#1547014, rhbz#1547014,
54f29a
            rhbz#1649868, rhbz#1588596, rhbz#1642546, rhbz#1595911,
54f29a
            rhbz#1644311, rhbz#1337489, rhbz#1630187, rhbz#1622583
54f29a
54f29a
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-3
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
54f29a
54f29a
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-2
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
54f29a
54f29a
* Thu Jul 05 2018 Sumit Bose <sbose@redhat.com> - 0.8.0-1
54f29a
- Update to upstream release 0.8.2
54f29a
- various other fixes and improvements
54f29a
- add option to enable "Trust this computer for delegation"
54f29a
  Resolves: rhbz#988349
54f29a
- fix typos in the adcli man page
54f29a
  Resolves: rhbz#1440533
54f29a
54f29a
* Wed Mar 07 2018 Sumit Bose <sbose@redhat.com> - 0.8.0-7
54f29a
- Added BuildRequires gcc
54f29a
54f29a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-6
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
54f29a
54f29a
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
54f29a
54f29a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
54f29a
54f29a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
54f29a
54f29a
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
54f29a
54f29a
* Thu Dec 17 2015 Sumit Bose <sbose@redhat.com> - 0.8.0-1
54f29a
- Update to upstream release 0.8.0
54f29a
54f29a
* Mon Oct 19 2015 Stef Walter <stefw@redhat.com> - 0.7.6-1
54f29a
- Fix issue with keytab use with sshd
54f29a
- Resolves: rhbz#1267319
54f29a
- Put documentation in a subpackage
54f29a
54f29a
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-5
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
54f29a
54f29a
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-4
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
54f29a
54f29a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-3
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
54f29a
54f29a
* Thu Jan 30 2014 Stef Walter <stefw@redhat.com> - 0.7.5-2
54f29a
- Fix incorrect ownership of manual page directory
54f29a
54f29a
* Fri Sep 13 2013 Stef Walter <stefw@redhat.com> - 0.7.5-1
54f29a
- Update to upstream point release 0.7.5
54f29a
- Workaround for discovery via IPv6 address
54f29a
- Correctly put IPv6 addresses in temporary krb5.conf
54f29a
54f29a
* Mon Sep 09 2013 Stef Walter <stefw@redhat.com> - 0.7.4-1
54f29a
- Update to upstream point release 0.7.4
54f29a
- Correctly handle truncating long host names
54f29a
- Try to contact all available addresses for discovery
54f29a
- Build fixes
54f29a
54f29a
* Wed Aug 07 2013 Stef Walter <stefw@redhat.com> - 0.7.3-1
54f29a
- Update to upstream point release 0.7.3
54f29a
- Don't try to set encryption types on Windows 2003
54f29a
54f29a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
54f29a
54f29a
* Mon Jul 22 2013 Stef Walter <stefw@redhat.com> - 0.7.2-1
54f29a
- Update to upstream point release 0.7.2
54f29a
- Part of fix for bug [#961244]
54f29a
54f29a
* Mon Jul 15 2013 Stef Walter <stefw@redhat.com> - 0.7.1-4
54f29a
- Build with verbose output logging
54f29a
54f29a
* Tue Jun 11 2013 Stef Walter <stefw@redhat.com> - 0.7.1-3
54f29a
- Run 'make check' when building the package
54f29a
54f29a
* Mon May 13 2013 Stef Walter <stefw@redhat.com> - 0.7.1-2
54f29a
- Bump version to get around botched update
54f29a
54f29a
* Mon May 13 2013 Stef Walter <stefw@redhat.com> - 0.7.1-1
54f29a
- Update to upstream 0.7.1 release
54f29a
- Fix problems with salt discovery [#961399]
54f29a
54f29a
* Mon May 06 2013 Stef Walter <stefw@redhat.com> - 0.7-1
54f29a
- Work around broken krb5 with empty passwords [#960001]
54f29a
- Fix memory corruption issue [#959999]
54f29a
- Update to 0.7, fixing various bugs
54f29a
54f29a
* Mon Apr 29 2013 Stef Walter <stefw@redhat.com> - 0.6-1
54f29a
- Update to 0.6, fixing various bugs
54f29a
54f29a
* Wed Apr 10 2013 Stef walter <stefw@redhat.com> - 0.5-2
54f29a
- Add appropriate Obsoletes line for libadcli removal
54f29a
54f29a
* Wed Apr 10 2013 Stef Walter <stefw@redhat.com> - 0.5-1
54f29a
- Update to upstream 0.5 version
54f29a
- No more libadcli, and thus no adcli-devel
54f29a
- Many new adcli commands
54f29a
- Documentation
54f29a
54f29a
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
54f29a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
54f29a
54f29a
* Mon Nov 12 2012 Stef Walter <stefw@redhat.com> - 0.4-1
54f29a
- Update for 0.4 version, fixing various bugs
54f29a
54f29a
* Sat Oct 20 2012 Stef Walter <stefw@redhat.com> - 0.3-1
54f29a
- Update for 0.3 version
54f29a
54f29a
* Tue Sep 4 2012 Stef Walter <stefw@redhat.com> - 0.2-1
54f29a
- Update for 0.2 version
54f29a
54f29a
* Wed Aug 15 2012 Stef Walter <stefw@redhat.com> - 0.1-1
54f29a
- Initial 0.1 package