mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
security/nettle: Update to 3.9.1
Changes: https://git.lysator.liu.se/nettle/nettle/-/blob/nettle_3.10_release_20240616/NEWS
This commit is contained in:
parent
a5c3875b95
commit
b2a6480826
@ -1,5 +1,5 @@
|
|||||||
PORTNAME= nettle
|
PORTNAME= nettle
|
||||||
PORTVERSION= 3.9.1
|
PORTVERSION= 3.10
|
||||||
CATEGORIES= security
|
CATEGORIES= security
|
||||||
MASTER_SITES= GNU \
|
MASTER_SITES= GNU \
|
||||||
https://www.lysator.liu.se/~nisse/archive/
|
https://www.lysator.liu.se/~nisse/archive/
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
TIMESTAMP = 1685792186
|
TIMESTAMP = 1718690460
|
||||||
SHA256 (nettle-3.9.1.tar.gz) = ccfeff981b0ca71bbd6fbcb054f407c60ffb644389a5be80d6716d5b550c6ce3
|
SHA256 (nettle-3.10.tar.gz) = b4c518adb174e484cb4acea54118f02380c7133771e7e9beb98a0787194ee47c
|
||||||
SIZE (nettle-3.9.1.tar.gz) = 2396741
|
SIZE (nettle-3.10.tar.gz) = 2640485
|
||||||
|
@ -1,23 +1,23 @@
|
|||||||
--- fat-arm64.c.orig 2022-07-27 19:23:20 UTC
|
--- fat-arm64.c.orig 2024-06-16 15:27:54 UTC
|
||||||
+++ fat-arm64.c
|
+++ fat-arm64.c
|
||||||
@@ -50,6 +50,9 @@
|
@@ -51,6 +51,9 @@
|
||||||
# include <sys/sysctl.h>
|
#if USE_GETAUXVAL
|
||||||
# include <machine/cpu.h>
|
# include <asm/hwcap.h>
|
||||||
# include <machine/armreg.h>
|
# include <sys/auxv.h>
|
||||||
+#elif defined(__FreeBSD__)
|
+#elif defined(__FreeBSD__)
|
||||||
+# define USE_GETAUXVAL 1
|
+# define USE_GETAUXVAL 1
|
||||||
+# include <sys/auxv.h>
|
+# include <sys/auxv.h>
|
||||||
#endif
|
#elif defined(__OpenBSD__)
|
||||||
|
# include <sys/sysctl.h>
|
||||||
#include "nettle-types.h"
|
# include <machine/cpu.h>
|
||||||
@@ -117,7 +120,14 @@ get_arm64_features (struct arm64_features *features)
|
@@ -134,7 +137,14 @@ get_arm64_features (struct arm64_features *features)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
#if USE_GETAUXVAL
|
#if USE_GETAUXVAL
|
||||||
+#if defined (__FreeBSD__)
|
+#if defined (__FreeBSD__)
|
||||||
+ unsigned long hwcap;
|
+ unsigned long hwcap;
|
||||||
+ if(elf_aux_info(AT_HWCAP, &hwcap, sizeof(unsigned long)) != 0) {
|
+ if(elf_aux_info(AT_HWCAP, &hwcap, sizeof(unsigned long)) != 0) {
|
||||||
+ hwcap = 0;
|
+ hwcap = 0;
|
||||||
+ }
|
+ }
|
||||||
+#else
|
+#else
|
||||||
unsigned long hwcap = getauxval(AT_HWCAP);
|
unsigned long hwcap = getauxval(AT_HWCAP);
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
--- powerpc64/p8/aes-decrypt-internal.asm.orig 2022-06-02 17:57:16 UTC
|
--- powerpc64/p8/aes-decrypt-internal.asm.orig 2024-06-16 15:27:54 UTC
|
||||||
+++ powerpc64/p8/aes-decrypt-internal.asm
|
+++ powerpc64/p8/aes-decrypt-internal.asm
|
||||||
@@ -71,7 +71,7 @@ define(`FUNC_ALIGN', `5')
|
@@ -64,7 +64,7 @@ PROLOGUE(_nettle_aes_decrypt)
|
||||||
PROLOGUE(_nettle_aes_decrypt)
|
|
||||||
vxor ZERO,ZERO,ZERO
|
|
||||||
|
|
||||||
|
define(`FUNC_ALIGN', `5')
|
||||||
|
PROLOGUE(_nettle_aes_decrypt)
|
||||||
- DATA_LOAD_VEC(SWAP_MASK,.swap_mask,r5)
|
- DATA_LOAD_VEC(SWAP_MASK,.swap_mask,r5)
|
||||||
+ DATA_LOAD_VEC(SWAP_MASK,.swap_data,r5)
|
+ DATA_LOAD_VEC(SWAP_MASK,.swap_data,r5)
|
||||||
|
|
||||||
subi ROUNDS,ROUNDS,1
|
subi ROUNDS,ROUNDS,1
|
||||||
srdi LENGTH,LENGTH,4
|
srdi LENGTH,LENGTH,4
|
||||||
@@ -351,6 +351,6 @@ EPILOGUE(_nettle_aes_decrypt)
|
@@ -269,6 +269,6 @@ EPILOGUE(_nettle_aes_decrypt)
|
||||||
|
|
||||||
.data
|
.data
|
||||||
.align 4
|
.align 4
|
||||||
|
@ -25,6 +25,7 @@ include/nettle/ctr.h
|
|||||||
include/nettle/curve25519.h
|
include/nettle/curve25519.h
|
||||||
include/nettle/curve448.h
|
include/nettle/curve448.h
|
||||||
include/nettle/des.h
|
include/nettle/des.h
|
||||||
|
include/nettle/drbg-ctr.h
|
||||||
include/nettle/dsa-compat.h
|
include/nettle/dsa-compat.h
|
||||||
include/nettle/dsa.h
|
include/nettle/dsa.h
|
||||||
include/nettle/eax.h
|
include/nettle/eax.h
|
||||||
@ -78,11 +79,11 @@ include/nettle/yarrow.h
|
|||||||
lib/libhogweed.a
|
lib/libhogweed.a
|
||||||
lib/libhogweed.so
|
lib/libhogweed.so
|
||||||
lib/libhogweed.so.6
|
lib/libhogweed.so.6
|
||||||
lib/libhogweed.so.6.8
|
lib/libhogweed.so.6.9
|
||||||
lib/libnettle.a
|
lib/libnettle.a
|
||||||
lib/libnettle.so
|
lib/libnettle.so
|
||||||
lib/libnettle.so.8
|
lib/libnettle.so.8
|
||||||
lib/libnettle.so.8.8
|
lib/libnettle.so.8.9
|
||||||
libdata/pkgconfig/hogweed.pc
|
libdata/pkgconfig/hogweed.pc
|
||||||
libdata/pkgconfig/nettle.pc
|
libdata/pkgconfig/nettle.pc
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||||
|
Loading…
Reference in New Issue
Block a user