update to 1.8.14p3 [release 1.8.14p3-1mamba;Sun Aug 02 2015]
This commit is contained in:
parent
4fd5a53a3f
commit
f4069eb0be
10
sudo.spec
10
sudo.spec
@ -4,7 +4,7 @@
|
|||||||
%define with_exempt 0
|
%define with_exempt 0
|
||||||
|
|
||||||
Name: sudo
|
Name: sudo
|
||||||
Version: 1.8.13
|
Version: 1.8.14p3
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Allows restricted root access for specified users
|
Summary: Allows restricted root access for specified users
|
||||||
Group: System/Tools
|
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 \
|
--with-timedir=/var/db/sudo \
|
||||||
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/kde/bin:/opt/kde3/bin" \
|
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/kde/bin:/opt/kde3/bin" \
|
||||||
--with-fqdn \
|
--with-fqdn \
|
||||||
|
--with-rundir=/run \
|
||||||
%if %with_exempt
|
%if %with_exempt
|
||||||
--with-exempt=%{sysadmin_name} \
|
--with-exempt=%{sysadmin_name} \
|
||||||
%endif
|
%endif
|
||||||
@ -100,7 +101,6 @@ install -D -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/sudo
|
|||||||
install -d %{buildroot}%{_var}/log
|
install -d %{buildroot}%{_var}/log
|
||||||
touch %{buildroot}%{_var}/log/%{name}.log
|
touch %{buildroot}%{_var}/log/%{name}.log
|
||||||
|
|
||||||
install -d -m 700 %{buildroot}/var/run/sudo
|
|
||||||
install -d -m 510 %{buildroot}%{_sysconfdir}/sudoers.d
|
install -d -m 510 %{buildroot}%{_sysconfdir}/sudoers.d
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
@ -117,6 +117,7 @@ exit 0
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
if [ $1 -gt 1 ]; then
|
if [ $1 -gt 1 ]; then
|
||||||
|
%tmpfiles_create sudo.conf
|
||||||
/bin/chmod 0440 %{_sysconfdir}/sudoers || :
|
/bin/chmod 0440 %{_sysconfdir}/sudoers || :
|
||||||
grep guarddog %{_sysconfdir}/sudoers >/dev/null && \
|
grep guarddog %{_sysconfdir}/sudoers >/dev/null && \
|
||||||
sed -i "s|/opt/kde3/bin/guarddog|/usr/sbin/ufw|" %{_sysconfdir}/sudoers
|
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.la
|
||||||
%{_libexecdir}/sudo/system_group.so
|
%{_libexecdir}/sudo/system_group.so
|
||||||
%{_includedir}/sudo_plugin.h
|
%{_includedir}/sudo_plugin.h
|
||||||
|
%{_prefix}/lib/tmpfiles.d/sudo.conf
|
||||||
%ghost %{_var}/log/%{name}.log
|
%ghost %{_var}/log/%{name}.log
|
||||||
%dir /var/run/sudo
|
|
||||||
%attr(0700,root,root) %{_localstatedir}/db/sudo
|
%attr(0700,root,root) %{_localstatedir}/db/sudo
|
||||||
%dir %{_docdir}/sudo
|
%dir %{_docdir}/sudo
|
||||||
%{_docdir}/sudo/*
|
%{_docdir}/sudo/*
|
||||||
@ -163,6 +164,9 @@ exit 0
|
|||||||
#%doc ChangeLog README README.LDAP
|
#%doc ChangeLog README README.LDAP
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Aug 02 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.14p3-1mamba
|
||||||
|
- update to 1.8.14p3
|
||||||
|
|
||||||
* Wed Apr 01 2015 Automatic Build System <autodist@mambasoft.it> 1.8.13-1mamba
|
* Wed Apr 01 2015 Automatic Build System <autodist@mambasoft.it> 1.8.13-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user