From d51fe7680c5270ddf8d324bbe11caab6d1e27ade Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 21 Aug 2023 21:44:48 +0100 Subject: gentoo auto-resync : 21:08:2023 - 21:44:47 --- dev-libs/libksba/Manifest | 1 + dev-libs/libksba/libksba-1.6.4-r1.ebuild | 62 ++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 dev-libs/libksba/libksba-1.6.4-r1.ebuild (limited to 'dev-libs/libksba') diff --git a/dev-libs/libksba/Manifest b/dev-libs/libksba/Manifest index c2fc3fe11a89..819b8508fd47 100644 --- a/dev-libs/libksba/Manifest +++ b/dev-libs/libksba/Manifest @@ -4,5 +4,6 @@ DIST libksba-1.6.3.tar.bz2.sig 119 BLAKE2B c6ab01889e7d7efa6117b388c8bf8e1916a3d DIST libksba-1.6.4.tar.bz2 668445 BLAKE2B 639be954727e2c3a74e075c52090bc2d9998a149f168ede376520d83a7dfd776212ba2948270096b303803e9f41381747f73c8ec97117a4d743b8df49defef9a SHA512 07bc26584d1901b2975a02012d90084e3c247a7aeab56d7bcc7197ef0210ece0c4ffd5cb468b998ef696deadfcfdc5fa5dc367077863926503e8f7a8d06856a5 DIST libksba-1.6.4.tar.bz2.sig 119 BLAKE2B 5b9edcf65eb7b46182144a8d17a1656ada93a8a7ce3106ea5f525ab3e892b078f9c723544c13702d6d3b40fefd2bff78dc0cfbc3b1a3c156ba18740ecfc42ce6 SHA512 fbf75e03b9e0e771027acfef8cc702744a0d1fe37ef285fcf6475d4a58f7936d3bc890ee3ffe923195152bbcede807ba721ac3fdfdd6d05a1a523416f64ff8c1 EBUILD libksba-1.6.3.ebuild 1701 BLAKE2B 24f2400de001198cd1f0b0677df57c5e9eaf1c9f5c0fc42dea1b5f3cd572476fd096f2c16de5670806e6fee425bcd1f72c5292d98b8ea190cc82c6c7cdf55025 SHA512 59b4d9a3f7dfb92b5f58072acee93f975674dfee740e3302f4d4da2719352ee8f170c3768743f9b8f8d5ae89d6562934d903a1e21c042ec7a9436d938b10de5d +EBUILD libksba-1.6.4-r1.ebuild 1803 BLAKE2B 6a5f9048504233b690075a630e93b1bc5f92cb488b858dc7aca13d337f1a81eaa4e092b3e9ac018ee782bddaf3bec37801781abff1f20558c34432d9e175375e SHA512 c4b541ce26e806876091864b55b5838c4a3f828be23b5c257420052cfb2b86f8147e0f8bfdb6dc822d9d8541fb7914e45f2fafe922ca90f346f27f4167a1f871 EBUILD libksba-1.6.4.ebuild 1702 BLAKE2B 27f9377da79cb752ea0eb048f53bb5661af0cbd3d7bfa8fc094877bf870ab500fc35581a9549d5a97a773baa6508bb454030fd86e013066e2c548fd6831b4bb8 SHA512 d5d2908ca425023e18e004c62f198e4eaaabe4d49d3a5c007755bd3c57c974aded188fee2239d09795fce3b789e4deaac18905850ed979a3f1480ef1a07d8e72 MISC metadata.xml 258 BLAKE2B b3ebb9691cf2c860b26172c2fc7ead843959a83806b7c06f4eec2ea349a6d2f39afe2f4b08c09bc7f65d18bece520b8b6306c8c7c2075d653f04b09af43db8fd SHA512 02ab38ca1547c68e87cbcad1dd4bb121e90d1fcca941cbfd29583ea803ed50617aa6a29df11915af5e95d63fc817df2250c7b8189157d705ef86e477d6a1685e diff --git a/dev-libs/libksba/libksba-1.6.4-r1.ebuild b/dev-libs/libksba/libksba-1.6.4-r1.ebuild new file mode 100644 index 000000000000..d3944853b9a8 --- /dev/null +++ b/dev-libs/libksba/libksba-1.6.4-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintainers should: +# 1. Join the "Gentoo" project at https://dev.gnupg.org/project/view/27/ +# 2. Subscribe to release tasks like https://dev.gnupg.org/T6159 +# (find the one for the current release then subscribe to it + +# any subsequent ones linked within so you're covered for a while.) + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc +# in-source builds are not supported: https://dev.gnupg.org/T6313#166339 +inherit toolchain-funcs out-of-source verify-sig libtool + +DESCRIPTION="X.509 and CMS (PKCS#7) library" +HOMEPAGE="https://www.gnupg.org/related_software/libksba" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" +SRC_URI+=" verify-sig? ( mirror://gnupg/${PN}/${P}.tar.bz2.sig )" + +LICENSE="LGPL-3+ GPL-2+ GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="static-libs" + +RDEPEND=">=dev-libs/libgpg-error-1.33" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/bison + verify-sig? ( sec-keys/openpgp-keys-gnupg ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.0-no-fgrep-ksba-config.patch +) + +src_prepare() { + default + + elibtoolize # necessary on Solaris for shared lib support +} + +my_src_configure() { + export CC_FOR_BUILD="$(tc-getBUILD_CC)" + + local myeconfargs=( + --disable-valgrind-tests + $(use_enable static-libs static) + + GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" + LIBGCRYPT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-libgcrypt-config" + ) + + econf "${myeconfargs[@]}" +} + +my_src_install() { + default + + # People need to use ksba-config for --cflags and --libs + find "${ED}" -type f -name '*.la' -delete || die +} -- cgit v1.2.3