git: 7d7a24910c6a - main - security/libretls: do not use builtin arc4random_buf
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Sep 2024 07:31:50 UTC
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=7d7a24910c6abe868ee5131205f27dae10a5d1d9 commit 7d7a24910c6abe868ee5131205f27dae10a5d1d9 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2024-09-17 07:27:22 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2024-09-17 07:28:56 +0000 security/libretls: do not use builtin arc4random_buf The issue upstream had with FreeBSD's arc4random_buf are not valid anymore. PR: 280465 --- security/libretls/Makefile | 2 +- security/libretls/files/patch-configure | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) 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' + + ;;