summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2024-03-05 10:34:19 +0000
committerMarek Szuba <marecki@gentoo.org>2024-03-05 13:27:15 +0000
commit036f0ac53ef208ef594d8131bdc6dc9eb4426102 (patch)
treef835d3ae7b44f886d32f0ca26a4ceccd7f6d6d64 /app-crypt
parentdev-python/mkdocs-ansible: add 24.2.1 (diff)
downloadgentoo-036f0ac53ef208ef594d8131bdc6dc9eb4426102.tar.gz
gentoo-036f0ac53ef208ef594d8131bdc6dc9eb4426102.tar.bz2
gentoo-036f0ac53ef208ef594d8131bdc6dc9eb4426102.zip
app-crypt/yubikey-manager: add 5.3.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/yubikey-manager/Manifest2
-rw-r--r--app-crypt/yubikey-manager/yubikey-manager-5.3.0.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/app-crypt/yubikey-manager/Manifest b/app-crypt/yubikey-manager/Manifest
index db370789b989..37002a73043b 100644
--- a/app-crypt/yubikey-manager/Manifest
+++ b/app-crypt/yubikey-manager/Manifest
@@ -2,3 +2,5 @@ DIST yubikey_manager-5.2.0.tar.gz 184873 BLAKE2B 09041c23e23ff01cad2d126face6300
DIST yubikey_manager-5.2.0.tar.gz.sig 309 BLAKE2B bb1a012832c99aaa94404717560e72fb93352b82dd3c0091cb492cde65706c39b9e2411e38a36150d77e72f6397d98cef643d0b392c1751e9c109de3468c9a39 SHA512 926a7a7c40d38bcc0a48e3b44f3eb673c16f7bed73701f5cb6f9ac4418c9f2a242b8d2af9459093ec10e8c188410412a8ba8c05a0fd4774a738629a4b0f874d4
DIST yubikey_manager-5.2.1.tar.gz 185533 BLAKE2B 7aa61043eb7f8a9502ee3c3aaea8d2cae63bde564aa8d2332570247959df966049b181bc1b3fa5749d1f66f21c2a2b10871cbe8e6a83c81ee67648957a2eb869 SHA512 96118f1b4e9509f9b299f8dfea2b29f7ac2958797facfae6bacb425fd4aa4cf5c91a14dcdbb9edbc9cf5785cfb9d5e4c465ad3e3813fd902cf12ad2d6b072329
DIST yubikey_manager-5.2.1.tar.gz.sig 310 BLAKE2B 1338fd7f05766629790188e20d0dc71548941522ce02e0b3d0f7db0be6ee61655000aeb45b3a58c80d0cb891a13a816f4af2f145339d2fb09b9c6293a882bf86 SHA512 57a63bd272e61f93182fb26e1378d8e355efd91c2e2eede70744223fd47e02f4e210725ad31b1ce1bfdc81a67183159054a8238930ca4bdaec2aa7970b170f35
+DIST yubikey_manager-5.3.0.tar.gz 188418 BLAKE2B cd33d3a22c82ef1588121b7f8ff1c724d1fe7c9a58daa68938c2c3c4f1f0bbcdd4b04c3a0d2c51db6a2184038e67cb62f452583e1304e23c3ea9df0e0f16aa4e SHA512 6cdcb10e490319344f3afb18a6826b4a83bd2ea388b2942b57b3e3eff7a21384df8e183989281eb30375dd371dfcfdf6504195144515439190f6c49f6b9e6a49
+DIST yubikey_manager-5.3.0.tar.gz.sig 310 BLAKE2B 7dbf245d168872ec59b37f8b676f8ae230dd27642f532526aa8edf64dd3da5f2492aeff73ce7e0b4b48eda00af8880d7b889aae653d38028e67233ebdc895a5f SHA512 5f1e690afa5bee00c2bdaea7e33686280d856a217953fc8d951eb8b2111ae67eb6f817db3e92b0f5b515ca1ab6b5d53f14ec68629728ddb2f210ef58e6e871cb
diff --git a/app-crypt/yubikey-manager/yubikey-manager-5.3.0.ebuild b/app-crypt/yubikey-manager/yubikey-manager-5.3.0.ebuild
new file mode 100644
index 000000000000..a3f8053a2c6a
--- /dev/null
+++ b/app-crypt/yubikey-manager/yubikey-manager-5.3.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+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="/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-8.0[${PYTHON_USEDEP}]
+ <dev-python/cryptography-45[${PYTHON_USEDEP}]
+ dev-python/fido2:0/1.0[${PYTHON_USEDEP}]
+ <dev-python/keyring-25[${PYTHON_USEDEP}]
+ >=dev-python/pyscard-2.0[${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
+}