summaryrefslogtreecommitdiff
path: root/community/fcron
diff options
context:
space:
mode:
Diffstat (limited to 'community/fcron')
-rw-r--r--community/fcron/PKGBUILD21
-rw-r--r--community/fcron/run-cron14
-rw-r--r--community/fcron/systabbin498 -> 502 bytes
-rw-r--r--community/fcron/systab.orig8
4 files changed, 12 insertions, 31 deletions
diff --git a/community/fcron/PKGBUILD b/community/fcron/PKGBUILD
index 37c0626e3..09ac4e51c 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 91396 2013-05-21 19:34:28Z seblu $
# Contributor: Giorgio Lando <lando at imap dot cc>
# Contributor: Sergej Pupykin
# Contributor: Thomas Bächler
@@ -7,14 +7,14 @@
pkgname=fcron
pkgver=3.1.2
-pkgrel=5
+pkgrel=6
pkgdesc='Feature-rich cron implementation'
arch=(i686 x86_64)
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')
@@ -26,12 +26,10 @@ backup=('etc/fcron/fcron.conf'
options=('emptydirs' '!makeflags')
source=("http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz"
'systab'
- 'systab.orig'
- 'run-cron')
+ 'systab.orig')
md5sums=('36bf213e15f3a480f2274f8e46cced0a'
- '55be3e80fb2545608feae6f2e0eebece'
- '5384c607d842ca3d5cbb612ac1dceb15'
- '524eba827447a6b7ef7515eedf305698')
+ '5f321747d86686f351ada7dce5774803'
+ 'afecbfd98caa49e8e4aa239fa1b19255')
build() {
cd $pkgname-$pkgver
@@ -73,9 +71,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
diff --git a/community/fcron/run-cron b/community/fcron/run-cron
deleted file mode 100644
index 8e65e2fd0..000000000
--- a/community/fcron/run-cron
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-
-if [[ -z "$1" ]]; then
- echo "Usage: $0 crondir"
- exit 1
-fi
-
-for cron in "$1"/* ; do
- if [[ -x "$cron" ]]; then
- "$cron"
- fi
-done
-unset cron
diff --git a/community/fcron/systab b/community/fcron/systab
index 7947f3598..392b2cb2c 100644
--- a/community/fcron/systab
+++ b/community/fcron/systab
Binary files differ
diff --git a/community/fcron/systab.orig b/community/fcron/systab.orig
index b57ba8ef2..00af327bc 100644
--- a/community/fcron/systab.orig
+++ b/community/fcron/systab.orig
@@ -1,4 +1,4 @@
-&bootrun 01 * * * * /usr/bin/run-cron /etc/cron.hourly
-&bootrun 02 00 * * * /usr/bin/run-cron /etc/cron.daily
-&bootrun 22 00 * * 0 /usr/bin/run-cron /etc/cron.weekly
-&bootrun 42 00 1 * * /usr/bin/run-cron /etc/cron.monthly
+&bootrun 01 * * * * /usr/bin/run-parts /etc/cron.hourly
+&bootrun 02 00 * * * /usr/bin/run-parts /etc/cron.daily
+&bootrun 22 00 * * 0 /usr/bin/run-parts /etc/cron.weekly
+&bootrun 42 00 1 * * /usr/bin/run-parts /etc/cron.monthly