cronie: added virtualpkg.d plist file.
This commit is contained in:
parent
0a89ed91ea
commit
67a103cdbb
2 changed files with 16 additions and 2 deletions
srcpkgs/cronie
13
srcpkgs/cronie/files/cronie.virtualpkgd
Normal file
13
srcpkgs/cronie/files/cronie.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 "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>
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cronie'
|
# Template file for 'cronie'
|
||||||
pkgname=cronie
|
pkgname=cronie
|
||||||
version=1.4.8
|
version=1.4.8
|
||||||
revision=2
|
revision=3
|
||||||
distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz"
|
distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--with-inotify --without-selinux --with-pam --disable-anacron
|
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
|
vinstall ${FILESDIR}/crond.logrotate 644 etc/logrotate.d crond
|
||||||
rm -f ${DESTDIR}/etc/pam.d/crond
|
rm -f ${DESTDIR}/etc/pam.d/crond
|
||||||
vinstall ${FILESDIR}/crond.pam 644 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.
|
# Add /etc/cron.deny empty, to allow all users.
|
||||||
touch ${DESTDIR}/etc/cron.deny
|
touch ${DESTDIR}/etc/cron.deny
|
||||||
chmod 644 ${DESTDIR}/etc/cron.deny
|
chmod 644 ${DESTDIR}/etc/cron.deny
|
||||||
|
|
Loading…
Reference in a new issue