summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2004-03-09 08:06:45 +0000
committerreed <reed@pkgsrc.org>2004-03-09 08:06:45 +0000
commit044930d046d41801e1e3c1622f02f79dd5d34a56 (patch)
tree31df9fd9324c1a6de4d7dca4db25601267735f3c /security
parentde55a4c1740d76dd04222ed7a680d9c218dcbe3b (diff)
downloadpkgsrc-044930d046d41801e1e3c1622f02f79dd5d34a56.tar.gz
Don't build and install openssl with IDEA, MDC2, or RC5 support.
According to README, "RSA Security holds software patents on the RC5 algorithm. If you intend to use this cipher, you must contact RSA Security for licensing conditions." And "The IDEA algorithm is patented by Ascom ... They should be contacted if that algorithm is to be used." The openssl FAQ says "For patent reasons, support for IDEA, RC5 and MDC2 is disabled in this [Red Hat Linux] version." The FAQ lists patent numbers and expiry dates of US patents: MDC-2: 4,908,861 13/03/2007 IDEA: 5,214,703 25/05/2010 RC5: 5,724,428 03/03/2015 Now fee-based-commercial-use ACCEPTABLE_LICENSES is not needed.
Diffstat (limited to 'security')
-rw-r--r--security/openssl/Makefile8
-rw-r--r--security/openssl/PLIST.common5
2 files changed, 5 insertions, 8 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 4066f73e2e2..1626681c107 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.87 2004/02/29 00:36:45 grant Exp $
+# $NetBSD: Makefile,v 1.88 2004/03/09 08:06:45 reed Exp $
DISTNAME= openssl-0.9.6l
SVR4_PKGNAME= ossl
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.openssl.org/source/
@@ -13,9 +14,6 @@ CONFLICTS= SSLeay-[0-9]* ssleay-[0-9]*
CRYPTO= YES
-# openssl supplies IDEA/RC5. IDEA/RC5 need license for commercial use.
-LICENCE= fee-based-commercial-use
-
PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../mk/compiler.mk"
@@ -29,6 +27,8 @@ CONFIGURE_SCRIPT= ./config
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --openssldir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= shared
+# IDEA, RC5, and MDC2 are disabled due to licensing and/or patent issues.
+CONFIGURE_ARGS+= no-idea no-rc5 no-mdc2
.if defined(USE_RSAREF2) && ${USE_RSAREF2} == "YES"
. include "../../security/rsaref/buildlink3.mk"
diff --git a/security/openssl/PLIST.common b/security/openssl/PLIST.common
index 700e3eb91cf..c338af5d7ae 100644
--- a/security/openssl/PLIST.common
+++ b/security/openssl/PLIST.common
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.6 2002/08/25 19:23:17 jlam Exp $
+@comment $NetBSD: PLIST.common,v 1.7 2004/03/09 08:06:45 reed Exp $
bin/openssl
bin/c_hash
bin/c_info
@@ -26,12 +26,10 @@ include/openssl/ebcdic.h
include/openssl/err.h
include/openssl/evp.h
include/openssl/hmac.h
-include/openssl/idea.h
include/openssl/lhash.h
include/openssl/md2.h
include/openssl/md4.h
include/openssl/md5.h
-include/openssl/mdc2.h
include/openssl/obj_mac.h
include/openssl/objects.h
include/openssl/opensslconf.h
@@ -43,7 +41,6 @@ include/openssl/pkcs7.h
include/openssl/rand.h
include/openssl/rc2.h
include/openssl/rc4.h
-include/openssl/rc5.h
include/openssl/ripemd.h
include/openssl/rsa.h
include/openssl/safestack.h