[arch-commits] Commit in hylafax/trunk (PKGBUILD hylafax.cron.daily)
Tobias Powalowski
tpowa at nymeria.archlinux.org
Tue Apr 1 15:29:46 UTC 2014
Date: Tuesday, April 1, 2014 @ 17:29:46
Author: tpowa
Revision: 209707
upgpkg: hylafax 6.0.6-5
remove cron script and replace with systemd service
Modified:
hylafax/trunk/PKGBUILD
Deleted:
hylafax/trunk/hylafax.cron.daily
--------------------+
PKGBUILD | 13 +++++++++----
hylafax.cron.daily | 4 ----
2 files changed, 9 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-04-01 15:16:54 UTC (rev 209706)
+++ PKGBUILD 2014-04-01 15:29:46 UTC (rev 209707)
@@ -2,7 +2,7 @@
# Maintainer: Paul Mattal <paul at archlinux.org>
pkgname=hylafax
pkgver=6.0.6
-pkgrel=4
+pkgrel=5
pkgdesc="Fax Server"
arch=('i686' 'x86_64')
install='hylafax.install'
@@ -14,7 +14,7 @@
usr/lib/fax/{faxcover.ps,hfaxd.conf,pagesizes,typerules}
var/spool/hylafax/etc/hosts.hfaxd)
source=(ftp://ftp.hylafax.org/source/${pkgname}-${pkgver}.tar.gz
- hylafax.cron.daily
+ hylafax.{timer,service}
config.local
faxq.service
hfaxd.service
@@ -32,7 +32,6 @@
mkdir -p "$pkgdir"/usr/{bin,lib/fax,share/ghostscript/fonts}
mkdir -p "$pkgdir"/var/{spool/hylafax,lock}
make ROOT="$pkgdir" install
- install -D -m 744 "$srcdir"/hylafax.cron.daily "$pkgdir"/etc/cron.daily/hylafax
# add missing awk file for notify-4.1 script
install -D -m 755 "$srcdir"/${pkgname}-${pkgver}/util/notify.awk \
"$pkgdir"/var/spool/hylafax/bin/notify.awk
@@ -43,9 +42,15 @@
install -D -m644 $srcdir/faxq.service $pkgdir/usr/lib/systemd/system/faxq.service
install -D -m644 $srcdir/faxgetty at .service $pkgdir/usr/lib/systemd/system/faxgetty at .service
install -D -m644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT
+ # systemd timer
+ install -D -m644 ${srcdir}/hylafax.timer ${pkgdir}/usr/lib/systemd/system/hylafax.timer
+ install -D -m644 ${srcdir}/hylafax.service ${pkgdir}/usr/lib/systemd/system/hylafax.service
+ install -d -m755 ${pkgdir}/usr/lib/systemd/system/multi-user.target.wants
+ ln -s ../shadow.timer ${pkgdir}//usr/lib/systemd/system/multi-user.target.wants/hylafax.timer
}
md5sums=('d063d45049c8fcbabefe09d662313067'
- 'b0b8d19a10c2145476d9fbb18c0478fe'
+ '9ef38446d2a2aeac698c4ae178fd5c2b'
+ 'e5afba881859f018ee88d35fc62a488f'
'5f3a89fbfb10c47755d3ca19183b8a59'
'a10aa2ef613551a88d750f6602b5f2f7'
'38a00db6d9d765d130b2d8d3a98e5c24'
Deleted: hylafax.cron.daily
===================================================================
--- hylafax.cron.daily 2014-04-01 15:16:54 UTC (rev 209706)
+++ hylafax.cron.daily 2014-04-01 15:29:46 UTC (rev 209707)
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-/usr/bin/faxqclean
-/usr/bin/faxcron -rcv 30
More information about the arch-commits
mailing list