diff --git a/security/libretls/Makefile b/security/libretls/Makefile index 3d1db9c72cfe..cbcf8759fd7f 100644 --- a/security/libretls/Makefile +++ b/security/libretls/Makefile @@ -1,20 +1,20 @@ PORTNAME= libretls PORTVERSION= 3.8.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security devel MASTER_SITES= https://causal.agency/libretls/ MAINTAINER= bapt@FreeBSD.org COMMENT= TLS library designed to ease writing foolproof applications WWW= https://git.causal.agency/libretls/about/ LICENSE= ISCL USES= libtool ssl pkgconfig INSTALL_TARGET= install-strip GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_LDCONFIG= yes .include 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' + + ;;