diff --git a/security/py-yubikey-manager/Makefile b/security/py-yubikey-manager/Makefile index 89e0911599e4..145b4484c17f 100644 --- a/security/py-yubikey-manager/Makefile +++ b/security/py-yubikey-manager/Makefile @@ -1,31 +1,30 @@ PORTNAME= yubikey-manager -PORTVERSION= 4.0.2 -PORTREVISION= 1 +PORTVERSION= 4.0.5 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= egypcio@FreeBSD.org COMMENT= Python library and command line tool for configuring a YubiKey LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fido2>0:security/py-fido2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyscard>0:security/py-pyscard@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyusb>0:devel/py-pyusb@${PY_FLAVOR} \ RSA_SecurID_getpasswd:devel/libccid \ pcsc-spy:devel/pcsc-lite \ u2f-host:security/libu2f-host \ ykpersonalize:security/ykpers USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/security/py-yubikey-manager/distinfo b/security/py-yubikey-manager/distinfo index 29bb03d482d3..6065e7652782 100644 --- a/security/py-yubikey-manager/distinfo +++ b/security/py-yubikey-manager/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1618327758 -SHA256 (yubikey-manager-4.0.2.tar.gz) = 998f804a66695feeb3a48ba200320850243aa605d6d4edcb30bea4cc349aea21 -SIZE (yubikey-manager-4.0.2.tar.gz) = 139110 +TIMESTAMP = 1628979993 +SHA256 (yubikey-manager-4.0.5.tar.gz) = 20117dbdcbe5bed6c9a172dae8452c44689c283ad1a8434e28f4e05de153f288 +SIZE (yubikey-manager-4.0.5.tar.gz) = 142197 diff --git a/security/py-yubikey-manager/files/patch-ykman_hid_____init____.py b/security/py-yubikey-manager/files/patch-ykman_hid_____init____.py deleted file mode 100644 index 235da25bf84d..000000000000 --- a/security/py-yubikey-manager/files/patch-ykman_hid_____init____.py +++ /dev/null @@ -1,21 +0,0 @@ ---- ykman/hid/__init__.py.orig 2021-04-12 07:23:08 UTC -+++ ykman/hid/__init__.py -@@ -42,12 +42,15 @@ elif sys.platform.startswith("win32"): - from . import windows as backend - elif sys.platform.startswith("darwin"): - from . import macos as backend -+elif sys.platform.startswith("freebsd"): -+ backend = None - else: - raise Exception("Unsupported platform") - -- --list_otp_devices: Callable[[], List[OtpYubiKeyDevice]] = backend.list_devices -- -+if backend is not None: -+ list_otp_devices: Callable[[], List[OtpYubiKeyDevice]] = backend.list_devices -+else: -+ list_otp_devices: Callable[[], List[OtpYubiKeyDevice]] = lambda: [] - - class CtapYubiKeyDevice(YkmanDevice): - """YubiKey FIDO USB HID device"""