1 |
commit: 55efad60b52d28e704d8c5c0a32b99be2178a174 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 30 06:56:51 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 30 06:59:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55efad60 |
7 |
|
8 |
dev-libs/xmlsec: add 1.2.37 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-libs/xmlsec/Manifest | 1 + |
13 |
dev-libs/xmlsec/xmlsec-1.2.37.ebuild | 62 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/xmlsec/Manifest b/dev-libs/xmlsec/Manifest |
17 |
index f063d25655da..9f4938c24b29 100644 |
18 |
--- a/dev-libs/xmlsec/Manifest |
19 |
+++ b/dev-libs/xmlsec/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST xmlsec1-1.2.33.tar.gz 1991955 BLAKE2B d6bb68ad4ceb936d51165a4ef48824a8cb5d550670ca6015eb9916121555a1a32b3f47774eab1efc2bc5031346f22a0b21115a220dbeb44bba773412f2292bc5 SHA512 6354554b5cdc0a1389f6991efeac919bea912330b36d3be3d3496d61331e9edd2771786d50d2571a439f62ccfc3bd32be0a50bb5a037c4993aac076ad94b46e8 |
22 |
DIST xmlsec1-1.2.34.tar.gz 1991505 BLAKE2B e86756a07bafb9c64c38934c0b8445b8d775a339b79c6a04e2c944e481174b6b6fc72abacbd48eeb82ad66e2edf868d4ca2180b834a0b585cd8bf98384c02987 SHA512 4e3c17ab71c5ce3c76a80f2077393a5808a537d7eba861bae104c186be57f4be53499b52571913187e0a302962376bc033d7fe8ea769c6a181bf72d3f9eea1f2 |
23 |
DIST xmlsec1-1.2.36.tar.gz 2005656 BLAKE2B 617f7532f3e0401357261d1294f7f497e81f79538b223616433b007a5d3132e9e4ec7a40f36e909759f996754b95c060386ec9740165fb1b045809142e9fae35 SHA512 7545935d33236bc8ec79b9173c8c0967df5c96bb9e2d5c8edacfb5ffb366ff8d087eada0cebb1de81a477f93d40544bf0a12abcdbc60874ecaecb9c8dd33dfe3 |
24 |
+DIST xmlsec1-1.2.37.tar.gz 2009175 BLAKE2B 19f43ba6bf6eb49428b9c5563baecbab21476f326cceee13785ae16769afa258f100732831c0f3f7d160543bd075cdcfdc5cbf11b7406637ee6c2f0e27c07f30 SHA512 99220cb28a346ffac0023f9f177d6a7be3ddcea04bea434b7dc926c1f0aaa5564d75f74f92896ac100179c04d77e001f688ddf46fed4e0a0b4f20b7b87c24900 |
25 |
|
26 |
diff --git a/dev-libs/xmlsec/xmlsec-1.2.37.ebuild b/dev-libs/xmlsec/xmlsec-1.2.37.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..5fcaf6d0585d |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/xmlsec/xmlsec-1.2.37.ebuild |
31 |
@@ -0,0 +1,62 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DESCRIPTION="Command line tool for signing, verifying, encrypting and decrypting XML" |
38 |
+HOMEPAGE="https://www.aleksey.com/xmlsec" |
39 |
+SRC_URI="https://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz" |
40 |
+S="${WORKDIR}/${PN}1-${PV}" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" |
45 |
+IUSE="doc gcrypt gnutls nss +openssl static-libs test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+REQUIRED_USE="|| ( gcrypt gnutls nss openssl ) |
48 |
+ gnutls? ( gcrypt )" |
49 |
+ |
50 |
+RDEPEND=">=dev-libs/libxml2-2.7.4[ftp(+)] |
51 |
+ >=dev-libs/libxslt-1.0.20 |
52 |
+ dev-libs/libltdl |
53 |
+ gcrypt? ( >=dev-libs/libgcrypt-1.4.0:= ) |
54 |
+ gnutls? ( >=net-libs/gnutls-2.8.0:= ) |
55 |
+ nss? ( |
56 |
+ >=dev-libs/nspr-4.4.1 |
57 |
+ >=dev-libs/nss-3.9 |
58 |
+ ) |
59 |
+ openssl? ( |
60 |
+ dev-libs/openssl:= |
61 |
+ )" |
62 |
+DEPEND="${RDEPEND}" |
63 |
+BDEPEND="virtual/pkgconfig |
64 |
+ test? ( |
65 |
+ nss? ( |
66 |
+ >=dev-libs/nss-3.9[utils] |
67 |
+ ) |
68 |
+ )" |
69 |
+ |
70 |
+src_configure() { |
71 |
+ # Bash because of bug #721128 |
72 |
+ CONFIG_SHELL="${BROOT}"/bin/bash econf \ |
73 |
+ $(use_enable doc docs) \ |
74 |
+ $(use_enable static-libs static) \ |
75 |
+ $(use_with gcrypt) \ |
76 |
+ $(use_with gnutls) \ |
77 |
+ $(use_with nss nspr) \ |
78 |
+ $(use_with nss) \ |
79 |
+ $(use_with openssl) \ |
80 |
+ --enable-mans \ |
81 |
+ --enable-pkgconfig |
82 |
+} |
83 |
+ |
84 |
+src_test() { |
85 |
+ # See https://github.com/lsh123/xmlsec/issues/280 for TZ=UTC |
86 |
+ TZ=UTC SHELL="${BROOT}"/bin/bash emake TMPFOLDER="${T}" check |
87 |
+} |
88 |
+ |
89 |
+src_install() { |
90 |
+ default |
91 |
+ |
92 |
+ find "${ED}" -name '*.la' -delete || die |
93 |
+} |