cronie: add rc.d script and some config files.
--HG-- extra : convert_revision : 5ddf685027b96d674702810d45cada1c04701828
This commit is contained in:
@@ -3,8 +3,8 @@ pkgname=cronie
|
||||
version=1.2
|
||||
distfiles="http://mmaslano.fedorapeople.org/cronie/cronie-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--with-inotify --with-daemon_username=crond
|
||||
--with-daemon_groupname=crond --without-selinux --with-pam"
|
||||
configure_args="--with-inotify --without-selinux --with-pam
|
||||
--with-daemon_username=nobody --with-daemon_groupname=nobody"
|
||||
short_desc="Runs specified programs at scheduled times"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=261280d0143f39643c1e4c6e1fcffc875c35ca6690e20dac99ef5da93ea9616e
|
||||
@@ -14,5 +14,23 @@ long_desc="
|
||||
has security and configuration enhancements like the ability to use PAM and
|
||||
SELinux."
|
||||
|
||||
conf_files="/etc/crontab"
|
||||
|
||||
Add_dependency full glibc
|
||||
Add_dependency full pam
|
||||
|
||||
post_install()
|
||||
{
|
||||
install -d ${DESTDIR}/etc/cron.d
|
||||
install -d ${DESTDIR}/etc/cron.hourly
|
||||
install -d ${DESTDIR}/etc/cron.daily
|
||||
install -d ${DESTDIR}/etc/cron.weekly
|
||||
install -d ${DESTDIR}/etc/cron.monthly
|
||||
install -d -m700 ${DESTDIR}/var/spool/cron
|
||||
|
||||
install -D -m755 ${FILESDIR}/crond ${DESTDIR}/etc/rc.d/crond
|
||||
install -D -m644 ${FILESDIR}/crontab ${DESTDIR}/etc/crontab
|
||||
|
||||
install -m755 ${FILESDIR}/mlocate.cron ${DESTDIR}/etc/cron.daily
|
||||
install -m755 ${FILESDIR}/makewhatis.cron ${DESTDIR}/etc/cron.daily
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user