diff options
author | jperkin <jperkin> | 2013-02-06 21:40:33 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2013-02-06 21:40:33 +0000 |
commit | 6c1500ddf6270a9484e46118da281237c50e8def (patch) | |
tree | 3151f07733d634c5b1f70f415536ae2fed32ca15 /security/openssl/options.mk | |
parent | e8e1dbdce76ffcc9e489ca154fa1faf27f4ad30c (diff) | |
download | pkgsrc-6c1500ddf6270a9484e46118da281237c50e8def.tar.gz |
Update OpenSSL to 1.0.1d. Changes are far too numerous to list, the main one being
that we can now take advantage of AES-NI support in modern processors to significantly
increase performance.
Miscellaneous pkgsrc changes:
- Remove unnecessary warning message on Solaris.
- Fix RPATH for libgost.so.
- MD2 support is optional, enabled by default for compatability.
Diffstat (limited to 'security/openssl/options.mk')
-rw-r--r-- | security/openssl/options.mk | 46 |
1 files changed, 16 insertions, 30 deletions
diff --git a/security/openssl/options.mk b/security/openssl/options.mk index 53dd99a3a07..d6bfe818334 100644 --- a/security/openssl/options.mk +++ b/security/openssl/options.mk @@ -1,8 +1,8 @@ -# $NetBSD: options.mk,v 1.8 2012/01/20 17:07:38 drochner Exp $ +# $NetBSD: options.mk,v 1.9 2013/02/06 21:40:33 jperkin Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.openssl -PKG_SUPPORTED_OPTIONS= idea mdc2 rc5 zlib threads -PKG_SUGGESTED_OPTIONS= threads +PKG_SUPPORTED_OPTIONS= idea md2 mdc2 rc5 zlib threads +PKG_SUGGESTED_OPTIONS= md2 threads .include "../../mk/bsd.options.mk" @@ -10,36 +10,22 @@ OPENSSL_LICENSE= # empty PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} -### -### Support for the IDEA algorithm -### -.if !empty(PKG_OPTIONS:Midea) -PLIST.idea= yes -.else -CONFIGURE_ARGS+= no-idea -.endif - -### -### Support for the MDC2 algorithm -### -.if !empty(PKG_OPTIONS:Mmdc2) -CONFIGURE_ARGS+= enable-mdc2 -PLIST.mdc2= yes -.else -CONFIGURE_ARGS+= no-mdc2 -.endif +# +# Support optional algorithms +# +.for alg in idea md2 mdc2 rc5 +. if !empty(PKG_OPTIONS:M${alg}) +CONFIGURE_ARGS+= enable-${alg} +PLIST.${alg}= yes +. else +CONFIGURE_ARGS+= no-${alg} +. endif +.endfor -### -### Support for the RC5 algorithm -### US Patent: 5724428, 5835600, 6269163 -### -.if !empty(PKG_OPTIONS:Mrc5) # A license file is needed. +# US Patent: 5724428, 5835600, 6269163 +.if !empty(PKG_OPTIONS:Mrc5) OPENSSL_LICENSE+= rc5-nonlicense -CONFIGURE_ARGS+= enable-rc5 -PLIST.rc5= yes -.else -CONFIGURE_ARGS+= no-rc5 .endif .if !empty(PKG_OPTIONS:Mzlib) |