diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
commit | 536c3711867ec947c1738f2c4b96f22e4863322d (patch) | |
tree | 697733f5cb713908dcf378e13fd15a798a906a91 /dev-libs/xmlsec | |
parent | f65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff) |
gentoo resync : 18.11.2018
Diffstat (limited to 'dev-libs/xmlsec')
-rw-r--r-- | dev-libs/xmlsec/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/xmlsec/xmlsec-1.2.27.ebuild | 65 |
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-libs/xmlsec/Manifest b/dev-libs/xmlsec/Manifest index 1657ae61ec75..4ed52b1a308a 100644 --- a/dev-libs/xmlsec/Manifest +++ b/dev-libs/xmlsec/Manifest @@ -1,3 +1,5 @@ DIST xmlsec1-1.2.26.tar.gz 1922183 BLAKE2B 8cb8557a7d24df756655a7dfa45091445adc89cb67169a7620d9d1116f3fb3d982ea45199a53475e29300478c07e8e1168cec79cf9c3b5ff1dd6c840123b982b SHA512 1e3dc3c8c192eefee7b055787bef52ce3bcfafa786224f68af065aa45f4d7da93232da973359b3135615c5981ad4df7c124047d3934e552ab78439472685a7a4 +DIST xmlsec1-1.2.27.tar.gz 2013651 BLAKE2B fa46a25e3aaef432134d1c98a0e7bf0aba83f2ef6d1aff3774d6d37c5f6f392d1c2c11a0fe433ee910c39b56400c96b74ab061577948622b14a1116fa1ec2947 SHA512 01f7231d7d7ac8037aecc1f922acc572cbfe0903abf5bd5879d836438c36684e23402b803d20806fff6b1cdc5ad9af114d1341b10b336f71c0bce28b4716f920 EBUILD xmlsec-1.2.26.ebuild 1495 BLAKE2B 3a0ee80efcbcf28639f91e4d6547e647207c69ebc810891297f7d5c550641d8d621529f34bb134b10c71f151fcfe42c9cd77f5d7b2fd4881ad8e3fff83e04358 SHA512 355447f3eca80fc2a3c393c50b121a3393cd613bd47b25bd6fe874d13efad1489bd620441b5ea5777c4e14cfc076f0f07687c62a0b675e0eb4a13d71952ecd28 +EBUILD xmlsec-1.2.27.ebuild 1495 BLAKE2B 6e0eae9e61f83109385db8f2e71959d24cd75cf5b36b4789364a0d8868ff281f7ff407281e39b9b65e444dcfab6be67aa34839d672d02f12457f3685aad730ea SHA512 514b66b2106d954189feb472d1e0eaf79ee930b3d59ad8611d886c5e5342cd92321f9de28d0362ed98c24d78abfa1b8b442e01154e741db9bc9ff10beba607a7 MISC metadata.xml 487 BLAKE2B 0e191be30487c618789a7eaf8c2ca9ba0e801649213674adc85e76a5402853055d384efb9d6b534099683de4b2935dafa613ac029fd810125993d039cf9caec8 SHA512 1be5c6aa74ba9542e7b4b85adb8dd743fbeb72b4fee345996ee1b5bc662d9455d910f00ca37b16e644f53039a346ef44afc5e49abba19c5f8d4d00cbdf37d660 diff --git a/dev-libs/xmlsec/xmlsec-1.2.27.ebuild b/dev-libs/xmlsec/xmlsec-1.2.27.ebuild new file mode 100644 index 000000000000..be5606ab62ed --- /dev/null +++ b/dev-libs/xmlsec/xmlsec-1.2.27.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +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" +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" + +S="${WORKDIR}/${PN}1-${PV}" + +src_prepare() { + default + # conditionally install extra documentation + if ! use doc ; then + sed -i '/^SUBDIRS/s/docs//' Makefile.am || die + eautoreconf + fi +} + +src_configure() { + econf \ + --enable-pkgconfig \ + --with-html-dir=/usr/share/doc/${PF}/html \ + $(use_enable static-libs static) \ + $(use_with gcrypt gcrypt "") \ + $(use_with gnutls gnutls "") \ + $(use_with nss nspr "") \ + $(use_with nss nss "") \ + $(use_with openssl openssl "") \ + $(use_enable openssl aes) +} + +src_test() { + emake TMPFOLDER="${T}" check +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |