Ravenports generated: 19 Feb 2023 14:11
[ravenports.git] / bucket_6A / xmlsec
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               xmlsec
4 VERSION=                1.2.37
5 REVISION=               1
6 KEYWORDS=               security
7 VARIANTS=               standard
8 SDESC[standard]=        XML Security Library
9 HOMEPAGE=               https://www.aleksey.com/xmlsec/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            https://www.aleksey.com/xmlsec/download/
14 DISTFILE[1]=            xmlsec1-1.2.37.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[standard]=        complete
17                         primary
18                         docs
19
20 OPTIONS_AVAILABLE=      none
21 OPTIONS_STANDARD=       none
22
23 BUILD_DEPENDS=          libgpg-error:dev:standard
24                         gnutls:dev:standard
25                         nss:dev:standard
26 BUILDRUN_DEPENDS=       libgcrypt:single:standard
27                         libgpg-error:primary:standard
28                         libltdl:single:standard
29                         gnutls:primary:standard
30                         nspr:single:standard
31                         nss:primary:standard
32
33 USES=                   cpe gmake libtool pkgconfig ssl
34 GNOME_COMPONENTS=       libxslt
35
36 DISTNAME=               xmlsec1-1.2.37
37
38 LICENSE=                MIT:primary
39 LICENSE_FILE=           MIT:{{WRKSRC}}/Copyright
40 LICENSE_SCHEME=         solo
41
42 CPE_VENDOR=             xmlsec_project
43 FPC_EQUIVALENT=         security/xmlsec1
44
45 MUST_CONFIGURE=         gnu
46 CONFIGURE_ARGS=         --with-openssl="{{OPENSSLBASE}}"
47                         --with-gcrypt="{{LOCALBASE}}"
48                         --with-gnutls="{{LOCALBASE}}"
49                         --with-nspr="{{LOCALBASE}}"
50                         --with-nss="{{LOCALBASE}}"
51                         --enable-soap
52                         --disable-docs-build
53 CONFIGURE_ENV=          NSS_CFLAGS="-I{{LOCALBASE}}/include/nss/nss"
54
55 MAKE_ARGS=              confexecdir="{{LOCALBASE}}/etc"
56 MAKE_ENV=               ABS_BUILDDIR="{{WRKSRC}}"
57                         TMPFOLDER="{{WRKDIR}}"
58
59 INSTALL_TARGET=         install-strip
60 INSTALL_REQ_TOOLCHAIN=  yes
61 SOVERSION=              1.2.37
62
63 LDFLAGS=                -L{{LOCALBASE}}/lib/nss
64                         -Wl,-rpath,{{LOCALBASE}}/lib/nss
65
66 post-patch:
67         ${REINPLACE_CMD} \
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",' \
72                 ${WRKSRC}/configure
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
80
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:
85    - XML Signature
86    - XML Encryption
87    - Canonical XML (was included in libxml2)
88    - Exclusive Canonical XML (was included in libxml2)
89
90
91 [FILE:100:distinfo]
92 5f8dfbcb6d1e56bddd0b5ec2e00a3d0ca5342a9f57c24dffde5c796b2be2871c      2009175 xmlsec1-1.2.37.tar.gz
93
94
95 [FILE:1365:manifests/plist.primary]
96 bin/
97  xmlsec1
98  xmlsec1-config
99 etc/xmlsec1Conf.sh
100 include/xmlsec1/xmlsec/
101  app.h
102  base64.h
103  bn.h
104  buffer.h
105  crypto.h
106  dl.h
107  errors.h
108  exports.h
109  io.h
110  keyinfo.h
111  keys.h
112  keysdata.h
113  keysmngr.h
114  list.h
115  membuf.h
116  nodeset.h
117  parser.h
118  private.h
119  soap.h
120  strings.h
121  templates.h
122  transforms.h
123  version.h
124  x509.h
125  xmldsig.h
126  xmlenc.h
127  xmlsec.h
128  xmltree.h
129 include/xmlsec1/xmlsec/gcrypt/
130  app.h
131  crypto.h
132  symbols.h
133 include/xmlsec1/xmlsec/gnutls/
134  app.h
135  crypto.h
136  symbols.h
137  x509.h
138 include/xmlsec1/xmlsec/nss/
139  app.h
140  bignum.h
141  crypto.h
142  keysstore.h
143  pkikeys.h
144  symbols.h
145  x509.h
146 include/xmlsec1/xmlsec/openssl/
147  app.h
148  bn.h
149  crypto.h
150  evp.h
151  symbols.h
152  x509.h
153 lib/
154  libxmlsec1-gcrypt.a
155  libxmlsec1-gcrypt.so
156  libxmlsec1-gcrypt.so.%%SOMAJOR%%
157  libxmlsec1-gcrypt.so.%%SOVERSION%%
158  libxmlsec1-gnutls.a
159  libxmlsec1-gnutls.so
160  libxmlsec1-gnutls.so.%%SOMAJOR%%
161  libxmlsec1-gnutls.so.%%SOVERSION%%
162  libxmlsec1-nss.a
163  libxmlsec1-nss.so
164  libxmlsec1-nss.so.%%SOMAJOR%%
165  libxmlsec1-nss.so.%%SOVERSION%%
166  libxmlsec1-openssl.a
167  libxmlsec1-openssl.so
168  libxmlsec1-openssl.so.%%SOMAJOR%%
169  libxmlsec1-openssl.so.%%SOVERSION%%
170  libxmlsec1.a
171  libxmlsec1.so
172  libxmlsec1.so.%%SOMAJOR%%
173  libxmlsec1.so.%%SOVERSION%%
174 lib/pkgconfig/
175  xmlsec1-gcrypt.pc
176  xmlsec1-gnutls.pc
177  xmlsec1-nss.pc
178  xmlsec1-openssl.pc
179  xmlsec1.pc
180 share/aclocal/xmlsec1.m4
181 share/man/man1/
182  xmlsec1-config.1.gz
183  xmlsec1.1.gz
184
185
186 [FILE:408:patches/patch-configure]
187 --- configure.orig      2022-11-28 21:40:56 UTC
188 +++ configure
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"
198  
199  XMLSEC_NO_NSS="1"
200
201
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
205 @@ -16,6 +16,7 @@
206  #error "private.h file contains private xmlsec definitions and should not be used outside xmlsec or xmlsec-$crypto libraries"
207  #endif /* XMLSEC_PRIVATE */
208  
209 +#include <stdint.h>
210  #include <limits.h>
211  #include <stdint.h>
212  #include "errors_helpers.h"
213