Subject: pkg/30753: Patch to correct "-nf: not found" bug in inn
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <sbriole.mls@free.fr>
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
>Organization:
Eclice
>Environment:
NetBSD veronique.eclice.org 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23 08:53:42 UTC 2005 jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/i386/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
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/rc.news start"
-nf: not found
-nf: not found
Starting innd.
Scheduled start of /usr/pkg/inn/bin/innwatch.
#
>How-To-Repeat:
cd /usr/pkgsrc/news/inn
make
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/rc.news start"
>Fix:
N.B. : innshellvars is the original file, innshellvars-new the corrected file
# cd /usr/pkg/inn/lib
# diff innshellvars innshellvars-new
80c80
< GZIP=/usr/bin/gzip -nf -9
---
> GZIP="/usr/bin/gzip -nf -9"
82c82
< LOG_COMPRESS=/usr/bin/gzip -nf -9
---
> LOG_COMPRESS="/usr/bin/gzip -nf -9"