[arch-commits] Commit in hylafax/trunk (4 files)

Tobias Powalowski tpowa at archlinux.org
Thu Apr 26 13:05:21 UTC 2012


    Date: Thursday, April 26, 2012 @ 09:05:21
  Author: tpowa
Revision: 157232

upgpkg: hylafax 6.0.5-4

add systemd support

Added:
  hylafax/trunk/faxq.service
  hylafax/trunk/hfaxd.service
Modified:
  hylafax/trunk/PKGBUILD
  hylafax/trunk/config.local

---------------+
 PKGBUILD      |   15 +++++++++++----
 config.local  |   12 ++++++------
 faxq.service  |    9 +++++++++
 hfaxd.service |    9 +++++++++
 4 files changed, 35 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-26 11:37:26 UTC (rev 157231)
+++ PKGBUILD	2012-04-26 13:05:21 UTC (rev 157232)
@@ -2,7 +2,7 @@
 # Maintainer: Paul Mattal <paul at archlinux.org>
 pkgname=hylafax
 pkgver=6.0.5
-pkgrel=3
+pkgrel=4
 pkgdesc="Fax Server"
 arch=('i686' 'x86_64')
 install='hylafax.install'
@@ -18,13 +18,17 @@
         hylafax.cron.daily 
         config.local
         configure-6.0.5.patch 
-        hylafax-libtiff4.patch)
+        hylafax-libtiff4.patch
+        faxq.service
+        hfaxd.service)
 md5sums=('eb9ac942354ad708e20e4583cec6615f'
          '6602288a405324d8c8e3c5eac2bf19fd'
          '52beffe7dc296b4f9ce9fd0387f7804e'
-         '0d2ce24d918226a852539aebf57d3f4a'
+         '60f2a7e62c256ead4e9238cb31b35b90'
          '51d9f639bb76e5e39cdc8e2ac07e208d'
-         '3d239c186f24720e945508d349b069b1')
+         '3d239c186f24720e945508d349b069b1'
+         '9c8916a753106795fc3f40268889f645'
+         'a0b5a008b7fbf1943d167e0d5eb32341')
 
 build() {
   cd "$srcdir/${pkgname}-${pkgver}"
@@ -48,6 +52,9 @@
   	"$pkgdir"/var/spool/hylafax/bin/notify.awk
   # fix permission on /var/lock
   chmod 1777 "$pkgdir"/var/lock
+  # 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 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT
 }

Modified: config.local
===================================================================
--- config.local	2012-04-26 11:37:26 UTC (rev 157231)
+++ config.local	2012-04-26 13:05:21 UTC (rev 157232)
@@ -250,24 +250,24 @@
 # based on whether or not they are capable of processing scripts
 # included in the distribution (e.g AWK and SCRIPT_SH, SED).
 #
-#AWK="/bin/awk"				# pathname of suitable awk program
+AWK="/usr/bin/awk"				# pathname of suitable awk program
 #CAT="/bin/cat"				# pathname of suitable cat program
 #CHGRP="/etc/chgrp"			# pathname of suitable chgrp program
 #CHMOD="/etc/chmod"			# pathname of suitable chmod program
 #CHOWN="/etc/chown"			# pathname of suitable chown program
-#CMP="/bin/cmp"				# pathname of suitable cmp program
-#COL="/bin/col"				# pathname of suitable col program
+CMP="/usr/bin/cmp"				# pathname of suitable cmp program
+COL="/usr/bin/col"				# pathname of suitable col program
 #CP="/bin/cp"				# pathname of suitable cp program
 #ECHO="/bin/echo"			# pathname of suitable echo program
-#GREP="/bin/grep"			# pathname of suitable grep program
+GREP="/usr/bin/grep"			# pathname of suitable grep program
 #LN="/bin/ln"				# pathname of suitable ln program
 #LN_S="-s"				# option to ${LN} to create symlink
 #MAN="/usr/bin/man"			# pathname of suitable man program
 #MKDIR="/bin/mkdir"			# pathname of suitable mkdir program
-#MKFIFO="/bin/mkfifo"			# pathname of suitable mkfifo program
+MKFIFO="/usr/bin/mkfifo"			# pathname of suitable mkfifo program
 #MV="/bin/mv"				# pathname of suitable mv program
 #MV_F="-f"				# option to ${MV} to force operation
 #RMCMD="/bin/rm"			# pathname of suitable rm program
 #SED="/bin/sed"				# pathname of suitable sed program
 #SCRIPT_SH="/bin/sh"			# pathname of suitable shell
-#SORT="/bin/sort"			# pathname of suitable sort program
+SORT="/usr/bin/sort"			# pathname of suitable sort program

Added: faxq.service
===================================================================
--- faxq.service	                        (rev 0)
+++ faxq.service	2012-04-26 13:05:21 UTC (rev 157232)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Hyla FAX queue manager
+
+[Service]
+ExecStart=/usr/sbin/faxq
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target

Added: hfaxd.service
===================================================================
--- hfaxd.service	                        (rev 0)
+++ hfaxd.service	2012-04-26 13:05:21 UTC (rev 157232)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Hyla FAX client-server
+
+[Service]
+ExecStart=/usr/lib/fax/hfaxd -i hylafax
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list