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