1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= XML Security Library
8 HOMEPAGE= https://www.aleksey.com/xmlsec/
12 SITES[main]= https://www.aleksey.com/xmlsec/download/
13 DISTFILE[1]= xmlsec1-1.2.36.tar.gz:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILDRUN_DEPENDS= libgcrypt:single:standard
23 libgpg-error:primary:standard
24 libltdl:single:standard
25 gnutls:primary:standard
29 USES= cpe gmake libtool pkgconfig ssl
30 GNOME_COMPONENTS= libxslt
32 DISTNAME= xmlsec1-1.2.36
35 LICENSE_FILE= MIT:{{WRKSRC}}/Copyright
38 CPE_VENDOR= xmlsec_project
39 FPC_EQUIVALENT= security/xmlsec1
42 CONFIGURE_ARGS= --with-openssl="{{OPENSSLBASE}}"
43 --with-gcrypt="{{LOCALBASE}}"
44 --with-gnutls="{{LOCALBASE}}"
45 --with-nspr="{{LOCALBASE}}"
46 --with-nss="{{LOCALBASE}}"
49 CONFIGURE_ENV= NSS_CFLAGS="-I{{LOCALBASE}}/include/nss/nss"
51 MAKE_ARGS= confexecdir="{{LOCALBASE}}/etc"
52 MAKE_ENV= ABS_BUILDDIR="{{WRKSRC}}"
53 TMPFOLDER="{{WRKDIR}}"
55 INSTALL_TARGET= install-strip
56 INSTALL_REQ_TOOLCHAIN= yes
59 LDFLAGS= -L{{LOCALBASE}}/lib/nss
60 -Wl,-rpath,{{LOCALBASE}}/lib/nss
64 -e 's/mozilla-nss/nss/' \
65 -e 's/mozilla-nspr/nspr/' \
66 -e '/^GNUTLS_FOUND/s/no/yes/' \
67 -e '/^GNUTLS_LIBS=/s,"","-L${LOCALBASE}/lib -lgnutls",' \
69 ${REINPLACE_CMD} -e 's/(CP) -ru/(CP) -r/' -e 's/(CP) -u/(CP)/' \
70 ${WRKSRC}/docs/Makefile.am ${WRKSRC}/docs/Makefile.in \
71 ${WRKSRC}/docs/api/Makefile.am ${WRKSRC}/docs/api/Makefile.in \
72 ${WRKSRC}/man/Makefile.am ${WRKSRC}/man/Makefile.in
73 # Making the xmlsec1 executable multi-threaded to let load -lnss when needed
74 ${REINPLACE_CMD} -e 's,^\(xmlsec1_LDADD = \)\\$$,\1 -L${LOCALBASE}/lib -lpthread\\,' \
75 ${WRKSRC}/apps/Makefile.in
77 [FILE:303:descriptions/desc.primary]
78 XML Security Library is the latest stable of a C library based on
79 LibXML2 and OpenSSL. The library was created with a goal to support
80 major XML security standards:
83 - Canonical XML (was included in libxml2)
84 - Exclusive Canonical XML (was included in libxml2)
88 f0d97e008b211d85808f038326d42e7f5cf46648e176f07406a323e7e8d41c80 2005656 xmlsec1-1.2.36.tar.gz
91 [FILE:1365:manifests/plist.primary]
96 include/xmlsec1/xmlsec/
125 include/xmlsec1/xmlsec/gcrypt/
129 include/xmlsec1/xmlsec/gnutls/
134 include/xmlsec1/xmlsec/nss/
142 include/xmlsec1/xmlsec/openssl/
152 libxmlsec1-gcrypt.so.%%SOMAJOR%%
153 libxmlsec1-gcrypt.so.%%SOVERSION%%
156 libxmlsec1-gnutls.so.%%SOMAJOR%%
157 libxmlsec1-gnutls.so.%%SOVERSION%%
160 libxmlsec1-nss.so.%%SOMAJOR%%
161 libxmlsec1-nss.so.%%SOVERSION%%
163 libxmlsec1-openssl.so
164 libxmlsec1-openssl.so.%%SOMAJOR%%
165 libxmlsec1-openssl.so.%%SOVERSION%%
168 libxmlsec1.so.%%SOMAJOR%%
169 libxmlsec1.so.%%SOVERSION%%
176 share/aclocal/xmlsec1.m4
182 [FILE:408:patches/patch-configure]
183 --- configure.orig 2022-10-29 02:12:49 UTC
185 @@ -15008,8 +15008,8 @@ NSS_PACKAGE=mozilla-nss
186 NSPR_INCLUDE_MARKER="nspr/nspr.h"
187 NSPR_LIB_MARKER="libnspr4$shrext"
188 NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4"
189 -NSS_INCLUDE_MARKER="nss/nss.h"
190 -NSS_LIB_MARKER="libnss3$shrext"
191 +NSS_INCLUDE_MARKER="nss/nss/nss.h"
192 +NSS_LIB_MARKER="nss/libnss3$shrext"
193 NSS_LIBS_LIST="-lnss3 -lsmime3"
198 [FILE:343:patches/patch-src_cast__helpers.h]
199 --- src/cast_helpers.h.orig 2022-10-29 02:12:11 UTC
200 +++ src/cast_helpers.h
202 #error "private.h file contains private xmlsec definitions and should not be used outside xmlsec or xmlsec-$crypto libraries"
203 #endif /* XMLSEC_PRIVATE */
208 #include "errors_helpers.h"