From 94915df50a260aa5e7346e5be46ecbc5416e688a Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sat, 14 Feb 2015 15:47:04 +0100 Subject: [PATCH] cronie: add empty crontab to suppress error message on startup. --- srcpkgs/cronie/files/crontab | 1 + srcpkgs/cronie/template | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/cronie/files/crontab diff --git a/srcpkgs/cronie/files/crontab b/srcpkgs/cronie/files/crontab new file mode 100644 index 00000000000..1242156b842 --- /dev/null +++ b/srcpkgs/cronie/files/crontab @@ -0,0 +1 @@ +# /etc/crontab - main system crontab(5) file diff --git a/srcpkgs/cronie/template b/srcpkgs/cronie/template index 67372478cf9..0004536d93d 100644 --- a/srcpkgs/cronie/template +++ b/srcpkgs/cronie/template @@ -1,7 +1,7 @@ # Template file for 'cronie' pkgname=cronie version=1.4.12 -revision=4 +revision=5 build_style=gnu-configure configure_args="--with-inotify --without-selinux --with-pam --enable-anacron --localstatedir=/var --enable-pie --enable-relro" @@ -15,7 +15,7 @@ make_dirs=" /etc/cron.monthly 0755 root root /var/spool/cron 0755 root root /var/spool/anacron 0755 root root" -conf_files="/etc/anacrontab /etc/pam.d/crond /etc/cron.deny" +conf_files="/etc/crontab /etc/anacrontab /etc/pam.d/crond /etc/cron.deny" replaces="cron-daemon>=0" provides="cron-daemon-0_1" short_desc="Runs specified programs at scheduled times" @@ -33,6 +33,7 @@ post_install() { vinstall ${FILESDIR}/cronie.service 644 usr/lib/systemd/system fi vsv cronie + vinstall ${FILESDIR}/crontab 644 etc vinstall ${FILESDIR}/crond.pam 644 etc/pam.d crond # Add /etc/cron.deny empty, to allow all users.