diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-07-09 15:57:34 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-07-09 15:57:34 +0800 |
commit | 2448b2ca7c9606f829212311313b6069236ff591 (patch) | |
tree | bfb571b3ce1657447395761194aab42767a03729 /comms/hylafax | |
parent | 5cf87c27ced0d6fd9501f94e010b86e47651f608 (diff) | |
download | freebsd-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')
-rw-r--r-- | comms/hylafax/Makefile | 2 | ||||
-rw-r--r-- | comms/hylafax/files/patch-hylafax.in | 24 |
2 files changed, 25 insertions, 1 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile index 2ec12494c841..04d5b710dfae 100644 --- a/comms/hylafax/Makefile +++ b/comms/hylafax/Makefile @@ -7,7 +7,7 @@ PORTNAME= hylafax PORTVERSION= 6.0.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= comms MASTER_SITES= ftp://ftp.hylafax.org/source/ 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" + + |