mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
cronie: crontab setuid mode can be set via do_install().
This commit is contained in:
parent
d6df6df815
commit
46f3e7ef99
2 changed files with 3 additions and 10 deletions
|
@ -1,9 +0,0 @@
|
||||||
#
|
|
||||||
# This script fixes permissions for cronie
|
|
||||||
#
|
|
||||||
|
|
||||||
case "${ACTION}" in
|
|
||||||
post)
|
|
||||||
chmod u+s usr/bin/crontab
|
|
||||||
;;
|
|
||||||
esac
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cronie'
|
# Template file for 'cronie'
|
||||||
pkgname=cronie
|
pkgname=cronie
|
||||||
version=1.4.12
|
version=1.4.12
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-inotify --without-selinux --with-pam
|
configure_args="--with-inotify --without-selinux --with-pam
|
||||||
--disable-anacron --localstatedir=/var --enable-pie --enable-relro"
|
--disable-anacron --localstatedir=/var --enable-pie --enable-relro"
|
||||||
|
@ -39,4 +39,6 @@ post_install() {
|
||||||
# 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
|
||||||
|
# crontab must be setuid
|
||||||
|
chmod u+s ${DESTDIR}/usr/bin/crontab
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue