summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-11-10 00:18:38 +0000
committerMarek Szuba <marecki@gentoo.org>2022-11-10 00:42:14 +0000
commit0e48f572a43affac02de5cdfc3709bf5dc94b82d (patch)
treec579a34857988f229a2f9d0bc40e10c1afee0ea1 /app-crypt/yubikey-manager
parentdev-vcs/git-machete: drop 3.12.4 (diff)
downloadgentoo-0e48f572a43affac02de5cdfc3709bf5dc94b82d.tar.gz
gentoo-0e48f572a43affac02de5cdfc3709bf5dc94b82d.tar.bz2
gentoo-0e48f572a43affac02de5cdfc3709bf5dc94b82d.zip
app-crypt/yubikey-manager: add 5.0.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-crypt/yubikey-manager')
-rw-r--r--app-crypt/yubikey-manager/Manifest2
-rw-r--r--app-crypt/yubikey-manager/yubikey-manager-5.0.0.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/app-crypt/yubikey-manager/Manifest b/app-crypt/yubikey-manager/Manifest
index 4051e5b50470..993ede070bc6 100644
--- a/app-crypt/yubikey-manager/Manifest
+++ b/app-crypt/yubikey-manager/Manifest
@@ -1,3 +1,5 @@
DIST yubikey-manager-4.0.8.tar.gz 147076 BLAKE2B efdefb15c3939bfb2171766aec195fb776668894d4439565840587d14387999e052aee6eb225b9332662f1ebdbf1db24fceb606393e23d591ff61b91c1ee96f5 SHA512 87352bbb133eead48d1588df2db5420687278a9f76ceb283a53af8eab3d29e30c86e01a588a6da2884e6dac6af192ad355a28745f2f8505ef6cd0e96dea3e9c7
DIST yubikey-manager-4.0.9.gh.tar.gz 145952 BLAKE2B e7a5488be1163e3f3f82c049b7c068c4be82debfccab1d6a60c1f9bdebcab4df94f257082e9c83d6bb0ea037bdab4b47b924d27890537d066205e2fbc28d2066 SHA512 bbffbdf9437d0f2de0b7713fe577a342c8da95e9d9512cb5118374b63637dbde6ee95e516dbb47bbea3af5b2e5edd495882c7e4adcbec1fd3eb750471a50add5
DIST yubikey-manager-4.0.9.gh.tar.gz.sig 310 BLAKE2B 7519032073c94c8aef3552bec3b2288993606ace9e6774fe0c1d2ae90b46a084d85cbf607fe060fbaa8c8edb0ef8e6cb07c22e94d215b18715d7845345f4b775 SHA512 b27e9725e9e1b28f405476c443d4c0bc70fc954f7302c6d2e35f2ad78d9fc6696ff5b011fc8df4226f740079ca6b4dadf754f48dd7862a68f18fa167395b0b9d
+DIST yubikey_manager-5.0.0.tar.gz 158461 BLAKE2B 622c01883efcaa3db27e8ef9e52e2b4e941e627ae144b753b1b161ada5766578320b6bf748fb71c97c3ac9f2cd96993f6180d8e40563ac423df21a333dc3b06e SHA512 b529ab33712ebf2e88509dbceb19e4582e6a5b00890a0660f9409e3f8e4475ba1842fc1edcb515a1ca766b0e57b3ea323a19d8cd155c914d16cf67cfc693dfed
+DIST yubikey_manager-5.0.0.tar.gz.sig 310 BLAKE2B 9f561511320dca89c2d757e079ad7b22b783006214d538e03ee5721540a03f528dc8098922e2df191d013b3038e664e05eb12d017f130995c345aec613b7bd48 SHA512 98d13154863441b3d3b5e2a75806db3aed1a489635d4257e4249ded4eb393042c8371ce9ccb66ed35b9015c5f7baec36ceae07a64a48d2a12c3971e395de0173
diff --git a/app-crypt/yubikey-manager/yubikey-manager-5.0.0.ebuild b/app-crypt/yubikey-manager/yubikey-manager-5.0.0.ebuild
new file mode 100644
index 000000000000..b5d7bf33527a
--- /dev/null
+++ b/app-crypt/yubikey-manager/yubikey-manager-5.0.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=poetry
+
+inherit distutils-r1 verify-sig
+
+MY_PN="${PN/-/_}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Python library and command line tool for configuring a YubiKey"
+HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
+# According to https://github.com/Yubico/yubikey-manager/issues/518 the release
+# tarballs on Yubico Web site and on GitHub should be identical, and at least
+# for recent releases the latter are signed as well. Only the automatically
+# generated "Source code (tar.gz)" tarballs should not be used.
+# Still, prefer the former if available.
+SRC_URI="https://developers.yubico.com/${PN}/Releases/${MY_P}.tar.gz
+ verify-sig? ( https://developers.yubico.com/${PN}/Releases/${MY_P}.tar.gz.sig )"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="ssl"
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/yubico.com.asc"
+
+# app-crypt/ccid required for
+# - 'ykman oath'
+# - 'ykman openpgp'
+# - 'ykman piv'
+RDEPEND="
+ app-crypt/ccid
+ dev-python/click[${PYTHON_USEDEP}]
+ <dev-python/cryptography-41[${PYTHON_USEDEP}]
+ dev-python/fido2:0/1.0[${PYTHON_USEDEP}]
+ dev-python/keyring[${PYTHON_USEDEP}]
+ dev-python/pyscard[${PYTHON_USEDEP}]
+ ssl? ( >=dev-python/pyopenssl-0.15.1[${PYTHON_USEDEP}] )"
+BDEPEND="
+ test? ( dev-python/makefun[${PYTHON_USEDEP}] )
+ verify-sig? ( >=sec-keys/openpgp-keys-yubico-20220824 )"
+
+S="${WORKDIR}"/${MY_P}
+
+distutils_enable_tests pytest
+
+python_install_all() {
+ distutils-r1_python_install_all
+ doman man/ykman.1
+}