dcron: added virtualpkg.d plist file.
This commit is contained in:
parent
26ff6d067f
commit
0a89ed91ea
2 changed files with 15 additions and 1 deletions
13
srcpkgs/dcron/files/dcron.virtualpkgd
Normal file
13
srcpkgs/dcron/files/dcron.virtualpkgd
Normal 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>
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue