diff --git a/security/nettle/Makefile b/security/nettle/Makefile index 85fce4d180c5..79573ea82af5 100644 --- a/security/nettle/Makefile +++ b/security/nettle/Makefile @@ -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/ diff --git a/security/nettle/distinfo b/security/nettle/distinfo index 5a2c64715488..97625f47b80f 100644 --- a/security/nettle/distinfo +++ b/security/nettle/distinfo @@ -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 diff --git a/security/nettle/files/patch-fat-arm64.c b/security/nettle/files/patch-fat-arm64.c deleted file mode 100644 index 3bb786e1d5fe..000000000000 --- a/security/nettle/files/patch-fat-arm64.c +++ /dev/null @@ -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 - # include -+#elif defined(__FreeBSD__) -+# define USE_GETAUXVAL 1 -+# include - #elif defined(__OpenBSD__) - # include - # include -@@ -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 diff --git a/security/nettle/pkg-plist b/security/nettle/pkg-plist index 5ff413a53f18..25ba25f62658 100644 --- a/security/nettle/pkg-plist +++ b/security/nettle/pkg-plist @@ -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