git: f09a210a25c8 - main - security/xmlsec1: update to v1.3.9

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Tue, 20 Jan 2026 16:48:56 UTC
The branch main has been updated by mandree:

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

commit f09a210a25c877e8f82a8cde9aff64eb5cd958fc
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2026-01-13 18:20:05 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2026-01-20 16:48:51 +0000

    security/xmlsec1: update to v1.3.9
    
    This unbreaks libxml 2.15, where some pointer types went "const",
    and the prior FreeBSD ports version of xmlsec1 wanted to error out
    instead of seeing warnings (-Werror) and broke.
    
    ChangeLog:      https://www.aleksey.com/xmlsec/news.html
    required for:
    PR:             291316
    
    (This builds with extant libxml2.14 and 2.15, so let's just commit this.)
---
 security/xmlsec1/Makefile | 12 +++++++-----
 security/xmlsec1/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/security/xmlsec1/Makefile b/security/xmlsec1/Makefile
index 731d8f136cb4..81c743d11781 100644
--- a/security/xmlsec1/Makefile
+++ b/security/xmlsec1/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xmlsec1
-DISTVERSION=	1.3.6
-PORTREVISION=	1
+DISTVERSION=	1.3.9
+PORTREVISION=	0
 CATEGORIES=	security
 MASTER_SITES=	https://github.com/lsh123/xmlsec/releases/download/xmlsec_${DISTVERSION:S,.,_,g}/ \
 		https://www.aleksey.com/xmlsec/download/
@@ -21,13 +21,14 @@ USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-static
 INSTALL_TARGET=	install-strip
-PORTDOCS=	*
+
 PLIST_SUB=	DISTVERSION=${DISTVERSION}
+PORTDOCS=	*
 
 OPTIONS_DEFINE=		DOCS
+OPTIONS_DEFAULT=	OPENSSL NSS
 OPTIONS_MULTI=		SSL
 OPTIONS_MULTI_SSL=	GNUTLS NSS OPENSSL
-OPTIONS_DEFAULT=	OPENSSL NSS
 OPTIONS_SUB=		yes
 
 GNUTLS_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
@@ -39,8 +40,8 @@ NSS_LIB_DEPENDS=	libnspr4.so:devel/nspr \
 NSS_CONFIGURE_WITH=	nspr nss
 
 OPENSSL_USES=		ssl
-OPENSSL_CONFIGURE_OFF=	--without-openssl
 OPENSSL_CONFIGURE_ON=	--with-openssl="${OPENSSLBASE}"
+OPENSSL_CONFIGURE_OFF=	--without-openssl
 
 post-patch:
 	cd ${PATCH_WRKSRC} && ${REINPLACE_CMD} \
@@ -67,5 +68,6 @@ post-patch-NSS-on:
 
 post-install:
 	${RMDIR} ${STAGEDIR}${DOCSDIR}/css
+	${RM} ${STAGEDIR}${PREFIX}/bin/xmlsec_unit_tests
 
 .include <bsd.port.mk>
diff --git a/security/xmlsec1/distinfo b/security/xmlsec1/distinfo
index 4f117e593dc6..4cc24d04ca1e 100644
--- a/security/xmlsec1/distinfo
+++ b/security/xmlsec1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1731020022
-SHA256 (xmlsec1-1.3.6.tar.gz) = 952b626ad3f3be1a4598622dab52fdab2a8604d0837c1b00589f3637535af92f
-SIZE (xmlsec1-1.3.6.tar.gz) = 2453984
+TIMESTAMP = 1768327914
+SHA256 (xmlsec1-1.3.9.tar.gz) = a631c8cd7a6b86e6adb9f5b935d45a9cf9768b3cb090d461e8eb9d043cf9b62f
+SIZE (xmlsec1-1.3.9.tar.gz) = 2377806