1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= XML Security Library
9 HOMEPAGE= https://www.aleksey.com/xmlsec/
13 SITES[main]= https://www.aleksey.com/xmlsec/download/
14 DISTFILE[1]= xmlsec1-1.2.37.tar.gz:main
16 SPKGS[standard]= complete
20 OPTIONS_AVAILABLE= none
21 OPTIONS_STANDARD= none
23 BUILD_DEPENDS= libgpg-error:dev:standard
26 BUILDRUN_DEPENDS= libgcrypt:single:standard
27 libgpg-error:primary:standard
28 libltdl:single:standard
29 gnutls:primary:standard
33 USES= cpe gmake libtool pkgconfig ssl
34 GNOME_COMPONENTS= libxslt
36 DISTNAME= xmlsec1-1.2.37
39 LICENSE_FILE= MIT:{{WRKSRC}}/Copyright
42 CPE_VENDOR= xmlsec_project
43 FPC_EQUIVALENT= security/xmlsec1
46 CONFIGURE_ARGS= --with-openssl="{{OPENSSLBASE}}"
47 --with-gcrypt="{{LOCALBASE}}"
48 --with-gnutls="{{LOCALBASE}}"
49 --with-nspr="{{LOCALBASE}}"
50 --with-nss="{{LOCALBASE}}"
53 CONFIGURE_ENV= NSS_CFLAGS="-I{{LOCALBASE}}/include/nss/nss"
55 MAKE_ARGS= confexecdir="{{LOCALBASE}}/etc"
56 MAKE_ENV= ABS_BUILDDIR="{{WRKSRC}}"
57 TMPFOLDER="{{WRKDIR}}"
59 INSTALL_TARGET= install-strip
60 INSTALL_REQ_TOOLCHAIN= yes
63 LDFLAGS= -L{{LOCALBASE}}/lib/nss
64 -Wl,-rpath,{{LOCALBASE}}/lib/nss
68 -e 's/mozilla-nss/nss/' \
69 -e 's/mozilla-nspr/nspr/' \
70 -e '/^GNUTLS_FOUND/s/no/yes/' \
71 -e '/^GNUTLS_LIBS=/s,"","-L${LOCALBASE}/lib -lgnutls",' \
73 ${REINPLACE_CMD} -e 's/(CP) -ru/(CP) -r/' -e 's/(CP) -u/(CP)/' \
74 ${WRKSRC}/docs/Makefile.am ${WRKSRC}/docs/Makefile.in \
75 ${WRKSRC}/docs/api/Makefile.am ${WRKSRC}/docs/api/Makefile.in \
76 ${WRKSRC}/man/Makefile.am ${WRKSRC}/man/Makefile.in
77 # Making the xmlsec1 executable multi-threaded to let load -lnss when needed
78 ${REINPLACE_CMD} -e 's,^\(xmlsec1_LDADD = \)\\$$,\1 -L${LOCALBASE}/lib -lpthread\\,' \
79 ${WRKSRC}/apps/Makefile.in
81 [FILE:303:descriptions/desc.primary]
82 XML Security Library is the latest stable of a C library based on
83 LibXML2 and OpenSSL. The library was created with a goal to support
84 major XML security standards:
87 - Canonical XML (was included in libxml2)
88 - Exclusive Canonical XML (was included in libxml2)
92 5f8dfbcb6d1e56bddd0b5ec2e00a3d0ca5342a9f57c24dffde5c796b2be2871c 2009175 xmlsec1-1.2.37.tar.gz
95 [FILE:1365:manifests/plist.primary]
100 include/xmlsec1/xmlsec/
129 include/xmlsec1/xmlsec/gcrypt/
133 include/xmlsec1/xmlsec/gnutls/
138 include/xmlsec1/xmlsec/nss/
146 include/xmlsec1/xmlsec/openssl/
156 libxmlsec1-gcrypt.so.%%SOMAJOR%%
157 libxmlsec1-gcrypt.so.%%SOVERSION%%
160 libxmlsec1-gnutls.so.%%SOMAJOR%%
161 libxmlsec1-gnutls.so.%%SOVERSION%%
164 libxmlsec1-nss.so.%%SOMAJOR%%
165 libxmlsec1-nss.so.%%SOVERSION%%
167 libxmlsec1-openssl.so
168 libxmlsec1-openssl.so.%%SOMAJOR%%
169 libxmlsec1-openssl.so.%%SOVERSION%%
172 libxmlsec1.so.%%SOMAJOR%%
173 libxmlsec1.so.%%SOVERSION%%
180 share/aclocal/xmlsec1.m4
186 [FILE:408:patches/patch-configure]
187 --- configure.orig 2022-11-28 21:40:56 UTC
189 @@ -15008,8 +15008,8 @@ NSS_PACKAGE=mozilla-nss
190 NSPR_INCLUDE_MARKER="nspr/nspr.h"
191 NSPR_LIB_MARKER="libnspr4$shrext"
192 NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4"
193 -NSS_INCLUDE_MARKER="nss/nss.h"
194 -NSS_LIB_MARKER="libnss3$shrext"
195 +NSS_INCLUDE_MARKER="nss/nss/nss.h"
196 +NSS_LIB_MARKER="nss/libnss3$shrext"
197 NSS_LIBS_LIST="-lnss3 -lsmime3"
202 [FILE:343:patches/patch-src_cast__helpers.h]
203 --- src/cast_helpers.h.orig 2022-11-28 21:40:23 UTC
204 +++ src/cast_helpers.h
206 #error "private.h file contains private xmlsec definitions and should not be used outside xmlsec or xmlsec-$crypto libraries"
207 #endif /* XMLSEC_PRIVATE */
212 #include "errors_helpers.h"