[Bug 916] Hylafax 6.0.3 Fails on Freebsd 6.2-RELEASE

[email protected] Mon, 19 Apr 2010 12:54:49 -0400
Newsgroups gmane.comp.telephony.fax.hylafax.devel
Message-ID <[email protected]>
http://bugs.hylafax.org/show_bug.cgi?id=916





------- Comment #11 from [email protected]  2010-04-19 12:54 -------
Yeah, I can imagine that being a breaking change for 6.0.
Just to say, your example doesn't seem to work as the leading hyphen is used
for the expansion (it results in "l 127.0.0.1"). Maybe it'd be an idea to set
the default host earlier, as is done with the other variables?

@@ -74,6 +74,9 @@
 if [ -z "$HFAXD_SNPP_SERVER" ]; then
     HFAXD_SNPP_SERVER=@HFAXD_SNPP_SERVER@
 fi
+if [ -z "$HFAXD_ARGS" ]; then
+    HFAXD_ARGS='-l 127.0.0.1'
+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"


-- 
Configure bugmail: http://bugs.hylafax.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


____________________ HylaFAX(tm) Developers Mailing List ____________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe [email protected] < /dev/null