Blame SPECS/realmd.spec

4d12ff
Name:		realmd
4d12ff
Version:	0.16.3
4d12ff
Release:	16%{?dist}
4d12ff
Summary:	Kerberos realm enrollment service
4d12ff
License:	LGPLv2+
4d12ff
URL:		http://cgit.freedesktop.org/realmd/realmd/
4d12ff
Source0:	http://www.freedesktop.org/software/realmd/releases/realmd-%{version}.tar.gz
4d12ff
4d12ff
Patch1:		0001-LDAP-don-t-close-LDAP-socket-twice.patch
4d12ff
Patch2:		0001-service-Add-nss-and-pam-sssd.conf-services-after-joi.patch
4d12ff
Patch3:		0001-Kerberos-fall-back-to-tcp-SRV-lookup.patch
4d12ff
Patch4:		0001-service-Add-pam-and-nss-services-in-realm_sssd_confi.patch
4d12ff
Patch5:		0001-switch-to-authselect.patch
4d12ff
Patch6:		0001-Fix-man-page-reference-in-systemd-service-file.patch
4d12ff
Patch7:		0001-Use-current-idmap-options-for-smb.conf.patch
4d12ff
Patch8:		0001-Find-NetBIOS-name-in-keytab-while-leaving.patch
4d12ff
Patch9:		0001-tests-run-tests-with-python3.patch
4d12ff
Patch10:	ipa-packages.patch
4d12ff
Patch11:	0001-Fix-issues-found-by-Coverity.patch
4d12ff
4d12ff
Patch12:	0001-Change-qualified-names-default-for-IPA.patch
4d12ff
4d12ff
Patch13:	0001-IPA-do-not-call-sssd-enable-logins.patch
4d12ff
4d12ff
BuildRequires:	gcc
4d12ff
BuildRequires:	automake
4d12ff
BuildRequires:	autoconf
4d12ff
BuildRequires:	intltool pkgconfig
4d12ff
BuildRequires:	gettext-devel
4d12ff
BuildRequires:	glib2-devel >= 2.32.0
4d12ff
BuildRequires:	openldap-devel
4d12ff
BuildRequires:	polkit-devel
4d12ff
BuildRequires:	krb5-devel
4d12ff
BuildRequires:	systemd-devel
4d12ff
BuildRequires:	libxslt
4d12ff
BuildRequires:	xmlto
4d12ff
BuildRequires:	%{_bindir}/python3
4d12ff
4d12ff
Requires:	authselect
4d12ff
Requires:	polkit
4d12ff
4d12ff
%description
4d12ff
realmd is a DBus system service which manages discovery and enrollment in realms
4d12ff
and domains like Active Directory or IPA. The control center uses realmd as the
4d12ff
back end to 'join' a domain simply and automatically configure things correctly.
4d12ff
4d12ff
%package devel-docs
4d12ff
Summary:	Developer documentation files for %{name}
4d12ff
4d12ff
%description devel-docs
4d12ff
The %{name}-devel package contains developer documentation for developing
4d12ff
applications that use %{name}.
4d12ff
4d12ff
%define _hardened_build 1
4d12ff
4d12ff
%prep
4d12ff
%setup -q
4d12ff
%patch1 -p1
4d12ff
%patch2 -p1
4d12ff
%patch3 -p1
4d12ff
%patch4 -p1
4d12ff
%patch5 -p1
4d12ff
%patch6 -p1
4d12ff
%patch7 -p1
4d12ff
%patch8 -p1
4d12ff
%patch9 -p1
4d12ff
%patch10 -p1
4d12ff
%patch11 -p1
4d12ff
%patch12 -p1
4d12ff
%patch13 -p1
4d12ff
4d12ff
%build
4d12ff
autoreconf -fi
4d12ff
%configure --disable-silent-rules
4d12ff
make %{?_smp_mflags}
4d12ff
4d12ff
%check
4d12ff
make check
4d12ff
4d12ff
%install
4d12ff
make install DESTDIR=%{buildroot}
4d12ff
4d12ff
%find_lang realmd
4d12ff
4d12ff
%files -f realmd.lang
4d12ff
%doc AUTHORS COPYING NEWS README
4d12ff
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.realmd.conf
4d12ff
%{_sbindir}/realm
4d12ff
%dir %{_prefix}/lib/realmd
4d12ff
%{_prefix}/lib/realmd/realmd
4d12ff
%{_prefix}/lib/realmd/realmd-defaults.conf
4d12ff
%{_prefix}/lib/realmd/realmd-distro.conf
4d12ff
%{_unitdir}/realmd.service
4d12ff
%{_datadir}/dbus-1/system-services/org.freedesktop.realmd.service
4d12ff
%{_datadir}/polkit-1/actions/org.freedesktop.realmd.policy
4d12ff
%{_mandir}/man8/realm.8.gz
4d12ff
%{_mandir}/man5/realmd.conf.5.gz
4d12ff
%{_localstatedir}/cache/realmd/
4d12ff
4d12ff
%files devel-docs
4d12ff
%doc %{_datadir}/doc/realmd/
4d12ff
%doc ChangeLog
4d12ff
4d12ff
%changelog
4d12ff
* Thu Sep 27 2018 Sumit Bose <sbose@redhat.com> - 0.16.3-16
4d12ff
- Do not call authselect for IPA domains
4d12ff
  Resolves: rhbz#1633572
