Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2024 23:13:27 GMT
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8b41ea64ec7c - main - security/xmlsec1: Update to 1.3.6
Message-ID:  <202411072313.4A7NDREP014809@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by hrs:

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

commit 8b41ea64ec7c8b07ed20015762add177c374c62c
Author:     Hiroki Sato <hrs@FreeBSD.org>
AuthorDate: 2024-11-07 23:12:45 +0000
Commit:     Hiroki Sato <hrs@FreeBSD.org>
CommitDate: 2024-11-07 23:12:45 +0000

    security/xmlsec1: Update to 1.3.6
---
 security/xmlsec1/Makefile | 40 +++++++++++++++++++---------------------
 security/xmlsec1/distinfo |  6 +++---
 2 files changed, 22 insertions(+), 24 deletions(-)

diff --git a/security/xmlsec1/Makefile b/security/xmlsec1/Makefile
index 2a9ca2ebae39..a3c3fae2f27c 100644
--- a/security/xmlsec1/Makefile
+++ b/security/xmlsec1/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	xmlsec1
-DISTVERSION=	1.3.5
+DISTVERSION=	1.3.6
 CATEGORIES=	security
 MASTER_SITES=	https://github.com/lsh123/xmlsec/releases/download/xmlsec_${DISTVERSION:S,.,_,g}/ \
 		https://www.aleksey.com/xmlsec/download/
@@ -18,14 +18,11 @@ USE_GNOME=	libxml2 libxslt
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
-
+CONFIGURE_ARGS=	--disable-static
 INSTALL_TARGET=	install-strip
-
 PORTDOCS=	*
 PLIST_SUB=	DISTVERSION=${DISTVERSION}
 
-CONFIGURE_ARGS=	--disable-static
-
 OPTIONS_DEFINE=		DOCS
 OPTIONS_MULTI=		SSL
 OPTIONS_MULTI_SSL=	GNUTLS NSS OPENSSL
@@ -45,28 +42,29 @@ OPENSSL_CONFIGURE_OFF=	--without-openssl
 OPENSSL_CONFIGURE_ON=	--with-openssl="${OPENSSLBASE}"
 
 post-patch:
-	@${REINPLACE_CMD} -e 's/(CP) -ru/(CP) -r/' \
-		-e 's/(CP) -u/(CP)/' \
-		${PATCH_WRKSRC}/docs/Makefile.am \
-		${PATCH_WRKSRC}/docs/Makefile.in \
-		${PATCH_WRKSRC}/docs/api/Makefile.am \
-		${PATCH_WRKSRC}/docs/api/Makefile.in \
-		${PATCH_WRKSRC}/man/Makefile.am \
-		${PATCH_WRKSRC}/man/Makefile.in
+	cd ${PATCH_WRKSRC} && ${REINPLACE_CMD} \
+	    -e 's/(CP) -ru/(CP) -r/' \
+	    -e 's/(CP) -u/(CP)/' \
+	    docs/Makefile.am \
+	    docs/Makefile.in \
+	    docs/api/Makefile.am \
+	    docs/api/Makefile.in \
+	    man/Makefile.am \
+	    man/Makefile.in
 
 post-patch-GNUTLS-on:
 # Don't rely on broken autodetection
-	@${REINPLACE_CMD} -e '/^GNUTLS_FOUND/s/no/yes/' \
-		-e '/^GNUTLS_LIBS=/s,"","-L${LOCALBASE}/lib -lgnutls",' \
-		${PATCH_WRKSRC}/${CONFIGURE_SCRIPT}
+	${REINPLACE_CMD} -e '/^GNUTLS_FOUND/s/no/yes/' \
+	    -e '/^GNUTLS_LIBS=/s,"","-L${LOCALBASE}/lib -lgnutls",' \
+	    ${PATCH_WRKSRC}/${CONFIGURE_SCRIPT}
 
 post-patch-NSS-on:
-	@${REINPLACE_CMD} -e 's/mozilla-nss/nss/' \
-		-e 's/mozilla-nspr/nspr/' ${PATCH_WRKSRC}/${CONFIGURE_SCRIPT}
-	@${REINPLACE_CMD} -e 's,^\(xmlsec1_LDADD = \)\\$$,\1 -L${LOCALBASE}/lib -lpthread\\,' \
-		${PATCH_WRKSRC}/apps/Makefile.in
+	${REINPLACE_CMD} -e 's/mozilla-nss/nss/' \
+	    -e 's/mozilla-nspr/nspr/' ${PATCH_WRKSRC}/${CONFIGURE_SCRIPT}
+	${REINPLACE_CMD} -e 's,^\(xmlsec1_LDADD = \)\\$$,\1 -L${LOCALBASE}/lib -lpthread\\,' \
+	    ${PATCH_WRKSRC}/apps/Makefile.in
 
 post-install:
-	${RM} -r ${STAGEDIR}${DOCSDIR}/css
+	${RMDIR} ${STAGEDIR}${DOCSDIR}/css
 
 .include <bsd.port.mk>
diff --git a/security/xmlsec1/distinfo b/security/xmlsec1/distinfo
index d64c14517056..4f117e593dc6 100644
--- a/security/xmlsec1/distinfo
+++ b/security/xmlsec1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1721476989
-SHA256 (xmlsec1-1.3.5.tar.gz) = 2ffd4ad1f860ec93e47a680310ab2bc94968bd07566e71976bd96133d9504917
-SIZE (xmlsec1-1.3.5.tar.gz) = 2451506
+TIMESTAMP = 1731020022
+SHA256 (xmlsec1-1.3.6.tar.gz) = 952b626ad3f3be1a4598622dab52fdab2a8604d0837c1b00589f3637535af92f
+SIZE (xmlsec1-1.3.6.tar.gz) = 2453984



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411072313.4A7NDREP014809>