better fix for bug 150131: change DAEMON_{USER,GROUP}NAME to root.
This commit is contained in:
parent
2d2d9d38f4
commit
2ebd9911ba
13
at.spec
13
at.spec
@ -7,7 +7,7 @@
|
|||||||
Summary: Job spooling tools.
|
Summary: Job spooling tools.
|
||||||
Name: at
|
Name: at
|
||||||
Version: 3.1.8
|
Version: 3.1.8
|
||||||
Release: 66_FC4
|
Release: 67_FC4
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source: http://ftp.debian.org/debian/pool/main/a/at/at_3.1.8-11.tar.gz
|
Source: http://ftp.debian.org/debian/pool/main/a/at/at_3.1.8-11.tar.gz
|
||||||
@ -35,7 +35,6 @@ Patch24: at-3.1.8-t_option.patch
|
|||||||
Patch25: at-3.1.8-usage.patch
|
Patch25: at-3.1.8-usage.patch
|
||||||
Patch26: at-3.1.8-fix_no_export.patch
|
Patch26: at-3.1.8-fix_no_export.patch
|
||||||
Patch27: at-3.1.8-pam.patch
|
Patch27: at-3.1.8-pam.patch
|
||||||
Patch28: at-3.1.8-bug_150131.patch
|
|
||||||
|
|
||||||
Prereq: fileutils chkconfig /etc/init.d
|
Prereq: fileutils chkconfig /etc/init.d
|
||||||
BuildPrereq: flex bison autoconf
|
BuildPrereq: flex bison autoconf
|
||||||
@ -100,14 +99,16 @@ cp %{SOURCE1} .
|
|||||||
%patch25 -p1 -b .usage
|
%patch25 -p1 -b .usage
|
||||||
%patch26 -p1 -b .fix_no_export
|
%patch26 -p1 -b .fix_no_export
|
||||||
%patch27 -p1 -b .pam
|
%patch27 -p1 -b .pam
|
||||||
%patch28 -p1 -b .bug_150131
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# patch10 touches configure.in
|
# patch10 touches configure.in
|
||||||
autoconf
|
autoconf
|
||||||
# for patch11
|
# for patch11
|
||||||
rm -f lex.yy.* y.tab.*
|
rm -f lex.yy.* y.tab.*
|
||||||
%configure --with-atspool=%{_localstatedir}/spool/at/spool --with-jobdir=%{_localstatedir}/spool/at \
|
%configure --with-atspool=%{_localstatedir}/spool/at/spool \
|
||||||
|
--with-jobdir=%{_localstatedir}/spool/at \
|
||||||
|
--with-daemon_username=root \
|
||||||
|
--with-daemon_groupname=root \
|
||||||
%if %{WITH_SELINUX}
|
%if %{WITH_SELINUX}
|
||||||
--with-selinux \
|
--with-selinux \
|
||||||
%endif
|
%endif
|
||||||
@ -185,6 +186,10 @@ fi
|
|||||||
%attr(4755,root,root) %{_bindir}/at
|
%attr(4755,root,root) %{_bindir}/at
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 08 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.8-67
|
||||||
|
* better fix for bug 150131: change DAEMON_USERNAME and
|
||||||
|
* DAEMON_GROUPNAME to 'root' .
|
||||||
|
|
||||||
* Mon Mar 07 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.8-66
|
* Mon Mar 07 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.8-66
|
||||||
- fix bug 150131: atd should not relinquish root privilege if
|
- fix bug 150131: atd should not relinquish root privilege if
|
||||||
- doing su(1) equivalent with PAM .
|
- doing su(1) equivalent with PAM .
|
||||||
|
Loading…
Reference in New Issue
Block a user