diff --git a/security/xmlsec1/Makefile b/security/xmlsec1/Makefile index 3db31e03ceca..498b6a5a13de 100644 --- a/security/xmlsec1/Makefile +++ b/security/xmlsec1/Makefile @@ -1,69 +1,71 @@ PORTNAME= xmlsec1 DISTVERSION= 1.3.2 +PORTREVISION= 1 CATEGORIES= security 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 WWW= https://www.aleksey.com/xmlsec/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/Copyright LIB_DEPENDS= libltdl.so:devel/libltdl USES= gmake gnome libtool localbase pathfix pkgconfig USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share 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 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/(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 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} 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 .include diff --git a/security/xmlsec1/pkg-plist b/security/xmlsec1/pkg-plist index 1437ee113a81..6e1a43d5323a 100644 --- a/security/xmlsec1/pkg-plist +++ b/security/xmlsec1/pkg-plist @@ -1,73 +1,73 @@ bin/xmlsec1 bin/xmlsec1-config etc/xmlsec1Conf.sh include/xmlsec1/xmlsec/app.h include/xmlsec1/xmlsec/base64.h include/xmlsec1/xmlsec/bn.h include/xmlsec1/xmlsec/buffer.h include/xmlsec1/xmlsec/crypto.h include/xmlsec1/xmlsec/dl.h include/xmlsec1/xmlsec/errors.h include/xmlsec1/xmlsec/exports.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/keysstore.h %%GNUTLS%%include/xmlsec1/xmlsec/gnutls/symbols.h %%GNUTLS%%include/xmlsec1/xmlsec/gnutls/x509.h include/xmlsec1/xmlsec/io.h include/xmlsec1/xmlsec/keyinfo.h include/xmlsec1/xmlsec/keys.h include/xmlsec1/xmlsec/keysdata.h include/xmlsec1/xmlsec/keysmngr.h include/xmlsec1/xmlsec/list.h include/xmlsec1/xmlsec/membuf.h include/xmlsec1/xmlsec/nodeset.h %%NSS%%include/xmlsec1/xmlsec/nss/app.h %%NSS%%include/xmlsec1/xmlsec/nss/crypto.h %%NSS%%include/xmlsec1/xmlsec/nss/keysstore.h %%NSS%%include/xmlsec1/xmlsec/nss/pkikeys.h %%NSS%%include/xmlsec1/xmlsec/nss/symbols.h %%NSS%%include/xmlsec1/xmlsec/nss/x509.h %%OPENSSL%%include/xmlsec1/xmlsec/openssl/app.h %%OPENSSL%%include/xmlsec1/xmlsec/openssl/crypto.h %%OPENSSL%%include/xmlsec1/xmlsec/openssl/evp.h %%OPENSSL%%include/xmlsec1/xmlsec/openssl/keysstore.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/strings.h include/xmlsec1/xmlsec/templates.h include/xmlsec1/xmlsec/transforms.h include/xmlsec1/xmlsec/version.h include/xmlsec1/xmlsec/x509.h include/xmlsec1/xmlsec/xmldsig.h include/xmlsec1/xmlsec/xmlenc.h include/xmlsec1/xmlsec/xmlsec.h include/xmlsec1/xmlsec/xmltree.h %%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.%%DISTVERSION%% %%NSS%%lib/libxmlsec1-nss.so %%NSS%%lib/libxmlsec1-nss.so.1 %%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.%%DISTVERSION%% %%GNUTLS%%libdata/pkgconfig/xmlsec1-gcrypt.pc %%GNUTLS%%libdata/pkgconfig/xmlsec1-gnutls.pc %%NSS%%libdata/pkgconfig/xmlsec1-nss.pc %%OPENSSL%%libdata/pkgconfig/xmlsec1-openssl.pc libdata/pkgconfig/xmlsec1.pc -man/man1/xmlsec1-config.1.gz -man/man1/xmlsec1.1.gz +share/man/man1/xmlsec1-config.1.gz +share/man/man1/xmlsec1.1.gz share/aclocal/xmlsec1.m4