cronie: update to 1.4.12.
This commit is contained in:
parent
2c569d9019
commit
1895856c4b
2 changed files with 18 additions and 6 deletions
9
srcpkgs/cronie/INSTALL
Normal file
9
srcpkgs/cronie/INSTALL
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#
|
||||||
|
# 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.11
|
version=1.4.12
|
||||||
revision=6
|
revision=1
|
||||||
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"
|
||||||
|
@ -24,16 +24,19 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="https://fedorahosted.org/cronie/"
|
homepage="https://fedorahosted.org/cronie/"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz"
|
distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz"
|
||||||
checksum=fd08084cedddbb42499f80ddb7f2158195c3555c2ff40ee11d4ece2f9864d7be
|
checksum=0f5c9bf32f352599451c4ca0d6bc076d19e73ecfa5a90b34ecfe47c918c8bafd
|
||||||
|
|
||||||
|
build_options="systemd"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
if [ "$build_option_systemd" ]; then
|
||||||
vinstall ${FILESDIR}/cronie.service 644 usr/lib/systemd/system
|
vinstall ${FILESDIR}/cronie.service 644 usr/lib/systemd/system
|
||||||
|
fi
|
||||||
|
|
||||||
vinstall ${FILESDIR}/crontab 644 etc
|
vinstall ${FILESDIR}/crontab 644 etc
|
||||||
vinstall ${FILESDIR}/crond.pam 644 etc/pam.d crond
|
vinstall ${FILESDIR}/crond.pam 644 etc/pam.d crond
|
||||||
|
|
||||||
# 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
Add a link
Reference in a new issue