3a7434
Name:		realmd
3a7434
Version:	0.16.1
3a7434
Release:	11%{?dist}
3a7434
Summary:	Kerberos realm enrollment service
3a7434
License:	LGPLv2+
3a7434
URL:		http://cgit.freedesktop.org/realmd/realmd/
3a7434
Source0:	http://www.freedesktop.org/software/realmd/releases/realmd-%{version}.tar.gz
3a7434
3a7434
Patch0:         ipa-packages.patch
3a7434
Patch2:		remove-spurious-print.patch
3a7434
Patch3:         increase-packagekit-timeout.patch
3a7434
Patch4:         dns-domain-name-liberal.patch
3a7434
3a7434
Patch11:        install-diagnostic.patch
3a7434
Patch12:        computer-ou.patch
3a7434
Patch13:        duplicate-test-path.patch
3a7434
3a7434
Patch20:        samba-by-default.patch
3a7434
Patch21:        Fix-invalid-unrefs-on-realm_invocation_get_cancellab.patch
3a7434
Patch22:        0001-Support-manually-setting-computer-name.patch
3a7434
Patch23:        0002-Add-computer-name-support-to-realm-join-CLI.patch
3a7434
Patch24:        0003-Add-documentation-for-computer-name-setting.patch
3a7434
Patch25:        0001-Make-DBus-aware-of-systemd.patch
3a7434
Patch26:        0001-Add-os-name-and-os-version-command-line-options.patch
3a7434
Patch27:        0001-doc-add-computer-name-to-realm-man-page.patch
3a7434
Patch28:        0001-Fix-man-page-reference-in-systemd-service-file.patch
3a7434
Patch29:        0001-Use-current-idmap-options-for-smb.conf.patch
3a7434
Patch30:        0001-Find-NetBIOS-name-in-keytab-while-leaving.patch
3a7434
Patch31:        0001-Fix-issues-found-by-Coverity.patch
3a7434
3a7434
BuildRequires:  automake
3a7434
BuildRequires:  autoconf
3a7434
BuildRequires:	intltool pkgconfig
3a7434
BuildRequires:	gettext-devel
3a7434
BuildRequires:	glib2-devel >= 2.32.0
3a7434
BuildRequires:	openldap-devel
3a7434
BuildRequires:	polkit-devel
3a7434
BuildRequires:	krb5-devel
3a7434
BuildRequires:	systemd-devel
3a7434
BuildRequires:	libxslt
3a7434
BuildRequires:	xmlto
3a7434
BuildRequires:	automake
3a7434
3a7434
Requires:	authconfig
3a7434
Requires:	oddjob-mkhomedir
3a7434
3a7434
%description
3a7434
realmd is a DBus system service which manages discovery and enrollment in realms
3a7434
and domains like Active Directory or IPA. The control center uses realmd as the
3a7434
back end to 'join' a domain simply and automatically configure things correctly.
3a7434
3a7434
%package devel-docs
3a7434
Summary:	Developer documentation files for %{name}
3a7434
3a7434
%description devel-docs
3a7434
The %{name}-devel package contains developer documentation for developing
3a7434
applications that use %{name}.
3a7434
3a7434
%define _hardened_build 1
3a7434
3a7434
%prep
3a7434
%setup -q
3a7434
%patch0 -p1
3a7434
%patch2 -p1
3a7434
%patch3 -p1
3a7434
%patch4 -p1
3a7434
%patch11 -p1
3a7434
%patch12 -p1
3a7434
%patch13 -p1
3a7434
%patch20 -p1
3a7434
%patch21 -p1
3a7434
%patch22 -p1
3a7434
%patch23 -p1
3a7434
%patch24 -p1
3a7434
%patch25 -p1
3a7434
%patch26 -p1
3a7434
%patch27 -p1
3a7434
%patch28 -p1
3a7434
%patch29 -p1
3a7434
%patch30 -p1
3a7434
%patch31 -p1
3a7434
3a7434
%build
3a7434
aclocal
3a7434
automake --add-missing
3a7434
autoconf
3a7434
%configure --disable-silent-rules
3a7434
make %{?_smp_mflags}
3a7434
3a7434
%check
3a7434
make check
3a7434
3a7434
%install
3a7434
make install DESTDIR=%{buildroot}
3a7434
3a7434
%find_lang realmd
3a7434
3a7434
%post
3a7434
%systemd_post realmd.service
3a7434
3a7434
%preun
3a7434
%systemd_preun realmd.service
3a7434
3a7434
%postun
3a7434
%systemd_postun_with_restart realmd.service
3a7434
3a7434
%files -f realmd.lang
3a7434
%doc AUTHORS COPYING NEWS README
3a7434
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.realmd.conf
3a7434
%{_sbindir}/realm
3a7434
%dir %{_libdir}/realmd
3a7434
%{_libdir}/realmd/realmd
3a7434
%{_libdir}/realmd/realmd-defaults.conf
3a7434
%{_libdir}/realmd/realmd-distro.conf
3a7434
%{_unitdir}/realmd.service
3a7434
%{_datadir}/dbus-1/system-services/org.freedesktop.realmd.service
3a7434
%{_datadir}/polkit-1/actions/org.freedesktop.realmd.policy
3a7434
%{_mandir}/man8/realm.8.gz
3a7434
%{_mandir}/man5/realmd.conf.5.gz
3a7434
%{_localstatedir}/cache/realmd/
3a7434
3a7434
%files devel-docs
3a7434
%doc %{_datadir}/doc/realmd/
3a7434
%doc ChangeLog
3a7434
3a7434
%changelog
3a7434
* Tue Aug 21 2018 Sumit Bose <sbose@redhat.com> - 0.16.1-11
3a7434
Improve fix for rhbz#1370457 and fix Coverity issues
3a7434
- Resolves: rhbz#1370457
3a7434
3a7434
* Thu Jun 14 2018 Sumit Bose <sbose@redhat.com> - 0.16.1-10
3a7434
Use current Samba options and read NetBIOS name from keytab
3a7434
- Resolves: rhbz#1484072
3a7434
- Resolves: rhbz#1370457
3a7434
3a7434
* Wed Sep 07 2016 Sumit Bose <sbose@redhat.com> - 0.16.1-9
3a7434
Rebuild to fix wrong doc path
3a7434
- Resolves: rhbz#1360702
3a7434
3a7434
* Wed Jul 27 2016 Sumit Bose <sbose@redhat.com> - 0.16.1-8
3a7434
Fix man page reference in systemd service file
3a7434
- Resolves: rhbz#1360702
3a7434
3a7434
* Mon Jul 25 2016 Sumit Bose <sbose@redhat.com> - 0.16.1-7
3a7434
doc: add computer-name to realm man page
3a7434
- Related: rhbz#1293390
3a7434
3a7434
* Tue Jun 28 2016 Sumit Bose <sbose@redhat.com> - 0.16.1-6
3a7434
- Resolves: rhbz#1258745
3a7434
- Resolves: rhbz#1258488
3a7434
- Resolves: rhbz#1267563
3a7434
- Resolves: rhbz#1293390
3a7434
- Resolves: rhbz#1273924
3a7434
- Resolves: rhbz#1274368
3a7434
- Resolves: rhbz#1291924
3a7434
3a7434
* Fri Oct 16 2015 Stef Walter <stefw@redhat.com> - 0.16.1-5
3a7434
- Revert 0.16.1-4
3a7434
- Use samba by default
3a7434
- Resolves: rhbz#1271618
3a7434
3a7434
* Fri Sep 11 2015 Stef Walter <stefw@redhat.com> - 0.16.1-4
3a7434
- Fix regressions in 0.16.x releases
3a7434
- Resolves: rhbz#1258745
3a7434
- Resolves: rhbz#1258488
3a7434
3a7434
* Fri Jul 31 2015 Stef Walter <stefw@redhat.com> - 0.16.1-3
3a7434
- Fix regression accepting DNS domain names
3a7434
- Resolves: rhbz#1243771
3a7434
3a7434
* Fri Jul 24 2015 Stef Walter <stefw@redhat.com> - 0.16.1-2
3a7434
- Fix discarded patch: ipa-packages.patch
3a7434
3a7434
* Tue Jul 14 2015 Stef Walter <stefw@redhat.com> - 0.16.1-1
3a7434
- Updated to upstream 0.16.1
3a7434
- Resolves: rhbz#1241832
3a7434
- Resolves: rhbz#1230941
3a7434
3a7434
* Tue Apr 14 2015 Stef Walter <stefw@redhat.com> - 0.16.0-1
3a7434
- Updated to upstream 0.16.0
3a7434
- Resolves: rhbz#1174911
3a7434
- Resolves: rhbz#1142191
3a7434
- Resolves: rhbz#1142148
3a7434
3a7434
* Fri Jan 10 2014 Stef Walter <stefw@redhat.com> - 0.14.6-5
3a7434
- Don't crash when full_name_format is not in sssd.conf [#1051033]
3a7434
  This is a regression from a prior update.
