diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-09-17 09:27:22 +0200 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-09-17 09:28:56 +0200 |
commit | 7d7a24910c6abe868ee5131205f27dae10a5d1d9 (patch) | |
tree | c037c12484aa3e15859bbad14d537beb1f769183 | |
parent | databases/tdbc: update to 1.1.9 (diff) |
security/libretls: do not use builtin arc4random_buf
The issue upstream had with FreeBSD's arc4random_buf are not valid
anymore.
PR: 280465
-rw-r--r-- | security/libretls/Makefile | 2 | ||||
-rw-r--r-- | security/libretls/files/patch-configure | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/security/libretls/Makefile b/security/libretls/Makefile index 3d1db9c72cfe..cbcf8759fd7f 100644 --- a/security/libretls/Makefile +++ b/security/libretls/Makefile @@ -1,6 +1,6 @@ PORTNAME= libretls PORTVERSION= 3.8.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security devel MASTER_SITES= https://causal.agency/libretls/ diff --git a/security/libretls/files/patch-configure b/security/libretls/files/patch-configure new file mode 100644 index 000000000000..f5d513d1de8a --- /dev/null +++ b/security/libretls/files/patch-configure @@ -0,0 +1,12 @@ +--- configure.orig 2023-10-11 23:33:50 UTC ++++ configure +@@ -12163,9 +12163,6 @@ fi + *freebsd*) + HOST_OS=freebsd + HOST_ABI=elf +- # fork detection missing, weak seed on failure +- # https://svnweb.freebsd.org/base/head/lib/libc/gen/arc4random.c?revision=268642&view=markup +- USE_BUILTIN_ARC4RANDOM=yes + PROG_LDADD='-lthr' + + ;; |