aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.openssl.mk
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2005-07-28 13:08:45 +0800
committerdinoex <dinoex@FreeBSD.org>2005-07-28 13:08:45 +0800
commit9a424995531d5209dbbfadc3a54323d8d05c0aae (patch)
tree00058c565dbe978b614d2dd7d90ba19578361d2a /Mk/bsd.openssl.mk
parentdee3a65e9eab2888e9344a061c4c56b634f83867 (diff)
downloadfreebsd-ports-gnome-9a424995531d5209dbbfadc3a54323d8d05c0aae.tar.gz
freebsd-ports-gnome-9a424995531d5209dbbfadc3a54323d8d05c0aae.tar.zst
freebsd-ports-gnome-9a424995531d5209dbbfadc3a54323d8d05c0aae.zip
- drop vulnerability check
Diffstat (limited to 'Mk/bsd.openssl.mk')
-rw-r--r--Mk/bsd.openssl.mk16
1 files changed, 2 insertions, 14 deletions
diff --git a/Mk/bsd.openssl.mk b/Mk/bsd.openssl.mk
index 6e1a2be64258..f5eff7a73c48 100644
--- a/Mk/bsd.openssl.mk
+++ b/Mk/bsd.openssl.mk
@@ -2,7 +2,7 @@
# Date created: 31 May 2002
# Whom: dinoex
#
-# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.21 2005-04-15 04:35:37 dinoex Exp $
+# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.22 2005-07-28 05:08:45 dinoex Exp $
#
# Use of 'USE_OPENSSL=yes' includes this Makefile after bsd.ports.pre.mk
#
@@ -42,27 +42,15 @@ WITH_OPENSSL_BASE=yes
WITH_OPENSSL_PORT=yes
.endif
-# if no preference was set, check for an up to date base version
+# if no preference was set, check for an installed base version
# but give an installed port preference over it.
.if !defined(WITH_OPENSSL_BASE) && \
!defined(WITH_OPENSSL_BETA) && \
!defined(WITH_OPENSSL_PORT) && \
!exists(${LOCALBASE}/lib/libcrypto.so) && \
exists(/usr/include/openssl/opensslv.h)
-# Security: version in base must be 0.9.7d or have fixes
-# http://www.freebsd.org/cgi/cvsweb.cgi/src/crypto/openssl/crypto/opensslv.h
-OPENSSLVER!= ${AWK} '/OPENSSL_VERSION_TEXT/ { sub(/-fips/, ""); print $$4; exit }' \
- /usr/include/openssl/opensslv.h
-# check for safe versions in the base
-.if ${OPENSSLVER} != "0.9.7a-p1" && ${OPENSSLVER} != "0.9.7c-p1" && ${OPENSSLVER} != "0.9.7d" && ${OPENSSLVER} != "0.9.7e" && ${OPENSSLVER} != "0.9.7f" && ${OPENSSLVER} != "0.9.7g"
-check-depends::
- @${ECHO_CMD} "Dependency warning: used OpenSSL version contains known vulnerabilities"
- @${ECHO_CMD} "Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT"
- @${FALSE}
-.else
WITH_OPENSSL_BASE=yes
.endif
-.endif
.if defined(WITH_OPENSSL_BASE)
OPENSSLBASE= /usr