diff options
author | root <root@rshg054.dnsready.net> | 2013-01-29 00:06:25 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-01-29 00:06:25 -0800 |
commit | 2cb7f65fb24926493d457f6931e421e27aa629da (patch) | |
tree | dfd419375945457b6b6dd74c280812f8e5533743 /community/fcron | |
parent | 1b9f6dc846379470b620b5dbb9d4d7acd1de148c (diff) |
Tue Jan 29 00:06:25 PST 2013
Diffstat (limited to 'community/fcron')
-rw-r--r-- | community/fcron/PKGBUILD | 21 | ||||
-rw-r--r-- | community/fcron/fcron.service | 5 |
2 files changed, 15 insertions, 11 deletions
diff --git a/community/fcron/PKGBUILD b/community/fcron/PKGBUILD index 8fa9c82a0..199c36931 100644 --- a/community/fcron/PKGBUILD +++ b/community/fcron/PKGBUILD @@ -1,13 +1,13 @@ -# $Id: PKGBUILD 75445 2012-08-24 05:27:15Z ttopper $ +# $Id: PKGBUILD 83238 2013-01-28 15:29:15Z ttoepper $ # Contributor: Giorgio Lando <lando at imap dot cc> # Contributor: Sergej Pupykin # Contributor: Thomas Bächler # Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> pkgname=fcron -pkgver=3.0.6 -pkgrel=8 -pkgdesc="feature-rich cron implementation" +pkgver=3.1.1 +pkgrel=1 +pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url="http://fcron.free.fr" license=('GPL') @@ -21,12 +21,12 @@ backup=(etc/fcron/fcron.conf etc/fcron/fcron.allow etc/fcron/fcron.deny \ options=('emptydirs' '!makeflags') source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz fcron.rc \ systab systab.orig run-cron fcron.service) -md5sums=('69ebcb41921e2a282f41ebecb3a27053' +md5sums=('230b91f308e6012957a3a71a94f03838' 'e0c3f0bdc3c98fbbe46eff19001c18f2' '938722c6654ef7b07f4aa10001905ba1' 'bfb7daa22ebe22b9917e455c1ca4a382' '5ff0cdcb9ec99778938ac6ef26800327' - 'ab589cc6813ec32b5e96bf05c2b51c4c') + '973e440ba6d9ea5aa00b45377140fae4') build() { cd "$srcdir/$pkgname-$pkgver" @@ -40,9 +40,14 @@ build() { --datadir=/usr/share \ --with-docdir=/usr/share/doc \ --localstatedir=/var \ + --with-systemdsystemunitdir=/usr/lib/systemd/system \ + --with-piddir=/run \ --with-editor=/usr/bin/vi \ --with-sendmail=/usr/sbin/sendmail make + + # Temporary bugfix make install expects the file in the files directory. + cp script/fcron.init.systemd files } package() { @@ -70,8 +75,8 @@ package() { install -D -m755 "$srcdir/run-cron" "$pkgdir/usr/sbin/run-cron" # Install systemd service - install -D -m644 "$srcdir/fcron.service" \ - "$pkgdir/usr/lib/systemd/system/fcron.service" + #install -D -m644 "$srcdir/fcron.service" \ + # "$pkgdir/usr/lib/systemd/system/fcron.service" # avoid conflict with filesystem>=2012.06 rmdir "$pkgdir/var/run" diff --git a/community/fcron/fcron.service b/community/fcron/fcron.service index a47b4f19b..c54e8d9e9 100644 --- a/community/fcron/fcron.service +++ b/community/fcron/fcron.service @@ -2,9 +2,8 @@ Description=Cron Daemon [Service] -Type=forking -PIDFile=/run/fcron.pid -ExecStart=/usr/sbin/fcron +ExecStart=/usr/sbin/fcron --foreground --nosyslog +KillMode=process [Install] WantedBy=multi-user.target |