add PAM support to atd
This commit is contained in:
parent
86b66333c4
commit
b0130c8821
21
at.spec
21
at.spec
@ -1,10 +1,13 @@
|
|||||||
%if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
|
%if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
|
||||||
%define WITH_SELINUX 1
|
%define WITH_SELINUX 1
|
||||||
%endif
|
%endif
|
||||||
|
%if %{?WITH_PAM:0}%{!?WITH_PAM:1}
|
||||||
|
%define WITH_PAM 1
|
||||||
|
%endif
|
||||||
Summary: Job spooling tools.
|
Summary: Job spooling tools.
|
||||||
Name: at
|
Name: at
|
||||||
Version: 3.1.8
|
Version: 3.1.8
|
||||||
Release: 60
|
Release: 64
|
||||||
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
|
||||||
@ -31,12 +34,16 @@ Patch23: at-3.1.8-pie.patch
|
|||||||
Patch24: at-3.1.8-t_option.patch
|
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
|
||||||
|
|
||||||
Prereq: fileutils chkconfig /etc/init.d
|
Prereq: fileutils chkconfig /etc/init.d
|
||||||
BuildPrereq: flex bison autoconf
|
BuildPrereq: flex bison autoconf
|
||||||
%if %{WITH_SELINUX}
|
%if %{WITH_SELINUX}
|
||||||
BuildPrereq: libselinux-devel
|
BuildPrereq: libselinux-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if %{WITH_PAM}
|
||||||
|
BuildPrereq: pam-devel
|
||||||
|
%endif
|
||||||
Conflicts: crontabs <= 1.5
|
Conflicts: crontabs <= 1.5
|
||||||
# No, I'm not kidding
|
# No, I'm not kidding
|
||||||
BuildPrereq: smtpdaemon
|
BuildPrereq: smtpdaemon
|
||||||
@ -91,6 +98,7 @@ cp %{SOURCE1} .
|
|||||||
%patch24 -p1 -b -t_option
|
%patch24 -p1 -b -t_option
|
||||||
%patch25 -p1 -b .usage
|
%patch25 -p1 -b .usage
|
||||||
%patch26 -p1 -b .fix_no_export
|
%patch26 -p1 -b .fix_no_export
|
||||||
|
%patch27 -p1 -b .pam
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# patch10 touches configure.in
|
# patch10 touches configure.in
|
||||||
@ -99,7 +107,12 @@ autoconf
|
|||||||
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 \
|
||||||
%if %{WITH_SELINUX}
|
%if %{WITH_SELINUX}
|
||||||
--with-selinux
|
--with-selinux \
|
||||||
|
%endif
|
||||||
|
%if %{WITH_PAM}
|
||||||
|
--with-pam
|
||||||
|
%else
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
make
|
make
|
||||||
@ -160,6 +173,7 @@ fi
|
|||||||
%attr(0700,daemon,daemon) %dir %{_localstatedir}/spool/at
|
%attr(0700,daemon,daemon) %dir %{_localstatedir}/spool/at
|
||||||
%attr(0600,daemon,daemon) %verify(not md5 size mtime) %ghost %{_localstatedir}/spool/at/.SEQ
|
%attr(0600,daemon,daemon) %verify(not md5 size mtime) %ghost %{_localstatedir}/spool/at/.SEQ
|
||||||
%attr(0700,daemon,daemon) %dir %{_localstatedir}/spool/at/spool
|
%attr(0700,daemon,daemon) %dir %{_localstatedir}/spool/at/spool
|
||||||
|
%attr(0640,root,daemon) %config(noreplace) /etc/pam.d/atd
|
||||||
%{_sbindir}/atrun
|
%{_sbindir}/atrun
|
||||||
%{_sbindir}/atd
|
%{_sbindir}/atd
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
@ -169,6 +183,9 @@ fi
|
|||||||
%attr(4755,root,root) %{_bindir}/at
|
%attr(4755,root,root) %{_bindir}/at
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 25 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.8-64
|
||||||
|
- bugs 5160/146132: add PAM authentication control to atd
|
||||||
|
|
||||||
* Tue Oct 05 2004 Jason Vas Dias <jvdias@redhat.com> 3.1.8-60
|
* Tue Oct 05 2004 Jason Vas Dias <jvdias@redhat.com> 3.1.8-60
|
||||||
- fix bug 131510: no_export env. var. blacklisting should not
|
- fix bug 131510: no_export env. var. blacklisting should not
|
||||||
- remove 'SHELL' when only 'SHELLOPTS' is blacklisted.
|
- remove 'SHELL' when only 'SHELLOPTS' is blacklisted.
|
||||||
|
Loading…
Reference in New Issue
Block a user