cronie: added virtualpkg.d plist file.

This commit is contained in:
Juan RP 2011-10-20 17:09:49 +02:00
parent 0a89ed91ea
commit 67a103cdbb
2 changed files with 16 additions and 2 deletions

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- This dictionary sets that we _always_ want
the "cronie" package to be the default cron-daemon
package, over other alternatives. -->
<key>virtual-pkgver</key>
<string>cron-daemon-0</string>
<key>target-pkgpattern</key>
<string>cronie>=0</string>
</dict>
</plist>

View file

@ -1,7 +1,7 @@
# Template file for 'cronie'
pkgname=cronie
version=1.4.8
revision=2
revision=3
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
@ -40,7 +40,8 @@ post_install()
vinstall ${FILESDIR}/crond.logrotate 644 etc/logrotate.d crond
rm -f ${DESTDIR}/etc/pam.d/crond
vinstall ${FILESDIR}/crond.pam 644 etc/pam.d crond
vinstall ${FILESDIR}/cronie.virtualpkgd \
644 etc/xbps/virtualpkg.d cronie
# Add /etc/cron.deny empty, to allow all users.
touch ${DESTDIR}/etc/cron.deny
chmod 644 ${DESTDIR}/etc/cron.deny