diff options
author | Sam James (sam_c) <sam@cmpct.info> | 2020-05-05 18:37:40 +0000 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-06-17 02:48:12 +0200 |
commit | 93d1f0e41b6cc4ee3e00931f8f4243c23153b84a (patch) | |
tree | b41f566764b73d2f098d80f47af7e4bf21ffdbda /dev-libs/xmlsec | |
parent | app-arch/stenc: Version bump to 1.0.8 (diff) | |
download | gentoo-93d1f0e41b6cc4ee3e00931f8f4243c23153b84a.tar.gz gentoo-93d1f0e41b6cc4ee3e00931f8f4243c23153b84a.tar.bz2 gentoo-93d1f0e41b6cc4ee3e00931f8f4243c23153b84a.zip |
dev-libs/xmlsec: Bump to 1.2.30
Closes: https://bugs.gentoo.org/721128
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c) <sam@cmpct.info>
Closes: https://github.com/gentoo/gentoo/pull/15658
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-libs/xmlsec')
-rw-r--r-- | dev-libs/xmlsec/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/xmlsec/xmlsec-1.2.30.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/xmlsec/Manifest b/dev-libs/xmlsec/Manifest index 471398af14da..25ec6655e80b 100644 --- a/dev-libs/xmlsec/Manifest +++ b/dev-libs/xmlsec/Manifest @@ -1 +1,2 @@ DIST xmlsec1-1.2.29.tar.gz 1989360 BLAKE2B a0057ddf2d641745933f8d788c5358b4bb17892ed175ef11a9041a34ff1f91d0ffe6cb90316308805b5bc2157b9c2e211b37731ff8cfc7723a85f349543aa7a6 SHA512 07c3012179da4392f0a9d41a51ed51d692ca8b491310488b955d5fef0637f104d3f82374754b0ef175fadc663a8ca8c996178198c5dd77b3a8b34393d1482e4d +DIST xmlsec1-1.2.30.tar.gz 1989670 BLAKE2B b363d1661ba5fdf968725948598954c7d514ad92c4ad05b490aa3ac9ffb6be861ee81d660be30d37e26ae1cb327cdecd1c76d60055ec5aa900e390a4083099b3 SHA512 07152470a9fe5d077f8a358608ca1d8a79ee0d2777660f61ed5717dc640714a3adfe66843e6a4023898eb0f5ed79771d70c41132571f3a1aeda82c1894b69c98 diff --git a/dev-libs/xmlsec/xmlsec-1.2.30.ebuild b/dev-libs/xmlsec/xmlsec-1.2.30.ebuild new file mode 100644 index 000000000000..34308fcbca49 --- /dev/null +++ b/dev-libs/xmlsec/xmlsec-1.2.30.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Command line tool for signing, verifying, encrypting and decrypting XML" +HOMEPAGE="https://www.aleksey.com/xmlsec" +SRC_URI="https://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc gcrypt gnutls libressl nss +openssl static-libs test" +RESTRICT="!test? ( test )" +REQUIRED_USE="|| ( gcrypt gnutls nss openssl ) + gnutls? ( gcrypt )" + +RDEPEND=">=dev-libs/libxml2-2.7.4:= + >=dev-libs/libxslt-1.0.20:= + gcrypt? ( >=dev-libs/libgcrypt-1.4.0:0= ) + gnutls? ( >=net-libs/gnutls-2.8.0:= ) + nss? ( + >=dev-libs/nspr-4.4.1:= + >=dev-libs/nss-3.9:= + ) + openssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + test? ( + nss? ( + >=dev-libs/nss-3.9[utils] + ) + )" + +S="${WORKDIR}/${PN}1-${PV}" + +src_configure() { + # Bash because of bug #721128 + CONFIG_SHELL=${BASH} econf \ + $(use_enable doc docs) \ + $(use_enable static-libs static) \ + $(use_with gcrypt) \ + $(use_with gnutls) \ + $(use_with nss nspr) \ + $(use_with nss) \ + $(use_with openssl) \ + --enable-mans \ + --enable-pkgconfig +} + +src_test() { + SHELL=${BASH} emake TMPFOLDER="${T}" check +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |