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