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.3.0.tar.gz:main
15 SPKGS[standard]= complete
22 OPTIONS_AVAILABLE= none
23 OPTIONS_STANDARD= none
25 BUILD_DEPENDS= libgcrypt:dev:standard
28 BUILDRUN_DEPENDS= libgcrypt:primary:standard
29 libltdl:single:standard
30 gnutls:primary:standard
33 EXRUN[tools]= xmlsec:primary:standard
35 USES= cpe gmake libtool pkgconfig ssl:openssl30
36 GNOME_COMPONENTS= libxslt
38 DISTNAME= xmlsec1-1.3.0
41 LICENSE_FILE= MIT:{{WRKSRC}}/Copyright
44 CPE_VENDOR= xmlsec_project
45 FPC_EQUIVALENT= security/xmlsec1
48 CONFIGURE_ARGS= --with-openssl="{{OPENSSLBASE}}"
49 --with-gcrypt="{{LOCALBASE}}"
50 --with-gnutls="{{LOCALBASE}}"
51 --with-nspr="{{LOCALBASE}}"
52 --with-nss="{{LOCALBASE}}"
55 CONFIGURE_ENV= NSS_CFLAGS="-I{{LOCALBASE}}/include/nss/nss"
57 MAKE_ARGS= confexecdir="{{LOCALBASE}}/etc"
58 MAKE_ENV= ABS_BUILDDIR="{{WRKSRC}}"
59 TMPFOLDER="{{WRKDIR}}"
61 INSTALL_TARGET= install-strip
62 INSTALL_REQ_TOOLCHAIN= yes
65 LDFLAGS= -L{{LOCALBASE}}/lib/nss
66 -Wl,-rpath,{{LOCALBASE}}/lib/nss
70 -e 's/mozilla-nss/nss/' \
71 -e 's/mozilla-nspr/nspr/' \
72 -e '/^GNUTLS_FOUND/s/no/yes/' \
73 -e '/^GNUTLS_LIBS=/s,"","-L${LOCALBASE}/lib -lgnutls",' \
75 ${REINPLACE_CMD} -e 's/(CP) -ru/(CP) -r/' -e 's/(CP) -u/(CP)/' \
76 ${WRKSRC}/docs/Makefile.am ${WRKSRC}/docs/Makefile.in \
77 ${WRKSRC}/docs/api/Makefile.am ${WRKSRC}/docs/api/Makefile.in \
78 ${WRKSRC}/man/Makefile.am ${WRKSRC}/man/Makefile.in
79 # Making the xmlsec1 executable multi-threaded to let load -lnss when needed
80 ${REINPLACE_CMD} -e 's,^\(xmlsec1_LDADD = \)\\$$,\1 -L${LOCALBASE}/lib -lpthread\\,' \
81 ${WRKSRC}/apps/Makefile.in
83 [FILE:303:descriptions/desc.primary]
84 XML Security Library is the latest stable of a C library based on
85 LibXML2 and OpenSSL. The library was created with a goal to support
86 major XML security standards:
89 - Canonical XML (was included in libxml2)
90 - Exclusive Canonical XML (was included in libxml2)
93 [FILE:706:descriptions/desc.tools]
95 Your branch is ahead of 'origin/master' by 3 commits.
96 (use "git push" to publish your local commits)
98 Changes not staged for commit:
99 (use "git add <file>..." to update what will be committed)
100 (use "git restore <file>..." to discard changes in working directory)
101 modified: ../distinfo
102 modified: ../manifests/plist.primary
103 modified: ../patches/patch-configure
104 modified: ../patches/patch-src_cast__helpers.h
105 modified: ../specification
108 (use "git add <file>..." to include in what will be committed)
110 ../manifests/plist.dev
111 ../manifests/plist.man
112 ../manifests/plist.tools
114 no changes added to commit (use "git add" and/or "git commit -a")
118 df3ad2548288411fc3d44c20879e4c4e90684a1a4fb76a06ae444f957171c9a6 2425729 xmlsec1-1.3.0.tar.gz
121 [FILE:337:manifests/plist.primary]
123 libxmlsec1-gcrypt.so.%%SOMAJOR%%
124 libxmlsec1-gcrypt.so.%%SOVERSION%%
125 libxmlsec1-gnutls.so.%%SOMAJOR%%
126 libxmlsec1-gnutls.so.%%SOVERSION%%
127 libxmlsec1-nss.so.%%SOMAJOR%%
128 libxmlsec1-nss.so.%%SOVERSION%%
129 libxmlsec1-openssl.so.%%SOMAJOR%%
130 libxmlsec1-openssl.so.%%SOVERSION%%
131 libxmlsec1.so.%%SOMAJOR%%
132 libxmlsec1.so.%%SOVERSION%%
135 [FILE:31:manifests/plist.tools]
140 [FILE:954:manifests/plist.dev]
142 include/xmlsec1/xmlsec/
170 include/xmlsec1/xmlsec/gcrypt/
174 include/xmlsec1/xmlsec/gnutls/
180 include/xmlsec1/xmlsec/nss/
187 include/xmlsec1/xmlsec/openssl/
202 libxmlsec1-openssl.so
211 share/aclocal/xmlsec1.m4
214 [FILE:51:manifests/plist.man]
220 [FILE:823:patches/patch-configure]
221 --- configure.orig 2023-04-12 16:45:13 UTC
223 @@ -15530,7 +15530,7 @@ case $host in
224 *-*-osf5*) OPENSSL_EXTRA_LIBS=;;
225 *-*-openbsd*) OPENSSL_EXTRA_LIBS=;;
226 *-*-netbsd*) OPENSSL_EXTRA_LIBS=;;
227 - *-*-freebsd*|*-*-dragonfly*) OPENSSL_EXTRA_LIBS=;;
228 + *-*-freebsd*|*-*-dragonfly*|*-*-midnight*) OPENSSL_EXTRA_LIBS=;;
229 *-*-darwin*) OPENSSL_EXTRA_LIBS=;;
230 #FIXME: check if lib "dl" is required
231 *) OPENSSL_EXTRA_LIBS=-ldl;;
232 @@ -15947,8 +15947,8 @@ NSS_PACKAGE=mozilla-nss
233 NSPR_INCLUDE_MARKER="nspr/nspr.h"
234 NSPR_LIB_MARKER="libnspr4$shrext"
235 NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4"
236 -NSS_INCLUDE_MARKER="nss/nss.h"
237 -NSS_LIB_MARKER="libnss3$shrext"
238 +NSS_INCLUDE_MARKER="nss/nss/nss.h"
239 +NSS_LIB_MARKER="nss/libnss3$shrext"
240 NSS_LIBS_LIST="-lnss3 -lsmime3"
245 [FILE:348:patches/patch-src_cast__helpers.h]
246 --- src/cast_helpers.h.orig 2023-04-12 16:45:12 UTC
247 +++ src/cast_helpers.h
249 #error "cast_helpers.h file contains private xmlsec definitions and should not be used outside xmlsec or xmlsec-$crypto libraries"
250 #endif /* XMLSEC_PRIVATE */
255 #include "errors_helpers.h"