summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorthorpej <thorpej>2000-04-25 19:10:10 +0000
committerthorpej <thorpej>2000-04-25 19:10:10 +0000
commited6db0cede2f48c95cb5c3b48d0c45cfce628b73 (patch)
tree2dec0fd5dd8867677f0d2df3ba384c1efd439cbe /security
parentb01ea24c3a6cfec1e2f582397858183000183460 (diff)
downloadpkgsrc-ed6db0cede2f48c95cb5c3b48d0c45cfce628b73.tar.gz
If PATENTEDOPENSSLSRC is present in the build environment, then
assume that a full (i.e. "with RSA") OpenSSL installation already exists on the system (and thus a dependency on ../security/openssl is not needed).
Diffstat (limited to 'security')
-rw-r--r--security/isakmpd/Makefile7
-rw-r--r--security/racoon/Makefile7
2 files changed, 12 insertions, 2 deletions
diff --git a/security/isakmpd/Makefile b/security/isakmpd/Makefile
index 74f0e415074..43255cac86c 100644
--- a/security/isakmpd/Makefile
+++ b/security/isakmpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2000/04/12 15:09:50 itojun Exp $
+# $NetBSD: Makefile,v 1.3 2000/04/25 19:10:11 thorpej Exp $
#
DISTNAME= isakmpd-000220
@@ -17,7 +17,12 @@ MAINTAINER= itojun@kame.net
IGNORE+= "requires ipsec-ready NetBSD"
.endif
+# if PATENTEDOPENSSLSRC is defined, then we assume that
+# RSA already exists in the OpenSSL built as part of the
+# base distribution.
+.if !defined(PATENTEDOPENSSLSRC)
DEPENDS+= openssl-0.9.4:../../security/openssl
+.endif
DEPENDS+= gmp-*:../../devel/gmp
RESTRICTED= "Crypto; export-controlled"
diff --git a/security/racoon/Makefile b/security/racoon/Makefile
index 4125d6075e3..880120586c1 100644
--- a/security/racoon/Makefile
+++ b/security/racoon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/04/21 02:34:43 explorer Exp $
+# $NetBSD: Makefile,v 1.6 2000/04/25 19:10:10 thorpej Exp $
#
DISTNAME= racoon-0.0
@@ -13,7 +13,12 @@ IGNORE+= "requires ipsec-ready NetBSD"
.endif
# openssl is necessary for RSA libraries
+# if PATENTEDOPENSSLSRC is defined, then we assume that
+# RSA already exists in the OpenSSL built as part of the
+# base distribution.
+.if !defined(PATENTEDOPENSSLSRC)
DEPENDS+= openssl-0.9.*:../../security/openssl
+.endif
BUILD_DEPENDS+= cvs:../../devel/cvs
CONFLICTS+= racoon-*