mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-auth/yubico-piv-tool: add 2.7.1
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
5b6b02dcee
commit
35d7e302f2
@@ -2,3 +2,5 @@ DIST yubico-piv-tool-2.6.0.tar.gz 1359764 BLAKE2B c9513401bdf9175b929a7c7ecf09ef
|
||||
DIST yubico-piv-tool-2.6.0.tar.gz.sig 566 BLAKE2B f5a99c89618cbfed11950402d850a4d38e934a3436399156e950abed6a45bf0ba89e2c45c9014248f1eb3e71bc8d0abbcfaaa87c537788490daca4a52368f794 SHA512 fae8612ea08e7136134fe9fa82893f0f98118e4592e5e7fb0b844aa96e0182cf9b6d5eddc1bbe11b49470ebaf22fdf33575f7955b870b01eeff6b751d7a000b8
|
||||
DIST yubico-piv-tool-2.6.1.tar.gz 2411956 BLAKE2B 8ccbc384ab96b81730e50f03edd2a046c8fb677472bf136dfba3505ca7630f5c214b4a0c6346f15f6deaca8acecd199d061a21e59ff67e6b805980137ee17e13 SHA512 39c947db1ecbdda3ebd97614d0dbad75c603de5624941c90c4dcfa7d23523766d81d00fed6c7d9bd41f9b3013ebea77aa7b244230dfc76105756b0c493484b38
|
||||
DIST yubico-piv-tool-2.6.1.tar.gz.sig 566 BLAKE2B 0d3fdb88b081712d38639b63e8d85dc40540b5f7648a1ad45e9e43d8ba26cc4048f56fc3e09100887644b9e3c8dd62381c064b20607841b5ae04e5d5ec0a52c6 SHA512 b63f1953bd3b10ecbb14eaa8fe2ac0d879e53a8918f166a435d04ffaff3c9ea26ed518f4318fe9e3e36ba41869cdf05db8e51043b8a5ef8d649ee6a637ac4222
|
||||
DIST yubico-piv-tool-2.7.1.tar.gz 1361900 BLAKE2B 73c0106f378e0f4bedc4b8bde7b96ebd96d111a25c0d63e3e885c6950e60377bdda3758cc7762b7e3c871651169a76d69d306c5469bf176515ff359fff752b79 SHA512 147accafc833207506f92bf9cac0958300c980b3d72d7bc0b1c613a4c442e175ec11f8fa4cf2826095c60492f7b318185a980c944178b5b5699f878bceef9f8b
|
||||
DIST yubico-piv-tool-2.7.1.tar.gz.sig 566 BLAKE2B cc315cb39e59c30eeb96b77de50f9cd6ad6f990becdbf6e3b194cf55e4ad4878a3471f463d9ac99c7d3c15667e362b7294f484b58604d7b699823d345d7f713d SHA512 20ab9be637e00d17a75377a52911f998ffe5fc1a9474d7db197a3ae683ca635bad833b6d81e89569abca282a91ef94e63e4b2bb1055761a0858fd78b2bd7e68f
|
||||
|
||||
53
sys-auth/yubico-piv-tool/yubico-piv-tool-2.7.1.ebuild
Normal file
53
sys-auth/yubico-piv-tool/yubico-piv-tool-2.7.1.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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
|
||||
verify-sig? ( https://developers.yubico.com/${PN}/Releases/${P}.tar.gz.sig )"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0/2"
|
||||
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(-)]
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/check )"
|
||||
BDEPEND="dev-util/gengetopt
|
||||
sys-apps/help2man
|
||||
virtual/pkgconfig
|
||||
test? ( dev-libs/check )
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-yubico-20240628 )"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user