cronie: fix up pam.d/crond, bumprev.

--HG--
extra : convert_revision : 88b6ca0fade513162ecadd8e6aa9972e19404070
This commit is contained in:
Juan RP 2010-04-13 07:42:25 +02:00
parent 934126086b
commit dc3423a9db
3 changed files with 10 additions and 9 deletions

View File

@ -0,0 +1,7 @@
#
# The PAM configuration file for the cron daemon
#
auth required pam_unix.so nullok_secure use_first_pass
account required pam_unix.so
session required pam_unix.so
session required pam_limits.so

View File

@ -1,9 +0,0 @@
--- pam/crond.orig 2010-02-17 20:59:59.390517284 +0100
+++ pam/crond 2010-02-17 21:01:10.996517787 +0100
@@ -4,6 +4,4 @@
#
# No PAM authentication called, auth modules not needed
account required pam_access.so
-account include password-auth
session required pam_loginuid.so
-session include password-auth

View File

@ -1,6 +1,7 @@
# Template file for 'cronie'
pkgname=cronie
version=1.4.3
revision=1
distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz"
build_style=gnu_configure
configure_args="--with-inotify --without-selinux --with-pam --disable-anacron
@ -35,6 +36,8 @@ post_install()
install -m644 ${FILESDIR}/crontab ${DESTDIR}/etc/crontab
install -m644 ${FILESDIR}/crond.logrotate \
${DESTDIR}/etc/logrotate.d/crond
rm -vf ${DESTDIR}/etc/pam.d/crond
install -D -m644 ${FILESDIR}/crond.pam ${DESTDIR}/etc/pam.d/crond
# Add /etc/cron.deny empty, to allow all users.
touch ${DESTDIR}/etc/cron.deny