Blame SPECS/oddjob.spec

9ac6c8
%global build_sample_subpackage 0
9ac6c8
9ac6c8
%if 0%{?fedora} > 21 || 0%{?rhel} > 7
9ac6c8
%global dbus_send /usr/bin/dbus-send
9ac6c8
%else
9ac6c8
%global dbus_send /bin/dbus-send
9ac6c8
%endif
9ac6c8
9ac6c8
%if 0%{?fedora} > 18 || 0%{?rhel} > 6
9ac6c8
%global systemd 1
9ac6c8
%global sysvinit 0
9ac6c8
%else
9ac6c8
%global systemd 0
9ac6c8
%global sysvinit 1
9ac6c8
%endif
9ac6c8
9ac6c8
%if 0%{?fedora} > 16 || 0%{?rhel} > 6
9ac6c8
%global separate_usr 0
9ac6c8
%else
9ac6c8
%global separate_usr 1
9ac6c8
%endif
9ac6c8
9ac6c8
Name: oddjob
b7ca90
Version: 0.34.7
466cc8
Release: 2%{?dist}
9ac6c8
Source0: https://releases.pagure.org/oddjob/oddjob-%{version}.tar.gz
b7ca90
Source1: https://releases.pagure.org/oddjob/oddjob-%{version}.tar.gz.asc
466cc8
Patch0: oddjob-cve-2020-10737-reversal-option.patch
673046
9ac6c8
Summary: A D-Bus service which runs odd jobs on behalf of client applications
9ac6c8
License: BSD
9ac6c8
Group: System Environment/Daemons
9ac6c8
BuildRequires:  gcc
9ac6c8
BuildRequires: dbus-devel >= 0.22, dbus-x11, libselinux-devel, libxml2-devel
9ac6c8
BuildRequires: pam-devel, pkgconfig
9ac6c8
BuildRequires: cyrus-sasl-devel, krb5-devel, openldap-devel
9ac6c8
BuildRequires: docbook-dtds, xmlto
9ac6c8
%if %{systemd}
9ac6c8
BuildRequires:	systemd-units
9ac6c8
Requires(post):	systemd-units
9ac6c8
Requires(preun):	systemd-units
9ac6c8
Requires(postun):	systemd-units
9ac6c8
Requires(post):	systemd-sysv
9ac6c8
%else
9ac6c8
Requires(post): /sbin/service
9ac6c8
Requires(postun): /sbin/service
9ac6c8
Requires(post): /sbin/chkconfig
9ac6c8
Requires(pre): /sbin/chkconfig
9ac6c8
%endif
9ac6c8
Requires: dbus
9ac6c8
# for "killall"
9ac6c8
Requires(post): psmisc
9ac6c8
Obsoletes: oddjob-devel < 0.30, oddjob-libs < 0.30, oddjob-python < 0.30
9ac6c8
URL: https://pagure.io/oddjob
9ac6c8
9ac6c8
%if %{systemd}
9ac6c8
BuildRequires:  systemd-units
9ac6c8
Requires(post): systemd-units
9ac6c8
Requires(preun): systemd-units
9ac6c8
Requires(postun): systemd-units
9ac6c8
Requires(post): systemd-sysv
9ac6c8
%endif
9ac6c8
9ac6c8
%if %{sysvinit}
9ac6c8
Requires(post): /sbin/chkconfig, /sbin/service
9ac6c8
Requires(preun): /sbin/chkconfig, /sbin/service
9ac6c8
%endif
9ac6c8
9ac6c8
9ac6c8
%description
9ac6c8
oddjob is a D-Bus service which performs particular tasks for clients which
9ac6c8
connect to it and issue requests using the system-wide message bus.
9ac6c8
9ac6c8
%package mkhomedir
9ac6c8
Group: System Environment/Daemons
9ac6c8
Summary: An oddjob helper which creates and populates home directories
9ac6c8
Requires: %{name} = %{version}-%{release}
9ac6c8
Requires(post): %{dbus_send}, grep, sed, psmisc
9ac6c8
9ac6c8
%description mkhomedir
9ac6c8
This package contains the oddjob helper which can be used by the
9ac6c8
pam_oddjob_mkhomedir module to create a home directory for a user
9ac6c8
at login-time.
9ac6c8
9ac6c8
%package sample
9ac6c8
Group: System Environment/Daemons
9ac6c8
Summary: A sample oddjob service.
9ac6c8
Requires: %{name} = %{version}-%{release}
9ac6c8
9ac6c8
%description sample
9ac6c8
This package contains a trivial sample oddjob service.
9ac6c8
9ac6c8
%prep
9ac6c8
%setup -q
466cc8
%patch0 -p1
9ac6c8
9ac6c8
%build
9ac6c8
sample_flag=
9ac6c8
%if %{build_sample_subpackage}
9ac6c8
sample_flag=--enable-sample
9ac6c8
%endif
9ac6c8
%configure \
9ac6c8
	--disable-static \
9ac6c8
	--enable-pie --enable-now \
9ac6c8
	--with-selinux-acls \
9ac6c8
	--with-selinux-labels \
9ac6c8
	--without-python --enable-xml-docs --enable-compat-dtd \
9ac6c8
	--disable-dependency-tracking \
9ac6c8
%if %{systemd}
9ac6c8
	--enable-systemd --disable-sysvinit \
9ac6c8
%else
9ac6c8
	--enable-sysvinit --disable-systemd \
9ac6c8
%endif
9ac6c8
	$sample_flag
9ac6c8
make %{_smp_mflags}
9ac6c8
9ac6c8
%install
9ac6c8
rm -fr "$RPM_BUILD_ROOT"
9ac6c8
make install DESTDIR="$RPM_BUILD_ROOT"
9ac6c8
rm -f "$RPM_BUILD_ROOT"/%{_libdir}/security/*.la
9ac6c8
rm -f "$RPM_BUILD_ROOT"/%{_libdir}/security/*.a
9ac6c8
%if %{separate_usr}
9ac6c8
if ! test -d "$RPM_BUILD_ROOT"/%{_lib}/security ; then
9ac6c8
	mkdir -p "$RPM_BUILD_ROOT"/%{_lib}/security
9ac6c8
	mv "$RPM_BUILD_ROOT"/%{_libdir}/security/*.so "$RPM_BUILD_ROOT"/%{_lib}/security/
9ac6c8
fi
9ac6c8
%endif
9ac6c8
# Recommended, though I disagree.
9ac6c8
rm -f "$RPM_BUILD_ROOT"/%{_libdir}/*.la
9ac6c8
9ac6c8
%if ! %{build_sample_subpackage}
9ac6c8
# Go ahead and build the sample layout.
9ac6c8
mkdir -p sample-install-root/sample/{%{_sysconfdir}/{dbus-1/system.d,%{name}d.conf.d},%{_libdir}/%{name}}
9ac6c8
install -m644 sample/oddjobd-sample.conf	sample-install-root/sample/%{_sysconfdir}/%{name}d.conf.d/
9ac6c8
install -m644 sample/oddjob-sample.conf		sample-install-root/sample/%{_sysconfdir}/dbus-1/system.d/
9ac6c8
install -m755 sample/oddjob-sample.sh		sample-install-root/sample/%{_libdir}/%{name}/
9ac6c8
%endif
9ac6c8
9ac6c8
# Make sure we don't needlessly make these docs executable.
9ac6c8
chmod -x src/reload src/mkhomedirfor src/mkmyhomedir
9ac6c8
9ac6c8
# Make sure the datestamps match in multilib pairs.
9ac6c8
touch -r src/oddjobd-mkhomedir.conf.in	$RPM_BUILD_ROOT/%{_sysconfdir}/oddjobd.conf.d/oddjobd-mkhomedir.conf
9ac6c8
touch -r src/oddjob-mkhomedir.conf.in	$RPM_BUILD_ROOT/%{_sysconfdir}/dbus-1/system.d/oddjob-mkhomedir.conf
9ac6c8
9ac6c8
%files
9ac6c8
%doc *.dtd COPYING NEWS QUICKSTART doc/oddjob.html src/reload
9ac6c8
%if ! %{build_sample_subpackage}
9ac6c8
%doc sample-install-root/sample
9ac6c8
%endif
9ac6c8
%if %{systemd}
9ac6c8
%{_unitdir}/oddjobd.service
9ac6c8
%else
9ac6c8
%{_initrddir}/oddjobd
9ac6c8
%endif
9ac6c8
%{_bindir}/*
9ac6c8
%{_sbindir}/*
9ac6c8
%config(noreplace) %{_sysconfdir}/dbus-*/system.d/oddjob.conf
9ac6c8
%config(noreplace) %{_sysconfdir}/oddjobd.conf
9ac6c8
%dir %{_sysconfdir}/oddjobd.conf.d
9ac6c8
%config(noreplace) %{_sysconfdir}/oddjobd.conf.d/oddjobd-introspection.conf
9ac6c8
%dir %{_sysconfdir}/%{name}
9ac6c8
%dir %{_libexecdir}/%{name}
9ac6c8
%{_libexecdir}/%{name}/sanity.sh
9ac6c8
%{_mandir}/*/oddjob.*
9ac6c8
%{_mandir}/*/oddjob_request.*
9ac6c8
%{_mandir}/*/oddjobd.*
9ac6c8
%{_mandir}/*/oddjobd-introspection.*
9ac6c8
9ac6c8
%files mkhomedir
9ac6c8
%doc src/mkhomedirfor src/mkmyhomedir
9ac6c8
%dir %{_libexecdir}/%{name}
9ac6c8
%{_libexecdir}/%{name}/mkhomedir
9ac6c8
%if %{separate_usr}
9ac6c8
/%{_lib}/security/pam_oddjob_mkhomedir.so
9ac6c8
%else
9ac6c8
%{_libdir}/security/pam_oddjob_mkhomedir.so
9ac6c8
%endif
9ac6c8
%{_mandir}/*/pam_oddjob_mkhomedir.*
9ac6c8
%{_mandir}/*/oddjob-mkhomedir.*
9ac6c8
%{_mandir}/*/oddjobd-mkhomedir.*
9ac6c8
%config(noreplace) %{_sysconfdir}/dbus-*/system.d/oddjob-mkhomedir.conf
9ac6c8
%config(noreplace) %{_sysconfdir}/oddjobd.conf.d/oddjobd-mkhomedir.conf
9ac6c8
9ac6c8
%if %{build_sample_subpackage}
9ac6c8
%files sample
9ac6c8
%{_libdir}/%{name}/oddjob-sample.sh
9ac6c8
%config %{_sysconfdir}/dbus-*/system.d/oddjob-sample.conf
9ac6c8
%config %{_sysconfdir}/oddjobd.conf.d/oddjobd-sample.conf
9ac6c8
%endif
9ac6c8
9ac6c8
%post
9ac6c8
if test $1 -eq 1 ; then
9ac6c8
	killall -HUP dbus-daemon 2>&1 > /dev/null
