From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 3 15:50:01 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E38B51065670 for ; Sat, 3 Jul 2010 15:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A67ED8FC15 for ; Sat, 3 Jul 2010 15:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o63Fo1J6077002 for ; Sat, 3 Jul 2010 15:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o63Fo1QH077001; Sat, 3 Jul 2010 15:50:01 GMT (envelope-from gnats) Resent-Date: Sat, 3 Jul 2010 15:50:01 GMT Resent-Message-Id: <201007031550.o63Fo1QH077001@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Serg Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA530106564A for ; Sat, 3 Jul 2010 15:41:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id A9C568FC1F for ; Sat, 3 Jul 2010 15:41:02 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o63Ff2jl019660 for ; Sat, 3 Jul 2010 15:41:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o63Ff2xm019659; Sat, 3 Jul 2010 15:41:02 GMT (envelope-from nobody) Message-Id: <201007031541.o63Ff2xm019659@www.freebsd.org> Date: Sat, 3 Jul 2010 15:41:02 GMT From: Serg To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/148343: [patch] Adding the HFAXD_ARGS support for hfaxd X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2010 15:50:02 -0000 >Number: 148343 >Category: ports >Synopsis: [patch] Adding the HFAXD_ARGS support for hfaxd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 03 15:50:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Serg >Release: >Organization: >Environment: FreeBSD acc.acc.tula.ru 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #7: Thu Jul 1 17:41:39 MSD 2010 root@acc.acc.tula.ru:/usr/src/sys/i386/compile/Z i386 >Description: Unfortunately there is no hfaxd configuration parameter to disable IPv6. One way is /usr/local/sbin/hfaxd -l 127.0.0.1 -i hylafax In my case, I've added the following to my setup.cache so that it bind to the IPv4 localhost only: HFAXD_ARGS='-l 127.0.0.1' This patch is gotten from http://bugs.hylafax.org/show_bug.cgi?id=916 >How-To-Repeat: >Fix: Patch attached with submission follows: --- 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" >Release-Note: >Audit-Trail: >Unformatted: