git: 3a22668ee7b2 - main - security/libressl: Update to 3.9.2

From: Bernard Spil <brnrd_at_FreeBSD.org>
Date: Mon, 13 May 2024 10:19:51 UTC
The branch main has been updated by brnrd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3a22668ee7b217f56fca5bbeda4c5df7b2afd34f

commit 3a22668ee7b217f56fca5bbeda4c5df7b2afd34f
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2024-05-13 10:19:48 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2024-05-13 10:19:48 +0000

    security/libressl: Update to 3.9.2
---
 UPDATING                    | 17 +++++++++++++++++
 security/libressl/Makefile  | 14 +++++++-------
 security/libressl/distinfo  |  6 +++---
 security/libressl/pkg-plist |  2 +-
 4 files changed, 28 insertions(+), 11 deletions(-)

diff --git a/UPDATING b/UPDATING
index ba683bb4ab34..a4a9e3f7615e 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,23 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20240513:
+  AFFECTS: users of security/libressl
+  AUTHOR: brnrd@FreeBSD.org
+
+  The port has been updated to the latest stable version 3.9 of LibreSSL.
+  The shared library versions of the libraries have been bumped.
+
+  After upgrading, manually update all packages that depend on any of the
+  libraries provided by LibreSSL (libssl, libcrypto and libtls) since the
+  versions of these libraries have changed. Normally, you can obtain the
+  list of dependent software by running the following command:
+
+  # pkg info -r libressl
+
+  Then you should rebuild all ports depending on libressl to avoid dangling
+  shared library dependencies.
+
 20240509:
   AFFECTS: databases/timescaledb
   AUTHOR: kbowling@FreeBSD.org
diff --git a/security/libressl/Makefile b/security/libressl/Makefile
index 53448418988f..69e7c455796a 100644
--- a/security/libressl/Makefile
+++ b/security/libressl/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libressl
-PORTVERSION=	3.8.4
+PORTVERSION=	3.9.2
 CATEGORIES=	security devel
 MASTER_SITES=	OPENBSD/LibreSSL
 
@@ -49,12 +49,12 @@ LDFLAGS+=	-pthread
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
 
-PLIST_SUB+=	LIBCRYPTO_SHLIBMAJ=52 \
-		LIBCRYPTO_SHLIBFULL=52.0.0 \
-		LIBSSL_SHLIBMAJ=55 \
-		LIBSSL_SHLIBFULL=55.0.0 \
-		LIBTLS_SHLIBMAJ=28 \
-		LIBTLS_SHLIBFULL=28.0.0
+PLIST_SUB+=	LIBCRYPTO_SHLIBMAJ=53 \
+		LIBCRYPTO_SHLIBFULL=53.0.0 \
+		LIBSSL_SHLIBMAJ=56 \
+		LIBSSL_SHLIBFULL=56.0.0 \
+		LIBTLS_SHLIBMAJ=29 \
+		LIBTLS_SHLIBFULL=29.0.0
 
 post-patch-MAN3-off:
 	${REINPLACE_CMD} -e '/^install-man:/s/install-man3//' \
diff --git a/security/libressl/distinfo b/security/libressl/distinfo
index e559f064111a..8ffa5f973c11 100644
--- a/security/libressl/distinfo
+++ b/security/libressl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1711798922
-SHA256 (libressl-3.8.4.tar.gz) = c0cef9cfe174ac366ce482f542fddb07721e7fa0caface34b49a8720fa37fe7d
-SIZE (libressl-3.8.4.tar.gz) = 4467303
+TIMESTAMP = 1715594027
+SHA256 (libressl-3.9.2.tar.gz) = 7b031dac64a59eb6ee3304f7ffb75dad33ab8c9d279c847f92c89fb846068f97
+SIZE (libressl-3.9.2.tar.gz) = 4353829
diff --git a/security/libressl/pkg-plist b/security/libressl/pkg-plist
index 498acaedaced..e6953d72280e 100644
--- a/security/libressl/pkg-plist
+++ b/security/libressl/pkg-plist
@@ -32,7 +32,6 @@ include/openssl/ecdsa.h
 include/openssl/engine.h
 include/openssl/err.h
 include/openssl/evp.h
-include/openssl/gost.h
 include/openssl/hkdf.h
 include/openssl/hmac.h
 include/openssl/idea.h
@@ -53,6 +52,7 @@ include/openssl/pem2.h
 include/openssl/pkcs12.h
 include/openssl/pkcs7.h
 include/openssl/poly1305.h
+include/openssl/posix_time.h
 include/openssl/rand.h
 include/openssl/rc2.h
 include/openssl/rc4.h