summaryrefslogtreecommitdiff
path: root/extra/hylafax
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-28 00:03:26 -0800
committerroot <root@rshg054.dnsready.net>2013-02-28 00:03:26 -0800
commitb56d5949c9b0c3b40a942cd83f71e4420473435b (patch)
treeeab18954f3e6ffee5b561a2fd77ff58fbd259bc0 /extra/hylafax
parent23018fec360e50c7cb4de4b2411650ce79532e54 (diff)
Thu Feb 28 00:03:24 PST 2013
Diffstat (limited to 'extra/hylafax')
-rw-r--r--extra/hylafax/PKGBUILD16
-rw-r--r--extra/hylafax/faxgetty@.service24
2 files changed, 36 insertions, 4 deletions
diff --git a/extra/hylafax/PKGBUILD b/extra/hylafax/PKGBUILD
index 4a952f56c..43e9a1b9f 100644
--- a/extra/hylafax/PKGBUILD
+++ b/extra/hylafax/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 166869 2012-09-20 09:33:33Z tpowa $
+# $Id: PKGBUILD 178774 2013-02-27 13:50:36Z tpowa $
# Maintainer: Paul Mattal <paul@archlinux.org>
pkgname=hylafax
pkgver=6.0.6
-pkgrel=1
+pkgrel=2
pkgdesc="Fax Server"
arch=('i686' 'x86_64')
install='hylafax.install'
@@ -18,7 +18,8 @@ source=(ftp://ftp.hylafax.org/source/${pkgname}-${pkgver}.tar.gz
hylafax.cron.daily
config.local
faxq.service
- hfaxd.service)
+ hfaxd.service
+ faxgetty@.service)
build () {
cd "$srcdir/${pkgname}-${pkgver}"
@@ -42,7 +43,7 @@ package () {
# add systemd files
install -D -m644 $srcdir/hfaxd.service $pkgdir/usr/lib/systemd/system/hfaxd.service
install -D -m644 $srcdir/faxq.service $pkgdir/usr/lib/systemd/system/faxq.service
-
+ install -D -m644 $srcdir/faxgetty@.service $pkgdir/usr/lib/systemd/system/faxgetty@.service
install -D -m644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT
}
md5sums=('d063d45049c8fcbabefe09d662313067'
@@ -51,3 +52,10 @@ md5sums=('d063d45049c8fcbabefe09d662313067'
'60f2a7e62c256ead4e9238cb31b35b90'
'832c8e8098e2dfa56040c975b554590c'
'38a00db6d9d765d130b2d8d3a98e5c24')
+md5sums=('d063d45049c8fcbabefe09d662313067'
+ '6602288a405324d8c8e3c5eac2bf19fd'
+ '52beffe7dc296b4f9ce9fd0387f7804e'
+ '60f2a7e62c256ead4e9238cb31b35b90'
+ '832c8e8098e2dfa56040c975b554590c'
+ '38a00db6d9d765d130b2d8d3a98e5c24'
+ 'fe10ea597e786fe8c09e4104fbdf16de')
diff --git a/extra/hylafax/faxgetty@.service b/extra/hylafax/faxgetty@.service
new file mode 100644
index 000000000..476715c19
--- /dev/null
+++ b/extra/hylafax/faxgetty@.service
@@ -0,0 +1,24 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=faxgetty on %I
+Documentation=man:faxgetty(8)
+After=faxq.service hfaxd.service
+
+[Service]
+ExecStart=/usr/lib/fax/faxgetty %I
+Type=simple
+Restart=always
+RestartSec=0
+KillMode=process
+
+KillSignal=SIGTERM
+
+[Install]
+WantedBy=multi-user.target
+