From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/
Date: Thu, 9 Sep 2021 11:20:30 +0000 (UTC) [thread overview]
Message-ID: <1631186420.70dc3349825a3f95e899f9e52b18c4c110ddb940.marecki@gentoo> (raw)
commit: 70dc3349825a3f95e899f9e52b18c4c110ddb940
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 9 11:00:49 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Sep 9 11:20:20 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70dc3349
sys-auth/yubico-piv-tool: add 2.2.1
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
sys-auth/yubico-piv-tool/Manifest | 1 +
.../yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild | 52 ++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/sys-auth/yubico-piv-tool/Manifest b/sys-auth/yubico-piv-tool/Manifest
index 5a4592f6754..0a4fc772df5 100644
--- a/sys-auth/yubico-piv-tool/Manifest
+++ b/sys-auth/yubico-piv-tool/Manifest
@@ -1 +1,2 @@
DIST yubico-piv-tool-2.2.0.tar.gz 1309359 BLAKE2B a5be7a48549f864b9322b5bf53726007b593ce7d08cd06f2251aef98cb065d90586e0189e6f3da94d6d274d6998459afa4a55a0d4c1145395f55830f53d334e4 SHA512 b2f8cd73800e0e0778ce36148b962026479f5d3ada3e313acb5a780993c28c41b03e9aa9335ac5b79fed7a418a2d3d3697231adf2da0dd06cd8d22ea5a01aca5
+DIST yubico-piv-tool-2.2.1.tar.gz 1310253 BLAKE2B f5e5d2c351200b2fc57aafdd02a604ee5f15cd8f1a0cb552133a367da2cbf7fe248ec9eba649427b30e8322126be1f9677fd471b38db1f00cda37ccb0ac413c9 SHA512 495a269194d8d9d8957542611959b3fc8e0ae54d1cab5c041f2604590cc740e89e0956b9d595f8a06f138e92b8804def52aae797f199479a81fc1fc3d57bfb96
diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
new file mode 100644
index 00000000000..ba22c83716b
--- /dev/null
+++ b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.2.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 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://github.com/Yubico/${PN}/archive/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0/2"
+KEYWORDS="~amd64 ~riscv"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="sys-apps/pcsc-lite
+ <dev-libs/openssl-3.0.0:0=[-bindist(-)]"
+DEPEND="${RDEPEND}
+ test? ( dev-libs/check )"
+BDEPEND="dev-util/gengetopt
+ sys-apps/help2man
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.1.1-no-Werror.patch
+ "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
+ "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
+)
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_configure() {
+ # As of 2.2.0, man pages end up in /usr/usr/... without the MANDIR override
+ local mycmakeargs=(
+ -DBUILD_STATIC_LIB=OFF
+ -DBUILD_TESTING=$(usex test)
+ -DCMAKE_INSTALL_MANDIR="share/man"
+ )
+ 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
+}
next reply other threads:[~2021-09-09 11:20 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-09 11:20 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-28 10:12 [gentoo-commits] repo/gentoo:master commit in: sys-auth/yubico-piv-tool/ Sam James
2025-01-21 13:13 Joonas Niilola
2024-12-18 12:14 Sam James
2024-11-02 12:46 Joonas Niilola
2024-11-02 12:46 Joonas Niilola
2024-10-05 8:08 Arthur Zamarin
2024-08-28 6:58 Joonas Niilola
2024-08-28 6:39 Joonas Niilola
2024-08-28 6:39 Joonas Niilola
2024-08-04 12:53 Jakov Smolić
2024-07-04 16:46 Jakov Smolić
2024-07-04 1:15 Sam James
2024-07-04 1:15 Sam James
2024-04-09 15:54 Arthur Zamarin
2024-04-07 15:22 Marek Szuba
2023-12-25 12:25 Marek Szuba
2023-06-04 15:49 Arthur Zamarin
2023-04-05 14:07 Marek Szuba
2023-04-04 19:32 Arthur Zamarin
2023-02-21 23:41 Marek Szuba
2022-04-09 23:35 Marek Szuba
2022-03-03 0:24 Marek Szuba
2021-11-19 15:04 Marek Szuba
2021-11-19 13:38 Jakov Smolić
2021-11-19 11:50 Marek Szuba
2021-09-09 15:16 Marek Szuba
2021-08-02 12:33 Marek Szuba
2021-08-01 16:54 Marek Szuba
2021-06-17 22:18 Thomas Deutschmann
2021-06-17 20:32 Thomas Deutschmann
2021-03-12 15:25 Sam James
2021-01-22 10:47 Marek Szuba
2020-10-15 14:27 Marek Szuba
2020-10-14 19:08 Agostino Sarubbo
2020-10-14 14:44 Marek Szuba
2020-09-13 11:02 Marek Szuba
2020-09-06 20:39 Marek Szuba
2020-09-06 20:27 Marek Szuba
2020-09-06 20:27 Marek Szuba
2018-10-02 19:19 Richard Farina
2017-11-24 23:09 Michael Palimaka
2017-11-21 18:00 Manuel Rüger
2017-10-19 13:07 Manuel Rüger
2017-10-19 12:17 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1631186420.70dc3349825a3f95e899f9e52b18c4c110ddb940.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox