mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 17:06:58 +02:00
dev-libs/xmlsec: Sync with Gentoo
It's from Gentoo commit b9f32506a908ed8533b851f18187582011a6c123.
This commit is contained in:
parent
6d2f853019
commit
979ffd7878
@ -1,2 +1 @@
|
|||||||
DIST xmlsec1-1.3.6.tar.gz 2453984 BLAKE2B 217817ef0f7003247b7173a6581ba6428e623ff4e464b4ea08bd93d07c0aaba8ee379cbdd6309e3c2c6f07f5022fe55a51dc1afc001525bf219eff9f06ff5aad SHA512 f38ccc7af0026973a94b1b6f95accd70a2a2c4398985a0002c66d7b43bff6d6bcfb09ae62046cbdac82a0890622aead2df710cb0ab373c3bdf6159797613cdaa
|
|
||||||
DIST xmlsec1-1.3.7.tar.gz 2468083 BLAKE2B 6e3b14d476cc6d37e5f9324383432dfacc1a3ac0340bcf709f70b2e8f99dadee23d48e12569b50768446dfa3601868c99190bb44fdeb5c6fc2a0bb48cfd7335e SHA512 0813ad0f7821f765947a7d81d276ba479bf54430279a7b9da31988d1ec76c60b81d3d57f1088a69a2cc0d8d27fa932ce1cb051457d1c0c5a6f071a2df4395cb8
|
DIST xmlsec1-1.3.7.tar.gz 2468083 BLAKE2B 6e3b14d476cc6d37e5f9324383432dfacc1a3ac0340bcf709f70b2e8f99dadee23d48e12569b50768446dfa3601868c99190bb44fdeb5c6fc2a0bb48cfd7335e SHA512 0813ad0f7821f765947a7d81d276ba479bf54430279a7b9da31988d1ec76c60b81d3d57f1088a69a2cc0d8d27fa932ce1cb051457d1c0c5a6f071a2df4395cb8
|
||||||
|
@ -1,96 +0,0 @@
|
|||||||
# Copyright 1999-2025 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
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
|
|
||||||
https://www.aleksey.com/xmlsec/download/older-releases/${PN}1-${PV}.tar.gz
|
|
||||||
"
|
|
||||||
S="${WORKDIR}/${PN}1-${PV}"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
# Upstream consider major version bumps to be changes in either X or Y in X.Y.Z
|
|
||||||
SLOT="0/$(ver_cut 1-2)"
|
|
||||||
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
|
|
||||||
IUSE="doc gcrypt gnutls http nss +openssl static-libs test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
REQUIRED_USE="
|
|
||||||
|| ( gnutls nss openssl )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-libs/libxml2-2.7.4
|
|
||||||
>=dev-libs/libxslt-1.0.20
|
|
||||||
dev-libs/libltdl
|
|
||||||
gcrypt? ( >=dev-libs/libgcrypt-1.4.0:= )
|
|
||||||
gnutls? ( >=net-libs/gnutls-3.6.13:= )
|
|
||||||
nss? (
|
|
||||||
>=dev-libs/nspr-4.4.1
|
|
||||||
>=dev-libs/nss-3.9
|
|
||||||
)
|
|
||||||
openssl? ( dev-libs/openssl:= )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
test? (
|
|
||||||
nss? (
|
|
||||||
>=dev-libs/nss-3.9[utils]
|
|
||||||
)
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-1.3.0-optimisation.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myeconfargs=(
|
|
||||||
$(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)
|
|
||||||
|
|
||||||
--disable-werror
|
|
||||||
--enable-mans
|
|
||||||
--enable-pkgconfig
|
|
||||||
|
|
||||||
--enable-concatkdf
|
|
||||||
--enable-pbkdf2
|
|
||||||
--enable-ec
|
|
||||||
--enable-dh
|
|
||||||
--enable-sha3
|
|
||||||
|
|
||||||
--enable-files
|
|
||||||
$(use_enable http)
|
|
||||||
--disable-ftp
|
|
||||||
)
|
|
||||||
|
|
||||||
# Bash because of bug #721128
|
|
||||||
CONFIG_SHELL="${BROOT}"/bin/bash econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# See https://github.com/lsh123/xmlsec/issues/280 for TZ=UTC
|
|
||||||
TZ=UTC SHELL="${BROOT}"/bin/bash emake TMPFOLDER="${T}" check
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
}
|
|
@ -24,7 +24,7 @@ REQUIRED_USE="
|
|||||||
"
|
"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
>=dev-libs/libxml2-2.7.4
|
>=dev-libs/libxml2-2.7.4:=
|
||||||
>=dev-libs/libxslt-1.0.20
|
>=dev-libs/libxslt-1.0.20
|
||||||
dev-libs/libltdl
|
dev-libs/libltdl
|
||||||
gcrypt? ( >=dev-libs/libgcrypt-1.4.0:= )
|
gcrypt? ( >=dev-libs/libgcrypt-1.4.0:= )
|
Loading…
Reference in New Issue
Block a user