pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/nettle
Module Name: pkgsrc
Committed By: adam
Date: Tue Jun 18 10:45:53 UTC 2024
Modified Files:
pkgsrc/security/nettle: Makefile PLIST distinfo
pkgsrc/security/nettle/patches: patch-testsuite_Makefile.in
Added Files:
pkgsrc/security/nettle/patches: patch-configure
Removed Files:
pkgsrc/security/nettle/patches: patch-aa
Log Message:
nettle: updated to 3.10
Nettle 3.10 release
This is a maintenance release, including a few each of bug
fixes, new features and optimizations.
The new version is intended to be fully source and binary
compatible with Nettle-3.6. The shared library names are
libnettle.so.8.9 and libhogweed.so.6.9, with sonames
libnettle.so.8 and libhogweed.so.6.
Bug fixes:
* Add missing hash functions sha512_224 and sha512_256 to the
nettle_get_hashes() list. The name values in the
corresponding nettle_hash structs also changed to use
underscore instead of dash, for consistency.
* Fix a few cases of formally undefined calls to memcpy(dst,
NULL, 0), resulting from valid calls to, e.g.,
sha256_update(ctx, 0, NULL).
New features:
* Support RSA-OAEP encryption. Contributed by Nicolas Mora and
Daiki Ueno.
* New function sha3_256_shake_output, new functions
sha3_128_init, sha3_128_update, sha3_128_shake,
sha3_128_shake_output. Contributed by Daiki Ueno.
* Added DRBG-CTR with AES256, contributed by Simon Josefsson.
Optimizations:
* New combined gcm-aes assembly for powerpc64, contributed by
Danny Tsen.
* New sha256 assembly for powerpc64, contributed by Eric
Richter.
* Improved performance for powerpc64 AES decrypt, by skipping
subkey transformations that don't suit the vncipher
instructions.
* Add arm64 CPU feature detection for Android and for Apple systems,
contributed by Foolbar and Tim Kosse, prespectively.
Miscellaneous:
* New tests for side-channel silence, based on valgrind.
* Delete all md5 assembly code. Delete all sparc32 assembly code.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/security/nettle/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/security/nettle/PLIST
cvs rdiff -u -r1.28 -r1.29 pkgsrc/security/nettle/distinfo
cvs rdiff -u -r1.3 -r0 pkgsrc/security/nettle/patches/patch-aa
cvs rdiff -u -r0 -r1.1 pkgsrc/security/nettle/patches/patch-configure
cvs rdiff -u -r1.6 -r1.7 \
pkgsrc/security/nettle/patches/patch-testsuite_Makefile.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/nettle/Makefile
diff -u pkgsrc/security/nettle/Makefile:1.31 pkgsrc/security/nettle/Makefile:1.32
--- pkgsrc/security/nettle/Makefile:1.31 Tue Jun 6 05:12:06 2023
+++ pkgsrc/security/nettle/Makefile Tue Jun 18 10:45:53 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2023/06/06 05:12:06 adam Exp $
+# $NetBSD: Makefile,v 1.32 2024/06/18 10:45:53 adam Exp $
-DISTNAME= nettle-3.9.1
+DISTNAME= nettle-3.10
CATEGORIES= security
MASTER_SITES= http://www.lysator.liu.se/~nisse/archive/
MASTER_SITES+= ftp://ftp.lysator.liu.se/pub/security/lsh/
@@ -10,7 +10,8 @@ HOMEPAGE= https://www.lysator.liu.se/~ni
COMMENT= Cryptographic library
LICENSE= gnu-lgpl-v2.1
-USE_LANGUAGES= c c99
+USE_CC_FEATURES= c99
+USE_LANGUAGES= c
USE_LIBTOOL= yes
USE_TOOLS+= gm4 gmake
GNU_CONFIGURE= yes
Index: pkgsrc/security/nettle/PLIST
diff -u pkgsrc/security/nettle/PLIST:1.13 pkgsrc/security/nettle/PLIST:1.14
--- pkgsrc/security/nettle/PLIST:1.13 Tue May 23 13:25:32 2023
+++ pkgsrc/security/nettle/PLIST Tue Jun 18 10:45:53 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2023/05/23 13:25:32 wiz Exp $
+@comment $NetBSD: PLIST,v 1.14 2024/06/18 10:45:53 adam Exp $
bin/nettle-hash
bin/nettle-lfib-stream
bin/nettle-pbkdf2
@@ -26,6 +26,7 @@ include/nettle/ctr.h
include/nettle/curve25519.h
include/nettle/curve448.h
include/nettle/des.h
+include/nettle/drbg-ctr.h
include/nettle/dsa-compat.h
include/nettle/dsa.h
include/nettle/eax.h
Index: pkgsrc/security/nettle/distinfo
diff -u pkgsrc/security/nettle/distinfo:1.28 pkgsrc/security/nettle/distinfo:1.29
--- pkgsrc/security/nettle/distinfo:1.28 Tue Jun 6 05:12:06 2023
+++ pkgsrc/security/nettle/distinfo Tue Jun 18 10:45:53 2024
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.28 2023/06/06 05:12:06 adam Exp $
+$NetBSD: distinfo,v 1.29 2024/06/18 10:45:53 adam Exp $
-BLAKE2s (nettle-3.9.1.tar.gz) = c00600f7923208032b97baf11deb8a34fdf3a4c104415cd1175c44f4e1b8f57a
-SHA512 (nettle-3.9.1.tar.gz) = 5939c4b43cf9ff6c6272245b85f123c81f8f4e37089fa4f39a00a570016d837f6e706a33226e4bbfc531b02a55b2756ff312461225ed88de338a73069e031ced
-Size (nettle-3.9.1.tar.gz) = 2396741 bytes
+BLAKE2s (nettle-3.10.tar.gz) = ebcde4edeae20cd21482c53e40040038997ab42736b7b8ba529f9940efd74d08
+SHA512 (nettle-3.10.tar.gz) = 18d5b904ce60514aa81b57bff2945e5f7f4366d4775e6a5ffc227b85be2def72b3d2159b983b75ac95a56d3167a2ef1a25b5dfc2fb6193f16a012935c36a7b34
+Size (nettle-3.10.tar.gz) = 2640485 bytes
SHA1 (patch-Makefile.in) = ea2eed4a6f04d3cd83c1f6267230f9766eb48480
-SHA1 (patch-aa) = 2332668b077a6e3a1add603c87f60167755554ec
SHA1 (patch-config.make.in) = 708fb3cac9c44825e0d231541cbecade2239c850
-SHA1 (patch-testsuite_Makefile.in) = 6e530041b753336b3eff745e0b05b3b382baec0c
+SHA1 (patch-configure) = 2332668b077a6e3a1add603c87f60167755554ec
+SHA1 (patch-testsuite_Makefile.in) = 23cc958d5b4bc5c3822848ce0e4be5e7f13d2ffc
SHA1 (patch-tools_Makefile.in) = 743d09935526cb783fe93ffc417c4153e13dcfac
Index: pkgsrc/security/nettle/patches/patch-testsuite_Makefile.in
diff -u pkgsrc/security/nettle/patches/patch-testsuite_Makefile.in:1.6 pkgsrc/security/nettle/patches/patch-testsuite_Makefile.in:1.7
--- pkgsrc/security/nettle/patches/patch-testsuite_Makefile.in:1.6 Fri May 22 08:01:51 2020
+++ pkgsrc/security/nettle/patches/patch-testsuite_Makefile.in Tue Jun 18 10:45:53 2024
@@ -1,17 +1,17 @@
-$NetBSD: patch-testsuite_Makefile.in,v 1.6 2020/05/22 08:01:51 adam Exp $
+$NetBSD: patch-testsuite_Makefile.in,v 1.7 2024/06/18 10:45:53 adam Exp $
Use LIBTOOL.
---- testsuite/Makefile.in.orig 2020-04-29 18:11:44.000000000 +0000
+--- testsuite/Makefile.in.orig 2024-06-16 15:27:54.000000000 +0000
+++ testsuite/Makefile.in
-@@ -93,8 +93,8 @@ all: $(EXTRA_TARGETS)
+@@ -108,8 +108,8 @@ all: $(EXTRA_TARGETS)
# explicit rule for each and every executable.
- TEST_OBJS = testutils.$(OBJEXT) ../nettle-internal.$(OBJEXT)
+ TEST_OBJS = testutils.$(OBJEXT) ../non-nettle.$(OBJEXT)
-LIB_HOGWEED = @IF_HOGWEED@ -lhogweed
-TEST_LIBS = $(LIB_HOGWEED) -lnettle $(LIBS)
+LIB_HOGWEED = @IF_HOGWEED@ ../libhogweed.la
+TEST_LIBS = $(LIB_HOGWEED) ../libnettle.la $(LIBS)
- ../nettle-internal.$(OBJEXT):
- ( cd .. && $(MAKE) nettle-internal.$(OBJEXT) )
+ ../non-nettle.$(OBJEXT):
+ ( cd .. && $(MAKE) non-nettle.$(OBJEXT) )
Added files:
Index: pkgsrc/security/nettle/patches/patch-configure
diff -u /dev/null pkgsrc/security/nettle/patches/patch-configure:1.1
--- /dev/null Tue Jun 18 10:45:53 2024
+++ pkgsrc/security/nettle/patches/patch-configure Tue Jun 18 10:45:53 2024
@@ -0,0 +1,21 @@
+$NetBSD: patch-configure,v 1.1 2024/06/18 10:45:53 adam Exp $
+
+--- configure.orig 2013-05-28 16:21:53.000000000 +0200
++++ configure 2013-11-26 10:12:32.000000000 +0100
+@@ -4903,6 +4903,7 @@
+ solaris*) CCPIC="-fPIC" ;;
+ cygwin*) CCPIC="" ;;
+ mingw32*) CCPIC="" ;;
++ *netbsd*) CCPIC="-fPIC" ;;
+ *) CCPIC="-fpic" ;;
+ esac
+ else
+@@ -7187,7 +7188,7 @@
+ enable_documentation=yes
+
+ else
+- if test "x$enable_documentation" == "xauto" ; then
++ if test "x$enable_documentation" = "xauto" ; then
+ enable_documentation=no
+ else
+ as_fn_error $? "Cannot find 'makeinfo', required for documentation." "$LINENO" 5
Home |
Main Index |
Thread Index |
Old Index