cronie: own required runtime dirs.
This commit is contained in:
parent
4498fa0bb9
commit
31bb7f03ae
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue