# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= xmlsec VERSION= 1.2.37 REVISION= 1 KEYWORDS= security VARIANTS= standard SDESC[standard]= XML Security Library HOMEPAGE= https://www.aleksey.com/xmlsec/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= https://www.aleksey.com/xmlsec/download/ DISTFILE[1]= xmlsec1-1.2.37.tar.gz:main DF_INDEX= 1 SPKGS[standard]= complete primary docs OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= libgpg-error:dev:standard gnutls:dev:standard nss:dev:standard BUILDRUN_DEPENDS= libgcrypt:single:standard libgpg-error:primary:standard libltdl:single:standard gnutls:primary:standard nspr:single:standard nss:primary:standard USES= cpe gmake libtool pkgconfig ssl GNOME_COMPONENTS= libxslt DISTNAME= xmlsec1-1.2.37 LICENSE= MIT:primary LICENSE_FILE= MIT:{{WRKSRC}}/Copyright LICENSE_SCHEME= solo CPE_VENDOR= xmlsec_project FPC_EQUIVALENT= security/xmlsec1 MUST_CONFIGURE= gnu CONFIGURE_ARGS= --with-openssl="{{OPENSSLBASE}}" --with-gcrypt="{{LOCALBASE}}" --with-gnutls="{{LOCALBASE}}" --with-nspr="{{LOCALBASE}}" --with-nss="{{LOCALBASE}}" --enable-soap --disable-docs-build CONFIGURE_ENV= NSS_CFLAGS="-I{{LOCALBASE}}/include/nss/nss" MAKE_ARGS= confexecdir="{{LOCALBASE}}/etc" MAKE_ENV= ABS_BUILDDIR="{{WRKSRC}}" TMPFOLDER="{{WRKDIR}}" INSTALL_TARGET= install-strip INSTALL_REQ_TOOLCHAIN= yes SOVERSION= 1.2.37 LDFLAGS= -L{{LOCALBASE}}/lib/nss -Wl,-rpath,{{LOCALBASE}}/lib/nss post-patch: ${REINPLACE_CMD} \ -e 's/mozilla-nss/nss/' \ -e 's/mozilla-nspr/nspr/' \ -e '/^GNUTLS_FOUND/s/no/yes/' \ -e '/^GNUTLS_LIBS=/s,"","-L${LOCALBASE}/lib -lgnutls",' \ ${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 # Making the xmlsec1 executable multi-threaded to let load -lnss when needed ${REINPLACE_CMD} -e 's,^\(xmlsec1_LDADD = \)\\$$,\1 -L${LOCALBASE}/lib -lpthread\\,' \ ${WRKSRC}/apps/Makefile.in [FILE:303:descriptions/desc.primary] XML Security Library is the latest stable of a C library based on LibXML2 and OpenSSL. The library was created with a goal to support major XML security standards: - XML Signature - XML Encryption - Canonical XML (was included in libxml2) - Exclusive Canonical XML (was included in libxml2) [FILE:100:distinfo] 5f8dfbcb6d1e56bddd0b5ec2e00a3d0ca5342a9f57c24dffde5c796b2be2871c 2009175 xmlsec1-1.2.37.tar.gz [FILE:1365:manifests/plist.primary] bin/ xmlsec1 xmlsec1-config etc/xmlsec1Conf.sh include/xmlsec1/xmlsec/ app.h base64.h bn.h buffer.h crypto.h dl.h errors.h exports.h io.h keyinfo.h keys.h keysdata.h keysmngr.h list.h membuf.h nodeset.h parser.h private.h soap.h strings.h templates.h transforms.h version.h x509.h xmldsig.h xmlenc.h xmlsec.h xmltree.h include/xmlsec1/xmlsec/gcrypt/ app.h crypto.h symbols.h include/xmlsec1/xmlsec/gnutls/ app.h crypto.h symbols.h x509.h include/xmlsec1/xmlsec/nss/ app.h bignum.h crypto.h keysstore.h pkikeys.h symbols.h x509.h include/xmlsec1/xmlsec/openssl/ app.h bn.h crypto.h evp.h symbols.h x509.h lib/ libxmlsec1-gcrypt.a libxmlsec1-gcrypt.so libxmlsec1-gcrypt.so.%%SOMAJOR%% libxmlsec1-gcrypt.so.%%SOVERSION%% libxmlsec1-gnutls.a libxmlsec1-gnutls.so libxmlsec1-gnutls.so.%%SOMAJOR%% libxmlsec1-gnutls.so.%%SOVERSION%% libxmlsec1-nss.a libxmlsec1-nss.so libxmlsec1-nss.so.%%SOMAJOR%% libxmlsec1-nss.so.%%SOVERSION%% libxmlsec1-openssl.a libxmlsec1-openssl.so libxmlsec1-openssl.so.%%SOMAJOR%% libxmlsec1-openssl.so.%%SOVERSION%% libxmlsec1.a libxmlsec1.so libxmlsec1.so.%%SOMAJOR%% libxmlsec1.so.%%SOVERSION%% lib/pkgconfig/ xmlsec1-gcrypt.pc xmlsec1-gnutls.pc xmlsec1-nss.pc xmlsec1-openssl.pc xmlsec1.pc share/aclocal/xmlsec1.m4 share/man/man1/ xmlsec1-config.1.gz xmlsec1.1.gz [FILE:408:patches/patch-configure] --- configure.orig 2022-11-28 21:40:56 UTC +++ configure @@ -15008,8 +15008,8 @@ NSS_PACKAGE=mozilla-nss NSPR_INCLUDE_MARKER="nspr/nspr.h" NSPR_LIB_MARKER="libnspr4$shrext" NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4" -NSS_INCLUDE_MARKER="nss/nss.h" -NSS_LIB_MARKER="libnss3$shrext" +NSS_INCLUDE_MARKER="nss/nss/nss.h" +NSS_LIB_MARKER="nss/libnss3$shrext" NSS_LIBS_LIST="-lnss3 -lsmime3" XMLSEC_NO_NSS="1" [FILE:343:patches/patch-src_cast__helpers.h] --- src/cast_helpers.h.orig 2022-11-28 21:40:23 UTC +++ src/cast_helpers.h @@ -16,6 +16,7 @@ #error "private.h file contains private xmlsec definitions and should not be used outside xmlsec or xmlsec-$crypto libraries" #endif /* XMLSEC_PRIVATE */ +#include #include #include #include "errors_helpers.h"