From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (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 8DAC8158042 for ; Sat, 2 Nov 2024 12:46:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D74AEE087A; Sat, 2 Nov 2024 12:46:09 +0000 (UTC) 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 pigeon.gentoo.org (Postfix) with ESMTPS id 46E5FE0870 for ; Sat, 2 Nov 2024 12:46:09 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6622A342F9A for ; Sat, 2 Nov 2024 12:46:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 91AAA1F41 for ; Sat, 2 Nov 2024 12:46:05 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1730551559.bcce537054217e617538bf0855428d6cbe996acb.juippis@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.6.1.ebuild X-VCS-Directories: sys-auth/yubico-piv-tool/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: bcce537054217e617538bf0855428d6cbe996acb X-VCS-Branch: master Date: Sat, 2 Nov 2024 12:46:05 +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: cc3aca38-0b3b-455d-98dc-415247c421e8 X-Archives-Hash: 66240d21f45766590baf07e3f935f91c commit: bcce537054217e617538bf0855428d6cbe996acb Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Mon Sep 16 17:50:29 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Nov 2 12:45:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcce5370 sys-auth/yubico-piv-tool: add 2.6.1 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Signed-off-by: Joonas Niilola gentoo.org> sys-auth/yubico-piv-tool/Manifest | 2 + .../yubico-piv-tool/yubico-piv-tool-2.6.1.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/sys-auth/yubico-piv-tool/Manifest b/sys-auth/yubico-piv-tool/Manifest index 3432e0d31fc9..54a1b386f0c0 100644 --- a/sys-auth/yubico-piv-tool/Manifest +++ b/sys-auth/yubico-piv-tool/Manifest @@ -2,3 +2,5 @@ DIST yubico-piv-tool-2.5.2.tar.gz 1324642 BLAKE2B 23b175d37f0f510e1360f8c793e95e DIST yubico-piv-tool-2.5.2.tar.gz.sig 566 BLAKE2B f7cdcbd7f47dd07b57c2cfe146c8801edce254b00cf4abf65783da687787ce91f2bee1419050a2977c66c074cfaf6c8e2f566d5b83ed3b61d56b6f9ba3e41a65 SHA512 c251cc7c7019923c60380302889cc3654ef913c1d5498d328528586d70b951aecff474a4da3a2b9ddb21c1b860335205a16ffed1d397e16e226e7f4725c2bf90 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 +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 diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.6.1.ebuild b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.6.1.ebuild new file mode 100644 index 000000000000..bdbd4e029157 --- /dev/null +++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.6.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 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 +}