Subject: pkg/34732: More == fallout in radmind configure
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: pkgsrc-bugs
Date: 10/06/2006 12:55:00
>Number:         34732
>Category:       pkg
>Synopsis:       More == fallout in radmind configure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 06 12:55:00 +0000 2006
>Originator:     Hauke Fath <hf@spg.tu-darmstadt.de>
>Release:        NetBSD 3.1_RC3
>Organization:
	
>Environment:
	
	
System: NetBSD Hochstuhl 3.1_RC3 NetBSD 3.1_RC3 (HOCHSTUHL) #1: Wed Sep 20 13:33:13 CEST 2006 hf@Hochstuhl:/var/obj/netbsd-builds/3/i386/sys/arch/i386/compile/HOCHSTUHL i386
Architecture: i386
Machine: i386
>Description:

	Posix test(1) does not accept the C'ish '==' for string
	compares. Bash-minded developers tend to ignore
	that. Unfortunately, MacOS X, the primary development platform
	for radmind, went down the Linux road by shipping bash as
	sh(1).

>How-To-Repeat:

	Build radmind on NetBSD. See complaints zip by in the
	configure phase.

>Fix:

	Update the package with distinfo and patch-ag from the
	following shar:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	distinfo
#	patches/patch-ag
#
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
X$NetBSD: distinfo,v 1.9 2006/10/05 02:49:30 rillig Exp $
X
XSHA1 (radmind-1.7.1.tar.gz) = b6c95e5c17eb8d2232988ec306959c120d5d48bf
XRMD160 (radmind-1.7.1.tar.gz) = 9ee6990f72a022e2c42380e6936462afb3191bb7
XSize (radmind-1.7.1.tar.gz) = 378163 bytes
XSHA1 (patch-aa) = 46c1e6b29980712382180c856f389357d6bbee70
XSHA1 (patch-ab) = 49f0efb9c3497aee8337b077cfc70ec5866ff78d
XSHA1 (patch-ac) = c1ea9930b9c2fee94a0b0d43e8aeec1925e454e7
XSHA1 (patch-ad) = 40974d0b41be44c2ebd0d29dca31bcc42837328a
XSHA1 (patch-ae) = 58b15301aa1df00e6e5bab9f21db8ddc99461f2a
XSHA1 (patch-af) = fa7141a81abbfd05f094af1dd30d8810f73c948e
XSHA1 (patch-ag) = 9afe823cad9efd94a06243a0eef8361882a23d16
END-of-distinfo
echo x - patches/patch-ag
sed 's/^X//' >patches/patch-ag << 'END-of-patches/patch-ag'
X$NetBSD$
X
X+++ libsnet/configure
X@@ -2549,7 +2549,7 @@ fi;
X 			break;
X 		fi
X 	done
X-	if test x_$found_zlib == x_yes; then
X+	if test x_$found_zlib = x_yes; then
X 		if test "$dir" != "/usr"; then
X 			CPPFLAGS="$CPPFLAGS -I$zlibdir/include";
X 	    fi
X@@ -2828,7 +2828,7 @@ fi;
X 		break
X 	    fi
X 	done
X-	if test x_$found_sasl == x_yes; then
X+	if test x_$found_sasl = x_yes; then
X 	    cat >>confdefs.h <<\_ACEOF
X #define HAVE_LIBSASL 1
X _ACEOF
END-of-patches/patch-ag
exit




>Unformatted: