ports/85369: port comms/hylafax will not send e-mail notifications

Phil Kernick philk at rotfl.com.au
Sun Aug 28 08:30:17 UTC 2005


>Number:         85369
>Category:       ports
>Synopsis:       port comms/hylafax will not send e-mail notifications
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 28 08:30:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Phil Kernick
>Release:        FreeBSD 5.4-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD catbert.rotfl.com.au 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Mon Aug 15 13:12:48 CST 2005 root at catbert.rotfl.com.au:/usr/src/sys/i386/compile/CATBERT i386


	
>Description:

The comms/hylafax notification program notify(8) uses awk to format the
e-mail notification.

The awk script is not compatible with the /usr/bin/awk in the base system
and only works with the gawk port.

>How-To-Repeat:

Install the comms/hylafax port, then:

# /var/spool/hylafax/bin/notify doneq/q19 done 60
/usr/bin/awk: illegal primary in regular expression * at
 source line number 37
 context is
                          >>>  gsub("*","",status) <<< ;
[: -gt: unexpected operator
sendmail: fatal: No recipient addresses found in message header


>Fix:

The temporary fix is to install the lang/gawk port, then manually edit
/var/spool/hylafax/etc/setup.cache and change the AWK path to point to the
gawk executable.

The permanent fix is to make comms/hylafax dependent on lang/gawk and then
ensure that gawk gets selected as the awk program as part of configure.




>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list