summaryrefslogtreecommitdiff
path: root/sys-auth
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-28 12:00:19 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-28 12:00:19 +0100
commit7166f3a0a0b7886d340010458d0b130013cb9989 (patch)
tree3ff502007dde9dba943a004a3bf201ae4e0787bd /sys-auth
parent345c02ca33341652116ddec6705530223af2de85 (diff)
gentoo auto-resync : 28:08:2024 - 12:00:19
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/Manifest.gzbin9261 -> 9252 bytes
-rw-r--r--sys-auth/elogind/Manifest3
-rw-r--r--sys-auth/elogind/elogind-252.9-r2.ebuild10
-rw-r--r--sys-auth/elogind/files/elogind-252.9-py-exec.patch19
-rw-r--r--sys-auth/yubico-piv-tool/Manifest9
-rw-r--r--sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild48
-rw-r--r--sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.1.ebuild48
-rw-r--r--sys-auth/yubico-piv-tool/yubico-piv-tool-2.6.0.ebuild (renamed from sys-auth/yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild)17
8 files changed, 43 insertions, 111 deletions
diff --git a/sys-auth/Manifest.gz b/sys-auth/Manifest.gz
index 2b97c89e4fdc..ba744ed39ffd 100644
--- a/sys-auth/Manifest.gz
+++ b/sys-auth/Manifest.gz
Binary files differ
diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest
index 834f7500c1c6..f0a63b07966c 100644
--- a/sys-auth/elogind/Manifest
+++ b/sys-auth/elogind/Manifest
@@ -14,11 +14,12 @@ AUX elogind-252.9-musl-sigfillset.patch 230 BLAKE2B ed25a1d56c1461cd99124c9fa85a
AUX elogind-252.9-musl-statx.patch 781 BLAKE2B 8d5ea4a9eaec8b25871ed381cc9ba8c24e1d5149a52d78e71907a47992e865464a0c443f3b6dd8137c93b31f9c61e1607032cf83976c3bf4fa84a8d80772cd03 SHA512 f7f22edfea8062c6bfaa2e7b706368ab87b026bc486a2f34627bb82cd362883279ccd9e8436208b0904b86e80b3fa977695ca79a19e1dd9e7218dbb1eb8610e0
AUX elogind-252.9-musl-strerror_r.patch 3228 BLAKE2B dcc1d43af2c73e17da2cd0e22f60b98061c6fbaeba629abb969e130d7ef884c08341909ca01bdfc615aea147d6e6d8a3edea0cbf41ae981f270f23638478e491 SHA512 6b60da7b045a7004da09b910a192c3e9a00ef7507cb108d9639e18cc81e8bb56e37d3c8db1efee37334c15cddaca480f0cf25d7532cf2381f9981e9d2033bc44
AUX elogind-252.9-nodocs.patch 870 BLAKE2B ea5a025554999f96c59ab88e3d7c54a331a82cd44ea268a6b131f81b9527939c1da1e2ba74b6635a02b1a0d4167d605614f49b46b39e4769f65eb4c6acfd706a SHA512 027f1d419f9d473835806b4d5da9b129677f23175ab332431260f63eebfd7d31657c3868442ac33798795f61136da2cf6912b1a61c7737fd458146284f35f5b2
+AUX elogind-252.9-py-exec.patch 690 BLAKE2B 9fbe18bd5a5d0a2f1e9906110dbf2208d602f61d06ec132b4623e567c74d6a78a2633e23aeec6644a51f85249558eff4654aaa2a27a6b2abc87a767ca96e7a6b SHA512 6eb54f9c629b29e65ea9d45fefe2cacb335f106d115a7a51f81628ec02e444ade2769253d1476cb587b9b82550bbcf3844054175ded3363704003f9fb22a5bd2
AUX elogind.conf.in 218 BLAKE2B 7ee0a72c4a628a233fdbb2d3104487859aaa7e5c4f2624e5a4eafb37ed90fb8f64349b1a8acc92e69ec618496bb7f6263b7a5d0fe15a1afe1c03f5955743f079 SHA512 2c62ab28d7db9cd52489069f80363159000385a25dd7f2afe5a03598a0b7a1f61af7c18df71f6286e72f5966e55b62a4029e30cb786dd813bb201b9e20adccd7
AUX elogind.init 490 BLAKE2B 71c102f89a71a2963da50b153d8696a9480d81caa48e8422e7f39614e9bfb0b09037bc4dea202c3735e170140752429dd54747b99941d861453b4714dcb98819 SHA512 60fe1cb55ec0f605f06fb3744a0300accebfc14c4ecd24b7db2e8b0cb1537e816a4a4ccbc4b2eeac45e2f3ca8942dd10d24bdcd814cccbc2ceed198b2657238a
AUX elogind.init-r1 503 BLAKE2B 7e54688c91f78b46411edff04dd8544dea778864d34ec00a4f0f2c166b4062ebc6b01f201f1b7d1f22f6781c51ac22f924136c83c0b0cdb29d6aadf640a6c0e8 SHA512 97d78afe1c0833f3f632272904bd8338869639facb79cd2fae6a4bf58fc5b2dd960484e1f9945152ff13d075216cf4b48b6b234eb7738fbbf445eee2c20e88f2
DIST elogind-246.10.tar.gz 1559256 BLAKE2B 17a8146ee08c8ccf167f25d89b1d4525050ed0b0baaad0d36924ad3c40ffc820ef1528b33557cf285ad06c9ac9c440137428c5a235a2acf563e56f2f8f07e208 SHA512 9db0f068ed94ec07bab4d764ccb38840af3d05a4b7c9c539721906f5381b509cb9a3cbfb0453a978210d306136368de6162578c600d522416ef2a7ac1b9f348b
DIST elogind-252.9.tar.gz 1922777 BLAKE2B dd566125e407b3479a44b007890f97c9c87a325b3fed2d3505499d2163f113affd998e14b1c1fc50b9b86b0d155b51dae344dcc1cddafb6a48c631d0a0f00c9a SHA512 eed620cbc2f03bfeae6a80c9a421c21d3293fa40adffb96c7e4d86508c06712041f6623fb2bac15ecbb85faca4b5674ea6423b3067840809fb27d023fd9e5ffd
EBUILD elogind-246.10-r4.ebuild 4203 BLAKE2B 27ca3d6145112f3b6c6dd368630c3758b2cb958f143ac5eba9529d944ea7dce5417e922a4f359a78bb56442a910c8a7b31ebd524e49407b116c63cc89fd611ea SHA512 d8a0ab1c4e5ad35fd6f6ee0cd4375fdc4c737cc26448bd1c1c013ffaf472eaf9f19e778124376f11eb073b6ac392f9cd76f3d300cf87c714f7f06d15561f9180
-EBUILD elogind-252.9-r2.ebuild 5173 BLAKE2B 81e8b468d2832a5740a29dc3c2dc482e9f17db096510ce0e8faab16ae6c5e2338e49d3e53bde8950d1fe34bff4185e16cac0f2d0cf9b7fa12477601ccfb2eac9 SHA512 8a93a1e71113143e75d64b46651357134e452d908af44d381ed628b4f2f04c645979eff9e7b36bf288526c95419ab4af435f290ba385dbd61e2edbf2514c0a87
+EBUILD elogind-252.9-r2.ebuild 5250 BLAKE2B 0cd17ea1e5e20d1c6c073340e205989a7d3c3941589db47eb1cce387a6d04b3b89c88372a97617dd4357a27a6fa73a82ee9c93ccde0cb5a87c3f696b80e441f5 SHA512 438bfd6709cf07244ed520c671d092899b34cc9d265e9b67e51e310cb217a95399177e2837a8b3375c4de9c6f652c41b1784aafe8efd6d9d0c41f53d3e2643a0
MISC metadata.xml 416 BLAKE2B b354229184d72f8b392f62a1ba04925265e78b4b6b824edf500b0dceb1d9dccc72932b3e1005b6d6fd4746a9ab1612adb3de363dcda27a724ab40a8023ce52c1 SHA512 2155a8329bc7fb9b7bc455d4ee4ae55d877179453ef2c83e8829a1debc40898120d708f502741939762b6931b1febc3a23857491f323a49c3b3a611e9d00f4a1
diff --git a/sys-auth/elogind/elogind-252.9-r2.ebuild b/sys-auth/elogind/elogind-252.9-r2.ebuild
index 6c9522bc9e1a..7d70473237ab 100644
--- a/sys-auth/elogind/elogind-252.9-r2.ebuild
+++ b/sys-auth/elogind/elogind-252.9-r2.ebuild
@@ -54,8 +54,9 @@ DOCS=( README.md)
PATCHES=(
"${FILESDIR}/${P}-nodocs.patch"
- "${FILESDIR}/${PN}-252.9-musl-lfs.patch"
- "${FILESDIR}/${PN}-252.9-musl-1.2.5.patch"
+ "${FILESDIR}/${P}-musl-lfs.patch"
+ "${FILESDIR}/${P}-musl-1.2.5.patch"
+ "${FILESDIR}/${P}-py-exec.patch" # bug 933398
)
python_check_deps() {
@@ -139,6 +140,7 @@ src_install() {
}
pkg_postinst() {
+ udev_reload
if ! use pam; then
ewarn "${PN} will not be managing user logins/seats without USE=\"pam\"!"
ewarn "In other words, it will be useless for most applications."
@@ -180,3 +182,7 @@ pkg_postinst() {
fi
done
}
+
+pkg_postrm() {
+ udev_reload
+}
diff --git a/sys-auth/elogind/files/elogind-252.9-py-exec.patch b/sys-auth/elogind/files/elogind-252.9-py-exec.patch
new file mode 100644
index 000000000000..05f37e64d29b
--- /dev/null
+++ b/sys-auth/elogind/files/elogind-252.9-py-exec.patch
@@ -0,0 +1,19 @@
+From f56b6bfa18b6b582619074135b07ff35a84e6a01 Mon Sep 17 00:00:00 2001
+From: Sven Eden <sven@eden-worx.com>
+Date: Wed, 1 Nov 2023 15:14:01 +0100
+Subject: [PATCH] Add execution bit on tools that had it missing.
+
+Signed-off-by: Sven Eden <sven@eden-worx.com>
+---
+ tools/dbus_exporter.py | 0
+ tools/meson-render-jinja2.py | 0
+ 3 files changed, 0 insertions(+), 0 deletions(-)
+ mode change 100644 => 100755 tools/dbus_exporter.py
+ mode change 100644 => 100755 tools/meson-render-jinja2.py
+
+diff --git a/tools/dbus_exporter.py b/tools/dbus_exporter.py
+old mode 100644
+new mode 100755
+diff --git a/tools/meson-render-jinja2.py b/tools/meson-render-jinja2.py
+old mode 100644
+new mode 100755
diff --git a/sys-auth/yubico-piv-tool/Manifest b/sys-auth/yubico-piv-tool/Manifest
index 0d094e1d77be..280ca996e80d 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1,13 +1,10 @@
AUX yubico-piv-tool-2.1.1-tests-optional.patch 881 BLAKE2B 02821ac155a75a213567958d33e5f9b25838c1b1ea9dc65efda223ee397643d2d6479b5e5bd5867dfaf057d64bdebf1f1379d2187e4f9fbca1fb4fa97133d0fa SHA512 f694e2d9e882cdb04728a3fc1f857c9c5c388ed439d6efbb385fa96414c8241ce918f7a2bbbe0ac2c94fbf3b2981fc68de4c7a999822a14068c8f43bd21de43d
AUX yubico-piv-tool-2.1.1-ykcs11-threads.patch 1168 BLAKE2B ec91a73c7ad6c9ddd2e6250536b89f01d1778a79bc8df823e896323053dac8fe23c6b23a84b526da61146204df3cbc7889cae3ffc9a0414626e6ddb3b0806051 SHA512 d48787ff5de1ed5ff80fbf2f65308ea0c174500e32b55033508284aa05b0674f013479aaed5697a8f1207f821e7fdbf99cc206830725c023aa3a349fa0792172
AUX yubico-piv-tool-2.3.0-no-Werror.patch 402 BLAKE2B 6ffdac507c007e3dfa8254b6220345da2d6789b2177300d33688387845c0d69cffb545b194ecef53b79120f15b0c35c153226be0ac6e16f97f6ca4840c4e5c41 SHA512 78587219d8b676a0af455bcf98b51765c4c3a8d2df58f34bbecd9135ed8e2566f568f79f07fee930c6f07d836a79f8b3aa4ce46e7715470210d007ff3c1be579
-DIST yubico-piv-tool-2.3.1.tar.gz 1315267 BLAKE2B 9b7d96129f3cab4fd68d18d0bbbf8dfa5fdda383ffb8099f898e23c99d0f1caf387a26cb9d01582521a070b93bac941b8a10faac736137cb72c86fbf5c95d2f8 SHA512 44cd9c482f2a2942d10a238ac2cb2d40df7cd11ddc27d6df88912512e956746b5634018b421d5cc4b947e4c36f9841898d5a08eb613bf22558089103dab95988
-DIST yubico-piv-tool-2.4.2.tar.gz 1332497 BLAKE2B ba08b19fe4659842fdfad06d662120a9d2858e25a56d56f63edc88e607c5b56a79f5ca90826fb8b78295e218ff1a728a168d04f330b7f640a9f3e804528320ed SHA512 032a91c9ac50cb5604a56ec0d0a84cf64bfff5440930a1643bddcd15cf02fc44d33d949286b2595eb4c196cb31050c13f507b32f3156d4600fdad46057b65b56
-DIST yubico-piv-tool-2.5.1.tar.gz 1340147 BLAKE2B 96638e22bf03046daae5ba4b4d689cfe6d7e1f8ebbf64695bd3e259ca7e53513ff92933c935294536c504fc96b2ed1c7df4b9962b1789803eb9576b51715f00e SHA512 736aeeac3d9368699b33e928cfb5b54ad6aa1450acf734397bc689ba9ccc82077f46f7ea2bd06dd1457b91eb50f7a0231a57914b3ea2ff0f07d425b4d27b96e4
DIST yubico-piv-tool-2.5.2.tar.gz 1324642 BLAKE2B 23b175d37f0f510e1360f8c793e95ee654e7d0218ca6fb29a884e4aaf143704555bc04c489fa944e2731208cb713d2d763d84dd8b6ef36aa4dafe22c55d81edc SHA512 522a163be55dd92c2f18a779b64b1a163a6f81390757db34b58e909d896d78bcff30907eb8a2dc703d70133cdd71e2d3841d36d77cf7211351b5c825965dffd0
DIST yubico-piv-tool-2.5.2.tar.gz.sig 566 BLAKE2B f7cdcbd7f47dd07b57c2cfe146c8801edce254b00cf4abf65783da687787ce91f2bee1419050a2977c66c074cfaf6c8e2f566d5b83ed3b61d56b6f9ba3e41a65 SHA512 c251cc7c7019923c60380302889cc3654ef913c1d5498d328528586d70b951aecff474a4da3a2b9ddb21c1b860335205a16ffed1d397e16e226e7f4725c2bf90
-EBUILD yubico-piv-tool-2.3.1.ebuild 1156 BLAKE2B f62162bd6c30849260828a9c061c037a94a4ef62bd866ebe216c21baaae14581289749766959621446d63467779eb0cfa2e7960a8036c6b3181cccdc86661ef6 SHA512 5cb011a55e77be3fd748a37cf0e3688c4bd405b67f0ac3bf871a9ac85d2aa1e89008d4f99d27173e484c900b43227e0a4272b4fdeddbe7604e4adbf80f3c28e9
-EBUILD yubico-piv-tool-2.4.2.ebuild 1156 BLAKE2B 091961aeee874329fece7dfa59e60ae9a429e9cc3885c39984fd0ec26efcfa9ebee87e5d0d58c5159e369fef21334024985be9879e077b4e652b0be82c153050 SHA512 b5570f5d482ea2a46b02219c7182fbbe44ffe646995a3032b643e96cfc9f597e4989af57e3fb8db89be502fd1ebe79588aa84c6a4916b2690c0168247e61ae7d
-EBUILD yubico-piv-tool-2.5.1.ebuild 1156 BLAKE2B 091961aeee874329fece7dfa59e60ae9a429e9cc3885c39984fd0ec26efcfa9ebee87e5d0d58c5159e369fef21334024985be9879e077b4e652b0be82c153050 SHA512 b5570f5d482ea2a46b02219c7182fbbe44ffe646995a3032b643e96cfc9f597e4989af57e3fb8db89be502fd1ebe79588aa84c6a4916b2690c0168247e61ae7d
+DIST yubico-piv-tool-2.6.0.tar.gz 1359764 BLAKE2B c9513401bdf9175b929a7c7ecf09ef07a76cc0d7fc37fd43f0b1fb882c878417d5a804e27f66ec7d34e6faf40e1c1508efe6fd968f43b5f382d0071d5f74cc20 SHA512 11efcc12cdcdddc8f6a946460ee8be40d0652478f9884b01945ec048f95e03e706f00737607a20e75135667ece0de06627cd0a4f441d9048ad9e19f3f67fee00
+DIST yubico-piv-tool-2.6.0.tar.gz.sig 566 BLAKE2B f5a99c89618cbfed11950402d850a4d38e934a3436399156e950abed6a45bf0ba89e2c45c9014248f1eb3e71bc8d0abbcfaaa87c537788490daca4a52368f794 SHA512 fae8612ea08e7136134fe9fa82893f0f98118e4592e5e7fb0b844aa96e0182cf9b6d5eddc1bbe11b49470ebaf22fdf33575f7955b870b01eeff6b751d7a000b8
EBUILD yubico-piv-tool-2.5.2.ebuild 1408 BLAKE2B 625ef7d305922a59dc3a253968351d2df3015628e780168325a94762f594609ecf656623ec0a2712fd4f34f96671450531554865e1c7b0742c2ebe1a5932819d SHA512 034836ea7311be46b4d19f3a43a875cfeacfd562237365a5b3df531cd9c0c71d5b9a75a2f6acbd7de0a3f9562349350fd677a6f7c3d4b656b5bdf258b99e3f3f
+EBUILD yubico-piv-tool-2.6.0.ebuild 1424 BLAKE2B c3d58fe935a66fde859ec7c723b6544a6e9934e1eec0959f44b1243e0ef34468d6307fcfc0970ad468714a0c215d1b62673b6ffc0c0327b10d356b153a65d84c SHA512 ca766fb341108cd48a0ffb940877c18ae91b7d32a007efd65e0857e40e681a8cd431166b39abe92b2f598f56b6742c738e7ff824ab657b0f30fa52c3f2754535
MISC metadata.xml 498 BLAKE2B 19eedd389983fd8e7e8db90288e345bea85bc147c7a6ae3aec673d0d400e0e8228261d8b331e12e73c57aa5094b4037d2f6b2f3f70c2792dd06edfad5b2ac1ed SHA512 930d488b4ae1597a033e7f8558748adfc0d27b2dc38d687470543fe6daafe01d32daee4fdc16eb7dab104a7a3b33f2ca262ead8e0db93680d21505060d6c8979
diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild
deleted file mode 100644
index 1145a5ac9a67..000000000000
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.3.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV application"
-HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ https://github.com/Yubico/yubico-piv-tool"
-SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0/2"
-KEYWORDS="amd64 ~arm64 ~riscv"
-IUSE="test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="sys-apps/pcsc-lite
- dev-libs/openssl:=[-bindist(-)]"
-DEPEND="${RDEPEND}
- test? ( dev-libs/check )"
-BDEPEND="dev-util/gengetopt
- sys-apps/help2man
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
- "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
- "${FILESDIR}"/${PN}-2.3.0-no-Werror.patch
-)
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_STATIC_LIB=OFF
- -DBUILD_TESTING=$(usex test)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module \
- || die "Failed to generate p11-kit module configuration"
- insinto /usr/share/p11-kit/modules
- doins ${PN}.module
-}
diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.1.ebuild b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.1.ebuild
deleted file mode 100644
index 42a6ee70a2dc..000000000000
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.5.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV application"
-HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ https://github.com/Yubico/yubico-piv-tool"
-SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0/2"
-KEYWORDS="amd64 ~arm64 ~riscv"
-IUSE="test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="sys-apps/pcsc-lite
- dev-libs/openssl:=[-bindist(-)]"
-DEPEND="${RDEPEND}
- test? ( dev-libs/check )"
-BDEPEND="dev-util/gengetopt
- sys-apps/help2man
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
- "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
- "${FILESDIR}"/${PN}-2.3.0-no-Werror.patch
-)
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_STATIC_LIB=OFF
- -DBUILD_TESTING=$(usex test)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module \
- || die "Failed to generate p11-kit module configuration"
- insinto /usr/share/p11-kit/modules
- doins ${PN}.module
-}
diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.6.0.ebuild
index 42a6ee70a2dc..bdbd4e029157 100644
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.4.2.ebuild
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.6.0.ebuild
@@ -3,26 +3,31 @@
EAPI=8
-inherit cmake
+inherit cmake verify-sig
DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV application"
HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ https://github.com/Yubico/yubico-piv-tool"
-SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
+SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz
+ verify-sig? ( https://developers.yubico.com/${PN}/Releases/${P}.tar.gz.sig )"
LICENSE="BSD-2"
SLOT="0/2"
-KEYWORDS="amd64 ~arm64 ~riscv"
-IUSE="test"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+IUSE="test verify-sig"
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/yubico.com.asc"
RESTRICT="!test? ( test )"
RDEPEND="sys-apps/pcsc-lite
- dev-libs/openssl:=[-bindist(-)]"
+ dev-libs/openssl:=[-bindist(-)]
+ sys-libs/zlib"
DEPEND="${RDEPEND}
test? ( dev-libs/check )"
BDEPEND="dev-util/gengetopt
sys-apps/help2man
- virtual/pkgconfig"
+ virtual/pkgconfig
+ test? ( dev-libs/check )
+ verify-sig? ( >=sec-keys/openpgp-keys-yubico-20240628 )"
PATCHES=(
"${FILESDIR}"/${PN}-2.1.1-tests-optional.patch