summaryrefslogtreecommitdiff
path: root/app-crypt/p11-kit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-08 04:26:34 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-08 04:26:34 +0100
commit325837835fc86686829aaa6acace3d3c06c74cea (patch)
tree6cc31680e4ce26ab26e863fd7b72d0ffe2d9366f /app-crypt/p11-kit
parent7ad61ca2bfc8f8da08d2fb3085e4333dcccb0a64 (diff)
gentoo auto-resync : 08:10:2024 - 04:26:34
Diffstat (limited to 'app-crypt/p11-kit')
-rw-r--r--app-crypt/p11-kit/Manifest4
-rw-r--r--app-crypt/p11-kit/p11-kit-0.25.3-r2.ebuild2
-rw-r--r--app-crypt/p11-kit/p11-kit-0.25.5.ebuild73
3 files changed, 77 insertions, 2 deletions
diff --git a/app-crypt/p11-kit/Manifest b/app-crypt/p11-kit/Manifest
index e5cb10c5c337..35f22e235f9f 100644
--- a/app-crypt/p11-kit/Manifest
+++ b/app-crypt/p11-kit/Manifest
@@ -1,4 +1,6 @@
AUX p11-kit-0.25.3-pointer.patch 4083 BLAKE2B 7aad1cca28abe2af19ec882d94c43705d34874e65940a2f5bc647bd500091bd88e5ea7bb9b7cd50d707a85d20aaa8772f22b5ba54c4e3e1d49d35521a5c43538 SHA512 22b793db6f8f911926791ce331c69ce41cf397e17a362afc829914534f2ea3d316fa34c292e55ac21f874328f8daf32e4b856666da70fa3cde7cba55f72a293d
DIST p11-kit-0.25.3.tar.xz 991528 BLAKE2B 5c695c1ef95edf4bbbab001aa634076c433df0bc89cb8104deaec2ce00c6908640e467755b49c6900e5d7d5d81e1a3871f4978a212c6f6ae088386ac0b95289a SHA512 ad2d393bf122526cbba18dc9d5a13f2c1cad7d70125ec90ffd02059dfa5ef30ac59dfc0bb9bc6380c8f317e207c9e87e895f1945634f56ddf910c2958868fb4c
-EBUILD p11-kit-0.25.3-r2.ebuild 2005 BLAKE2B c5e7b6dace54069ec16277f9988ce71827e1804d6e5ca5914e8d158083c20b369f687874cc66b0c04f55fee4bd4466f14fec2ccf2ad79b0e2e31ce16b9754a9a SHA512 9567b69fc25bc47becb731f88a54749c9344df62f6c8367b2841befce0169d83cfb1ce44c50aea4aa1ac4c84fd171f6f39985c855ddbebebfbef7e66771ce606
+DIST p11-kit-0.25.5.tar.xz 1002056 BLAKE2B 96d6a9c2807586abafae4da4df89f566672733963997d6a83e00aaf83a7a0c0e2995638f505e98fb87a90c60bde28814f1e8b7d5071bf0af96bb0467105a1ddc SHA512 177ec6ff5eb891901078306dce2bf3f5c1a0e5c2a8c493bdf5a08ae1ff1240fdf6952961e973c373f80ac3d1d5a9927e07f4da49e4ff92269d992e744889fc94
+EBUILD p11-kit-0.25.3-r2.ebuild 2005 BLAKE2B 476334d3a581e9e033cf96309ab3b03c7f7b594d7beb4ea1f7f48ac7f8b5ba51f0e8b6bf549dd02f1ceb82c981d34650dd72bb642b33992028e84a751dcb0ecf SHA512 c75e94c76d873d221200ff59621d3676d8c0db8555fe15f119cbf7d98a6047422b3c2e68268303f713b87bbcd0bd863f4abed2760fe4b293d65c7440624718e8
+EBUILD p11-kit-0.25.5.ebuild 1956 BLAKE2B 9f06e91e27825ded7381d27105c0994fe1c03477d7e6962385ad7619bfa6acf4df15755fae9014223879fde6add1b25e0afe8c450956d19c604cb81bffb55d97 SHA512 20a94fa1379fb5e7a98bf2f8f5b16f61bf8874ee8305102df95db1746cc78ccc5ea5d66348938c9c9284786eb1166c5144535daa384e99069e6665b43d17855a
MISC metadata.xml 249 BLAKE2B 689b2967578682135e3f7d619c2b733bb4e50cd74215a0fa17d3bae7b4f59495c7f8d316ef5340d14cf32de956162fa890186f19346d95f212d18a643b55bee1 SHA512 f3f0b79d325cd001c8cf1c9d6ca14d3c09149aefab7862bd04801cafdc2efad9fe7e456e4fac55c6233413f645188188643f6e8f8dfb54deffe5fa30768831b0
diff --git a/app-crypt/p11-kit/p11-kit-0.25.3-r2.ebuild b/app-crypt/p11-kit/p11-kit-0.25.3-r2.ebuild
index 70bbe18bb324..f27bbaf48cf6 100644
--- a/app-crypt/p11-kit/p11-kit-0.25.3-r2.ebuild
+++ b/app-crypt/p11-kit/p11-kit-0.25.3-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit bash-completion-r1 meson-multilib python-any-r1
DESCRIPTION="Provides a standard configuration setup for installing PKCS#11"
diff --git a/app-crypt/p11-kit/p11-kit-0.25.5.ebuild b/app-crypt/p11-kit/p11-kit-0.25.5.ebuild
new file mode 100644
index 000000000000..0c23a73251f2
--- /dev/null
+++ b/app-crypt/p11-kit/p11-kit-0.25.5.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit bash-completion-r1 meson-multilib python-any-r1
+
+DESCRIPTION="Provides a standard configuration setup for installing PKCS#11"
+HOMEPAGE="https://p11-glue.github.io/p11-glue/p11-kit.html"
+SRC_URI="https://github.com/p11-glue/p11-kit/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="+libffi gtk-doc nls systemd test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ app-misc/ca-certificates
+ >=dev-libs/libtasn1-3.4:=[${MULTILIB_USEDEP}]
+ libffi? ( dev-libs/libffi:=[${MULTILIB_USEDEP}] )
+ systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ virtual/pkgconfig
+ gtk-doc? ( dev-util/gtk-doc )
+ nls? ( sys-devel/gettext )
+"
+
+src_prepare() {
+ default
+
+ # Relies on dlopen which won't work for multilib tests (bug #913971)
+ cat <<-EOF > "${S}"/p11-kit/test-server.sh || die
+ #!/bin/sh
+ exit 77
+ EOF
+}
+
+multilib_src_configure() {
+ # Disable unsafe tests, bug#502088
+ export FAKED_MODE=1
+
+ local native_file="${T}"/meson.${CHOST}.${ABI}.ini.local
+
+ # p11-kit doesn't need this to build and castxml needs Clang. To get
+ # a deterministic non-automagic build, always disable the search for
+ # castxml.
+ cat >> ${native_file} <<-EOF || die
+ [binaries]
+ castxml='castxml-falseified'
+ EOF
+
+ local emesonargs=(
+ --native-file "${native_file}"
+ -Dbashcompdir="$(get_bashcompdir)"
+ -Dtrust_module=enabled
+ -Dtrust_paths="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt
+ $(meson_feature libffi)
+ $(meson_use nls)
+ $(meson_use test)
+ $(meson_native_use_bool gtk-doc gtk_doc)
+ $(meson_native_true man)
+ $(meson_native_use_feature systemd)
+ )
+
+ meson_src_configure
+}