From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 47FB615808A for ; Fri, 08 Aug 2025 03:21:55 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 336A3341E79 for ; Fri, 08 Aug 2025 03:21:55 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B39C7110565; Fri, 08 Aug 2025 03:21:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A9145110564 for ; Fri, 08 Aug 2025 03:21:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6176134200B for ; Fri, 08 Aug 2025 03:21:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 46CD932D2 for ; Fri, 08 Aug 2025 03:21:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1754623077.99dee07963a372890ccd9726a874f44acf39f200.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/yubico-piv-tool/Manifest sys-auth/yubico-piv-tool/yubico-piv-tool-2.7.2.ebuild X-VCS-Directories: sys-auth/yubico-piv-tool/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 99dee07963a372890ccd9726a874f44acf39f200 X-VCS-Branch: master Date: Fri, 08 Aug 2025 03:21:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ee2fb653-8f17-4c9a-9784-7c7ff148de8a X-Archives-Hash: e8e7356e1ea1570970e7f308c6fc0ee7 commit: 99dee07963a372890ccd9726a874f44acf39f200 Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Wed Aug 6 22:10:18 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri Aug 8 03:17:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99dee079 sys-auth/yubico-piv-tool: add 2.7.2 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Part-of: https://github.com/gentoo/gentoo/pull/43366 Signed-off-by: Sam James gentoo.org> sys-auth/yubico-piv-tool/Manifest | 2 + .../yubico-piv-tool/yubico-piv-tool-2.7.2.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/sys-auth/yubico-piv-tool/Manifest b/sys-auth/yubico-piv-tool/Manifest index 78497fb7ba86..becf00d0456c 100644 --- a/sys-auth/yubico-piv-tool/Manifest +++ b/sys-auth/yubico-piv-tool/Manifest @@ -2,3 +2,5 @@ DIST yubico-piv-tool-2.6.1.tar.gz 2411956 BLAKE2B 8ccbc384ab96b81730e50f03edd2a0 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 +DIST yubico-piv-tool-2.7.2.tar.gz 1364476 BLAKE2B 2609b812937d3080e83b3800ce283038bb20d741965309228ae71e9100455341b3670bee9e004c3fbe0183d7b2389761f3619c4e3b78c5ca00ba5b6bae9ec3ad SHA512 8a809ac77a763e19bcc0ec983ca5aaa34077fd8d57522fe180596b4b36107cb361df8c590821d33b2f0693094001e17372934687e4446c366e475ef74c27e56c +DIST yubico-piv-tool-2.7.2.tar.gz.sig 566 BLAKE2B 89fc09b126c662a4fa8a9a05a788d561f94ddf06a69dbe1d490cf671d6a0991ddddfeb1c8f3b88fc2d9d812b685dbe7b15e0f95a5518a4ecf697152262e6f6f6 SHA512 8f7c70d54a1289c5fb7569400adfec16833d6fa2f13c62fff9b342b19a72ce5d621e9e6a019f01c5753b4307b1f7026d438afd649ec547f91c53861b5292b947 diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.7.2.ebuild b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.7.2.ebuild new file mode 100644 index 000000000000..3fd75994cee2 --- /dev/null +++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.7.2.ebuild @@ -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 +}