summaryrefslogtreecommitdiff
path: root/security/nettle/patches/patch-config.make.in
diff options
context:
space:
mode:
authorwiz <wiz>2015-08-23 14:22:10 +0000
committerwiz <wiz>2015-08-23 14:22:10 +0000
commitdb44dc348f5aaae82852f602b1b8f49e3eb45591 (patch)
treea2cdc13a6829f4d94b7644ad72584db35e85557a /security/nettle/patches/patch-config.make.in
parent8686bddf51c536182c544579387c7ee7bdad9818 (diff)
downloadpkgsrc-db44dc348f5aaae82852f602b1b8f49e3eb45591.tar.gz
Update to 3.1.1, now that gnutls is fixed to build with it.
NEWS for the Nettle 3.1.1 release This release fixes a couple of non-critical bugs. Bug fixes: * By accident, nettle-3.1 disabled the assembly code for the secp_224r1 and secp_521r1 elliptic curves on all x86_64 configurations, making signature operations on those curves 10%-30% slower. This code is now re-enabled. * The x86_64 assembly implementation of gcm hashing has been fixed to work with the Sun/Oracle assembler. The shared library names are libnettle.so.6.1 and libhogweed.so.4.1, with sonames still libnettle.so.6 and libhogweed.so.4. It is intended to be fully binary compatible with nettle-3.1. NEWS for the Nettle 3.1 release This release adds a couple of new features. The library is mostly source-level compatible with nettle-3.0. It is however not binary compatible, due to the introduction of versioned symbols, and extensions to the base64 context structs. The shared library names are libnettle.so.6.0 and libhogweed.so.4.0, with sonames libnettle.so.6 and libhogweed.so.4. Bug fixes: * Fixed a missing include of <limits.h>, which made the camellia implementation fail on all 64-bit non-x86 platforms. * Eliminate out-of-bounds reads in the C implementation of memxor (related to valgrind's --partial-loads-ok flag). Interface changes: * Declarations of many internal functions are moved from ecc.h to ecc-internal.h. The functions are undocumented, and luckily they're apparently also unused by applications, so I don't expect any problems from this change. New features: * Support for curve25519 and for EdDSA25519 signatures. * Support for "fat builds" on x86_64 and arm, where the implementation of certain functions is selected at run-time depending on available cpu features. Configure with --enable-fat to try this out. If it turns out to work well enough, it will likely be enabled by default in later releases. * Support for building the hogweed library (public key support) using "mini-gmp", a small but slower implementation of a subset of the GMP interfaces. Note that builds using mini-gmp are *not* binary compatible with regular builds, and more likely to leak side-channel information. One intended use-case is for small embedded applications which need to verify digital signatures. * The shared libraries are now built with versioned symbols. Should reduce problems in case a program links explicitly to nettle and/or hogweed, and to gnutls, and the program and gnutls expect different versions. * Support for "URL-safe" base64 encoding and decoding, as specified in RFC 4648. Contributed by Amos Jeffries. Optimizations: * New x86_64 implementation of AES, using the "aesni" instructions. Autodetected in fat builds. In non-fat builds, it has to be enabled explicitly with --enable-x86-aesni. Build system: * Use the same object files for both static and shared libraries. This eliminates the *.po object files which were confusing to some tools (as well as humans). Like before, PIC code is used by default; to build a non-pic static library, configure with --disable-pic --disable-shared. Miscellaneous: * Made type-checking hack in CBC_ENCRYPT and similar macros stricter, to generate warnings if they are used with functions which have a length argument smaller than size_t.
Diffstat (limited to 'security/nettle/patches/patch-config.make.in')
-rw-r--r--security/nettle/patches/patch-config.make.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/security/nettle/patches/patch-config.make.in b/security/nettle/patches/patch-config.make.in
index 25b72c2a5e4..a42fae6a836 100644
--- a/security/nettle/patches/patch-config.make.in
+++ b/security/nettle/patches/patch-config.make.in
@@ -1,13 +1,13 @@
-$NetBSD: patch-config.make.in,v 1.2 2013/04/29 16:42:25 adam Exp $
+$NetBSD: patch-config.make.in,v 1.3 2015/08/23 14:22:10 wiz Exp $
Use LIBTOOL.
---- config.make.in.orig 2011-04-26 08:41:17.000000000 +0000
+--- config.make.in.orig 2015-04-24 17:22:03.000000000 +0000
+++ config.make.in
-@@ -73,8 +73,8 @@ infodir = @infodir@
+@@ -70,8 +70,8 @@ infodir = @infodir@
- COMPILE = $(CC) $(PRE_CPPFLAGS) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(CCPIC) $(DEP_FLAGS)
- COMPILE_CXX = $(CXX) $(PRE_CPPFLAGS) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) $(CCPIC) $(DEP_FLAGS)
+ COMPILE = $(CC) $(PRE_CPPFLAGS) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(EXTRA_CFLAGS) $(DEP_FLAGS)
+ COMPILE_CXX = $(CXX) $(PRE_CPPFLAGS) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) $(DEP_FLAGS)
-LINK = $(CC) $(CFLAGS) $(PRE_LDFLAGS) $(LDFLAGS)
-LINK_CXX = $(CXX) $(CXXFLAGS) $(PRE_LDFLAGS) $(LDFLAGS)
+LINK = ${LIBTOOL} --mode=link $(CC) $(CFLAGS) $(PRE_LDFLAGS) $(LDFLAGS)