9ac6c8
fi
9ac6c8
%if %{systemd}
9ac6c8
%systemd_post oddjobd.service
9ac6c8
%endif
9ac6c8
%if %{sysvinit}
9ac6c8
/sbin/chkconfig --add oddjobd
9ac6c8
%endif
9ac6c8
9ac6c8
%postun
9ac6c8
%if %{systemd}
9ac6c8
%systemd_postun_with_restart oddjobd.service
9ac6c8
%endif
9ac6c8
%if %{sysvinit}
9ac6c8
if [ $1 -gt 0 ] ; then
9ac6c8
	/sbin/service oddjobd condrestart 2>&1 > /dev/null || :
9ac6c8
fi
9ac6c8
%endif
9ac6c8
exit 0
9ac6c8
9ac6c8
%preun
9ac6c8
%if %{systemd}
9ac6c8
%systemd_preun oddjobd.service
9ac6c8
%endif
9ac6c8
%if %{sysvinit}
9ac6c8
if [ $1 -eq 0 ] ; then
9ac6c8
	/sbin/service oddjobd stop > /dev/null 2>&1
9ac6c8
	/sbin/chkconfig --del oddjobd
9ac6c8
fi
9ac6c8
%endif
9ac6c8
exit 0
9ac6c8
9ac6c8
%if %{systemd}
9ac6c8
%triggerun -- oddjobd < 0.31.3
9ac6c8
# Save the current service runlevel info, in case the user wants to apply
9ac6c8
# the enabled status manually later, by running
9ac6c8
#   "systemd-sysv-convert --apply oddjobd".
9ac6c8
%{_bindir}/systemd-sysv-convert --save oddjobd >/dev/null 2>&1 ||:
9ac6c8
# Do this because the old package's %%postun doesn't know we need to do it.
9ac6c8
/sbin/chkconfig --del oddjobd >/dev/null 2>&1 || :
9ac6c8
# Do this because the old package's %%postun wouldn't have tried.
9ac6c8
/bin/systemctl try-restart oddjobd.service >/dev/null 2>&1 || :
9ac6c8
exit 0
9ac6c8
%endif
9ac6c8
9ac6c8
%post mkhomedir
9ac6c8
# Adjust older configuration files that may have been modified so that they
9ac6c8
# point to the current location of the helper.
9ac6c8
cfg=%{_sysconfdir}/oddjobd.conf.d/oddjobd-mkhomedir.conf
9ac6c8
if grep -q %{_libdir}/%{name}/mkhomedir $cfg ; then
9ac6c8
	sed -i 's^%{_libdir}/%{name}/mkhomedir^%{_libexecdir}/%{name}/mkhomedir^g' $cfg
9ac6c8
fi
9ac6c8
if test $1 -eq 1 ; then
9ac6c8
	killall -HUP dbus-daemon 2>&1 > /dev/null
9ac6c8
fi
9ac6c8
if [ -f /var/lock/subsys/oddjobd ] ; then
9ac6c8
	%{dbus_send} --system --dest=com.redhat.oddjob /com/redhat/oddjob com.redhat.oddjob.reload
9ac6c8
fi
9ac6c8
exit 0
9ac6c8
9ac6c8
%changelog
466cc8
* Wed Aug 17 2022 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.7-2
466cc8
- Add a non-default option to revert behavior for CVE-2020-10737 fix
466cc8
- Resolved: rhbz#2050079
466cc8
b7ca90
* Mon Dec 14 18:38:43 EET 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.7-1
b7ca90
- Upstream release 0.34.7
b7ca90
- Force LC_ALL=C.UTF-8 in oddjobd systemd service environment
b7ca90
- Resolves: rhbz#1907481 - oddjob locale issue
b7ca90
- Resolves: rhbz#1907541 - rebase oddjob to 0.34.7
b7ca90
b7ca90
* Thu Oct 08 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.5-4
b7ca90
- Rebuild against RHEL 8.4.0
b7ca90
  Resolves: rhbz#1886433
b7ca90
673046
* Thu Oct 08 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.5-3
673046
- Support HOME_MODE from /etc/login.defs
b7ca90
  Resolves: rhbz#1886433
673046
673046
* Fri May 08 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.5-2
673046
- Add gating tests using idm:DL1 module stream and upstream tests
673046
  Resolves: rhbz#1682457
673046
673046
* Fri May 08 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.5-1
673046
- Upstream release 0.34.5
673046
- Resolves: rhbz#1833289 - Rebase oddjob to 0.34.5
673046
- Resolves: rhbz#1833052 - CVE-2020-10737 
673046
  oddjob: race condition in oddjob_selinux_mkdir function in mkhomedir.c can lead to symlink attack
