cronie: enable virtualpkg by default.
This commit is contained in:
parent
eac63b90e7
commit
6f8a3f56ae
1 changed files with 5 additions and 1 deletions
|
@ -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=3
|
revision=4
|
||||||
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
|
||||||
|
@ -42,6 +42,10 @@ post_install()
|
||||||
vinstall ${FILESDIR}/crond.pam 644 etc/pam.d crond
|
vinstall ${FILESDIR}/crond.pam 644 etc/pam.d crond
|
||||||
vinstall ${FILESDIR}/cronie.virtualpkgd \
|
vinstall ${FILESDIR}/cronie.virtualpkgd \
|
||||||
644 etc/xbps/virtualpkg.d cronie
|
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.
|
# 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