aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-12-30 19:13:37 +0800
committerdirk <dirk@FreeBSD.org>1999-12-30 19:13:37 +0800
commit989186de9e8e30ea545865cb1c3093b849b80fc7 (patch)
treeea17f6f427b2d387a04ab0929a6e6acb90c86d50 /security
parent07e38f33111ee6965a0e417e63786688f26d0709 (diff)
downloadfreebsd-ports-gnome-989186de9e8e30ea545865cb1c3093b849b80fc7.tar.gz
freebsd-ports-gnome-989186de9e8e30ea545865cb1c3093b849b80fc7.tar.zst
freebsd-ports-gnome-989186de9e8e30ea545865cb1c3093b849b80fc7.zip
Check wheather OpenSSL is installed in the base system already and
skip openssl port if so. (I. e. check the existence of /usr/bin/openssl, /usr/lib/libcrypto.so and /usr/lib/libssl.so. If they exist set FORBIDDEN.)
Diffstat (limited to 'security')
-rw-r--r--security/openssl-beta/Makefile4
-rw-r--r--security/openssl/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/security/openssl-beta/Makefile b/security/openssl-beta/Makefile
index ec5835514d83..70eef9eae29c 100644
--- a/security/openssl-beta/Makefile
+++ b/security/openssl-beta/Makefile
@@ -15,6 +15,10 @@ MASTER_SITES= http://www.openssl.org/source/ \
MAINTAINER= dirk@FreeBSD.org
+.if exists(/usr/bin/openssl) && exists(/usr/lib/libcrypto.so) && exists(/usr/lib/libssl.so)
+FORBIDDEN= "OpenSSL is already in the base system"
+.endif
+
RESTRICTED= "Cryptography"
USE_PERL5= yes
ALL_TARGET= freebsd-shared all
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index ec5835514d83..70eef9eae29c 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -15,6 +15,10 @@ MASTER_SITES= http://www.openssl.org/source/ \
MAINTAINER= dirk@FreeBSD.org
+.if exists(/usr/bin/openssl) && exists(/usr/lib/libcrypto.so) && exists(/usr/lib/libssl.so)
+FORBIDDEN= "OpenSSL is already in the base system"
+.endif
+
RESTRICTED= "Cryptography"
USE_PERL5= yes
ALL_TARGET= freebsd-shared all