aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-11-23 14:16:27 +0800
committerdinoex <dinoex@FreeBSD.org>2004-11-23 14:16:27 +0800
commit4a60b8a01e5d420ae93e70c062f47db61954eb10 (patch)
treeac2e077e6e9df5c7c930f789192249f851a0560d /Mk
parent55d1e45de67d38685250b1cd0ea90fef7a0b2d20 (diff)
downloadfreebsd-ports-gnome-4a60b8a01e5d420ae93e70c062f47db61954eb10.tar.gz
freebsd-ports-gnome-4a60b8a01e5d420ae93e70c062f47db61954eb10.tar.zst
freebsd-ports-gnome-4a60b8a01e5d420ae93e70c062f47db61954eb10.zip
- reflect fips import in the base
PR: 74275 Submitted by: freebsd@simplerezo.com
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.openssl.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.openssl.mk b/Mk/bsd.openssl.mk
index 5f4fed518db2..422ae5a8a1f4 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.18 2004-11-01 14:35:52 dinoex Exp $
+# $FreeBSD: /tmp/pcvs/ports/Mk/bsd.openssl.mk,v 1.19 2004-11-23 06:16:27 dinoex Exp $
#
# Use of 'USE_OPENSSL=yes' includes this Makefile after bsd.ports.pre.mk
#
@@ -51,7 +51,7 @@ WITH_OPENSSL_PORT=yes
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/ { print $$4; exit }' \
+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"