Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jul 2022 11:46:34 GMT
From:      Michael Gmelin <grembo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f4ada6dd4d4b - main - security/py-yubikey-manager: Fix dependencies, undeprecate
Message-ID:  <202207071146.267BkYSw004411@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by grembo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f4ada6dd4d4b58ee68860121b62813a8f9034751

commit f4ada6dd4d4b58ee68860121b62813a8f9034751
Author:     Michael Gmelin <grembo@FreeBSD.org>
AuthorDate: 2022-07-07 11:40:44 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2022-07-07 11:44:48 +0000

    security/py-yubikey-manager: Fix dependencies, undeprecate
    
    Upstream stopped using py-pycrypto in 2016. It uses py-cryptography,
    which is pulled in indirectly through the dependency on py-fido2.
    
    Therefore:
    - Remove dependency on py-pycrypto
    - Add dependency on py-cryptography (same version range as py-fido2)
    - Undeprecate
---
 security/py-yubikey-manager/Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/security/py-yubikey-manager/Makefile b/security/py-yubikey-manager/Makefile
index 8020c896d474..09ad2ef3e431 100644
--- a/security/py-yubikey-manager/Makefile
+++ b/security/py-yubikey-manager/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	yubikey-manager
 PORTVERSION=	4.0.9
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,15 +11,12 @@ COMMENT=	Python library and command line tool for configuring a YubiKey
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-DEPRECATED=	Depends on expired security/py-pycrypto
-EXPIRATION_DATE=2022-09-30
-
 BUILD_DEPENDS=	${RUN_DEPENDS}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cryptography>=2.6<40:security/py-cryptography@${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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207071146.267BkYSw004411>