summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2003-07-24 20:18:24 +0000
committertron <tron@pkgsrc.org>2003-07-24 20:18:24 +0000
commitbf2ee3a5262166d8dc8a1f61a46ab5022ab2ef5d (patch)
treea94e870a70816216fa8c026f44a9806935cef9dc /security
parent06995dc024474898e29f93954b393d12bd20734c (diff)
downloadpkgsrc-bf2ee3a5262166d8dc8a1f61a46ab5022ab2ef5d.tar.gz
Add support for OpenSSL 0.9.7b shipped with NetBSD-current.
Diffstat (limited to 'security')
-rw-r--r--security/openssl/buildlink2.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/security/openssl/buildlink2.mk b/security/openssl/buildlink2.mk
index 2570c2718ff..a86c5dd9a1a 100644
--- a/security/openssl/buildlink2.mk
+++ b/security/openssl/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.3 2002/09/05 12:44:21 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.4 2003/07/24 20:18:24 tron Exp $
#
# Optionally define USE_OPENSSL_VERSION to the mininum OpenSSL version
# number in <openssl/opensslv.h>, i.e. 0x0090600fL, etc.
@@ -17,6 +17,7 @@ OPENSSL_VERSION_096D= 0x0090604fL
OPENSSL_VERSION_096E= 0x0090605fL
OPENSSL_VERSION_096F= 0x0090606fL
OPENSSL_VERSION_096G= 0x0090607fL
+OPENSSL_VERSION_097B= 0x0090702fL
# Check for a usable installed version of OpenSSL. Version must be greater
# than 0.9.6f, or else contain a fix for the 2002-07-30 security advisory.
@@ -53,6 +54,13 @@ BUILDLINK_DEPENDS.openssl= openssl>=0.9.6g
_VALID_SSL_VERSIONS+= ${OPENSSL_VERSION_096G}
. endif
+. if ${USE_OPENSSL_VERSION} == ${OPENSSL_VERSION_097B} # OpenSSL 0.9.7b
+_VALID_SSL_VERSIONS= ${OPENSSL_VERSION_097B}
+BUILDLINK_DEPENDS.openssl= openssl>=0.9.7b
+. else
+_VALID_SSL_VERSIONS+= ${OPENSSL_VERSION_097B}
+. endif
+
. for PATTERN in ${_VALID_SSL_VERSIONS}
. if ${_OPENSSL_VERSION:M${PATTERN}} != ""
_NEED_OPENSSL= NO