dcron: added virtualpkg.d plist file.

This commit is contained in:
Juan RP 2011-10-20 17:07:50 +02:00
parent 26ff6d067f
commit 0a89ed91ea
2 changed files with 15 additions and 1 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 "dcron" 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>dcron>=0</string>
</dict>
</plist>

View file

@ -1,7 +1,7 @@
# Template file for 'dcron'
pkgname=dcron
version=4.5
revision=4
revision=5
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
build_style=custom-install
short_desc="Dillon's lightweight cron daemon"
@ -43,6 +43,7 @@ do_install()
install -Dm644 extra/crond.logrotate ${DESTDIR}/etc/logrotate.d/crond
vinstall ${FILESDIR}/dcron.service 644 lib/systemd/system
vinstall ${FILESDIR}/dcron.virtualpkgd 644 etc/xbps/virtualpkg.d dcron
# crontab must be setuid for all users to work!
chmod 4755 ${DESTDIR}/usr/bin/crontab