aboutsummaryrefslogtreecommitdiffstats
path: root/comms/hylafax/files
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-07-09 15:57:34 +0800
committerdinoex <dinoex@FreeBSD.org>2010-07-09 15:57:34 +0800
commit2448b2ca7c9606f829212311313b6069236ff591 (patch)
treebfb571b3ce1657447395761194aab42767a03729 /comms/hylafax/files
parent5cf87c27ced0d6fd9501f94e010b86e47651f608 (diff)
downloadfreebsd-ports-gnome-2448b2ca7c9606f829212311313b6069236ff591.tar.gz
freebsd-ports-gnome-2448b2ca7c9606f829212311313b6069236ff591.tar.zst
freebsd-ports-gnome-2448b2ca7c9606f829212311313b6069236ff591.zip
- pass args to hfaxd
PR: 148343 Obtained from: http://bugs.hylafax.org/show_bug.cgi?id=916 Feature safe: yes
Diffstat (limited to 'comms/hylafax/files')
-rw-r--r--comms/hylafax/files/patch-hylafax.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/comms/hylafax/files/patch-hylafax.in b/comms/hylafax/files/patch-hylafax.in
new file mode 100644
index 000000000000..6a3f52ab79b8
--- /dev/null
+++ b/comms/hylafax/files/patch-hylafax.in
@@ -0,0 +1,24 @@
+
+--- etc/hylafax.in.orig 2010-07-03 12:28:08.000000000 +0400
++++ etc/hylafax.in 2010-07-03 12:34:20.000000000 +0400
+@@ -74,6 +74,9 @@
+ if [ -z "$HFAXD_SNPP_SERVER" ]; then
+ HFAXD_SNPP_SERVER=no
+ fi
++if [ -z "$HFAXD_ARGS" ]; then
++ HFAXD_ARGS=
++fi
+
+ IS_ON=/etc/chkconfig # NB: chkconfig is IRIX- and Linux-specific
+ FAXQ=$SBIN/faxq
+@@ -154,7 +157,7 @@
+ $FAXQ; printf " faxq"
+ fi
+ if test $HFAXD_SERVER = yes ; then
+- HFAXD="$HFAXD -i $FAXPORT"
++ HFAXD="$HFAXD $HFAXD_ARGS -i $FAXPORT"
+ HFAXMSG=" hfaxd"
+ if [ $HFAXD_SNPP_SERVER = yes ]; then
+ HFAXD="$HFAXD -s $SNPPPORT"
+
+