Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/yubikey-manager/
Date: Wed, 24 Aug 2022 14:30:00
Message-Id: 1661351392.91f0f08fc83d69fb462b7e953fb378133346e211.marecki@gentoo
1 commit: 91f0f08fc83d69fb462b7e953fb378133346e211
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 24 14:29:30 2022 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 24 14:29:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91f0f08f
7
8 app-crypt/yubikey-manager: add USE=verify-sig support
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 app-crypt/yubikey-manager/Manifest | 1 +
13 app-crypt/yubikey-manager/yubikey-manager-4.0.9.ebuild | 9 ++++++---
14 2 files changed, 7 insertions(+), 3 deletions(-)
15
16 diff --git a/app-crypt/yubikey-manager/Manifest b/app-crypt/yubikey-manager/Manifest
17 index f5f8528b483f..4051e5b50470 100644
18 --- a/app-crypt/yubikey-manager/Manifest
19 +++ b/app-crypt/yubikey-manager/Manifest
20 @@ -1,2 +1,3 @@
21 DIST yubikey-manager-4.0.8.tar.gz 147076 BLAKE2B efdefb15c3939bfb2171766aec195fb776668894d4439565840587d14387999e052aee6eb225b9332662f1ebdbf1db24fceb606393e23d591ff61b91c1ee96f5 SHA512 87352bbb133eead48d1588df2db5420687278a9f76ceb283a53af8eab3d29e30c86e01a588a6da2884e6dac6af192ad355a28745f2f8505ef6cd0e96dea3e9c7
22 DIST yubikey-manager-4.0.9.gh.tar.gz 145952 BLAKE2B e7a5488be1163e3f3f82c049b7c068c4be82debfccab1d6a60c1f9bdebcab4df94f257082e9c83d6bb0ea037bdab4b47b924d27890537d066205e2fbc28d2066 SHA512 bbffbdf9437d0f2de0b7713fe577a342c8da95e9d9512cb5118374b63637dbde6ee95e516dbb47bbea3af5b2e5edd495882c7e4adcbec1fd3eb750471a50add5
23 +DIST yubikey-manager-4.0.9.gh.tar.gz.sig 310 BLAKE2B 7519032073c94c8aef3552bec3b2288993606ace9e6774fe0c1d2ae90b46a084d85cbf607fe060fbaa8c8edb0ef8e6cb07c22e94d215b18715d7845345f4b775 SHA512 b27e9725e9e1b28f405476c443d4c0bc70fc954f7302c6d2e35f2ad78d9fc6696ff5b011fc8df4226f740079ca6b4dadf754f48dd7862a68f18fa167395b0b9d
24
25 diff --git a/app-crypt/yubikey-manager/yubikey-manager-4.0.9.ebuild b/app-crypt/yubikey-manager/yubikey-manager-4.0.9.ebuild
26 index 3189b72bb3b4..9a19b508f3a1 100644
27 --- a/app-crypt/yubikey-manager/yubikey-manager-4.0.9.ebuild
28 +++ b/app-crypt/yubikey-manager/yubikey-manager-4.0.9.ebuild
29 @@ -6,7 +6,7 @@ EAPI=8
30 PYTHON_COMPAT=( python3_{8..11} )
31 DISTUTILS_USE_PEP517=poetry
32
33 -inherit distutils-r1
34 +inherit distutils-r1 verify-sig
35
36 DESCRIPTION="Python library and command line tool for configuring a YubiKey"
37 HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
38 @@ -14,12 +14,14 @@ HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
39 # tarballs on Yubico Web site and on GitHub should be identical, and at least
40 # for recent releases the latter are signed as well. Only the automatically
41 # generated "Source code (tar.gz)" tarballs should not be used.
42 -SRC_URI="https://github.com/Yubico/yubikey-manager/releases/download/${PV}/${P}.tar.gz -> ${P}.gh.tar.gz"
43 +SRC_URI="https://github.com/Yubico/${PN}/releases/download/${PV}/${P}.tar.gz -> ${P}.gh.tar.gz
44 + verify-sig? ( https://github.com/Yubico/${PN}/releases/download/${PV}/${P}.tar.gz.sig -> ${P}.gh.tar.gz.sig )"
45
46 LICENSE="BSD-2"
47 SLOT="0"
48 KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
49 IUSE="ssl"
50 +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/yubico.com.asc"
51
52 # app-crypt/ccid required for
53 # - 'ykman oath'
54 @@ -33,7 +35,8 @@ RDEPEND="
55 dev-python/pyscard[${PYTHON_USEDEP}]
56 ssl? ( >=dev-python/pyopenssl-0.15.1[${PYTHON_USEDEP}] )"
57 BDEPEND="
58 - test? ( dev-python/makefun[${PYTHON_USEDEP}] )"
59 + test? ( dev-python/makefun[${PYTHON_USEDEP}] )
60 + verify-sig? ( >=sec-keys/openpgp-keys-yubico-20220824 )"
61
62 distutils_enable_tests pytest