1 |
commit: 67d5efe5f3650878f52fc1ab593ec9f170bec774 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 31 01:54:50 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 31 02:00:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67d5efe5 |
7 |
|
8 |
dev-libs/xmlsec: bump to 1.2.31 |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-libs/xmlsec/Manifest | 1 + |
14 |
dev-libs/xmlsec/xmlsec-1.2.31.ebuild | 60 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 61 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/xmlsec/Manifest b/dev-libs/xmlsec/Manifest |
18 |
index 939cd9fd1f5..7f5e8c5f173 100644 |
19 |
--- a/dev-libs/xmlsec/Manifest |
20 |
+++ b/dev-libs/xmlsec/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST xmlsec1-1.2.30.tar.gz 1989670 BLAKE2B b363d1661ba5fdf968725948598954c7d514ad92c4ad05b490aa3ac9ffb6be861ee81d660be30d37e26ae1cb327cdecd1c76d60055ec5aa900e390a4083099b3 SHA512 07152470a9fe5d077f8a358608ca1d8a79ee0d2777660f61ed5717dc640714a3adfe66843e6a4023898eb0f5ed79771d70c41132571f3a1aeda82c1894b69c98 |
23 |
+DIST xmlsec1-1.2.31.tar.gz 1989144 BLAKE2B ddc55e34867d5870fa434c739825ceaa68500a11fb2eabb482945901ad7fa0ba0d5fce7cd6c5f1b49c24d5bc07cee2875ff21833f09c0ec2ffeaf63875f5b001 SHA512 7a0e3d6f66746a22cf6468eb4d0691879c7468e4bef71fd8720e6a56b420f076a1d8a3094c35e721471dd029a643f5c4a553ef5788be5509f2786a419da1b7af |
24 |
|
25 |
diff --git a/dev-libs/xmlsec/xmlsec-1.2.31.ebuild b/dev-libs/xmlsec/xmlsec-1.2.31.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..2da2a8e15d6 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/xmlsec/xmlsec-1.2.31.ebuild |
30 |
@@ -0,0 +1,60 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+DESCRIPTION="Command line tool for signing, verifying, encrypting and decrypting XML" |
37 |
+HOMEPAGE="https://www.aleksey.com/xmlsec" |
38 |
+SRC_URI="https://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz" |
39 |
+S="${WORKDIR}/${PN}1-${PV}" |
40 |
+ |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" |
44 |
+IUSE="doc gcrypt gnutls libressl nss +openssl static-libs test" |
45 |
+RESTRICT="!test? ( test )" |
46 |
+REQUIRED_USE="|| ( gcrypt gnutls nss openssl ) |
47 |
+ gnutls? ( gcrypt )" |
48 |
+ |
49 |
+RDEPEND=">=dev-libs/libxml2-2.7.4:= |
50 |
+ >=dev-libs/libxslt-1.0.20:= |
51 |
+ gcrypt? ( >=dev-libs/libgcrypt-1.4.0:0= ) |
52 |
+ gnutls? ( >=net-libs/gnutls-2.8.0:= ) |
53 |
+ nss? ( |
54 |
+ >=dev-libs/nspr-4.4.1:= |
55 |
+ >=dev-libs/nss-3.9:= |
56 |
+ ) |
57 |
+ openssl? ( |
58 |
+ !libressl? ( dev-libs/openssl:0= ) |
59 |
+ libressl? ( dev-libs/libressl:0= ) |
60 |
+ )" |
61 |
+DEPEND="${RDEPEND}" |
62 |
+BDEPEND="virtual/pkgconfig |
63 |
+ test? ( |
64 |
+ nss? ( |
65 |
+ >=dev-libs/nss-3.9[utils] |
66 |
+ ) |
67 |
+ )" |
68 |
+ |
69 |
+src_configure() { |
70 |
+ # Bash because of bug #721128 |
71 |
+ CONFIG_SHELL=${BASH} econf \ |
72 |
+ $(use_enable doc docs) \ |
73 |
+ $(use_enable static-libs static) \ |
74 |
+ $(use_with gcrypt) \ |
75 |
+ $(use_with gnutls) \ |
76 |
+ $(use_with nss nspr) \ |
77 |
+ $(use_with nss) \ |
78 |
+ $(use_with openssl) \ |
79 |
+ --enable-mans \ |
80 |
+ --enable-pkgconfig |
81 |
+} |
82 |
+ |
83 |
+src_test() { |
84 |
+ SHELL=${BASH} emake TMPFOLDER="${T}" check |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ default |
89 |
+ find "${D}" -name '*.la' -delete || die |
90 |
+} |