summaryrefslogtreecommitdiff
path: root/core/cronie
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-26 01:38:17 -0700
committerroot <root@rshg054.dnsready.net>2013-06-26 01:38:17 -0700
commit02e1f1221ec9570de0aaec8f15edb6d2af336bff (patch)
tree94b0e68a309f5fa68c667b8125553f445df021ac /core/cronie
parentf566ab403132b1bb3eb3a5b2e604c117bc0630c7 (diff)
Wed Jun 26 01:37:43 PDT 2013
Diffstat (limited to 'core/cronie')
-rw-r--r--core/cronie/PKGBUILD27
-rw-r--r--core/cronie/deny (renamed from core/cronie/cron.deny)0
-rw-r--r--core/cronie/service2
3 files changed, 11 insertions, 18 deletions
diff --git a/core/cronie/PKGBUILD b/core/cronie/PKGBUILD
index e45d47fa8..128087d4e 100644
--- a/core/cronie/PKGBUILD
+++ b/core/cronie/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='cronie'
pkgver=1.4.9
-pkgrel=4
+pkgrel=5
pkgdesc='Daemon that runs specified programs at scheduled times and related tools'
url='https://fedorahosted.org/cronie/'
license=('custom:BSD')
@@ -14,31 +14,25 @@ optdepends=('pm-utils: defer anacron on battery power'
'smtp-forwarder: forward job output to email server')
source=("https://fedorahosted.org/releases/c/r/${pkgname}/${pkgname}-${pkgver}.tar.gz"
- 'cron.deny'
'service'
- 'pam.d')
+ 'pam.d'
+ 'deny')
sha1sums=('40405cb30b62bd60323e4daf5198f26f0e65c4c4'
- '0f279b8fb820340267d578dc85511c980715f91e'
- 'de455f11a310e64d6930390e57726ed70f3295d0'
- '5eff7fb31f6bc0a924243ff046704726cf20c221')
+ 'eb8ed1e22dbe9c02075fe4bbe925b6eeb9954649'
+ '5eff7fb31f6bc0a924243ff046704726cf20c221'
+ '0f279b8fb820340267d578dc85511c980715f91e')
-backup=('etc/anacrontab'
- 'etc/conf.d/crond'
+backup=('etc/cron.deny'
'etc/pam.d/crond'
- 'etc/cron.deny')
+ 'etc/cron.d/0hourly'
+ 'etc/anacrontab')
conflicts=('cron')
provides=('cron')
groups=('base')
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed 's:usr/sbin:usr/bin:g' -i contrib/0anacron
-}
-
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
-
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -60,11 +54,10 @@ package() {
install -d "${pkgdir}"/var/spool/{ana,}cron
install -d "${pkgdir}"/etc/cron.{d,hourly,daily,weekly,monthly}
+ install -Dm644 ../deny "${pkgdir}"/etc/cron.deny
install -Dm644 ../pam.d "${pkgdir}"/etc/pam.d/crond
- install -Dm644 ../cron.deny "${pkgdir}"/etc/cron.deny
install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/cronie.service
- install -Dm644 crond.sysconfig "${pkgdir}"/etc/conf.d/crond
install -Dm644 contrib/anacrontab "${pkgdir}"/etc/anacrontab
install -Dm644 contrib/0hourly "${pkgdir}"/etc/cron.d/0hourly
install -Dm755 contrib/0anacron "${pkgdir}"/etc/cron.hourly/0anacron
diff --git a/core/cronie/cron.deny b/core/cronie/deny
index 06e685cc8..06e685cc8 100644
--- a/core/cronie/cron.deny
+++ b/core/cronie/deny
diff --git a/core/cronie/service b/core/cronie/service
index cc671f7b6..84145251c 100644
--- a/core/cronie/service
+++ b/core/cronie/service
@@ -3,7 +3,7 @@ Description=Periodic Command Scheduler
[Service]
ExecStart=/usr/bin/crond -n
-ExecReload=/bin/kill -HUP $MAINPID
+ExecReload=/usr/bin/kill -HUP $MAINPID
KillMode=process
Restart=always