mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
security/xmlsec1: Update to 1.3.6
This commit is contained in:
parent
5e21b76903
commit
8b41ea64ec
2 changed files with 22 additions and 24 deletions
|
@ -1,5 +1,5 @@
|
||||||
PORTNAME= xmlsec1
|
PORTNAME= xmlsec1
|
||||||
DISTVERSION= 1.3.5
|
DISTVERSION= 1.3.6
|
||||||
CATEGORIES= security
|
CATEGORIES= security
|
||||||
MASTER_SITES= https://github.com/lsh123/xmlsec/releases/download/xmlsec_${DISTVERSION:S,.,_,g}/ \
|
MASTER_SITES= https://github.com/lsh123/xmlsec/releases/download/xmlsec_${DISTVERSION:S,.,_,g}/ \
|
||||||
https://www.aleksey.com/xmlsec/download/
|
https://www.aleksey.com/xmlsec/download/
|
||||||
|
@ -18,14 +18,11 @@ USE_GNOME= libxml2 libxslt
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
CONFIGURE_ARGS= --disable-static
|
||||||
INSTALL_TARGET= install-strip
|
INSTALL_TARGET= install-strip
|
||||||
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
PLIST_SUB= DISTVERSION=${DISTVERSION}
|
PLIST_SUB= DISTVERSION=${DISTVERSION}
|
||||||
|
|
||||||
CONFIGURE_ARGS= --disable-static
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
OPTIONS_MULTI= SSL
|
OPTIONS_MULTI= SSL
|
||||||
OPTIONS_MULTI_SSL= GNUTLS NSS OPENSSL
|
OPTIONS_MULTI_SSL= GNUTLS NSS OPENSSL
|
||||||
|
@ -45,28 +42,29 @@ OPENSSL_CONFIGURE_OFF= --without-openssl
|
||||||
OPENSSL_CONFIGURE_ON= --with-openssl="${OPENSSLBASE}"
|
OPENSSL_CONFIGURE_ON= --with-openssl="${OPENSSLBASE}"
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's/(CP) -ru/(CP) -r/' \
|
cd ${PATCH_WRKSRC} && ${REINPLACE_CMD} \
|
||||||
-e 's/(CP) -u/(CP)/' \
|
-e 's/(CP) -ru/(CP) -r/' \
|
||||||
${PATCH_WRKSRC}/docs/Makefile.am \
|
-e 's/(CP) -u/(CP)/' \
|
||||||
${PATCH_WRKSRC}/docs/Makefile.in \
|
docs/Makefile.am \
|
||||||
${PATCH_WRKSRC}/docs/api/Makefile.am \
|
docs/Makefile.in \
|
||||||
${PATCH_WRKSRC}/docs/api/Makefile.in \
|
docs/api/Makefile.am \
|
||||||
${PATCH_WRKSRC}/man/Makefile.am \
|
docs/api/Makefile.in \
|
||||||
${PATCH_WRKSRC}/man/Makefile.in
|
man/Makefile.am \
|
||||||
|
man/Makefile.in
|
||||||
|
|
||||||
post-patch-GNUTLS-on:
|
post-patch-GNUTLS-on:
|
||||||
# Don't rely on broken autodetection
|
# Don't rely on broken autodetection
|
||||||
@${REINPLACE_CMD} -e '/^GNUTLS_FOUND/s/no/yes/' \
|
${REINPLACE_CMD} -e '/^GNUTLS_FOUND/s/no/yes/' \
|
||||||
-e '/^GNUTLS_LIBS=/s,"","-L${LOCALBASE}/lib -lgnutls",' \
|
-e '/^GNUTLS_LIBS=/s,"","-L${LOCALBASE}/lib -lgnutls",' \
|
||||||
${PATCH_WRKSRC}/${CONFIGURE_SCRIPT}
|
${PATCH_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||||
|
|
||||||
post-patch-NSS-on:
|
post-patch-NSS-on:
|
||||||
@${REINPLACE_CMD} -e 's/mozilla-nss/nss/' \
|
${REINPLACE_CMD} -e 's/mozilla-nss/nss/' \
|
||||||
-e 's/mozilla-nspr/nspr/' ${PATCH_WRKSRC}/${CONFIGURE_SCRIPT}
|
-e 's/mozilla-nspr/nspr/' ${PATCH_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||||
@${REINPLACE_CMD} -e 's,^\(xmlsec1_LDADD = \)\\$$,\1 -L${LOCALBASE}/lib -lpthread\\,' \
|
${REINPLACE_CMD} -e 's,^\(xmlsec1_LDADD = \)\\$$,\1 -L${LOCALBASE}/lib -lpthread\\,' \
|
||||||
${PATCH_WRKSRC}/apps/Makefile.in
|
${PATCH_WRKSRC}/apps/Makefile.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${RM} -r ${STAGEDIR}${DOCSDIR}/css
|
${RMDIR} ${STAGEDIR}${DOCSDIR}/css
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1721476989
|
TIMESTAMP = 1731020022
|
||||||
SHA256 (xmlsec1-1.3.5.tar.gz) = 2ffd4ad1f860ec93e47a680310ab2bc94968bd07566e71976bd96133d9504917
|
SHA256 (xmlsec1-1.3.6.tar.gz) = 952b626ad3f3be1a4598622dab52fdab2a8604d0837c1b00589f3637535af92f
|
||||||
SIZE (xmlsec1-1.3.5.tar.gz) = 2451506
|
SIZE (xmlsec1-1.3.6.tar.gz) = 2453984
|
||||||
|
|
Loading…
Add table
Reference in a new issue