summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Santos <joaompssantos@gmail.com>2023-04-23 20:12:08 +0200
committerJoao Santos <joaompssantos@gmail.com>2023-04-23 20:12:08 +0200
commit1242d90e94d0a484d98eea02ee490c4b2ad9a67a (patch)
tree770bebf2dc40d1a6eae0cfe10e5f8540ade5382f
parentmetadata: Fixed issue with hash generator (diff)
downloadcarreira-1242d90e94d0a484d98eea02ee490c4b2ad9a67a.tar.gz
carreira-1242d90e94d0a484d98eea02ee490c4b2ad9a67a.tar.bz2
carreira-1242d90e94d0a484d98eea02ee490c4b2ad9a67a.zip
dev-libs/xml-security-c: bump 2.0.4
Signed-off-by: Joao Santos <joaompssantos@gmail.com>
-rw-r--r--dev-libs/xml-security-c/Manifest3
-rw-r--r--dev-libs/xml-security-c/xml-security-c-2.0.4.ebuild43
2 files changed, 44 insertions, 2 deletions
diff --git a/dev-libs/xml-security-c/Manifest b/dev-libs/xml-security-c/Manifest
index b9afed8..824cf8a 100644
--- a/dev-libs/xml-security-c/Manifest
+++ b/dev-libs/xml-security-c/Manifest
@@ -1,2 +1 @@
-DIST xml-security-c-1.7.3.tar.gz 909320 SHA256 e5226e7319d44f6fd9147a13fb853f5c711b9e75bf60ec273a0ef8a190592583 SHA512 ea46709d6706edf345e19132d9998774e50dc7b5947a7b4a55e3627998f5ac66f976fdff0a5015ef3cee73c03c04f3c4cf993efd397082491c2000c6548b89d2 WHIRLPOOL 5aba039916ffabdb6394c5a97ce10027a546cbba9b7978bfde06db22ee48e6820a42db9d1e1095fc2ef7235cb2e6f948bbe3fd6dcaf5e99f16316111a28a717b
-DIST xml-security-c-2.0.2.tar.gz 904933 SHA256 c303a2b08cb9ca0f5594adcbb83829b1e793175d7114a82f7d78def8bb2e30df SHA512 bebadee2daf27181f5bcc955a909397976e8fd2e67f5e546f5adbede0ca790647cbec9181b0b609da59d525ff3baa9f899af2a3d815bc7a2f3a57bd8b30c011b WHIRLPOOL 4de367df8faf30c626c024424cc0044db5e29ccdb542c0b6ea94bfb48fe1c157a6bfa73300281a1ab50e96f085289b46cf8da410fdabad212ec22c3ad5cb95b2
+DIST xml-security-c-2.0.4.tar.gz 913785 BLAKE2B a6f499d6475c74b6aa3fe19321832c8fecda0c9372b58efd88614bc4a7f093dda5b073efbc80fa519aa0d3fa89b0a386b47e21b05f6a4e5c9a0a897aeadfc2a2 SHA512 c2a83b0415ec0a83c932bffb709beac5763e20397f3ec4dfb350a3190de878a860b75482c095b9ac1cae3bbfbcc968b2a26ea912816b0dd4456c7ea0e07f3060
diff --git a/dev-libs/xml-security-c/xml-security-c-2.0.4.ebuild b/dev-libs/xml-security-c/xml-security-c-2.0.4.ebuild
new file mode 100644
index 0000000..4661437
--- /dev/null
+++ b/dev-libs/xml-security-c/xml-security-c-2.0.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Apache C++ XML security libraries"
+HOMEPAGE="https://santuario.apache.org/"
+SRC_URI="mirror://apache/santuario/c-library/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug examples libressl nss static-libs xalan"
+
+RDEPEND=">=dev-libs/xerces-c-3.2
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ nss? ( dev-libs/nss )
+ xalan? ( dev-libs/xalan-c )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+PATCHES=(
+ "${FILESDIR}/${P}-libressl.patch"
+)
+
+DOCS=( CHANGELOG.txt NOTICE.txt )
+
+src_configure() {
+ econf \
+ --with-openssl \
+ $(use_enable static-libs static) \
+ $(use_enable debug) \
+ $(use_with xalan) \
+ $(use_with nss)
+}
+
+src_install() {
+ default
+ if use examples ; then
+ docinto examples
+ dodoc xsec/samples/*.cpp
+ fi
+}