summaryrefslogtreecommitdiff
path: root/security/openssl
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2007-12-27 23:41:42 +0000
committergdt <gdt@pkgsrc.org>2007-12-27 23:41:42 +0000
commitefee29e6e8f15ed89af1afec17f4f304751705c9 (patch)
tree767eb675c4774099aa87eb461af9bc04c7a4efef /security/openssl
parent24f56460bb04ff9c77bf7269724669fed12b8ac7 (diff)
downloadpkgsrc-efee29e6e8f15ed89af1afec17f4f304751705c9.tar.gz
Remove deprecated "fee-based commercial use" license for idea, mdc2,
rc5, and replace with {idea,mdc2,rc5}-nonlicense. Because pkgsrc does not yet handle multiple licenses, set LICENSE to openssl-patented-algorithms-nonlicense.
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/options.mk19
1 files changed, 8 insertions, 11 deletions
diff --git a/security/openssl/options.mk b/security/openssl/options.mk
index 36ad898e3b2..c0d204e591b 100644
--- a/security/openssl/options.mk
+++ b/security/openssl/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2005/07/19 00:26:19 grant Exp $
+# $NetBSD: options.mk,v 1.3 2007/12/27 23:41:42 gdt Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openssl
PKG_SUPPORTED_OPTIONS= idea mdc2 rc5
@@ -13,9 +13,7 @@ OPENSSL_LICENSE= # empty
### Japan Patent: 508119/1991
###
.if !empty(PKG_OPTIONS:Midea)
-. if empty(OPENSSL_LICENSE:Mfee-based-commercial-use)
-OPENSSL_LICENSE= fee-based-commercial-use
-. endif
+OPENSSL_LICENSE+= idea-license
PLIST_SUBST+= IDEA=
.else
CONFIGURE_ARGS+= no-idea
@@ -27,9 +25,8 @@ PLIST_SUBST+= IDEA="@comment "
### US Patent: 4908861
###
.if !empty(PKG_OPTIONS:Mmdc2)
-. if empty(OPENSSL_LICENSE:Mfee-based-commercial-use)
-OPENSSL_LICENSE= fee-based-commercial-use
-. endif
+# A license file is needed.
+OPENSSL_LICENSE+= mdc2-nonlicense
PLIST_SUBST+= MDC2=
.else
CONFIGURE_ARGS+= no-mdc2
@@ -41,9 +38,8 @@ PLIST_SUBST+= MDC2="@comment "
### US Patent: 5724428, 5835600, 6269163
###
.if !empty(PKG_OPTIONS:Mrc5)
-. if empty(OPENSSL_LICENSE:Mfee-based-commercial-use)
-OPENSSL_LICENSE= fee-based-commercial-use
-. endif
+# A license file is needed.
+OPENSSL_LICENSE+= rc5-nonlicense
PLIST_SUBST+= RC5=
.else
CONFIGURE_ARGS+= no-rc5
@@ -51,5 +47,6 @@ PLIST_SUBST+= RC5="@comment "
.endif
.if !empty(OPENSSL_LICENSE)
-LICENSE= ${OPENSSL_LICENSE}
+# pkgsrc does not handle multiple licenses
+LICENSE= openssl-patented-algorithms-nonlicense
.endif