Subject: pkg/34970: www/w3c-httpd contains "test ==" portability problem
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 11/02/2006 12:55:00
>Number:         34970
>Category:       pkg
>Synopsis:       www/w3c-httpd contains "test ==" portability problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 02 12:55:00 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15	(pkgsrc current today)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
	The sysopsis is more or less everything.

>How-To-Repeat:
	Build www/w3c-httpd with PKG_DEVELOPER=yes
	(which is thde default using pkg_comp, which is what I use).

	Expect to see ...

===> Configuring for w3c-httpd-3.0Anb1

Defaulting to DES encrypted passwords.
Set the environment variable MD5_PW if you want MD5 encrypted passwords.

=> Checking for portability problems in extracted files
ERROR: [check-portability.sh] => Found test ... == ...:
ERROR: [check-portability.sh] BUILD.SH: if [ $stat == 0 ]; then
*** Error code 1

>Fix:
	Change the == to -eq which is what this should be using
	in any case (I suspect).