cronie: enable virtualpkg by default.

This commit is contained in:
Juan RP 2011-10-20 17:38:44 +02:00
parent eac63b90e7
commit 6f8a3f56ae
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'cronie'
pkgname=cronie
version=1.4.8
revision=3
revision=4
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
@ -42,6 +42,10 @@ post_install()
vinstall ${FILESDIR}/crond.pam 644 etc/pam.d crond
vinstall ${FILESDIR}/cronie.virtualpkgd \
644 etc/xbps/virtualpkg.d cronie
vmkdir etc/xbps/virtualpkg.d.wants
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/cronie .
# Add /etc/cron.deny empty, to allow all users.
touch ${DESTDIR}/etc/cron.deny
chmod 644 ${DESTDIR}/etc/cron.deny