diff --git a/srcpkgs/cronie/INSTALL b/srcpkgs/cronie/INSTALL deleted file mode 100644 index a5832e1fe92..00000000000 --- a/srcpkgs/cronie/INSTALL +++ /dev/null @@ -1,9 +0,0 @@ -# -# This script fixes permissions for cronie -# - -case "${ACTION}" in -post) - chmod u+s usr/bin/crontab - ;; -esac diff --git a/srcpkgs/cronie/template b/srcpkgs/cronie/template index 73f2c162c96..de8092d30fa 100644 --- a/srcpkgs/cronie/template +++ b/srcpkgs/cronie/template @@ -1,7 +1,7 @@ # Template file for 'cronie' pkgname=cronie version=1.4.12 -revision=1 +revision=2 build_style=gnu-configure configure_args="--with-inotify --without-selinux --with-pam --disable-anacron --localstatedir=/var --enable-pie --enable-relro" @@ -39,4 +39,6 @@ post_install() { # Add /etc/cron.deny empty, to allow all users. touch ${DESTDIR}/etc/cron.deny chmod 644 ${DESTDIR}/etc/cron.deny + # crontab must be setuid + chmod u+s ${DESTDIR}/usr/bin/crontab }