Subject: pkg/17906: pkgsrc's openssl gets linked in preference to /usr's openssl
To: None <>
From: None <>
List: netbsd-bugs
Date: 08/10/2002 11:04:32
>Number:         17906
>Category:       pkg
>Synopsis:       pkgsrc's openssl gets linked in preference to /usr's openssl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 10 11:05:00 PDT 2002
>Originator:     Wolfgang Rupprecht
>Release:        NetBSD 1.6E
W S Rupprecht Computer Consulting, Fremont CA
System: NetBSD 1.6E NetBSD 1.6E (WSRCC_ATHLON) #104: Sun Aug 4 23:56:25 PDT 2002 i386
Architecture: i386
Machine: i386

	There are some version-number hacks in
	/usr/pkgsrc/security/openssl/ that need to be updated.


	cd /usr/pkgsrc/print/ggv && make update
	notice that an old version of openssl is ftp-ed, installed,
	and linked to. 


This patch appears to do the trick, but perhaps a ">=" fix would solve
the problem of continually having to update this file.  Eg.


---	Sat Aug 10 04:00:52 2002
+++	Sat Aug 10 08:34:17 2002
@@ -24,6 +24,7 @@
 OPENSSL_VERSION_096B=		0x0090602fL
 OPENSSL_VERSION_096D=		0x0090604fL
 OPENSSL_VERSION_096E=		0x0090605fL
+OPENSSL_VERSION_096G=		0x0090607fL
 # Check for a usable installed version of OpenSSL. Version must be greater
 # than 0.9.6e, or else contain a fix for the 2002-07-30 security advisory.
@@ -84,6 +85,12 @@
 . else
+. endif
+. if ${USE_OPENSSL_VERSION} == ${OPENSSL_VERSION_096G}	# OpenSSL 0.9.6g
+. else
 . endif

# end