Ravenports generated: 19 May 2023 23:12
[ravenports.git] / bucket_6A / xmlsec
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               xmlsec
4 VERSION=                1.3.0
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.3.0.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         tools
18                         dev
19                         man
20                         docs
21
22 OPTIONS_AVAILABLE=      none
23 OPTIONS_STANDARD=       none
24
25 BUILD_DEPENDS=          libgcrypt:dev:standard
26                         gnutls:dev:standard
27                         nss:dev:standard
28 BUILDRUN_DEPENDS=       libgcrypt:primary:standard
29                         libltdl:single:standard
30                         gnutls:primary:standard
31                         nspr:single:standard
32                         nss:primary:standard
33 EXRUN[tools]=           xmlsec:primary:standard
34
35 USES=                   cpe gmake libtool pkgconfig ssl:openssl30
36 GNOME_COMPONENTS=       libxslt
37
38 DISTNAME=               xmlsec1-1.3.0
39
40 LICENSE=                MIT:primary
41 LICENSE_FILE=           MIT:{{WRKSRC}}/Copyright
42 LICENSE_SCHEME=         solo
43
44 CPE_VENDOR=             xmlsec_project
45 FPC_EQUIVALENT=         security/xmlsec1
46
47 MUST_CONFIGURE=         gnu
48 CONFIGURE_ARGS=         --with-openssl="{{OPENSSLBASE}}"
49                         --with-gcrypt="{{LOCALBASE}}"
50                         --with-gnutls="{{LOCALBASE}}"
51                         --with-nspr="{{LOCALBASE}}"
52                         --with-nss="{{LOCALBASE}}"
53                         --enable-soap
54                         --disable-docs-build
55 CONFIGURE_ENV=          NSS_CFLAGS="-I{{LOCALBASE}}/include/nss/nss"
56
57 MAKE_ARGS=              confexecdir="{{LOCALBASE}}/etc"
58 MAKE_ENV=               ABS_BUILDDIR="{{WRKSRC}}"
59                         TMPFOLDER="{{WRKDIR}}"
60
61 INSTALL_TARGET=         install-strip
62 INSTALL_REQ_TOOLCHAIN=  yes
63 SOVERSION=              1.3.0
64
65 LDFLAGS=                -L{{LOCALBASE}}/lib/nss
66                         -Wl,-rpath,{{LOCALBASE}}/lib/nss
67
68 pre-configure:
69         ${REINPLACE_CMD} \
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",' \
74                 ${WRKSRC}/configure
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
82
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:
87    - XML Signature
88    - XML Encryption
89    - Canonical XML (was included in libxml2)
90    - Exclusive Canonical XML (was included in libxml2)
91
92
93 [FILE:706:descriptions/desc.tools]
94 On branch master
95 Your branch is ahead of 'origin/master' by 3 commits.
96   (use "git push" to publish your local commits)
97
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
106
107 Untracked files:
108   (use "git add <file>..." to include in what will be committed)
109         desc.tools
110         ../manifests/plist.dev
111         ../manifests/plist.man
112         ../manifests/plist.tools
113
114 no changes added to commit (use "git add" and/or "git commit -a")
115
116
117 [FILE:99:distinfo]
118 df3ad2548288411fc3d44c20879e4c4e90684a1a4fb76a06ae444f957171c9a6      2425729 xmlsec1-1.3.0.tar.gz
119
120
121 [FILE:337:manifests/plist.primary]
122 lib/
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%%
133
134
135 [FILE:31:manifests/plist.tools]
136 bin/xmlsec1
137 etc/xmlsec1Conf.sh
138
139
140 [FILE:954:manifests/plist.dev]
141 bin/xmlsec1-config
142 include/xmlsec1/xmlsec/
143  app.h
144  base64.h
145  bn.h
146  buffer.h
147  crypto.h
148  dl.h
149  errors.h
150  exports.h
151  io.h
152  keyinfo.h
153  keys.h
154  keysdata.h
155  keysmngr.h
156  list.h
157  membuf.h
158  nodeset.h
159  parser.h
160  private.h
161  strings.h
162  templates.h
163  transforms.h
164  version.h
165  x509.h
166  xmldsig.h
167  xmlenc.h
168  xmlsec.h
169  xmltree.h
170 include/xmlsec1/xmlsec/gcrypt/
171  app.h
172  crypto.h
173  symbols.h
174 include/xmlsec1/xmlsec/gnutls/
175  app.h
176  crypto.h
177  keysstore.h
178  symbols.h
179  x509.h
180 include/xmlsec1/xmlsec/nss/
181  app.h
182  crypto.h
183  keysstore.h
184  pkikeys.h
185  symbols.h
186  x509.h
187 include/xmlsec1/xmlsec/openssl/
188  app.h
189  crypto.h
190  evp.h
191  keysstore.h
192  symbols.h
193  x509.h
194 lib/
195  libxmlsec1-gcrypt.a
196  libxmlsec1-gcrypt.so
197  libxmlsec1-gnutls.a
198  libxmlsec1-gnutls.so
199  libxmlsec1-nss.a
200  libxmlsec1-nss.so
201  libxmlsec1-openssl.a
202  libxmlsec1-openssl.so
203  libxmlsec1.a
204  libxmlsec1.so
205 lib/pkgconfig/
206  xmlsec1-gcrypt.pc
207  xmlsec1-gnutls.pc
208  xmlsec1-nss.pc
209  xmlsec1-openssl.pc
210  xmlsec1.pc
211 share/aclocal/xmlsec1.m4
212
213
214 [FILE:51:manifests/plist.man]
215 share/man/man1/
216  xmlsec1-config.1.gz
217  xmlsec1.1.gz
218
219
220 [FILE:823:patches/patch-configure]
221 --- configure.orig      2023-04-12 16:45:13 UTC
222 +++ configure
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"
241  
242  XMLSEC_NO_NSS="1"
243
244
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
248 @@ -16,6 +16,7 @@
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 */
251  
252 +#include <stdint.h>
253  #include <limits.h>
254  #include <stdint.h>
255  #include "errors_helpers.h"
256