4d12ff
4d12ff
* Wed Aug 22 2018 Sumit Bose <sbose@redhat.com> - 0.16.3-15
4d12ff
- Change IPA defaults
4d12ff
  Resolves: rhbz#1619162
4d12ff
4d12ff
* Tue Aug 14 2018 Sumit Bose <sbose@redhat.com> - 0.16.3-14
4d12ff
- Fix python BuildRequires
4d12ff
  Resolves: rhbz#1615564
4d12ff
- Add RHEL specific patch for IPA
4d12ff
  Resolves: rhbz#1615320
4d12ff
- Fix issues found by Coverity
4d12ff
  Resolves: rhbz#1602677
4d12ff
4d12ff
* Wed Jul 04 2018 Sumit Bose <sbose@redhat.com> - 0.16.3-13
4d12ff
- Add latests patches from RHEL7
4d12ff
- Add polkit runtime dependency
4d12ff
  Resolves: rhbz#1577179
4d12ff
- Drop python2 build dependency
4d12ff
  Resolves: rhbz#1595813
4d12ff
- Fix documentation reference in systemd unit file
4d12ff
  Resolves: rhbz#1596325
4d12ff
* Sun Mar 18 2018 René Genz <liebundartig@freenet.de> - 0.16.3-12
4d12ff
- use correct authselect syntax for *-disable-logins to fix rhbz#1558245
4d12ff
- Iryna Shcherbina <ishcherb@redhat.com>
4d12ff
  Update Python 2 dependency declarations to new packaging standards
4d12ff
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
4d12ff
4d12ff
* Thu Mar 01 2018 Sumit Bose <sbose@redhat.com> - 0.16.3-11
4d12ff
- Require authselect instead of authconfig, related: rhbz#1537246
4d12ff
4d12ff
* Tue Feb 20 2018 Sumit Bose <sbose@redhat.com> - 0.16.3-10
4d12ff
- added BuildRequires gcc
4d12ff
- Use authselect instead of authconfig, related: rhbz#1537246
4d12ff
4d12ff
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.3-9
4d12ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4d12ff
4d12ff
* Tue Sep 05 2017 Petr Pisar <ppisar@redhat.com> - 0.16.3-8
4d12ff
- Update all m4 macros to prevent from mismatching between Automake versions
4d12ff
4d12ff
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.3-7
4d12ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4d12ff
4d12ff
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.3-6
4d12ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4d12ff
4d12ff
* Tue Apr 25 2017 Sumit Bose <sbose@redhat.com> - 0.16.3-5
4d12ff
- Resolves: rhbz#1445017
4d12ff
4d12ff
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.3-4
4d12ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4d12ff
4d12ff
* Thu Jan 19 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.16.3-3
4d12ff
- Add BuildRequires: python to fix FTBFS (BZ#1415000).
4d12ff
4d12ff
* Tue Dec 13 2016 Sumit Bose <sbose@redhat.com> - 0.16.3-2
4d12ff
- Resolves: rhbz#1401605
4d12ff
4d12ff
* Wed Nov 30 2016 Sumit Bose <sbose@redhat.com> - 0.16.3-1
4d12ff
- Updated to upstream 0.16.3 plus patches from git master
4d12ff
4d12ff
* Fri Jun 03 2016 Sumit Bose <sbose@redhat.com> - 0.16.2-5
4d12ff
- properly apply patch for rhbz#1330766
4d12ff
- Resolves: rhbz#1330766
4d12ff
4d12ff
* Wed May 18 2016 Sumit Bose <sbose@redhat.com> - 0.16.2-4
4d12ff
- Resolves: rhbz#1330766
4d12ff
4d12ff
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.2-3
4d12ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4d12ff
4d12ff
* Fri Sep 11 2015 Stef Walter <stefw@redhat.com> - 0.16.2-2
4d12ff
- Fixed --computer-ou regression
4d12ff
- Show message when installing packages
4d12ff
4d12ff
* Fri Jul 31 2015 Stef Walter <stefw@redhat.com> - 0.16.2-1
4d12ff
- Updated to upstream 0.16.2
4d12ff
- Install to $prefix/lib instead of $libdir
4d12ff
- Resolves: rhbz#1246741
4d12ff
4d12ff
* Tue Jul 14 2015 Stef Walter <stefw@redhat.com> - 0.16.1-1
4d12ff
- Updated to upstream 0.16.1
4d12ff
- Resolves: rhbz#1231128
4d12ff
4d12ff
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.0-2
4d12ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4d12ff
4d12ff
* Tue Apr 14 2015 Stef Walter <stefw@redhat.com> - 0.16.0-1
4d12ff
- Updated to upstream 0.16.0
4d12ff
- Resolves: rhbz#1205753
4d12ff
- Resolves: rhbz#1142190
4d12ff
- Resolves: rhbz#1061091
4d12ff
- Resolves: rhbz#1205752
4d12ff
4d12ff
* Thu Apr 09 2015 Stephen Gallagher <sgallagh@redhat.com> - 0.15.2-2
4d12ff
- Resolves: rhbz#1210483
4d12ff
4d12ff
* Mon Oct 06 2014 Stef Walter <stefw@redhat.com> - 0.15.2-1
4d12ff
- Update to upstream 0.15.2
4d12ff
4d12ff
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-4
4d12ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
4d12ff
4d12ff
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-3
4d12ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4d12ff
4d12ff
* Sat May 31 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.15.1-2
4d12ff
- Move ChangeLog to devel-docs. NEWS is probably riveting enough for users
4d12ff
4d12ff
* Fri May 23 2014 Stef Walter <stefw@redhat.com> - 0.15.1-1
4d12ff
- Update to upstream 0.15.1
4d12ff
- Remove the packagekit patch that's now integrated upstream
4d12ff
4d12ff
* Thu Jan 30 2014 Richard Hughes <rhughes@redhat.com> - 0.15.0-2
4d12ff
- Rebuild for libpackagekit-glib soname bump
4d12ff
4d12ff
* Tue Jan 07 2014 Stef Walter <stefw@redhat.com> - 0.15.0-1
4d12ff
- Update to upstream 0.15.0 release, fixing various bugs
4d12ff
4d12ff
* Mon Sep 09 2013 Stef Walter <stefw@redhat.com> - 0.14.6-1
4d12ff
- Update to upstream 0.14.6 point release
4d12ff
- Set 'kerberos method = system keytab' in smb.conf properly
4d12ff
- Limit Netbios name to 15 chars when joining AD domain
4d12ff
4d12ff
* Thu Aug 15 2013 Stef Walter <stefw@redhat.com> - 0.14.5-1
4d12ff
- Update to upstream 0.14.5 point release
4d12ff
- Fix regression conflicting --unattended and -U as in --user args
4d12ff
- Pass discovered server address to adcli tool
4d12ff
4d12ff
* Wed Aug 07 2013 Stef Walter <stefw@redhot.com> - 0.14.4-1
4d12ff
- Update to upstream 0.14.4 point release
4d12ff
- Fix up the [sssd] section in sssd.conf if it's screwed up
4d12ff
- Add an --unattended argument to realm command line client
4d12ff
- Clearer 'realm permit' manual page example
4d12ff
4d12ff
* Wed Aug 07 2013 Stef Walter <stefw@redhot.com> - 0.14.3-1
4d12ff
- Update to upstream 0.14.3 point release
4d12ff
- Populate LoginFormats correctly [#961442]
4d12ff
- Documentation clarifications
4d12ff
- Set sssd.conf default_shell per domain
4d12ff
- Notify in terminal output when installing packages
4d12ff
- If joined via adcli, delete computer with adcli too [#961244]
4d12ff
- If input is not a tty, read from stdin without getpass() [#983153]
4d12ff
- Configure pam_winbind.conf appropriately [#983153]
4d12ff
- Refer to FreeIPA as IPA
4d12ff
- Support use of kerberos ccache to join when winbind
4d12ff
4d12ff
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.2-5
4d12ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4d12ff
4d12ff
* Mon Jul 15 2013 Stef Walter <stefw@redhat.com> - 0.14.2-4
4d12ff
- Build with verbose automake output
4d12ff
4d12ff
* Tue Jun 11 2013 Stef Walter <stefw@redhat.com> - 0.14.2-3
4d12ff
- Run test suite when building the package
4d12ff
- Fix rpmlint errors
4d12ff
4d12ff
* Thu Jun 06 2013 Stef Walter <stefw@redhat.com> - 0.14.2-2
4d12ff
- Install oddjobd and oddjob-mkhomedir when joining domains [#969441]
4d12ff
4d12ff
* Mon May 27 2013 Stef Walter <stefw@redhat.com> - 0.14.2-1
4d12ff
- Update to upstream 0.14.2 version
4d12ff
- Discover FreeIPA 3.0 with AD trust correctly [#966148]
4d12ff
- Only allow joining one realm by default [#966650]
4d12ff
- Enable the oddjobd service after joining a domain [#964971]
4d12ff
- Remove sssd.conf allow lists when permitting all [#965760]
4d12ff
- Add dependency on authconfig [#964675]
4d12ff
- Remove glib-networking dependency now that we no longer use SSL.
4d12ff
4d12ff
* Mon May 13 2013 Stef Walter <stefw@redhat.com> - 0.14.1-1
4d12ff
- Update to upstream 0.14.1 version
4d12ff
- Fix crasher/regression using passwords with joins [#961435]
4d12ff
- Make second Ctrl-C just quit realm tool [#961325]
4d12ff
- Fix critical warning when leaving IPA realm [#961320]
4d12ff
- Don't print out journalctl command in obvious situations [#961230]
4d12ff
- Document the --all option to 'realm discover' [#961279]
4d12ff
- No need to require sssd-tools package [#961254]
4d12ff
- Enable services even in install mode [#960887]
4d12ff
- Use the AD domain name in sssd.conf directly [#960270]
4d12ff
- Fix critical warning when service Release() method [#961385]
4d12ff
4d12ff
* Mon May 06 2013 Stef Walter <stefw@redhat.com> - 0.14.0-1
4d12ff
- Work around broken krb5 with empty passwords [#960001]
4d12ff
- Add manual page for realmd.conf [#959357]
4d12ff
- Update to upstream 0.14.0 version
4d12ff
4d12ff
* Thu May 02 2013 Stef Walter <stefw@redhat.com> - 0.13.91-1
4d12ff
- Fix regression when using one time password [#958667]
4d12ff
- Support for permitting logins by group [#887675]
4d12ff
4d12ff
* Mon Apr 29 2013 Stef Walter <stefw@redhat.com> - 0.13.90-1
4d12ff
- Add option to disable package-kit installs [#953852]
4d12ff
- Add option to use unqualified names [#953825]
4d12ff
- Better discovery of domains [#953153]
4d12ff
- Concept of managing parts of the system [#914892]
4d12ff
- Fix problems with cache directory [#913457]
4d12ff
- Clearly explain when realm cannot be joined [#878018]
4d12ff
- Many other upstream enhancements and fixes
4d12ff
4d12ff
* Wed Apr 17 2013 Stef Walter <stefw@redhat.com> - 0.13.3-2
4d12ff
- Add missing glib-networking dependency, currently used
4d12ff
  for FreeIPA discovery [#953151]
4d12ff
4d12ff
* Wed Apr 17 2013 Stef Walter <stefw@redhat.com> - 0.13.3-1
4d12ff
- Update for upstream 0.13.3 version
4d12ff
- Add dependency on systemd for installing service file
4d12ff
4d12ff
* Tue Apr 16 2013 Stef Walter <stefw@redhat.com> - 0.13.2-2
4d12ff
- Fix problem with sssd not starting after joining
4d12ff
4d12ff
* Mon Feb 18 2013 Stef Walter <stefw@redhat.com> - 0.13.2-1
4d12ff
- Update to upstream 0.13.2 version
4d12ff
4d12ff
* Mon Feb 18 2013 Stef Walter <stefw@redhat.com> - 0.13.1-1
4d12ff
- Update to upstream 0.13.1 version for bug fixes
4d12ff
4d12ff
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
4d12ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4d12ff
4d12ff
* Mon Nov 12 2012 Stef Walter <stefw@redhat.com> - 0.12-1
4d12ff
- Update to upstream 0.12 version for bug fixes
4d12ff
4d12ff
* Tue Oct 30 2012 Stef Walter <stefw@redhat.com> - 0.11-1
4d12ff
- Update to upstream 0.11 version
4d12ff
4d12ff
* Sat Oct 20 2012 Stef Walter <stefw@redhat.com> - 0.10-1
4d12ff
- Update to upstream 0.10 version
4d12ff
4d12ff
* Wed Oct 17 2012 Stef Walter <stefw@redhat.com> - 0.9-1
4d12ff
- Update to upstream 0.9 version
4d12ff
4d12ff
* Wed Sep 19 2012 Stef Walter <stefw@redhat.com> - 0.8-2
4d12ff
- Add openldap-devel build requirement
4d12ff
4d12ff
* Wed Sep 19 2012 Stef Walter <stefw@redhat.com> - 0.8-1
4d12ff
- Update to upstream 0.8 version
4d12ff
- Add support for translations
4d12ff
4d12ff
* Mon Aug 20 2012 Stef Walter <stefw@redhat.com> - 0.7-2
4d12ff
- Build requires gtk-doc
4d12ff
4d12ff
* Mon Aug 20 2012 Stef Walter <stefw@redhat.com> - 0.7-1
4d12ff
- Update to upstream 0.7 version
4d12ff
- Remove files no longer present in upstream version
4d12ff
- Put documentation in its own realmd-devel-docs subpackage
4d12ff
- Update upstream URLs
4d12ff
4d12ff
* Mon Aug 6 2012 Stef Walter <stefw@redhat.com> - 0.6-1
4d12ff
- Update to upstream 0.6 version
4d12ff
4d12ff
* Tue Jul 17 2012 Stef Walter <stefw@redhat.com> - 0.5-2
4d12ff
- Remove missing SssdIpa.service file from the files list.
4d12ff
  This file will return upstream in 0.6
4d12ff
4d12ff
* Tue Jul 17 2012 Stef Walter <stefw@redhat.com> - 0.5-1
4d12ff
- Update to upstream 0.5 version
4d12ff
4d12ff
* Tue Jun 19 2012 Stef Walter <stefw@redhat.com> - 0.4-1
4d12ff
- Update to upstream 0.4 version
4d12ff
- Cleanup various rpmlint warnings
4d12ff
4d12ff
* Tue Jun 19 2012 Stef Walter <stefw@redhat.com> - 0.3-2
4d12ff
- Add doc files
4d12ff
- Own directories
4d12ff
- Remove obsolete parts of spec file
4d12ff
- Remove explicit dependencies
4d12ff
- Updated License line to LGPLv2+
4d12ff
4d12ff
* Tue Jun 19 2012 Stef Walter <stefw@redhat.com> - 0.3
4d12ff
- Build fixes
4d12ff
4d12ff
* Mon Jun 18 2012 Stef Walter <stefw@redhat.com> - 0.2
4d12ff
- Initial RPM