git: 8237ae484108 - main - security/gnutls: Enable OpenSSL compatibility layer

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Fri, 14 Jun 2024 13:13:23 UTC
The branch main has been updated by tijl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8237ae4841089ced580b9f0cc59c23d2af394fda

commit 8237ae4841089ced580b9f0cc59c23d2af394fda
Author:     Älven <alster@vinterdalen.se>
AuthorDate: 2024-06-08 14:47:36 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2024-06-14 13:08:45 +0000

    security/gnutls: Enable OpenSSL compatibility layer
    
    PR:             279592
---
 security/gnutls/Makefile  | 5 +++--
 security/gnutls/pkg-plist | 4 ++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
index d7d190bce6f5..2f2175e0340b 100644
--- a/security/gnutls/Makefile
+++ b/security/gnutls/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gnutls
 DISTVERSION=	3.8.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security net
 MASTER_SITES=	GNUPG/${PORTNAME}/v${DISTVERSION:R}
 
@@ -40,7 +40,8 @@ CONFIGURE_ARGS=	--disable-rpath \
 		--without-zstd \
 		--without-tpm \
 		--without-tpm2 \
-		--enable-ld-version-script
+		--enable-ld-version-script \
+		--enable-openssl-compatibility
 
 OPTIONS_DEFINE=		DANE EXAMPLES IDN KTLS MAN3 NLS P11KIT SRP
 OPTIONS_DEFAULT=	IDN KTLS MAN3 P11KIT
diff --git a/security/gnutls/pkg-plist b/security/gnutls/pkg-plist
index 7cad44a657fb..e0c28f638c57 100644
--- a/security/gnutls/pkg-plist
+++ b/security/gnutls/pkg-plist
@@ -16,6 +16,7 @@ include/gnutls/gnutls.h
 include/gnutls/gnutlsxx.h
 include/gnutls/ocsp.h
 include/gnutls/openpgp.h
+include/gnutls/openssl.h
 include/gnutls/pkcs11.h
 include/gnutls/pkcs12.h
 include/gnutls/pkcs7.h
@@ -29,6 +30,9 @@ include/gnutls/x509.h
 %%DANE%%lib/libgnutls-dane.so
 %%DANE%%lib/libgnutls-dane.so.0
 %%DANE%%lib/libgnutls-dane.so.0.4.1
+lib/libgnutls-openssl.so
+lib/libgnutls-openssl.so.27
+lib/libgnutls-openssl.so.27.0.2
 lib/libgnutls.so
 lib/libgnutls.so.30
 lib/libgnutls.so.30.39.0