mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
dcron: remove systemd build option (#1736)
This commit is contained in:
parent
a5c965dbe7
commit
c5a89cf7ed
2 changed files with 1 additions and 16 deletions
|
@ -1,10 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Periodic Command Scheduler
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
ExecStart=/usr/sbin/crond
|
|
||||||
Restart=always
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dcron'
|
# Template file for 'dcron'
|
||||||
pkgname=dcron
|
pkgname=dcron
|
||||||
version=4.5
|
version=4.5
|
||||||
revision=28
|
revision=29
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
conf_files="/var/spool/cron/root"
|
conf_files="/var/spool/cron/root"
|
||||||
replaces="cron-daemon>=0"
|
replaces="cron-daemon>=0"
|
||||||
|
@ -13,7 +13,6 @@ license="GPL-2"
|
||||||
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
|
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
|
||||||
checksum=9e50edb6f5bd8153b16bad05087d985e5153ce45cc01ae77e7f842213fb4a824
|
checksum=9e50edb6f5bd8153b16bad05087d985e5153ce45cc01ae77e7f842213fb4a824
|
||||||
|
|
||||||
build_options="systemd"
|
|
||||||
make_dirs="
|
make_dirs="
|
||||||
/etc/cron.d 0755 root root
|
/etc/cron.d 0755 root root
|
||||||
/etc/cron.hourly 0755 root root
|
/etc/cron.hourly 0755 root root
|
||||||
|
@ -39,9 +38,5 @@ do_install() {
|
||||||
# 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
|
||||||
|
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
vinstall ${FILESDIR}/dcron.service 644 usr/lib/systemd/system
|
|
||||||
fi
|
|
||||||
|
|
||||||
vsv dcron
|
vsv dcron
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue