Compare commits

..

No commits in common. 'c8' and 'c9' have entirely different histories.
c8 ... c9

@ -22,15 +22,14 @@
Name: oddjob Name: oddjob
Version: 0.34.7 Version: 0.34.7
Release: 3%{?dist} Release: 7%{?dist}
Source0: https://releases.pagure.org/oddjob/oddjob-%{version}.tar.gz Source0: https://releases.pagure.org/oddjob/oddjob-%{version}.tar.gz
Source1: https://releases.pagure.org/oddjob/oddjob-%{version}.tar.gz.asc Source1: https://releases.pagure.org/oddjob/oddjob-%{version}.tar.gz.asc
Patch0: oddjob-cve-2020-10737-reversal-option.patch Patch0: oddjob-cve-2020-10737-reversal-option.patch
Patch1: oddjob-override-mask-fix.patch Patch1: oddjob-override-mask-fix.patch
Summary: A D-Bus service which runs odd jobs on behalf of client applications Summary: A D-Bus service which runs odd jobs on behalf of client applications
License: BSD License: BSD
Group: System Environment/Daemons BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
BuildRequires: dbus-devel >= 0.22, dbus-x11, libselinux-devel, libxml2-devel BuildRequires: dbus-devel >= 0.22, dbus-x11, libselinux-devel, libxml2-devel
BuildRequires: pam-devel, pkgconfig BuildRequires: pam-devel, pkgconfig
@ -73,7 +72,6 @@ oddjob is a D-Bus service which performs particular tasks for clients which
connect to it and issue requests using the system-wide message bus. connect to it and issue requests using the system-wide message bus.
%package mkhomedir %package mkhomedir
Group: System Environment/Daemons
Summary: An oddjob helper which creates and populates home directories Summary: An oddjob helper which creates and populates home directories
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires(post): %{dbus_send}, grep, sed, psmisc Requires(post): %{dbus_send}, grep, sed, psmisc
@ -84,7 +82,6 @@ pam_oddjob_mkhomedir module to create a home directory for a user
at login-time. at login-time.
%package sample %package sample
Group: System Environment/Daemons
Summary: A sample oddjob service. Summary: A sample oddjob service.
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -193,7 +190,7 @@ touch -r src/oddjob-mkhomedir.conf.in $RPM_BUILD_ROOT/%{_sysconfdir}/dbus-1/syst
%post %post
if test $1 -eq 1 ; then if test $1 -eq 1 ; then
killall -HUP dbus-daemon 2>&1 > /dev/null killall -HUP dbus-daemon >/dev/null 2>&1
fi fi
%if %{systemd} %if %{systemd}
%systemd_post oddjobd.service %systemd_post oddjobd.service
@ -208,7 +205,7 @@ fi
%endif %endif
%if %{sysvinit} %if %{sysvinit}
if [ $1 -gt 0 ] ; then if [ $1 -gt 0 ] ; then
/sbin/service oddjobd condrestart 2>&1 > /dev/null || : /sbin/service oddjobd condrestart >/dev/null 2>&1 || :
fi fi
%endif %endif
exit 0 exit 0
@ -246,7 +243,7 @@ if grep -q %{_libdir}/%{name}/mkhomedir $cfg ; then
sed -i 's^%{_libdir}/%{name}/mkhomedir^%{_libexecdir}/%{name}/mkhomedir^g' $cfg sed -i 's^%{_libdir}/%{name}/mkhomedir^%{_libexecdir}/%{name}/mkhomedir^g' $cfg
fi fi
if test $1 -eq 1 ; then if test $1 -eq 1 ; then
killall -HUP dbus-daemon 2>&1 > /dev/null killall -HUP dbus-daemon >/dev/null 2>&1
fi fi
if [ -f /var/lock/subsys/oddjobd ] ; then if [ -f /var/lock/subsys/oddjobd ] ; then
%{dbus_send} --system --dest=com.redhat.oddjob /com/redhat/oddjob com.redhat.oddjob.reload %{dbus_send} --system --dest=com.redhat.oddjob /com/redhat/oddjob com.redhat.oddjob.reload
@ -254,37 +251,51 @@ fi
exit 0 exit 0
%changelog %changelog
* Fri Dec 09 2022 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.7-3 * Fri Dec 09 2022 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.7-7
- Always set the home directory permissions according to HOME_MODE - Always set the home directory permissions according to HOME_MODE
- Resolves: rhbz#2135793 - Resolves: rhbz#2149988
* Wed Aug 17 2022 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.7-2 * Thu Aug 18 2022 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.7-6
- Add a non-default option to revert behavior for CVE-2020-10737 fix - Add a non-default option to revert behavior for CVE-2020-10737 fix
- Resolved: rhbz#2050079 - Resolved: rhbz#2119265
* Mon Dec 14 18:38:43 EET 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.7-1 * Mon Feb 07 2022 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.7-5
- Upstream release 0.34.7 - Fix stdin redirection in RPM scripts
- Force LC_ALL=C.UTF-8 in oddjobd systemd service environment Resolves: rhbz#2041585
- Resolves: rhbz#1907481 - oddjob locale issue
- Resolves: rhbz#1907541 - rebase oddjob to 0.34.7 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.34.7-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
* Thu Oct 08 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.5-4 Related: rhbz#1991688
- Rebuild against RHEL 8.4.0
Resolves: rhbz#1886433 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.34.7-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Thu Oct 08 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.5-3
- Support HOME_MODE from /etc/login.defs * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.7-2
Resolves: rhbz#1886433 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri May 08 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.5-2 * Mon Dec 14 22:09:29 EET 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.7-1
- Add gating tests using idm:DL1 module stream and upstream tests - upstream release 0.34.7
Resolves: rhbz#1682457
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.6-2
* Fri May 08 2020 Alexander Bokovoy <abokovoy@redhat.com> - 0.34.5-1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
- Upstream release 0.34.5
- Resolves: rhbz#1833289 - Rebase oddjob to 0.34.5 * Thu May 7 2020 Nalin Dahyabhai <nalin@redhat.com> - 0.34.6-1
- Resolves: rhbz#1833052 - CVE-2020-10737 - update license on src/buffer.h
oddjob: race condition in oddjob_selinux_mkdir function in mkhomedir.c can lead to symlink attack - change /var/run -> /run in systemd service file (Orion Poplawski)
* Thu May 7 2020 Nalin Dahyabhai <nalin@redhat.com> - 0.34.5-1
- apply patch from Matthias Gerstner of the SUSE security team to fix a
possible race condition in the mkhomedir helper (CVE-2020-10737)
- only process SELinux contexts if SELinux is not disabled (Alexander Bokovoy)
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.4-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.4-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Dec 4 2018 Nalin Dahyabhai <nalin@redhat.com> - 0.34.4-7 * Tue Dec 4 2018 Nalin Dahyabhai <nalin@redhat.com> - 0.34.4-7
- Drop Python 2 build-time dependency, which hasn't been used since we turned - Drop Python 2 build-time dependency, which hasn't been used since we turned

Loading…
Cancel
Save