summaryrefslogtreecommitdiff
path: root/app-crypt/p11-kit
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/p11-kit')
-rw-r--r--app-crypt/p11-kit/Manifest7
-rw-r--r--app-crypt/p11-kit/files/p11-kit-0.25.0-fix-C_GetInterface.patch39
-rw-r--r--app-crypt/p11-kit/files/p11-kit-0.25.1-fix-tty-comparison.patch22
-rw-r--r--app-crypt/p11-kit/p11-kit-0.25.0-r1.ebuild54
-rw-r--r--app-crypt/p11-kit/p11-kit-0.25.1-r1.ebuild77
-rw-r--r--app-crypt/p11-kit/p11-kit-0.25.3.ebuild73
6 files changed, 0 insertions, 272 deletions
diff --git a/app-crypt/p11-kit/Manifest b/app-crypt/p11-kit/Manifest
index 9d8d9179c120..afd7eaaadbe5 100644
--- a/app-crypt/p11-kit/Manifest
+++ b/app-crypt/p11-kit/Manifest
@@ -1,11 +1,4 @@
-AUX p11-kit-0.25.0-fix-C_GetInterface.patch 1410 BLAKE2B c15a8950a73cd9b0a656df2e00c8068abacb14dc9c9b30e67fb777b9987a4419a215904828554a0269699319725d90aab4996895231d325be825a431e99ad4e4 SHA512 69c31b5f2c5dbfb5504281c2518a1cb555973e0a80c5317dc8605d793740c8f2fca0506c2f9baa88de181bab9455a16efdf9649a5a08c35214f2bc46e9dc265a
-AUX p11-kit-0.25.1-fix-tty-comparison.patch 753 BLAKE2B 0ee0fd52076526853394c1f2a353c95d60c2166645da3bdeefbe1ea878fff7c125ffa76eae4e8949440ccd8aaabde035331a32b1dc7b040c56d41fc26f74eac7 SHA512 1f7b3730aa157dc113ee98c82ab2ce06beed0c5745454857246249f8f15c35fd2c90b5368f966cd4b155cff3e44bdb59d7942ea71689b5eb7bd9efb97df9021e
AUX p11-kit-0.25.3-pointer.patch 4083 BLAKE2B 7aad1cca28abe2af19ec882d94c43705d34874e65940a2f5bc647bd500091bd88e5ea7bb9b7cd50d707a85d20aaa8772f22b5ba54c4e3e1d49d35521a5c43538 SHA512 22b793db6f8f911926791ce331c69ce41cf397e17a362afc829914534f2ea3d316fa34c292e55ac21f874328f8daf32e4b856666da70fa3cde7cba55f72a293d
-DIST p11-kit-0.25.0.tar.xz 958940 BLAKE2B 6ffce977f86c516a327afe50f4cc5a36e86ba7f43c6cb555db419d9e4ba7543a9f1847ba83da348cd6d7bbebe55dfa26cfe3a3aaa3e1d5420a4b8dc6cbbff088 SHA512 e6df3cb224f6ff5671bd3c0557503b5f20bbfded1b6ec340b1dafcbd1b1725ea2d41d0e920756716e0fe9cb28270d115fe77b23ec876a15007b22e3f30d015fe
-DIST p11-kit-0.25.1.tar.xz 990460 BLAKE2B 6704ef2ada20765bfbbbfc6f92ec2e934be34b482e1b6a94a7a15ab4718efcaecf943ce06b6c352b8c638fe2b1f0bc7c953c6b0dcf0590e5695c1d6724272ebb SHA512 e12e32148e0924ac7dca4c6a4399cff0934df4f002a31e7ffc5c3cfd14a4c0a47225eb84abd73b7f36c8dfcc32f92756e90699335b830414e8f5eddeaa42c532
DIST p11-kit-0.25.3.tar.xz 991528 BLAKE2B 5c695c1ef95edf4bbbab001aa634076c433df0bc89cb8104deaec2ce00c6908640e467755b49c6900e5d7d5d81e1a3871f4978a212c6f6ae088386ac0b95289a SHA512 ad2d393bf122526cbba18dc9d5a13f2c1cad7d70125ec90ffd02059dfa5ef30ac59dfc0bb9bc6380c8f317e207c9e87e895f1945634f56ddf910c2958868fb4c
-EBUILD p11-kit-0.25.0-r1.ebuild 1443 BLAKE2B 4284a748f9de173589367b7db8d4940eb893d965757b8d3f751178f78175ac13a00f284277cff21714625adf374465bd71ddbd56be80cd6e579a2a13bb4f97f0 SHA512 49088e25174534d4bafdbead8b60f8fd4dbb641658baad38c80df149e733ce3f5599477afdcee519778a902a455b66eb75935c1d01e15ec38706bfd00147bb8c
-EBUILD p11-kit-0.25.1-r1.ebuild 2020 BLAKE2B 463922d5bda190cec5583c6e5fcde90838d29a9fcc73ff5cc13ca70f1dff7a0838c9649e8bd348f707dd227d042f488f8588f6d7904fe5fa0bda6894acbc6361 SHA512 5e6c58e4c3f754a6f2865e11d69459a836d60847ab0208117a53bc9de58312f248026974ae5090aaf771dde5ba148492ac000a087bec9614e73b1b0a49260b44
EBUILD p11-kit-0.25.3-r2.ebuild 2011 BLAKE2B 94d3ff84f50e67a2346669106dc44ca60f54f5496f4a48ad171b2a45f458cc57a83acd2595434c09cb9c576ff6f4fd0d06ff12d1a9936ae543fb2770fc7e865b SHA512 32cbbf5bf8c15f303cb651d03811afef0ee919bbdd128a63dfa0811c11ff3cf20f926774162d89b988252711bb3e6f2765ea2e70d26a7cad7588a72c5593185d
-EBUILD p11-kit-0.25.3.ebuild 1962 BLAKE2B e61e327ecb57ae2445ddd17771de8a89340806a85435ee1f0a3232bb9c25c750f7ac614b49e757b2f67ea05626870bee3b03acd1dbff96e819f649875738204c SHA512 df6091d420ba9ded0052ff43ee8d2efa0298daedbabfe5b8ebbd1bde50e3cf293e27759a06324fa7ba53139604732c21f93755fbb2d244e12945e09238a72ed1
MISC metadata.xml 249 BLAKE2B 689b2967578682135e3f7d619c2b733bb4e50cd74215a0fa17d3bae7b4f59495c7f8d316ef5340d14cf32de956162fa890186f19346d95f212d18a643b55bee1 SHA512 f3f0b79d325cd001c8cf1c9d6ca14d3c09149aefab7862bd04801cafdc2efad9fe7e456e4fac55c6233413f645188188643f6e8f8dfb54deffe5fa30768831b0
diff --git a/app-crypt/p11-kit/files/p11-kit-0.25.0-fix-C_GetInterface.patch b/app-crypt/p11-kit/files/p11-kit-0.25.0-fix-C_GetInterface.patch
deleted file mode 100644
index b3b411c33bdc..000000000000
--- a/app-crypt/p11-kit/files/p11-kit-0.25.0-fix-C_GetInterface.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-https://github.com/p11-glue/p11-kit/commit/d1d4b0ac316a27c739ff91e6c4153f1154e96e5a
-
-From d1d4b0ac316a27c739ff91e6c4153f1154e96e5a Mon Sep 17 00:00:00 2001
-From: Xi Ruoyao <xry111@xry111.site>
-Date: Thu, 27 Jul 2023 12:18:15 +0800
-Subject: [PATCH] Fix probing of C_GetInterface
-
-`p11_dl_symbol (dl, "C_GetInterface")` uses dlsym() to find
-C_GetInterface in the loaded pkcs11 module. For legacy (pre-3.0) pkcs11
-modules, C_GetInterface is not defined in the module. But according to
-the documentation of dlsym():
-
- The search performed by dlsym() is breadth first through the
- dependency tree of these shared objects.
-
-So if a pkcs11 module links to libp11-kit.so, the C_GetInterface
-implementation in libp11-kit.so itself will be found. This
-C_GetInterface will return the metadata of p11-kit-proxy.so, causing
-"Refuse to load the p11-kit-proxy.so as a registered module".
-
-To solve the issue, if p11_dl_symbol() returns the C_GetInterface in
-libp11-kit.so itself, we should ignore it and continue trying
-C_GetFunctionList.
---- a/p11-kit/modules.c
-+++ b/p11-kit/modules.c
-@@ -383,6 +383,12 @@ dlopen_and_get_function_list (Module *mod,
- mod->loaded_module = dl;
-
- gi = p11_dl_symbol (dl, "C_GetInterface");
-+
-+#ifndef OS_WIN32
-+ if (gi == C_GetInterface)
-+ gi = NULL;
-+#endif
-+
- if (gi) {
- /* Get the default standard interface */
- rv = gi ((unsigned char *)"PKCS 11", NULL, &interface, 0);
-
diff --git a/app-crypt/p11-kit/files/p11-kit-0.25.1-fix-tty-comparison.patch b/app-crypt/p11-kit/files/p11-kit-0.25.1-fix-tty-comparison.patch
deleted file mode 100644
index b97a71396e26..000000000000
--- a/app-crypt/p11-kit/files/p11-kit-0.25.1-fix-tty-comparison.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://github.com/p11-glue/p11-kit/commit/cdc4720d29466e717aa694a85a7aee86ebb94172
-
-From cdc4720d29466e717aa694a85a7aee86ebb94172 Mon Sep 17 00:00:00 2001
-From: Erdem Meydanli <meydanli@amazon.com>
-Date: Thu, 26 Oct 2023 15:18:24 +0000
-Subject: [PATCH] fix: improper comparison
-
-Compare the return value of the readpassphrase function to NULL.
-
-Signed-off-by: Erdem Meydanli <meydanli@amazon.com>
---- a/p11-kit/tty.c
-+++ b/p11-kit/tty.c
-@@ -66,7 +66,7 @@ p11_pin_tty_callback (const char *pin_source,
- if (asprintf (&prompt, "%s: ", pin_description) < 0)
- return NULL;
-
-- if (readpassphrase (prompt, buf, sizeof(buf), 0) < 0)
-+ if (readpassphrase (prompt, buf, sizeof(buf), 0) == NULL)
- goto cleanup;
-
- pin = p11_kit_pin_new_for_string (buf);
-
diff --git a/app-crypt/p11-kit/p11-kit-0.25.0-r1.ebuild b/app-crypt/p11-kit/p11-kit-0.25.0-r1.ebuild
deleted file mode 100644
index e5e1a9e6312d..000000000000
--- a/app-crypt/p11-kit/p11-kit-0.25.0-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 meson-multilib
-
-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 ~ia64 ~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="
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
- virtual/pkgconfig
- gtk-doc? ( dev-util/gtk-doc )
- nls? ( sys-devel/gettext )
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-fix-C_GetInterface.patch
-)
-
-multilib_src_configure() {
- # Disable unsafe tests, bug#502088
- export FAKED_MODE=1
-
- local emesonargs=(
- -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
-}
diff --git a/app-crypt/p11-kit/p11-kit-0.25.1-r1.ebuild b/app-crypt/p11-kit/p11-kit-0.25.1-r1.ebuild
deleted file mode 100644
index 2955ab7df936..000000000000
--- a/app-crypt/p11-kit/p11-kit-0.25.1-r1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-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 ~ia64 ~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 )
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-fix-tty-comparison.patch
-)
-
-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
-}
diff --git a/app-crypt/p11-kit/p11-kit-0.25.3.ebuild b/app-crypt/p11-kit/p11-kit-0.25.3.ebuild
deleted file mode 100644
index 754607b9c347..000000000000
--- a/app-crypt/p11-kit/p11-kit-0.25.3.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-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 ~ia64 ~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
-}