[arch-commits] Commit in fcron/trunk (PKGBUILD run-cron systab systab.orig)
Sébastien Luttringer
seblu at nymeria.archlinux.org
Tue May 21 19:34:17 UTC 2013
Date: Tuesday, May 21, 2013 @ 21:34:17
Author: seblu
Revision: 91395
upgpkg: fcron 3.1.2-6
- use run-parts instead of our run-cron script
- remplace smtp-server by smtp-forwarder
Modified:
fcron/trunk/PKGBUILD
fcron/trunk/systab
fcron/trunk/systab.orig
Deleted:
fcron/trunk/run-cron
-------------+
PKGBUILD | 19 +++++++------------
run-cron | 14 --------------
systab.orig | 8 ++++----
3 files changed, 11 insertions(+), 30 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-21 16:28:38 UTC (rev 91394)
+++ PKGBUILD 2013-05-21 19:34:17 UTC (rev 91395)
@@ -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 @@
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 @@
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
Deleted: run-cron
===================================================================
--- run-cron 2013-05-21 16:28:38 UTC (rev 91394)
+++ run-cron 2013-05-21 19:34:17 UTC (rev 91395)
@@ -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
Modified: systab
===================================================================
(Binary files differ)
Modified: systab.orig
===================================================================
--- systab.orig 2013-05-21 16:28:38 UTC (rev 91394)
+++ systab.orig 2013-05-21 19:34:17 UTC (rev 91395)
@@ -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
More information about the arch-commits
mailing list