summaryrefslogtreecommitdiff
path: root/security/nettle/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2013-05-29 20:19:28 +0000
committeradam <adam@pkgsrc.org>2013-05-29 20:19:28 +0000
commit544d13022102018a75c2c0c34a0ea977134f8789 (patch)
treedf6363dee2b56a9566a98ccd7dcda0c5a0feb9be /security/nettle/Makefile
parente7fea12708b45c40a522a0b9644aafe2be1c4e18 (diff)
downloadpkgsrc-544d13022102018a75c2c0c34a0ea977134f8789.tar.gz
Changes 2.7.1:
This is a bugfix release. Bug fixes: * Fixed a bug in the new ECC code. The ecc_j_to_a function called GMP:s mpn_mul_n (via ecc_modp_mul) with overlapping input and output arguments, which is not supported. * The assembly files for SHA1, SHA256 and AES depend on ARMv6 instructions, breaking nettle-2.7 for pre-v6 ARM processors. The configure script now enables those assembly files only when building for ARMv6 or later. * Use a more portable C expression for rotations. The previous version used the following "standard" expression for 32-bit rotation: (x << n) | (x >> (32 - n)) But this gives undefined behavior (according to the C specification) for n = 0. The rotate expression is replaced by the more portable: (x << n) | (x >> ((-n)&31)) This change affects only CAST128, which uses non-constant rotation counts. Unfortunately, the new expression is poorly optimized by released versions of gcc, making CAST128 a bit slower. This is being fixed by the gcc hackers, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57157. The following problems have been reported, but are *not* fixed in this release: * ARM assembly files use instruction syntax which is not supported by all assemblers. Workaround: Use a current version of GNU as, or configure with --disable-assembler. * Configuring with --disable-static doesn't work on windows. The libraries are intended to be binary compatible with nettle-2.2 and later. The shared library names are libnettle.so.4.7 and libhogweed.so.2.5, with sonames still libnettle.so.4 and libhogweed.so.2.
Diffstat (limited to 'security/nettle/Makefile')
-rw-r--r--security/nettle/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index c401a892269..2f9b3c8aa8f 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2013/05/11 16:55:54 riastradh Exp $
+# $NetBSD: Makefile,v 1.12 2013/05/29 20:19:28 adam Exp $
-DISTNAME= nettle-2.7
+DISTNAME= nettle-2.7.1
CATEGORIES= devel security
MASTER_SITES= http://www.lysator.liu.se/~nisse/archive/ \
ftp://ftp.lysator.liu.se/pub/security/lsh/