diff --git a/sudo.spec b/sudo.spec index 9d25a01..52f5373 100644 --- a/sudo.spec +++ b/sudo.spec @@ -4,7 +4,7 @@ %define with_exempt 0 Name: sudo -Version: 1.8.13 +Version: 1.8.14p3 Release: 1mamba Summary: Allows restricted root access for specified users Group: System/Tools @@ -71,6 +71,7 @@ The basic philosophy is to give as few privileges as possible but still allow pe --with-timedir=/var/db/sudo \ /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/kde/bin:/opt/kde3/bin" \ --with-fqdn \ + --with-rundir=/run \ %if %with_exempt --with-exempt=%{sysadmin_name} \ %endif @@ -100,7 +101,6 @@ install -D -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/sudo install -d %{buildroot}%{_var}/log touch %{buildroot}%{_var}/log/%{name}.log -install -d -m 700 %{buildroot}/var/run/sudo install -d -m 510 %{buildroot}%{_sysconfdir}/sudoers.d %find_lang %{name} @@ -117,6 +117,7 @@ exit 0 %post if [ $1 -gt 1 ]; then + %tmpfiles_create sudo.conf /bin/chmod 0440 %{_sysconfdir}/sudoers || : grep guarddog %{_sysconfdir}/sudoers >/dev/null && \ sed -i "s|/opt/kde3/bin/guarddog|/usr/sbin/ufw|" %{_sysconfdir}/sudoers @@ -147,8 +148,8 @@ exit 0 %{_libexecdir}/sudo/system_group.la %{_libexecdir}/sudo/system_group.so %{_includedir}/sudo_plugin.h +%{_prefix}/lib/tmpfiles.d/sudo.conf %ghost %{_var}/log/%{name}.log -%dir /var/run/sudo %attr(0700,root,root) %{_localstatedir}/db/sudo %dir %{_docdir}/sudo %{_docdir}/sudo/* @@ -163,6 +164,9 @@ exit 0 #%doc ChangeLog README README.LDAP %changelog +* Sun Aug 02 2015 Silvan Calarco 1.8.14p3-1mamba +- update to 1.8.14p3 + * Wed Apr 01 2015 Automatic Build System 1.8.13-1mamba - automatic version update by autodist