From nobody Wed Aug 30 02:43:20 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rb7rn0fPTz4rY0J; Wed, 30 Aug 2023 02:43:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rb7rm72R6z4GDM; Wed, 30 Aug 2023 02:43:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693363401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=//aDsoG5bd8mE1kE/XQhiwndZdQFIvRKZ4Ci4UMD0lQ=; b=PxJX/f3DjvKc5CNxDq24RudRN1S2NC7sBqkIMqilvrF1W6Sv1xy8zpOAMx9+scsoZXj1e7 WGHigWZDqkG8zNud8lBgdnoGfLa6sgoOnuoL2/WMYyAfZsSA9xLWTRplF/T30rcTRjHI6m Wf/9VNPu6bjFEGcyzL0+Iln1ySOGBrsE7vYRNjSFyGiGRtUmBnyclJ/UpiAHbRIfVLBlbH gg2/XQp7JZdVVG0+mSg1hwoc904wBm41vD5pTSrYbuibzXqg1fYPPqP9Pusq7GZWCYv6Y6 uopAbp6FA62f3KqvW3ITVYVThSgflTW7kGGLGCJVaB0i4ed7KPEIW6xmFQqTLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693363401; a=rsa-sha256; cv=none; b=NYhbvMGmAJuAqaeJlb0UqIRE31Ntsefy8nW4QD9i50KBgYZq6otoRTan/KFHE3d3h5QLhD WllrypEs7wDokmzQ8Zv77n6cVE/D3IhZepYFk2+OozIYhRJ5ow5aOckwJFzMNxYOZ2px8C UWtcjkRrVtg8832yiSGYTI/ptQgYqMK90pBr4m2EADb5hyFS/vJ0OnzhdT1QSJu0WjWfKx 7nqvlaumvCPDv+1fH9uNJ41/tiDsB2Ek0KH/Jhr3ibMlSYU/Y1Q025s50Gv2cdvO0GepP8 6XJNUCqJ89mRmYTN9WGfbv28VUGt+vbPTMGwaQHON0a9fSf9RbmuteI6kDYQLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693363401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=//aDsoG5bd8mE1kE/XQhiwndZdQFIvRKZ4Ci4UMD0lQ=; b=az+vcrgIFquLPfxaja/Yad3nU5R2KR3shTCKY2t/ACiuh0FF+m/nCzru2bNAH8NyYb1xp3 6Hk0iMsWwdr2RwmZIznbX8Cvvs66Cf5QFdbPSgcoCwaq4wd1ohu5/6CidKFtt3hAcTxotW /hGJmWe1Y/wRC0fAgDLRuQ7R/JZPzfcE0YDrBBkmo4b2ltvnRA/sY4bkdiRZooMXFTGIJk BoAKF57PJxN3PWvVUjK75RjbmC0+EI/boQsablhnukXXNPrqbGtZ3lbG9V/X/C1/11QEUZ gFfYEv+xv3RRCROQKwY3bRj19+VsEq8ezKXt6dCOZalqmGzgveKkuwiZHV5QFA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Rb7rm65Bkz2tF; Wed, 30 Aug 2023 02:43:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37U2hKts082548; Wed, 30 Aug 2023 02:43:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37U2hKwc082545; Wed, 30 Aug 2023 02:43:20 GMT (envelope-from git) Date: Wed, 30 Aug 2023 02:43:20 GMT Message-Id: <202308300243.37U2hKwc082545@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: c769f6648be5 - main - security/xmlsec1: Update to 1.2.38 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c769f6648be539853c69e1da2d49ad88726cc003 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=c769f6648be539853c69e1da2d49ad88726cc003 commit c769f6648be539853c69e1da2d49ad88726cc003 Author: Daniel Engberg AuthorDate: 2023-08-29 18:28:19 +0000 Commit: Daniel Engberg CommitDate: 2023-08-30 02:43:07 +0000 security/xmlsec1: Update to 1.2.38 * Use GitHub as primary site as it's much faster and fall back to author's website if GitHub is unavailable * Default to OpenSSL and NSS backend, GnuTLS is optional and can co-exist * Rework Makefile to more closely follow Porters Handbook Changelog: https://github.com/lsh123/xmlsec/releases/tag/xmlsec-1_2_38 PR: 273108 Approved by: portmgr (blanket, maintainer timeout 2+ weeks) Sponsored by: Blinkinblox --- security/xmlsec1/Makefile | 82 ++++++++++++++++++++++------------------------ security/xmlsec1/distinfo | 6 ++-- security/xmlsec1/pkg-plist | 46 +++++++++++--------------- 3 files changed, 63 insertions(+), 71 deletions(-) diff --git a/security/xmlsec1/Makefile b/security/xmlsec1/Makefile index 7d44f009d6f3..426562a23fe8 100644 --- a/security/xmlsec1/Makefile +++ b/security/xmlsec1/Makefile @@ -1,8 +1,8 @@ PORTNAME= xmlsec1 -PORTVERSION= 1.2.37 +DISTVERSION= 1.2.38 CATEGORIES= security -MASTER_SITES= https://www.aleksey.com/xmlsec/download/ \ - https://github.com/lsh123/xmlsec/releases/download/xmlsec-${PORTVERSION:S,.,_,g}/ +MASTER_SITES= https://github.com/lsh123/xmlsec/releases/download/xmlsec_${DISTVERSION:S,.,_,g}/ \ + https://www.aleksey.com/xmlsec/download/ MAINTAINER= hrs@FreeBSD.org COMMENT= XML Security Library @@ -11,61 +11,59 @@ WWW= https://www.aleksey.com/xmlsec/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/Copyright -LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ - libgpg-error.so:security/libgpg-error \ - libltdl.so:devel/libltdl +LIB_DEPENDS= libltdl.so:devel/libltdl -USES= gmake gnome libtool localbase pathfix pkgconfig ssl +USES= gmake gnome libtool localbase pathfix pkgconfig USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes + GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-openssl="${OPENSSLBASE}" \ - --with-gcrypt="${LOCALBASE}" \ - --enable-werror \ - --enable-soap \ - --disable-docs-build -MAKE_ENV= ABS_BUILDDIR=${WRKSRC} TMPFOLDER=${WRKSRC} + INSTALL_TARGET= install-strip PORTDOCS= * -PLIST_SUB= PORTVERSION=${PORTVERSION} - -OPTIONS_DEFINE= DOCS GNUTLS NSS -OPTIONS_DEFAULT= NSS -OPTIONS_SUB= yes - -GNUTLS_DESC= Enable GNUTLS support -GNUTLS_CONFIGURE_ON= --with-gnutls="${LOCALBASE}" -GNUTLS_CONFIGURE_OFF= --without-gnutls -GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls -NSS_DESC= Enable Mozilla's NSS support -NSS_CONFIGURE_ON= --with-nss="${LOCALBASE}" \ - --with-nspr="${LOCALBASE}" -NSS_CONFIGURE_OFF= --without-nss \ - --without-nspr -NSS_LIB_DEPENDS= libnss3.so:security/nss \ - libnspr4.so:devel/nspr \ - libplds4.so:devel/nspr \ - libplc4.so:devel/nspr +PLIST_SUB= DISTVERSION=${DISTVERSION} + +CONFIGURE_ARGS= --disable-static + +OPTIONS_DEFINE= DOCS +OPTIONS_MULTI= SSL +OPTIONS_MULTI_SSL= GNUTLS NSS OPENSSL GNUTLS +OPTIONS_DEFAULT= OPENSSL NSS +OPTIONS_SUB= yes + +GNUTLS_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ + libgnutls.so:security/gnutls +GNUTLS_CONFIGURE_WITH= gcrypt gnutls + +NSS_LIB_DEPENDS= libnspr4.so:devel/nspr \ + libnss3.so:security/nss +NSS_CONFIGURE_WITH= nspr nss + +OPENSSL_USES= ssl +OPENSSL_CONFIGURE_OFF= --without-openssl +OPENSSL_CONFIGURE_ON= --with-openssl="${OPENSSLBASE}" post-patch: - @${REINPLACE_CMD} -e 's/mozilla-nss/nss/' \ - -e 's/mozilla-nspr/nspr/' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's/(CP) -ru/(CP) -r/' \ -e 's/(CP) -u/(CP)/' \ - ${WRKSRC}/docs/Makefile.am ${WRKSRC}/docs/Makefile.in \ - ${WRKSRC}/docs/api/Makefile.am ${WRKSRC}/docs/api/Makefile.in \ - ${WRKSRC}/man/Makefile.am ${WRKSRC}/man/Makefile.in + ${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 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",' \ - ${WRKSRC}/${CONFIGURE_SCRIPT} + -e '/^GNUTLS_LIBS=/s,"","-L${LOCALBASE}/lib -lgnutls",' \ + ${PATCH_WRKSRC}/${CONFIGURE_SCRIPT} post-patch-NSS-on: -# Makeing the xmlsec1 executable multi-threaded to let load -lnss, -# when needed. + @${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\\,' \ - ${WRKSRC}/apps/Makefile.in + ${PATCH_WRKSRC}/apps/Makefile.in + .include diff --git a/security/xmlsec1/distinfo b/security/xmlsec1/distinfo index 0482e6233802..31fac1f0c55f 100644 --- a/security/xmlsec1/distinfo +++ b/security/xmlsec1/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1670335424 -SHA256 (xmlsec1-1.2.37.tar.gz) = 5f8dfbcb6d1e56bddd0b5ec2e00a3d0ca5342a9f57c24dffde5c796b2be2871c -SIZE (xmlsec1-1.2.37.tar.gz) = 2009175 +TIMESTAMP = 1691949373 +SHA256 (xmlsec1-1.2.38.tar.gz) = 9de8cf8d7d2e288a9cef205cc6cb93c926a67dadfaf44aaff76ed63c28ce9902 +SIZE (xmlsec1-1.2.38.tar.gz) = 2036578 diff --git a/security/xmlsec1/pkg-plist b/security/xmlsec1/pkg-plist index cb88ce86ed97..3c866ca5c7b6 100644 --- a/security/xmlsec1/pkg-plist +++ b/security/xmlsec1/pkg-plist @@ -9,9 +9,9 @@ include/xmlsec1/xmlsec/crypto.h include/xmlsec1/xmlsec/dl.h include/xmlsec1/xmlsec/errors.h include/xmlsec1/xmlsec/exports.h -include/xmlsec1/xmlsec/gcrypt/app.h -include/xmlsec1/xmlsec/gcrypt/crypto.h -include/xmlsec1/xmlsec/gcrypt/symbols.h +%%GNUTLS%%include/xmlsec1/xmlsec/gcrypt/app.h +%%GNUTLS%%include/xmlsec1/xmlsec/gcrypt/crypto.h +%%GNUTLS%%include/xmlsec1/xmlsec/gcrypt/symbols.h %%GNUTLS%%include/xmlsec1/xmlsec/gnutls/app.h %%GNUTLS%%include/xmlsec1/xmlsec/gnutls/crypto.h %%GNUTLS%%include/xmlsec1/xmlsec/gnutls/symbols.h @@ -31,15 +31,14 @@ include/xmlsec1/xmlsec/nodeset.h %%NSS%%include/xmlsec1/xmlsec/nss/pkikeys.h %%NSS%%include/xmlsec1/xmlsec/nss/symbols.h %%NSS%%include/xmlsec1/xmlsec/nss/x509.h -include/xmlsec1/xmlsec/openssl/app.h -include/xmlsec1/xmlsec/openssl/bn.h -include/xmlsec1/xmlsec/openssl/crypto.h -include/xmlsec1/xmlsec/openssl/evp.h -include/xmlsec1/xmlsec/openssl/symbols.h -include/xmlsec1/xmlsec/openssl/x509.h +%%OPENSSL%%include/xmlsec1/xmlsec/openssl/app.h +%%OPENSSL%%include/xmlsec1/xmlsec/openssl/bn.h +%%OPENSSL%%include/xmlsec1/xmlsec/openssl/crypto.h +%%OPENSSL%%include/xmlsec1/xmlsec/openssl/evp.h +%%OPENSSL%%include/xmlsec1/xmlsec/openssl/symbols.h +%%OPENSSL%%include/xmlsec1/xmlsec/openssl/x509.h include/xmlsec1/xmlsec/parser.h include/xmlsec1/xmlsec/private.h -include/xmlsec1/xmlsec/soap.h include/xmlsec1/xmlsec/strings.h include/xmlsec1/xmlsec/templates.h include/xmlsec1/xmlsec/transforms.h @@ -49,30 +48,25 @@ include/xmlsec1/xmlsec/xmldsig.h include/xmlsec1/xmlsec/xmlenc.h include/xmlsec1/xmlsec/xmlsec.h include/xmlsec1/xmlsec/xmltree.h -lib/libxmlsec1-gcrypt.a -lib/libxmlsec1-gcrypt.so -lib/libxmlsec1-gcrypt.so.1 -%%GNUTLS%%lib/libxmlsec1-gnutls.a +%%GNUTLS%%lib/libxmlsec1-gcrypt.so +%%GNUTLS%%lib/libxmlsec1-gcrypt.so.1 +%%GNUTLS%%lib/libxmlsec1-gcrypt.so.%%DISTVERSION%% %%GNUTLS%%lib/libxmlsec1-gnutls.so %%GNUTLS%%lib/libxmlsec1-gnutls.so.1 -%%GNUTLS%%lib/libxmlsec1-gnutls.so.%%PORTVERSION%% -%%NSS%%lib/libxmlsec1-nss.a +%%GNUTLS%%lib/libxmlsec1-gnutls.so.%%DISTVERSION%% %%NSS%%lib/libxmlsec1-nss.so %%NSS%%lib/libxmlsec1-nss.so.1 -%%NSS%%lib/libxmlsec1-nss.so.%%PORTVERSION%% -lib/libxmlsec1-gcrypt.so.%%PORTVERSION%% -lib/libxmlsec1-openssl.a -lib/libxmlsec1-openssl.so -lib/libxmlsec1-openssl.so.1 -lib/libxmlsec1-openssl.so.%%PORTVERSION%% -lib/libxmlsec1.a +%%NSS%%lib/libxmlsec1-nss.so.%%DISTVERSION%% +%%OPENSSL%%lib/libxmlsec1-openssl.so +%%OPENSSL%%lib/libxmlsec1-openssl.so.1 +%%OPENSSL%%lib/libxmlsec1-openssl.so.%%DISTVERSION%% lib/libxmlsec1.so lib/libxmlsec1.so.1 -lib/libxmlsec1.so.%%PORTVERSION%% -libdata/pkgconfig/xmlsec1-gcrypt.pc +lib/libxmlsec1.so.%%DISTVERSION%% +%%GNUTLS%%libdata/pkgconfig/xmlsec1-gcrypt.pc %%GNUTLS%%libdata/pkgconfig/xmlsec1-gnutls.pc %%NSS%%libdata/pkgconfig/xmlsec1-nss.pc -libdata/pkgconfig/xmlsec1-openssl.pc +%%OPENSSL%%libdata/pkgconfig/xmlsec1-openssl.pc libdata/pkgconfig/xmlsec1.pc man/man1/xmlsec1-config.1.gz man/man1/xmlsec1.1.gz