Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Aug 2005 17:51:41 +0930 (CST)
From:      Phil Kernick <philk@rotfl.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/85369: port comms/hylafax will not send e-mail notifications
Message-ID:  <20050828082141.4A5FB45430@mail.rotfl.com.au>
Resent-Message-ID: <200508280830.j7S8UGG6014426@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050828082141.4A5FB45430>