Subject: pkg/34970: www/w3c-httpd contains "test ==" portability problem
To: None <,,>
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)
	Prince of Songkla University
System: NetBSD 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 i386
Architecture: i386
Machine: i386
	The sysopsis is more or less everything.

	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: [] => Found test ... == ...:
ERROR: [] BUILD.SH: if [ $stat == 0 ]; then
*** Error code 1

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