security/nettle: Update to 3.10.1

Changes:	https://git.lysator.liu.se/nettle/nettle/-/blob/master/NEWS
This commit is contained in:
Po-Chuan Hsieh 2025-01-02 10:43:53 +08:00
parent 7f76d85cb2
commit bc0371d2ce
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 6 additions and 34 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= nettle
PORTVERSION= 3.10
PORTREVISION= 1
PORTVERSION= 3.10.1
CATEGORIES= security
MASTER_SITES= GNU \
https://www.lysator.liu.se/~nisse/archive/

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1718690460
SHA256 (nettle-3.10.tar.gz) = b4c518adb174e484cb4acea54118f02380c7133771e7e9beb98a0787194ee47c
SIZE (nettle-3.10.tar.gz) = 2640485
TIMESTAMP = 1735705131
SHA256 (nettle-3.10.1.tar.gz) = b0fcdd7fc0cdea6e80dcf1dd85ba794af0d5b4a57e26397eee3bc193272d9132
SIZE (nettle-3.10.1.tar.gz) = 2643267

View file

@ -1,27 +0,0 @@
--- fat-arm64.c.orig 2024-06-16 15:27:54 UTC
+++ fat-arm64.c
@@ -51,6 +51,9 @@
#if USE_GETAUXVAL
# include <asm/hwcap.h>
# include <sys/auxv.h>
+#elif defined(__FreeBSD__)
+# define USE_GETAUXVAL 1
+# include <sys/auxv.h>
#elif defined(__OpenBSD__)
# include <sys/sysctl.h>
# include <machine/cpu.h>
@@ -134,7 +137,14 @@ get_arm64_features (struct arm64_features *features)
else
{
#if USE_GETAUXVAL
+#if defined (__FreeBSD__)
+ unsigned long hwcap;
+ if(elf_aux_info(AT_HWCAP, &hwcap, sizeof(unsigned long)) != 0) {
+ hwcap = 0;
+ }
+#else
unsigned long hwcap = getauxval(AT_HWCAP);
+#endif
features->have_aes
= ((hwcap & (HWCAP_ASIMD | HWCAP_AES)) == (HWCAP_ASIMD | HWCAP_AES));
features->have_pmull

View file

@ -79,11 +79,11 @@ include/nettle/yarrow.h
lib/libhogweed.a
lib/libhogweed.so
lib/libhogweed.so.6
lib/libhogweed.so.6.9
lib/libhogweed.so.6.10
lib/libnettle.a
lib/libnettle.so
lib/libnettle.so.8
lib/libnettle.so.8.9
lib/libnettle.so.8.10
libdata/pkgconfig/hogweed.pc
libdata/pkgconfig/nettle.pc
%%PORTDOCS%%%%DOCSDIR%%/NEWS