Subject: pkg/30753: Patch to correct "-nf: not found" bug in inn
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 07/15/2005 20:53:00
>Number:         30753
>Category:       pkg
>Synopsis:       Patch to correct "-nf: not found" bug in inn
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 15 20:53:00 +0000 2005
>Originator:     Sylvain Briole
>Release:        2.0.2
NetBSD 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23 08:53:42 UTC 2005 i386

After compiling inn-2.4.1nb4 from /usr/pkgsrc/news/inn on a fresh installed NetBSD 2.0.2/i386 system and configuring it, an error appears when starting it using :

# su news -c "/usr/pkg/inn/bin/ start"
-nf: not found
-nf: not found
Starting innd.
Scheduled start of /usr/pkg/inn/bin/innwatch.
cd /usr/pkgsrc/news/inn
make install

Set config files in /var/news/etc and prepare active and history in /var/news/db according to ISC/Inn documentation.

Start INN with :
su news -c "/usr/pkg/inn/bin/ start"
N.B. : innshellvars is the original file, innshellvars-new the corrected file

# cd /usr/pkg/inn/lib
# diff innshellvars innshellvars-new 
< GZIP=/usr/bin/gzip -nf -9
> GZIP="/usr/bin/gzip -nf -9"
< LOG_COMPRESS=/usr/bin/gzip -nf -9
> LOG_COMPRESS="/usr/bin/gzip -nf -9"