Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xmlsec/
Date: Fri, 16 Nov 2018 10:11:46
Message-Id: 1542363080.a9ff70d29822d62bec828d1b49a440edc8514de8.alonbl@gentoo
1 commit: a9ff70d29822d62bec828d1b49a440edc8514de8
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 16 10:11:01 2018 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 16 10:11:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9ff70d2
7
8 dev-libs/xmlsec: version bump
9
10 Closes: https://bugs.gentoo.org/show_bug.cgi?id=671228
11 Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
12 Package-Manager: Portage-2.3.51, Repoman-2.3.11
13
14 dev-libs/xmlsec/Manifest | 1 +
15 dev-libs/xmlsec/xmlsec-1.2.27.ebuild | 65 ++++++++++++++++++++++++++++++++++++
16 2 files changed, 66 insertions(+)
17
18 diff --git a/dev-libs/xmlsec/Manifest b/dev-libs/xmlsec/Manifest
19 index 3c8103ad8a7..7b78da91ee1 100644
20 --- a/dev-libs/xmlsec/Manifest
21 +++ b/dev-libs/xmlsec/Manifest
22 @@ -1 +1,2 @@
23 DIST xmlsec1-1.2.26.tar.gz 1922183 BLAKE2B 8cb8557a7d24df756655a7dfa45091445adc89cb67169a7620d9d1116f3fb3d982ea45199a53475e29300478c07e8e1168cec79cf9c3b5ff1dd6c840123b982b SHA512 1e3dc3c8c192eefee7b055787bef52ce3bcfafa786224f68af065aa45f4d7da93232da973359b3135615c5981ad4df7c124047d3934e552ab78439472685a7a4
24 +DIST xmlsec1-1.2.27.tar.gz 2013651 BLAKE2B fa46a25e3aaef432134d1c98a0e7bf0aba83f2ef6d1aff3774d6d37c5f6f392d1c2c11a0fe433ee910c39b56400c96b74ab061577948622b14a1116fa1ec2947 SHA512 01f7231d7d7ac8037aecc1f922acc572cbfe0903abf5bd5879d836438c36684e23402b803d20806fff6b1cdc5ad9af114d1341b10b336f71c0bce28b4716f920
25
26 diff --git a/dev-libs/xmlsec/xmlsec-1.2.27.ebuild b/dev-libs/xmlsec/xmlsec-1.2.27.ebuild
27 new file mode 100644
28 index 00000000000..be5606ab62e
29 --- /dev/null
30 +++ b/dev-libs/xmlsec/xmlsec-1.2.27.ebuild
31 @@ -0,0 +1,65 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit autotools
38 +
39 +DESCRIPTION="Command line tool for signing, verifying, encrypting and decrypting XML"
40 +HOMEPAGE="https://www.aleksey.com/xmlsec"
41 +SRC_URI="https://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
46 +IUSE="doc gcrypt gnutls libressl nss +openssl static-libs"
47 +REQUIRED_USE="|| ( gcrypt gnutls nss openssl )
48 + gnutls? ( gcrypt )"
49 +
50 +RDEPEND=">=dev-libs/libxml2-2.7.4
51 + >=dev-libs/libxslt-1.0.20
52 + gcrypt? ( >=dev-libs/libgcrypt-1.4.0:0 )
53 + gnutls? ( >=net-libs/gnutls-2.8.0 )
54 + nss? (
55 + >=dev-libs/nspr-4.4.1
56 + >=dev-libs/nss-3.9
57 + )
58 + openssl? (
59 + !libressl? ( dev-libs/openssl:0= )
60 + libressl? ( dev-libs/libressl:0= )
61 + )"
62 +DEPEND="${RDEPEND}"
63 +BDEPEND="virtual/pkgconfig"
64 +
65 +S="${WORKDIR}/${PN}1-${PV}"
66 +
67 +src_prepare() {
68 + default
69 + # conditionally install extra documentation
70 + if ! use doc ; then
71 + sed -i '/^SUBDIRS/s/docs//' Makefile.am || die
72 + eautoreconf
73 + fi
74 +}
75 +
76 +src_configure() {
77 + econf \
78 + --enable-pkgconfig \
79 + --with-html-dir=/usr/share/doc/${PF}/html \
80 + $(use_enable static-libs static) \
81 + $(use_with gcrypt gcrypt "") \
82 + $(use_with gnutls gnutls "") \
83 + $(use_with nss nspr "") \
84 + $(use_with nss nss "") \
85 + $(use_with openssl openssl "") \
86 + $(use_enable openssl aes)
87 +}
88 +
89 +src_test() {
90 + emake TMPFOLDER="${T}" check
91 +}
92 +
93 +src_install() {
94 + default
95 + find "${D}" -name '*.la' -delete || die
96 +}