From 6f8a3f56aed74b247bd2fe206fd3fa16b6e74b61 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 20 Oct 2011 17:38:44 +0200 Subject: [PATCH] cronie: enable virtualpkg by default. --- srcpkgs/cronie/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/cronie/template b/srcpkgs/cronie/template index f76d457457f..9307abdab02 100644 --- a/srcpkgs/cronie/template +++ b/srcpkgs/cronie/template @@ -1,7 +1,7 @@ # Template file for 'cronie' pkgname=cronie version=1.4.8 -revision=3 +revision=4 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 @@ -42,6 +42,10 @@ post_install() vinstall ${FILESDIR}/crond.pam 644 etc/pam.d crond vinstall ${FILESDIR}/cronie.virtualpkgd \ 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. touch ${DESTDIR}/etc/cron.deny chmod 644 ${DESTDIR}/etc/cron.deny