3a7434
3a7434
* Tue Jan 07 2014 Stef Walter <stefw@redhat.com> - 0.14.6-4
3a7434
- Fix full_name_format printf(3) related failure [#1048087]
3a7434
3a7434
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.14.6-3
3a7434
- Mass rebuild 2013-12-27
3a7434
3a7434
* Fri Sep 20 2013 Stef Walter <stefw@redhat.com> - 0.14.6-2
3a7434
- Start oddjob after joining a domain [#967023]
3a7434
3a7434
* Mon Sep 09 2013 Stef Walter <stefw@redhat.com> - 0.14.6-1
3a7434
- Update to upstream 0.14.6 point release
3a7434
- Set 'kerberos method = system keytab' in smb.conf properly [#997580]
3a7434
- Limit Netbios name to 15 chars when joining AD domain [#1001667]
3a7434
3a7434
* Thu Aug 15 2013 Stef Walter <stefw@redhat.com> - 0.14.5-1
3a7434
- Update to upstream 0.14.5 point release
3a7434
- Fix regression conflicting --unattended and -U as in --user args [#996223]
3a7434
- Pass discovered server address to adcli tool [#996995]
3a7434
3a7434
* Wed Aug 07 2013 Stef Walter <stefw@redhot.com> - 0.14.4-1
3a7434
- Update to upstream 0.14.4 point release
3a7434
- Fix up the [sssd] section in sssd.conf if it's screwed up [#987491]
3a7434
- Add an --unattended argument to realm command line client [#976593]
3a7434
- Clearer 'realm permit' manual page example [#985800]
3a7434
3a7434
* Mon Jul 22 2013 Stef Walter <stefw@redhat.com> - 0.14.3-1
3a7434
- Update to upstream 0.14.3 point release
3a7434
- Populate LoginFormats correctly [#967011]
3a7434
- Documentation clarifications [#985773] [#967565]
3a7434
- Set sssd.conf default_shell per domain [#967569]
3a7434
- Notify in terminal output when installing packages [#984960]
3a7434
- If joined via adcli, delete computer with adcli too [#967008]
3a7434
- If input is not a tty, then read from stdin without getpass()
3a7434
- Configure pam_winbind.conf appropriately [#985819]
3a7434
- Refer to FreeIPA as IPA [#967019]
3a7434
- Support use of kerberos ccache to join when winbind [#985817]
3a7434
3a7434
* Tue Jun 11 2013 Stef Walter <stefw@redhat.com> - 0.14.2-3
3a7434
- Run test suite when building the package
3a7434
- Fix rpmlint errors
3a7434
3a7434
* Thu Jun 06 2013 Stef Walter <stefw@redhat.com> - 0.14.2-2
3a7434
- Install oddjobd and oddjob-mkhomedir when joining domains [#969441]
3a7434
3a7434
* Mon May 27 2013 Stef Walter <stefw@redhat.com> - 0.14.2-1
3a7434
- Update to upstream 0.14.2 version
3a7434
- Discover FreeIPA 3.0 with AD trust correctly [#966148]
3a7434
- Only allow joining one realm by default [#966650]
3a7434
- Enable the oddjobd service after joining a domain [#964971]
3a7434
- Remove sssd.conf allow lists when permitting all [#965760]
3a7434
- Add dependency on authconfig [#964675]
3a7434
- Remove glib-networking dependency now that we no longer use SSL.
3a7434
3a7434
* Mon May 13 2013 Stef Walter <stefw@redhat.com> - 0.14.1-1
3a7434
- Update to upstream 0.14.1 version
3a7434
- Fix crasher/regression using passwords with joins [#961435]
3a7434
- Make second Ctrl-C just quit realm tool [#961325]
3a7434
- Fix critical warning when leaving IPA realm [#961320]
3a7434
- Don't print out journalctl command in obvious situations [#961230]
3a7434
- Document the --all option to 'realm discover' [#961279]
3a7434
- No need to require sssd-tools package [#961254]
3a7434
- Enable services even in install mode [#960887]
3a7434
- Use the AD domain name in sssd.conf directly [#960270]
3a7434
- Fix critical warning when service Release() method [#961385]
3a7434
3a7434
* Mon May 06 2013 Stef Walter <stefw@redhat.com> - 0.14.0-1
3a7434
- Work around broken krb5 with empty passwords [#960001]
3a7434
- Add manual page for realmd.conf [#959357]
3a7434
- Update to upstream 0.14.0 version
3a7434
3a7434
* Thu May 02 2013 Stef Walter <stefw@redhat.com> - 0.13.91-1
3a7434
- Fix regression when using one time password [#958667]
3a7434
- Support for permitting logins by group [#887675]
3a7434
3a7434
* Mon Apr 29 2013 Stef Walter <stefw@redhat.com> - 0.13.90-1
3a7434
- Add option to disable package-kit installs [#953852]
3a7434
- Add option to use unqualified names [#953825]
3a7434
- Better discovery of domains [#953153]
3a7434
- Concept of managing parts of the system [#914892]
3a7434
- Fix problems with cache directory [#913457]
3a7434
- Clearly explain when realm cannot be joined [#878018]
3a7434
- Many other upstream enhancements and fixes
3a7434
3a7434
* Wed Apr 17 2013 Stef Walter <stefw@redhat.com> - 0.13.3-2
3a7434
- Add missing glib-networking dependency, currently used
3a7434
  for FreeIPA discovery [#953151]
3a7434
3a7434
* Wed Apr 17 2013 Stef Walter <stefw@redhat.com> - 0.13.3-1
3a7434
- Update for upstream 0.13.3 version
3a7434
- Add dependency on systemd for installing service file
3a7434
3a7434
* Tue Apr 16 2013 Stef Walter <stefw@redhat.com> - 0.13.2-2
3a7434
- Fix problem with sssd not starting after joining
3a7434
3a7434
* Mon Feb 18 2013 Stef Walter <stefw@redhat.com> - 0.13.2-1
3a7434
- Update to upstream 0.13.2 version
3a7434
3a7434
* Mon Feb 18 2013 Stef Walter <stefw@redhat.com> - 0.13.1-1
3a7434
- Update to upstream 0.13.1 version for bug fixes
3a7434
3a7434
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
3a7434
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3a7434
3a7434
* Mon Nov 12 2012 Stef Walter <stefw@redhat.com> - 0.12-1
3a7434
- Update to upstream 0.12 version for bug fixes
3a7434
3a7434
* Tue Oct 30 2012 Stef Walter <stefw@redhat.com> - 0.11-1
3a7434
- Update to upstream 0.11 version
3a7434
3a7434
* Sat Oct 20 2012 Stef Walter <stefw@redhat.com> - 0.10-1
3a7434
- Update to upstream 0.10 version
3a7434
3a7434
* Wed Oct 17 2012 Stef Walter <stefw@redhat.com> - 0.9-1
3a7434
- Update to upstream 0.9 version
3a7434
3a7434
* Wed Sep 19 2012 Stef Walter <stefw@redhat.com> - 0.8-2
3a7434
- Add openldap-devel build requirement
3a7434
3a7434
* Wed Sep 19 2012 Stef Walter <stefw@redhat.com> - 0.8-1
3a7434
- Update to upstream 0.8 version
3a7434
- Add support for translations
3a7434
3a7434
* Mon Aug 20 2012 Stef Walter <stefw@redhat.com> - 0.7-2
3a7434
- Build requires gtk-doc
3a7434
3a7434
* Mon Aug 20 2012 Stef Walter <stefw@redhat.com> - 0.7-1
3a7434
- Update to upstream 0.7 version
3a7434
- Remove files no longer present in upstream version
3a7434
- Put documentation in its own realmd-devel-docs subpackage
3a7434
- Update upstream URLs
3a7434
3a7434
* Mon Aug 6 2012 Stef Walter <stefw@redhat.com> - 0.6-1
3a7434
- Update to upstream 0.6 version
3a7434
3a7434
* Tue Jul 17 2012 Stef Walter <stefw@redhat.com> - 0.5-2
3a7434
- Remove missing SssdIpa.service file from the files list.
3a7434
  This file will return upstream in 0.6
3a7434
3a7434
* Tue Jul 17 2012 Stef Walter <stefw@redhat.com> - 0.5-1
3a7434
- Update to upstream 0.5 version
3a7434
3a7434
* Tue Jun 19 2012 Stef Walter <stefw@redhat.com> - 0.4-1
3a7434
- Update to upstream 0.4 version
3a7434
- Cleanup various rpmlint warnings
3a7434
3a7434
* Tue Jun 19 2012 Stef Walter <stefw@redhat.com> - 0.3-2
3a7434
- Add doc files
3a7434
- Own directories
3a7434
- Remove obsolete parts of spec file
3a7434
- Remove explicit dependencies
3a7434
- Updated License line to LGPLv2+
3a7434
3a7434
* Tue Jun 19 2012 Stef Walter <stefw@redhat.com> - 0.3
3a7434
- Build fixes
3a7434
3a7434
* Mon Jun 18 2012 Stef Walter <stefw@redhat.com> - 0.2
3a7434
- Initial RPM