summaryrefslogtreecommitdiff
path: root/core/cronie
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-07-04 19:48:31 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-07-04 19:48:31 +0200
commitee9c1a601c6ce156c295e4a4608ad50535192954 (patch)
tree49757b312b758e793ffd8bfedd2d6665cd0b3e29 /core/cronie
parent2690b2e42de85dbcbca602f3299ae4404918e94d (diff)
parente9eb2503b10fe4c4aefbee39226c8962d72d58bd (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/bitcoin/PKGBUILD community/calc/PKGBUILD community/fcitx/PKGBUILD community/gloobus-preview/PKGBUILD community/linux-tools/PKGBUILD community/smc/PKGBUILD extra/elfutils/PKGBUILD extra/freenx/PKGBUILD extra/gnome-alsamixer/PKGBUILD extra/gvfs/PKGBUILD extra/kdenetwork/PKGBUILD extra/kdepim/PKGBUILD extra/kdesdk-kate/PKGBUILD extra/lcms2/PKGBUILD extra/libmspack/PKGBUILD extra/libtheora/PKGBUILD extra/mesa/PKGBUILD extra/nx-common/PKGBUILD extra/opennx/PKGBUILD extra/perl-tk/PKGBUILD extra/qt4/PKGBUILD extra/soprano/PKGBUILD extra/wireshark/PKGBUILD extra/xmlsec/PKGBUILD extra/xorg-server/PKGBUILD libre/audacious-plugins-libre/PKGBUILD libre/ipsec-tools-libre/PKGBUILD libre/tomoyo-tools-libre/PKGBUILD pcr/amsynth/PKGBUILD
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 ccd6b5de5..2e0bbc52d 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