diff options
author | fredb <fredb> | 2002-08-15 01:14:32 +0000 |
---|---|---|
committer | fredb <fredb> | 2002-08-15 01:14:32 +0000 |
commit | 72b4d921d54f964ba8b56fee38b7750219769df6 (patch) | |
tree | 5b9ee197a1b2c4a415e3b6310607d6692a60f031 /security/openssl | |
parent | bce6e4a4d8e16a412788976bef449aa35c7a71a2 (diff) | |
download | pkgsrc-72b4d921d54f964ba8b56fee38b7750219769df6.tar.gz |
Really require 0.9.6g, if we require the package at all.
Diffstat (limited to 'security/openssl')
-rw-r--r-- | security/openssl/buildlink.mk | 54 |
1 files changed, 10 insertions, 44 deletions
diff --git a/security/openssl/buildlink.mk b/security/openssl/buildlink.mk index 2e253f07813..a5a1986eb85 100644 --- a/security/openssl/buildlink.mk +++ b/security/openssl/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.17 2002/08/10 05:27:30 itojun Exp $ +# $NetBSD: buildlink.mk,v 1.18 2002/08/15 01:14:32 fredb Exp $ # # This Makefile fragment is included by packages that use OpenSSL. # @@ -26,7 +26,6 @@ OPENSSL_VERSION_096D= 0x0090604fL OPENSSL_VERSION_096E= 0x0090605fL OPENSSL_VERSION_096F= 0x0090606fL OPENSSL_VERSION_096G= 0x0090607fL - # 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. # If a usable version isn't present, then use the pkgsrc OpenSSL package. @@ -56,46 +55,13 @@ USE_OPENSSL_VERSION?= ${OPENSSL_VERSION_096G} _OPENSSL_VERSION!= ${AWK} '/.*OPENSSL_VERSION_NUMBER.*/ { print $$3 }' \ ${_OPENSSLV_H} -_VALID_SSL_VERSIONS= ${OPENSSL_VERSION_095A} - -. if ${USE_OPENSSL_VERSION} == ${OPENSSL_VERSION_096} # OpenSSL 0.9.6 -_VALID_SSL_VERSIONS= ${OPENSSL_VERSION_096} -. else -_VALID_SSL_VERSIONS+= ${OPENSSL_VERSION_096} -. endif - -. if ${USE_OPENSSL_VERSION} == ${OPENSSL_VERSION_096A} # OpenSSL 0.9.6a -_VALID_SSL_VERSIONS= ${OPENSSL_VERSION_096A} -. else -_VALID_SSL_VERSIONS+= ${OPENSSL_VERSION_096A} -. endif - -. if ${USE_OPENSSL_VERSION} == ${OPENSSL_VERSION_096B} # OpenSSL 0.9.6b -_VALID_SSL_VERSIONS= ${OPENSSL_VERSION_096B} -. else -_VALID_SSL_VERSIONS+= ${OPENSSL_VERSION_096B} -. endif - -. if ${USE_OPENSSL_VERSION} == ${OPENSSL_VERSION_096D} # OpenSSL 0.9.6d -_VALID_SSL_VERSIONS= ${OPENSSL_VERSION_096D} -. else -_VALID_SSL_VERSIONS+= ${OPENSSL_VERSION_096D} -. endif - -. if ${USE_OPENSSL_VERSION} == ${OPENSSL_VERSION_096E} # OpenSSL 0.9.6e -_VALID_SSL_VERSIONS= ${OPENSSL_VERSION_096E} -. else -_VALID_SSL_VERSIONS+= ${OPENSSL_VERSION_096E} -. endif - -. if ${USE_OPENSSL_VERSION} == ${OPENSSL_VERSION_096F} # OpenSSL 0.9.6f -_VALID_SSL_VERSIONS= ${OPENSSL_VERSION_096F} -. else -_VALID_SSL_VERSIONS+= ${OPENSSL_VERSION_096F} -. endif +_VALID_SSL_VERSIONS= ${OPENSSL_VERSION_096F} # OpenSSL 0.9.6f +# There never was a package for this; only the in-tree openssl had it. +#BUILDLINK_DEPENDS.openssl= openssl>=0.9.6f . if ${USE_OPENSSL_VERSION} == ${OPENSSL_VERSION_096G} # OpenSSL 0.9.6g _VALID_SSL_VERSIONS= ${OPENSSL_VERSION_096G} +BUILDLINK_DEPENDS.openssl= openssl>=0.9.6g . else _VALID_SSL_VERSIONS+= ${OPENSSL_VERSION_096G} . endif @@ -106,12 +72,12 @@ _NEED_OPENSSL= NO . endif . endfor -.endif # exists(${_OPENSSLV_H}) && exists(${_SSL_H}) +.else -# Here is where we associate the OpenSSL dependency with version number, -# conditionally on ${USE_OPENSSL_VERSION}, but for now, there is only one -# version permitted. -BUILDLINK_DEPENDS.openssl= openssl>=0.9.6e +# Last case to consider.... there is no in-tree openssl! +BUILDLINK_DEPENDS.openssl= openssl>=0.9.6g + +.endif # exists(${_OPENSSLV_H}) && exists(${_SSL_H}) .if ${_NEED_OPENSSL} == "YES" DEPENDS+= ${BUILDLINK_DEPENDS.openssl}:../../security/openssl |