diff options
author | adam <adam@pkgsrc.org> | 2013-05-29 20:19:28 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2013-05-29 20:19:28 +0000 |
commit | 544d13022102018a75c2c0c34a0ea977134f8789 (patch) | |
tree | df6363dee2b56a9566a98ccd7dcda0c5a0feb9be /security/nettle | |
parent | e7fea12708b45c40a522a0b9644aafe2be1c4e18 (diff) | |
download | pkgsrc-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')
-rw-r--r-- | security/nettle/Makefile | 4 | ||||
-rw-r--r-- | security/nettle/distinfo | 8 |
2 files changed, 6 insertions, 6 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/ diff --git a/security/nettle/distinfo b/security/nettle/distinfo index 88f6d569616..2c671dcffd9 100644 --- a/security/nettle/distinfo +++ b/security/nettle/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.8 2013/04/29 16:42:24 adam Exp $ +$NetBSD: distinfo,v 1.9 2013/05/29 20:19:28 adam Exp $ -SHA1 (nettle-2.7.tar.gz) = e17de3678b987841e88a724b7d2f6856d97ab139 -RMD160 (nettle-2.7.tar.gz) = 5ac49e0eb171b67bc461f9226f59c28221aa3491 -Size (nettle-2.7.tar.gz) = 1557615 bytes +SHA1 (nettle-2.7.1.tar.gz) = e7477df5f66e650c4c4738ec8e01c2efdb5d1211 +RMD160 (nettle-2.7.1.tar.gz) = f5c9d950c1e55210fa1659b907378814c54312d3 +Size (nettle-2.7.1.tar.gz) = 1558863 bytes SHA1 (patch-Makefile.in) = af3ca13235c4b11ca3238b19802332d33c5c54e0 SHA1 (patch-aa) = 9990adb5651103d5128abc48f6b053f2bf83b076 SHA1 (patch-config.make.in) = 27baf63fb161be3224f448c52200cef057bf64ed |