dcron: switch to /usr.
This commit is contained in:
parent
1bf40dd1b6
commit
6324d5eac2
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dcron'
|
# Template file for 'dcron'
|
||||||
pkgname=dcron
|
pkgname=dcron
|
||||||
version=4.5
|
version=4.5
|
||||||
revision=15
|
revision=16
|
||||||
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
|
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
|
||||||
short_desc="Dillon's lightweight cron daemon"
|
short_desc="Dillon's lightweight cron daemon"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -15,7 +15,6 @@ long_desc="
|
||||||
like anacron makes for too much complexity. So the goal is a simple cron daemon
|
like anacron makes for too much complexity. So the goal is a simple cron daemon
|
||||||
that can also take over the central functions of anacron."
|
that can also take over the central functions of anacron."
|
||||||
|
|
||||||
build_requires=11
|
|
||||||
replaces="cronie>=0"
|
replaces="cronie>=0"
|
||||||
systemd_services="dcron.service on"
|
systemd_services="dcron.service on"
|
||||||
conf_files="/var/spool/cron/root"
|
conf_files="/var/spool/cron/root"
|
||||||
|
@ -44,7 +43,7 @@ do_install() {
|
||||||
install -Dm600 extra/root.crontab ${DESTDIR}/var/spool/cron/root
|
install -Dm600 extra/root.crontab ${DESTDIR}/var/spool/cron/root
|
||||||
install -Dm644 extra/crond.logrotate ${DESTDIR}/etc/logrotate.d/crond
|
install -Dm644 extra/crond.logrotate ${DESTDIR}/etc/logrotate.d/crond
|
||||||
|
|
||||||
vinstall ${FILESDIR}/dcron.service 644 lib/systemd/system
|
vinstall ${FILESDIR}/dcron.service 644 usr/lib/systemd/system
|
||||||
# crontab must be setuid for all users to work!
|
# crontab must be setuid for all users to work!
|
||||||
chmod 4755 ${DESTDIR}/usr/bin/crontab
|
chmod 4755 ${DESTDIR}/usr/bin/crontab
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue