summaryrefslogtreecommitdiff
path: root/community/fcron/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fcron/PKGBUILD')
-rw-r--r--community/fcron/PKGBUILD33
1 files changed, 12 insertions, 21 deletions
diff --git a/community/fcron/PKGBUILD b/community/fcron/PKGBUILD
index 271b52fe7..cf512694c 100644
--- a/community/fcron/PKGBUILD
+++ b/community/fcron/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 90861 2013-05-15 00:13:25Z 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,31 +7,26 @@
pkgname=fcron
pkgver=3.1.2
-pkgrel=5
+pkgrel=7
pkgdesc='Feature-rich cron implementation'
arch=(i686 x86_64 mips64el)
url='http://fcron.free.fr'
license=('GPL')
-depends=('pam')
-makedepends=('smtp-server' 'vi')
-optdepends=('smtp-server: to receive mails from cron jobs'
+depends=('pam' 'run-parts')
+makedepends=('smtp-forwarder' 'vi')
+optdepends=('smtp-forwarder: to send mails from cron jobs'
'vi: default editor for fcrontab')
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'
- 'run-cron')
+ 'systab.orig')
md5sums=('36bf213e15f3a480f2274f8e46cced0a'
- '55be3e80fb2545608feae6f2e0eebece'
- '5384c607d842ca3d5cbb612ac1dceb15'
- '524eba827447a6b7ef7515eedf305698')
+ 'afecbfd98caa49e8e4aa239fa1b19255')
build() {
cd $pkgname-$pkgver
@@ -60,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
@@ -73,9 +67,6 @@ package() {
install -d -m755 "$pkgdir/etc/cron.monthly"
install -d -m755 "$pkgdir/etc/cron.weekly"
- # Install run-cron script to make fcron run without dcron
- install -D -m755 "$srcdir/run-cron" "$pkgdir/usr/bin/run-cron"
-
# avoid conflict with filesystem>=2012.06
rmdir "$pkgdir"/{var/,}run