summaryrefslogtreecommitdiff
path: root/security/openssl
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2000-09-09 19:40:14 +0000
committerfredb <fredb@pkgsrc.org>2000-09-09 19:40:14 +0000
commit0c6b58570c5cff65c437caa8dfcd2fc14bdd4c17 (patch)
tree31dbcd8e2d1e33503f0e30d965ede29471a3d223 /security/openssl
parent091b07909efe79ae70ef14969d81c9a110260489 (diff)
downloadpkgsrc-0c6b58570c5cff65c437caa8dfcd2fc14bdd4c17.tar.gz
Reorganize crypto handling, as discussed on tech-pkg. Remove all
RESTRICTED= variables that were predicated on former U.S. export regulations. Add CRYPTO=, as necessary, so it's still possible to exclude all crypto packages from a build by setting MKCRYPTO=no (but "lintpkgsrc -R" will no longer catch them). Specifically, - - All packages which set USE_SSL just lose their RESTRICTED variable, since MKCRYPTO responds to USE_SSL directly. - - realplayer7 and ns-flash keep their RESTRICTED, which is based on license terms, but also gain the CRYPTO variable. - - srp-client is now marked broken, since the distfile is evidently no longer available. On this, we're no worse off than before. [We haven't been mirroring the distfile, or testing the build!] - - isakmpd gets CRYPTO for RESTRICTED, but remains broken. - - crack loses all restrictions, as it does not evidently empower a user to utilize strong encryption (working definition: ability to encode a message that requires a secret key plus big number arithmetic to decode).
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile20
1 files changed, 4 insertions, 16 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 2d23bef1f6e..64e61a57f32 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2000/09/05 17:34:05 wennmach Exp $
+# $NetBSD: Makefile,v 1.21 2000/09/09 19:40:22 fredb Exp $
#
DISTNAME= openssl-0.9.5a
@@ -11,10 +11,9 @@ HOMEPAGE= http://www.openssl.org/
CONFLICTS= SSLeay-* ssleay-* kth-krb4-*
-USE_PERL5= # defined
-
-RESTRICTED= "Crypto; export-controlled"
-NO_SRC_ON_FTP= ${RESTRICTED}
+CRYPTO= YES
+USE_PERL5= YES
+USE_RSAREF2= NO
# matches what's in `Configure' (except sparc64)
ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm32 NetBSD-*-i386 \
@@ -46,17 +45,6 @@ CONFIGURE_ARGS+= rsaref
PLIST_RSAREF= ${PKGDIR}/PLIST.rsaref
.endif
-fetch-depends:
-.if !defined(USE_RSAREF2) || ${USE_RSAREF2} != YES && ${USE_RSAREF2} != NO
- @${ECHO}
- @${ECHO} The variable USE_RSAREF2 must be set to either YES or NO
- @${ECHO} in order to build this package. People with no RSA
- @${ECHO} license MUST set this variable to YES. Users outside
- @${ECHO} the USA MUST set this variable to NO. RSA licensees may
- @${ECHO} choose -- NO is faster.
- @${FALSE}
-.endif
-
pre-patch:
${MKDIR} ${WRKDIR}/.patches
@${CP} ${.CURDIR}/patches/patch-* ${WRKDIR}/.patches