ports/174716: INN's daily script cannot found gawk

Mizuno at FreeBSD.org Mizuno at FreeBSD.org
Wed Dec 26 15:00:01 UTC 2012


>Number:         174716
>Category:       ports
>Synopsis:       INN's daily script cannot found gawk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 26 15:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mizuno, MWE
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD sakura.ccsf.jp 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
% ls /var/db/pkg | grep inn
inn-2.5.2_3

news.daily which is INN's daily maintenance script reports the error everyday as follows:

----
Subject: Cron <news at sakura> /usr/local/news/bin/news.daily expireover lowmark

/usr/local/news/bin/news.daily: gawk: not found
----

>How-To-Repeat:

>Fix:
--- /usr/local/news/lib/innshellvars.orig       2012-12-22 01:39:10.000000000 +0900
+++ /usr/local/news/lib/innshellvars    2012-12-26 23:37:02.000000000 +0900
@@ -71,7 +71,7 @@
 INNWSTATUS=${INNDDIR}/innwatch.status
 WATCHPID=${INNDDIR}/innwatch.pid
 
-AWK='gawk'
+AWK='/usr/local/bin/gawk'
 SED='/usr/bin/sed'
 INNDF=${NEWSBIN}/inndf
 EGREP='/usr/bin/grep -E'


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


More information about the freebsd-ports-bugs mailing list