cronie: add logrotate script. Bump revision.
--HG-- extra : convert_revision : e55cd846dea4ee2c7116452ee7e0c63cfd42f102
This commit is contained in:
parent
23565d7130
commit
13b0577979
|
@ -0,0 +1,5 @@
|
||||||
|
/var/log/cron {
|
||||||
|
sharedscripts
|
||||||
|
copytruncate
|
||||||
|
missingok
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cronie'
|
# Template file for 'cronie'
|
||||||
pkgname=cronie
|
pkgname=cronie
|
||||||
version=1.3
|
version=1.3
|
||||||
revision=1
|
revision=2
|
||||||
distfiles="http://mmaslano.fedorapeople.org/cronie/cronie-$version.tar.gz"
|
distfiles="http://mmaslano.fedorapeople.org/cronie/cronie-$version.tar.gz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--with-inotify --without-selinux --with-pam
|
configure_args="--with-inotify --without-selinux --with-pam
|
||||||
|
@ -24,15 +24,15 @@ Add_dependency full run-parts
|
||||||
|
|
||||||
post_install()
|
post_install()
|
||||||
{
|
{
|
||||||
install -d ${DESTDIR}/etc/cron.d
|
install -d ${DESTDIR}/etc/cron.d ${DESTDIR}/etc/cron.hourly \
|
||||||
install -d ${DESTDIR}/etc/cron.hourly
|
${DESTDIR}/etc/cron.daily ${DESTDIR}/etc/cron.weekly \
|
||||||
install -d ${DESTDIR}/etc/cron.daily
|
${DESTDIR}/etc/cron.monthly ${DESTDIR}/etc/logrotate.d
|
||||||
install -d ${DESTDIR}/etc/cron.weekly
|
|
||||||
install -d ${DESTDIR}/etc/cron.monthly
|
|
||||||
install -d -m755 ${DESTDIR}/var/spool/cron
|
install -d -m755 ${DESTDIR}/var/spool/cron
|
||||||
|
|
||||||
install -D -m755 ${FILESDIR}/crond.rc ${DESTDIR}/etc/init.d/crond
|
install -D -m755 ${FILESDIR}/crond.rc ${DESTDIR}/etc/init.d/crond
|
||||||
install -D -m644 ${FILESDIR}/crontab ${DESTDIR}/etc/crontab
|
install -m644 ${FILESDIR}/crontab ${DESTDIR}/etc/crontab
|
||||||
|
install -m644 ${FILESDIR}/crond.logrotate \
|
||||||
|
${DESTDIR}/etc/logrotate.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
|
||||||
|
|
Loading…
Reference in New Issue