summaryrefslogtreecommitdiff
path: root/community/fcron/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fcron/PKGBUILD')
-rw-r--r--community/fcron/PKGBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/community/fcron/PKGBUILD b/community/fcron/PKGBUILD
index 09ac4e51c..3e60e52d5 100644
--- a/community/fcron/PKGBUILD
+++ b/community/fcron/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 91396 2013-05-21 19:34:28Z seblu $
+# $Id: PKGBUILD 91897 2013-05-29 00:39:11Z seblu $
# Contributor: Giorgio Lando <lando at imap dot cc>
# Contributor: Sergej Pupykin
# Contributor: Thomas Bächler
@@ -7,7 +7,7 @@
pkgname=fcron
pkgver=3.1.2
-pkgrel=6
+pkgrel=7
pkgdesc='Feature-rich cron implementation'
arch=(i686 x86_64)
url='http://fcron.free.fr'
@@ -20,15 +20,12 @@ provides=('cron')
conflicts=('dcron')
backup=('etc/fcron/fcron.conf'
'etc/fcron/fcron.allow'
- 'etc/fcron/fcron.deny'
- 'var/spool/fcron/systab'
- 'var/spool/fcron/systab.orig')
+ 'etc/fcron/fcron.deny')
options=('emptydirs' '!makeflags')
+install=$pkgname.install
source=("http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz"
- 'systab'
'systab.orig')
md5sums=('36bf213e15f3a480f2274f8e46cced0a'
- '5f321747d86686f351ada7dce5774803'
'afecbfd98caa49e8e4aa239fa1b19255')
build() {
@@ -58,11 +55,10 @@ package() {
install -D -m644 "$srcdir/$pkgname-$pkgver/files/fcron.pam" "$pkgdir/etc/pam.d/fcron"
install -D -m644 "$srcdir/$pkgname-$pkgver/files/fcrontab.pam" "$pkgdir/etc/pam.d/fcrontab"
- # Install default fcrontab so that fcron can completely replace dcron
- install -D -m640 "$srcdir/systab" "$pkgdir/var/spool/fcron/systab"
- # In order to preserve the systab crontab in any case it is better to have
- # it in non-binary form too
+ # Install a default fcrontab so that fcron can completely replace dcron
+ # We doesn't use binary format which is incompatible between arch and may cause crash
+ # We regenerate the binary format at each update
install -D -m640 "$srcdir/systab.orig" "$pkgdir/var/spool/fcron/systab.orig"
# Add cron.* directories