673046
9ac6c8
* Tue Dec  4 2018 Nalin Dahyabhai <nalin@redhat.com> - 0.34.4-7
9ac6c8
- Drop Python 2 build-time dependency, which hasn't been used since we turned
9ac6c8
  off building the python bindings years ago (#1595853, #1642502).
9ac6c8
9ac6c8
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.4-6
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9ac6c8
9ac6c8
* Mon Mar 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.34.4-5
9ac6c8
- Update Python 2 dependency declarations to new packaging standards
9ac6c8
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
9ac6c8
9ac6c8
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.4-4
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9ac6c8
9ac6c8
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.4-3
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9ac6c8
9ac6c8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.4-2
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9ac6c8
9ac6c8
* Sun Feb 26 2017 Nalin Dahyabhai <nalin@redhat.com> - 0.34.4-1
9ac6c8
- when "prepend_user_name" is used, the user name is now added to the helper's
9ac6c8
  command line after arguments that were specified in the helper "exec"
9ac6c8
  attribute
9ac6c8
- resync with Fedora packaging
9ac6c8
9ac6c8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.3-3
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9ac6c8
9ac6c8
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.3-2
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9ac6c8
9ac6c8
* Fri Jul 10 2015 Nalin Dahyabhai <nalin@redhat.com> - 0.34.3-1
9ac6c8
- tweak initialization so that we set up for providing our D-Bus APIs before we
9ac6c8
  register our names with the bus, so that we can handle any requests that
9ac6c8
  arrive before the acknowledgement of that registration, which should make
9ac6c8
  system activation a viable option
9ac6c8
9ac6c8
* Tue Jun 30 2015 Nalin Dahyabhai <nalin@redhat.com> - 0.34.2-1
9ac6c8
- fix a crasher in pam_oddjob_mkhomedir.so: remove an initialization step that
9ac6c8
  should have been removed when the module was modified to accept larger
9ac6c8
  replies (#1236970)
9ac6c8
9ac6c8
* Wed Jun 24 2015 Nalin Dahyabhai <nalin@redhat.com> - 0.34.1-1
9ac6c8
- build fixes
9ac6c8
9ac6c8
* Wed Jun 24 2015 Nalin Dahyabhai <nalin@redhat.com> - 0.34-1
9ac6c8
- open a connection to the bus for every service we're serving, instead of
9ac6c8
  using just one for the lot of them, so that we can tell which service a
9ac6c8
  client was attempting to contact if it sends a message to our unique
9ac6c8
  connection address instead of a well-known name, like dbus-python does
9ac6c8
- tweak the logic for guessing which interface name is right when a request
9ac6c8
  doesn't include one, so that it has a better chance of finding the right one
9ac6c8
- increase the initial size of the buffer that we pass to getpwnam_r in the
9ac6c8
  pam_oddjob_mkhomedir module (#1198812)
9ac6c8
9ac6c8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-5
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9ac6c8
9ac6c8
* Thu Dec 04 2014 Nalin Dahyabhai <nalin@redhat.com>
9ac6c8
- make that last change dependent on which release we're building for
9ac6c8
9ac6c8
* Thu Dec 04 2014 David King <amigadave@amigadave.com> - 0.33-4
9ac6c8
- Update dbus-send dependency for new dbus (#1170584)
9ac6c8
9ac6c8
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-3
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
9ac6c8
9ac6c8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-2
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9ac6c8
9ac6c8
* Tue Apr 22 2014 Nalin Dahyabhai <nalin@redhat.com> 0.33
9ac6c8
- catch calls to the method invocation helper function that mistakenly
9ac6c8
  didn't include the newly-required timeout value (#1089655,#1089656)
9ac6c8
9ac6c8
* Tue Apr  8 2014 Nalin Dahyabhai <nalin@redhat.com> 0.32.1-1
9ac6c8
- stop overriding the system-wide UMASK default in our default
9ac6c8
  oddjobd-mkhomedir.conf file (#995097)
9ac6c8
9ac6c8
* Tue Apr  8 2014 Nalin Dahyabhai <nalin@redhat.com> 0.32-1
9ac6c8
- add a -t flag to oddjob_request to allow its timeout to be
9ac6c8
  customized (#1085491)
9ac6c8
9ac6c8
* Tue Apr  8 2014 Nalin Dahyabhai <nalin@redhat.com> 0.31.5-2
9ac6c8
- explicitly require "dbus" at the package level (#1085450)
9ac6c8
9ac6c8
* Tue Jul 30 2013 Nalin Dahyabhai <nalin@redhat.com> 0.31.5-1
9ac6c8
- add man(5) pages for the configuration files that we include which get
9ac6c8
  included by others, just to be tidy (#884552)
9ac6c8
9ac6c8
* Fri May 17 2013 Nalin Dahyabhai <nalin@redhat.com> 0.31.4-1
9ac6c8
- add an [Install] section containing WantedBy=sysinit.target to the systemd
9ac6c8
  unit file (#963722), allowing it to actually be "enabled"
9ac6c8
9ac6c8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.3-3
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9ac6c8
9ac6c8
* Fri Jan 18 2013 Nalin Dahyabhai <nalin@redhat.com> 0.31.3-2
9ac6c8
- use %%systemd_postun_with_restart instead of plain old %%systemd_postun,
9ac6c8
  because we can be restarted in the %%postun
9ac6c8
9ac6c8
* Thu Jan 17 2013 Nalin Dahyabhai <nalin@redhat.com> 0.31.3-1
9ac6c8
- use newer systemd macros (#857375)
9ac6c8
9ac6c8
* Wed Nov 21 2012 Nalin Dahyabhai <nalin@redhat.com> 0.31.2-3
9ac6c8
- add that dependency to the right subpackage
9ac6c8
9ac6c8
* Wed Nov 21 2012 Nalin Dahyabhai <nalin@redhat.com> 0.31.2-2
9ac6c8
- add missing requires(post) on killall, which we use to poke the message
9ac6c8
  bus daemon to get it to reload its configuration, spotted by rcritten
9ac6c8
9ac6c8
* Wed Aug 29 2012 Nalin Dahyabhai <nalin@redhat.com> 0.31.2-1
9ac6c8
- refer to $local_fs instead of $localfs in the init script (#802719)
9ac6c8
- install a systemd unit file instead of an init script on still-in-development
9ac6c8
  releases (#820137,818963)
9ac6c8
- build binaries position-independent and marked for earliest-possible symbol
9ac6c8
  resolution (#852800)
9ac6c8
- don't worry about moving things from /usr to / when they're the same (#852800)
9ac6c8
9ac6c8
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.1-3
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9ac6c8
9ac6c8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.1-2
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9ac6c8
9ac6c8
* Tue Feb 15 2011 Nalin Dahyabhai <nalin@redhat.com> 0.31.1-1
9ac6c8
- also tell the system message bus to reload its configuration when we install
9ac6c8
  a subpackage with a new service in it
9ac6c8
9ac6c8
* Tue Feb  8 2011 Nalin Dahyabhai <nalin@redhat.com>
9ac6c8
- make the init script exit with status 2 when given an unknown command, rather
9ac6c8
  than with status 1 (#674534)
9ac6c8
9ac6c8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-2
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9ac6c8
9ac6c8
* Tue Jan 25 2011 Nalin Dahyabhai <nalin@redhat.com> 0.31-1
9ac6c8
- require dbus-x11 so that the tests can use dbus-launch
9ac6c8
- try to read the default umask from /etc/login.defs (more of #666418)
9ac6c8
9ac6c8
* Mon Jan  3 2011 Nalin Dahyabhai <nalin@redhat.com>
9ac6c8
- when the mkhomedir helper has to create intermediate directories, don't
9ac6c8
  apply a umask that might have been supplied on its command line (#666418)
9ac6c8
9ac6c8
* Fri Nov  5 2010 Nalin Dahyabhai <nalin@redhat.com> 0.30.2-3
9ac6c8
- rebuild with new libxml2
9ac6c8
9ac6c8
* Wed Sep 29 2010 jkeating - 0.30.2-2
9ac6c8
- Rebuilt for gcc bug 634757
9ac6c8
9ac6c8
* Thu Sep 23 2010 Nalin Dahyabhai <nalin@redhat.com> 0.30.2-2
9ac6c8
- try to SIGHUP the messagebus daemon at first install so that it'll
9ac6c8
  let us claim our service name if it isn't restarted before we are
9ac6c8
  first started (same as #636876)
9ac6c8
9ac6c8
* Thu Sep 16 2010 Nalin Dahyabhai <nalin@redhat.com> 0.30.2-1
9ac6c8
- don't try to "close" our shared connection to the bus when the bus
9ac6c8
  hangs up on us -- at some point libdbus started abort()ing when we try
9ac6c8
  that (#634356)
9ac6c8
9ac6c8
* Thu Apr  1 2010 Nalin Dahyabhai <nalin@redhat.com> 0.30.1-1
9ac6c8
- documentation tweaks for man pages
9ac6c8
9ac6c8
* Wed Jan 27 2010 Nalin Dahyabhai <nalin@redhat.com> 0.30-1
9ac6c8
- drop the shared library and python bindings, which so far as i can tell
9ac6c8
  weren't being used, obsoleting them to avoid a mess on upgrades
9ac6c8
- move the mkhomedir helper from %%{_libdir}/%%{name} to
9ac6c8
  %%{_libexecdir}/%%{name} to make the multilib configuration files agree
9ac6c8
  (#559232)
9ac6c8
- use %%global instead of %%define
9ac6c8
9ac6c8
* Mon Jan 25 2010 Nalin Dahyabhai <nalin@redhat.com> - 0.29.1-5
9ac6c8
- show that we implement force-reload and try-restart in the init script's
9ac6c8
  help message (#522131)
9ac6c8
9ac6c8
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.29.1-4
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9ac6c8
9ac6c8
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.29.1-3
9ac6c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9ac6c8
9ac6c8
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.29.1-2
9ac6c8
- Rebuild for Python 2.6
9ac6c8
9ac6c8
* Wed May 28 2008 Nalin Dahyabhai <nalin@redhat.com> 0.29.1-1
9ac6c8
- when we install the mkhomedir subpackage, if there's a running oddjobd, ask
9ac6c8
  it to reload its configuration
9ac6c8
- fix missing bits from the namespace changes in configuration files
9ac6c8
- restart the service in %%postun
9ac6c8
9ac6c8
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.29-2
9ac6c8
- Autorebuild for GCC 4.3
9ac6c8
9ac6c8
* Wed Sep  5 2007 Nalin Dahyabhai <nalin@redhat.com> 0.29-1
9ac6c8
- split off mkhomedir bits into a subpackage (#236820)
9ac6c8
- take a pass at new-init-ifying the init script (#247005)
9ac6c8
9ac6c8
* Thu Aug 16 2007 Nalin Dahyabhai <nalin@redhat.com>
9ac6c8
- move helpers to libexecdir, keeping pkglibdir around in the package (#237207)
9ac6c8
9ac6c8
* Mon Apr  9 2007 Nalin Dahyabhai <nalin@redhat.com> 0.28-1
9ac6c8
- split off python subpackage, make -devel depend on -libs, let autodeps
9ac6c8
  provide the main package's dependency on -libs (#228377)
9ac6c8
9ac6c8
* Thu Feb 15 2007 Nalin Dahyabhai <nalin@redhat.com> 0.27-8
9ac6c8
- configure with --disable-dependency-tracking (Ville Skyttä, #228928)
9ac6c8
9ac6c8
* Thu Jul 27 2006 Nalin Dahyabhai <nalin@redhat.com> 0.27-7
9ac6c8
- unmark the init script as a %%config file (part of #197182)
9ac6c8
9ac6c8
* Thu Jul 20 2006 Nalin Dahyabhai <nalin@redhat.com> 0.27-6
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Thu Jul 20 2006 Nalin Dahyabhai <nalin@redhat.com> 0.27-5
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Thu Jul 20 2006 Nalin Dahyabhai <nalin@redhat.com> 0.27-4
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Thu Jul 20 2006 Nalin Dahyabhai <nalin@redhat.com> 0.27-3
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Thu Jul 20 2006 Nalin Dahyabhai <nalin@redhat.com> 0.27-2
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Wed Jul 19 2006 Nalin Dahyabhai <nalin@redhat.com> 0.27-1
9ac6c8
- update to 0.27-1:
9ac6c8
  - don't attempt to subscribe to all possible messages -- the message bus
9ac6c8
    will already route to us messages addressed to us, and if we try for
9ac6c8
    more than that we may run afoul of SELinux policy, generating spewage
9ac6c8
- add a build dependency on pkgconfig, for the sake of FC3
9ac6c8
- update docs and comments because D-BUS is now called D-Bus
9ac6c8
9ac6c8
* Tue May  2 2006 Nalin Dahyabhai <nalin@redhat.com> 0.26-4
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Tue May  2 2006 Nalin Dahyabhai <nalin@redhat.com> 0.26-3
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Tue May  2 2006 Nalin Dahyabhai <nalin@redhat.com> 0.26-2
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Tue May  2 2006 Nalin Dahyabhai <nalin@redhat.com> 0.26-1
9ac6c8
- update to 0.26-1:
9ac6c8
  - don't get confused when ACL entries for introspection show up in the
9ac6c8
    configuration before we add the handlers for them
9ac6c8
  - export $ODDJOB_CALLING_USER to helpers
9ac6c8
9ac6c8
* Tue May  2 2006 Nalin Dahyabhai <nalin@redhat.com>
9ac6c8
- add recommended dependency on pkgconfig in the -devel subpackage
9ac6c8
9ac6c8
* Tue Apr 11 2006 Nalin Dahyabhai <nalin@redhat.com> 0.25-8
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Tue Apr 11 2006 Nalin Dahyabhai <nalin@redhat.com> 0.25-7
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Tue Apr 11 2006 Nalin Dahyabhai <nalin@redhat.com> 0.25-6
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Tue Apr 11 2006 Nalin Dahyabhai <nalin@redhat.com> 0.25-5
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Tue Apr 11 2006 Nalin Dahyabhai <nalin@redhat.com> 0.25-4
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Tue Apr 11 2006 Nalin Dahyabhai <nalin@redhat.com> 0.25-3
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Tue Apr 11 2006 Nalin Dahyabhai <nalin@redhat.com> 0.25-2
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Tue Apr 11 2006 Nalin Dahyabhai <nalin@redhat.com> 0.25-1
9ac6c8
- update to 0.25:
9ac6c8
  - add introspection for parents of objects specified in the configuration
9ac6c8
  - oddjobd can reload its configuration now
9ac6c8
  - add -u (umask) and -s (skeldir) flags to the mkhomedir helper (#246681)
9ac6c8
9ac6c8
* Tue Feb 28 2006 Nalin Dahyabhai <nalin@redhat.com> 0.24-1
9ac6c8
- update to 0.24, fixing some build errors against D-BUS 0.30-0.33
9ac6c8
- require xmlto, because the generated HTML differs depending on whether
9ac6c8
  or not we know how to enforce ACLs which include SELinux context info
9ac6c8
- build with DocBook 4.3
9ac6c8
9ac6c8
* Mon Feb 27 2006 Nalin Dahyabhai <nalin@redhat.com> 0.23-3
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Mon Feb 27 2006 Nalin Dahyabhai <nalin@redhat.com> 0.23-2
9ac6c8
- rebuild
9ac6c8
9ac6c8
* Fri Jan 27 2006 Nalin Dahyabhai <nalin@redhat.com> 0.23-1
9ac6c8
- fix compilation against older versions of D-BUS if the
9ac6c8
  GetConnectionSELinuxSecurityContext method turns out to be available
9ac6c8
9ac6c8
* Mon Jan 16 2006 Nalin Dahyabhai <nalin@redhat.com> 0.22-1
9ac6c8
- fix some path mismatches in the sample configuration files
9ac6c8
- don't try to set a reconnect timeout until after we've connected
9ac6c8
9ac6c8
* Mon Jan  9 2006 Nalin Dahyabhai <nalin@redhat.com> 0.21-3
9ac6c8
- prefer BuildRequires: to BuildPrereq (#176452)
9ac6c8
- require /sbin/service at uninstall-time, because we use it (#176452)
9ac6c8
- be more specific about when we require /sbin/chkconfig (#176452)
9ac6c8
9ac6c8
* Fri Jan  6 2006 Nalin Dahyabhai <nalin@redhat.com> 0.21-2
9ac6c8
- add some missing build-time requirements
9ac6c8
9ac6c8
* Thu Dec 22 2005 Nalin Dahyabhai <nalin@redhat.com> 0.21-1
9ac6c8
- fix the location for the sample D-BUS configuration doc file
9ac6c8
- own more created directories
9ac6c8
9ac6c8
* Thu Dec 22 2005 Nalin Dahyabhai <nalin@redhat.com> 0.20-1
9ac6c8
- update to 0.20
9ac6c8
- break shared libraries and modules for PAM and python into a subpackage
9ac6c8
  for better behavior on multilib boxes
9ac6c8
- if we're not building a sample subpackage, include the sample files in
9ac6c8
  the right locations as %%doc files