c65420
Name:		adcli
743651
Version:	0.8.1
ee944e
Release:	4%{?dist}
c65420
Summary:	Active Directory enrollment
c65420
License:	LGPLv2+
c65420
URL:		http://cgit.freedesktop.org/realmd/adcli
c65420
Source0:	http://www.freedesktop.org/software/realmd/releases/adcli-%{version}.tar.gz
743651
Patch1:		0001-library-Fix-check-for-EAGAIN-or-EINTR.patch
743651
Patch2:		0002-Patch-to-adcli.xml-to-fix-documentation-error.patch
743651
Patch3:		0003-Remove-n-or-r-n-from-stdin-password.patch
743651
Patch4:		0001-delete-use-keytab-data-to-determine-realm-and-NetBIO.patch
743651
Patch5:         0001-Remove-upper-case-only-check-when-looking-for-the-Ne.patch
743651
Patch6:         0002-Use-strdup-if-offset-are-used.patch
ee944e
Patch7:         0001-correct-spelling-of-adcli_tool_computer_delete-descr.patch
ee944e
Patch8:         0001-doc-Update-the-documentation-about-the-default-kerbe.patch
ee944e
Patch9:         0002-doc-explain-that-all-credential-cache-types-are-supp.patch
ee944e
Patch10:        0003-library-add-adcli_conn_is_writeable.patch
ee944e
Patch11:        0004-Handle-kvno-increment-for-RODCs.patch
743651
c65420
c65420
BuildRequires:	intltool pkgconfig
c65420
BuildRequires:	gettext-devel
c65420
BuildRequires:	krb5-devel
c65420
BuildRequires:	openldap-devel
c65420
BuildRequires:	libxslt
c65420
BuildRequires:	xmlto
c65420
c65420
Requires:	cyrus-sasl-gssapi
c65420
c65420
# adcli no longer has a library of development files
c65420
# the adcli tool itself is to be used by callers
c65420
Obsoletes:	adcli-devel < 0.5
c65420
c65420
%description
c65420
adcli is a library and tool for joining an Active Directory domain using
c65420
standard LDAP and Kerberos calls.
c65420
c65420
%define _hardened_build 1
c65420
c65420
%prep
c65420
%setup -q
743651
%patch1 -p1
743651
%patch2 -p1
743651
%patch3 -p1
743651
%patch4 -p1
743651
%patch5 -p1
743651
%patch6 -p1
ee944e
%patch7 -p1
ee944e
%patch8 -p1
ee944e
%patch9 -p1
ee944e
%patch10 -p1
ee944e
%patch11 -p1
c65420
c65420
%build
c65420
%configure --disable-static --disable-silent-rules
c65420
make %{?_smp_mflags}
c65420
c65420
%check
c65420
make check
c65420
c65420
%install
c65420
make install DESTDIR=%{buildroot}
c65420
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
c65420
c65420
%post -p /sbin/ldconfig
c65420
c65420
%postun -p /sbin/ldconfig
c65420
c65420
%clean
c65420
c65420
%files
c65420
%{_sbindir}/adcli
c65420
%doc AUTHORS COPYING ChangeLog NEWS README
6c0d2f
%doc %{_datadir}/doc/adcli
6c0d2f
%doc %{_mandir}/*/*
c65420
c65420
%changelog
ee944e
* Thu Nov 02 2017 Sumit Bose <sbose@redhat.com> - 0.8.1-4
ee944e
- adcli doesn't update kvno while joining system to AD domain (RODC) [#1471021]
ee944e
- adcli_tool_computer_delete description spelling [#1450179]
ee944e
- adcli man page should not only mention FILE type credential caches [#1423871]
ee944e
743651
* Wed Aug 24 2016 Sumit Bose <sbose@redhat.com> - 0.8.1-3
743651
- fix crash when name is specified on the command line and detect names with
743651
  lower case characters [#1359773]
743651
743651
* Mon Jul 25 2016 Sumit Bose <sbose@redhat.com> - 0.8.1-2
743651
- delete: use keytab data to determine realm and NetBIOS name [#1359773]
743651
* Thu May 19 2016 Sumit Bose <sbose@redhat.com> - 0.8.1-1
743651
- Update to upstream release 0.8.1
743651
- Rebase adcli in RHEL-7.3 to version 0.8.0 [#1292530]
743651
- Support Host Keytab renewal [#1288485]
743651
- realmd not joining AD so ssh gssapi-with-mic works [#1061371]
743651
- technically wrong length checks in binary parsers  [#1027905]
743651
- avoid alloca in _adcli_ldap_have_in_mod [#1027889]
743651
- [RFE] adcli --stdin-password should be able to strip newline character from
743651
  the input [#1134330]
743651
6c0d2f
* Thu Jan 30 2014 Stef Walter <stefw@redhat.com> - 0.7.5-4
6c0d2f
- Fix incorrect ownership of manual page directory [#1057563]
6c0d2f
6c0d2f
* Tue Jan 28 2014 Daniel Mach <dmach@redhat.com> - 0.7.5-3
6c0d2f
- Mass rebuild 2014-01-24
6c0d2f
6c0d2f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.7.5-2
6c0d2f
- Mass rebuild 2013-12-27
6c0d2f
c65420
* Fri Sep 13 2013 Stef Walter <stefw@redhat.com> - 0.7.5-1
c65420
- Update to upstream point release 0.7.5
c65420
- Workaround for discovery via IPv6 address [#1004442]
c65420
- Correctly put IPv6 addresses in temporary krb5.conf
c65420
c65420
* Mon Sep 09 2013 Stef Walter <stefw@redhat.com> - 0.7.4-1
c65420
- Update to upstream point release 0.7.4
c65420
- Correctly handle truncating long host names [#1001667]
c65420
- Try to contact all available addresses for discovery [#1004442]
c65420
- Build fixes [#1004823]
c65420
c65420
* Wed Aug 07 2013 Stef Walter <stefw@redhat.com> - 0.7.3-1
c65420
- Update to upstream point release 0.7.3
c65420
- Don't try to set encryption types on Windows 2003
c65420
c65420
* Mon Jul 22 2013 Stef Walter <stefw@redhat.com> - 0.7.2-1
c65420
- Update to upstream point release 0.7.2
c65420
- Part of fix for bug [#967008]
c65420
c65420
* Tue Jun 11 2013 Stef Walter <stefw@redhat.com> - 0.7.1-3
c65420
- Run 'make check' when building the package
c65420
c65420
* Mon May 13 2013 Stef Walter <stefw@redhat.com> - 0.7.1-2
c65420
- Bump version to get around botched update
c65420
c65420
* Mon May 13 2013 Stef Walter <stefw@redhat.com> - 0.7.1-1
c65420
- Update to upstream 0.7.1 release
c65420
- Fix problems with salt discovery [#961399]
c65420
c65420
* Mon May 06 2013 Stef Walter <stefw@redhat.com> - 0.7-1
c65420
- Work around broken krb5 with empty passwords [#960001]
c65420
- Fix memory corruption issue [#959999]
c65420
- Update to 0.7, fixing various bugs
c65420
c65420
* Mon Apr 29 2013 Stef Walter <stefw@redhat.com> - 0.6-1
c65420
- Update to 0.6, fixing various bugs
c65420
c65420
* Wed Apr 10 2013 Stef walter <stefw@redhat.com> - 0.5-2
c65420
- Add appropriate Obsoletes line for libadcli removal
c65420
c65420
* Wed Apr 10 2013 Stef Walter <stefw@redhat.com> - 0.5-1
c65420
- Update to upstream 0.5 version
c65420
- No more libadcli, and thus no adcli-devel
c65420
- Many new adcli commands
c65420
- Documentation
c65420
c65420
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
c65420
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c65420
c65420
* Mon Nov 12 2012 Stef Walter <stefw@redhat.com> - 0.4-1
c65420
- Update for 0.4 version, fixing various bugs
c65420
c65420
* Sat Oct 20 2012 Stef Walter <stefw@redhat.com> - 0.3-1
c65420
- Update for 0.3 version
c65420
c65420
* Tue Sep 4 2012 Stef Walter <stefw@redhat.com> - 0.2-1
c65420
- Update for 0.2 version
c65420
c65420
* Wed Aug 15 2012 Stef Walter <stefw@redhat.com> - 0.1-1
c65420
- Initial 0.1 package