cronie: update to 1.4.12.

This commit is contained in:
Eivind Uggedal 2014-10-02 13:34:56 +00:00
parent 2c569d9019
commit 1895856c4b
2 changed files with 18 additions and 6 deletions

9
srcpkgs/cronie/INSTALL Normal file
View file

@ -0,0 +1,9 @@
#
# This script fixes permissions for cronie
#
case "${ACTION}" in
post)
chmod u+s usr/bin/crontab
;;
esac

View file

@ -1,7 +1,7 @@
# Template file for 'cronie'
pkgname=cronie
version=1.4.11
revision=6
version=1.4.12
revision=1
build_style=gnu-configure
configure_args="--with-inotify --without-selinux --with-pam
--disable-anacron --localstatedir=/var --enable-pie --enable-relro"
@ -24,16 +24,19 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://fedorahosted.org/cronie/"
license="BSD"
distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz"
checksum=fd08084cedddbb42499f80ddb7f2158195c3555c2ff40ee11d4ece2f9864d7be
checksum=0f5c9bf32f352599451c4ca0d6bc076d19e73ecfa5a90b34ecfe47c918c8bafd
build_options="systemd"
post_install() {
vinstall ${FILESDIR}/cronie.service 644 usr/lib/systemd/system
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/cronie.service 644 usr/lib/systemd/system
fi
vinstall ${FILESDIR}/crontab 644 etc
vinstall ${FILESDIR}/crond.pam 644 etc/pam.d crond
# Add /etc/cron.deny empty, to allow all users.
touch ${DESTDIR}/etc/cron.deny
chmod 644 ${DESTDIR}/etc/cron.deny
# crontab must be setuid
chmod u+s ${DESTDIR}/usr/bin/crontab
}