cronie: own required runtime dirs.

This commit is contained in:
Juan RP 2011-11-09 19:31:19 +01:00
parent 4498fa0bb9
commit 31bb7f03ae

View file

@ -1,7 +1,7 @@
# Template file for 'cronie'
pkgname=cronie
version=1.4.8
revision=7
revision=8
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
@ -17,7 +17,6 @@ long_desc="
has security and configuration enhancements like the ability to use PAM and
SELinux."
keep_empty_dirs=yes
conf_files="/etc/crontab /etc/pam.d/crond /etc/cron.deny"
systemd_services="cronie.service"
provides="cron-daemon-0"
@ -32,8 +31,8 @@ post_install()
{
install -d ${DESTDIR}/etc/cron.{d,hourly,daily,weekly,monthly}
touch ${DESTDIR}/etc/cron.{d,hourly,daily,weekly,monthly}/.owned
vmkdir etc/logrotate.d
vmkdir var/spool/cron
touch ${DESTDIR}/var/spool/cron/.owned
vinstall ${FILESDIR}/cronie.service 644 lib/systemd/system
vinstall ${FILESDIR}/crontab 644 etc