From nobody Mon Sep 04 08:34:47 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RfMPz2cK0z4sHJD; Mon, 4 Sep 2023 08:34:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RfMPz28hXz4JfS; Mon, 4 Sep 2023 08:34:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693816487; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iV9yvTTZklH5Rt7exbHaG6AoFZYbKKSjepNjFiWWlb4=; b=mDFBllkDFQZDcUPSgOOro1CbuEQ9HfQhr/f5uCFRRz2kW+33d5naBAror1sUguUal+woJg NWX8Vy+dDE1KyX3rDiDzyM32IVPosX0dN7sNPKfU2p/PpQln0kV0z4BlHQOuDfzbjaHTMx z3Gj/vkSF1ZHFIHBkWV41pqlVeGN3Wi9FpXdgVhi01AoCQuggvIeNGV7kmHGBU8YBUNI8W UiwtPQBwixd5/NIwXgztx4TVQNEQm57HiE1AY19RLl+vftZ6pwREsEnEJ/Z8vE8RD4npEt 5crhgZ93J8y5amkcnd5wPwWPtp+g2SWkbzrhH2yEw62uYNBVa2D1ivSI8w2e/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693816487; a=rsa-sha256; cv=none; b=ePRErg+3Hju4zEoOv4xndAgPCSNSmAu1LuZiWvsLrDTn605j7yg3FDgT2FgpizUMTDmAZC t5spVPa1vP0/RZa6dVezzRvHrEhJ+s/y/Nz3jGNaTqaXjHKOm580POae5Y1ENmwTvH8ruL in3RJ3dl8z/U1MMrphenacHpRWhCOw4AWQcM9tEsgRCr+RxbYMncvCZsUg1flYo6KueP/4 aFYYnkU1oVtD438qRtgFzWyX6dLy8moM9jN4mjia78kfYrTqpiG2sjoIq9Wd2hYQjF32sQ E9/yFUkJAdAdqFzyhca8+gvlaYMWqdeK5Tyu/Oe9voBPLpSFkamqgx2ZVkJGjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693816487; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iV9yvTTZklH5Rt7exbHaG6AoFZYbKKSjepNjFiWWlb4=; b=sv2EGcse7MBgsmjPHKYQnfkgKr93Jsqtt9lBvX+vE4NFag244HKk0FPzmz3S026LubPFkR mIuHj7AiYWdJhI0sy7R2boHxn/cmzt3/vasVv/D4U0ZpvmmWp8wtm+2AKlGXYlyKaN+oXm 9O/IcvfB+ZzF0C5tonJzr/xistAlA+ATy6zHMWQnce/U+LsWX/pVLmVrll7Zb4afESBtuh qGVB12S5BefxwCPNxYZKofPczsbnZ8xjh+ETIFcakE678BKgIeoCOCuP4b39iIamTyPfhX HKlDxuo1mEdwAiYj5N/nvfMtlU2dd9iR5gjl7QBcMdkAQ0AUDebt+ksbX7k8Nw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RfMPz1Bn3z10Tn; Mon, 4 Sep 2023 08:34:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3848YlSM097500; Mon, 4 Sep 2023 08:34:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3848YlZd097497; Mon, 4 Sep 2023 08:34:47 GMT (envelope-from git) Date: Mon, 4 Sep 2023 08:34:47 GMT Message-Id: <202309040834.3848YlZd097497@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Vin=C3=ADcius?= Zavam Subject: git: 16446be04be6 - main - security/py-yubikey-manager: update 4.0.9 to 5.2.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: egypcio X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 16446be04be60fc4831368bf7dc9b2199aa1d6ac Auto-Submitted: auto-generated The branch main has been updated by egypcio: URL: https://cgit.FreeBSD.org/ports/commit/?id=16446be04be60fc4831368bf7dc9b2199aa1d6ac commit 16446be04be60fc4831368bf7dc9b2199aa1d6ac Author: Vinícius Zavam AuthorDate: 2023-09-04 08:22:42 +0000 Commit: Vinícius Zavam CommitDate: 2023-09-04 08:22:42 +0000 security/py-yubikey-manager: update 4.0.9 to 5.2.0 While here, * Add OTP HID support for FreeBSD (merged in upstream) [0]; * Move into pep517 (https://wiki.freebsd.org/Python/PEP-517); * Start using USES=pycryptography as introduced by 7bb64b89d0e5ec8 Note that, * should one does not with to set PYCRYPTOGRAHY_DEFAULT=legacy, `ykman` (and other packages/ports depending on that) would require CRYPTOGRAPHY_OPENSSL_NO_LEGACY= to be true. [0] https://github.com/Yubico/yubikey-manager/commit/ecd7897b3f020542f70581f77f47ba57c739b334 PR: 273505 Reported by: David Horn --- security/py-yubikey-manager/Makefile | 12 +++++++----- security/py-yubikey-manager/distinfo | 6 +++--- .../py-yubikey-manager/files/patch-ykman_hid_____init____.py | 12 ------------ 3 files changed, 10 insertions(+), 20 deletions(-) diff --git a/security/py-yubikey-manager/Makefile b/security/py-yubikey-manager/Makefile index 1e0c98ae7bda..627003afdcca 100644 --- a/security/py-yubikey-manager/Makefile +++ b/security/py-yubikey-manager/Makefile @@ -1,9 +1,9 @@ PORTNAME= yubikey-manager -PORTVERSION= 4.0.9 -PORTREVISION= 4 +PORTVERSION= 5.2.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= yubikey_manager-${PORTVERSION} MAINTAINER= egypcio@FreeBSD.org COMMENT= Python library and command line tool for configuring a YubiKey @@ -12,9 +12,11 @@ WWW= https://developers.yubico.com/yubikey-manager/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= ${RUN_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} \ + ${PYTHON_PKGNAMEPREFIX}poetry>=0:devel/py-poetry@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fido2>0:security/py-fido2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}keyring>=0:security/py-keyring@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyscard>0:security/py-pyscard@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyusb>0:devel/py-pyusb@${PY_FLAVOR} \ @@ -25,8 +27,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}makefun>0:devel/py-makefun@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} -USES= dos2unix python pycryptography:run -USE_PYTHON= autoplist concurrent distutils unittest +USES= dos2unix pycryptography python +USE_PYTHON= autoplist concurrent pep517 unittest DOS2UNIX_GLOB= *.adoc *.py diff --git a/security/py-yubikey-manager/distinfo b/security/py-yubikey-manager/distinfo index 253879d02872..222bb2ba71c4 100644 --- a/security/py-yubikey-manager/distinfo +++ b/security/py-yubikey-manager/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1655559347 -SHA256 (yubikey-manager-4.0.9.tar.gz) = 384e3a2a66df4ce417aede734eb8c5d0c1b7981290e9bc940c85cc000ef833b4 -SIZE (yubikey-manager-4.0.9.tar.gz) = 145952 +TIMESTAMP = 1693744660 +SHA256 (yubikey_manager-5.2.0.tar.gz) = 45e0f09e3cee2375b6f930dd5d89c1d3a7ca5d5cccb599b16a12f8f7d989fd36 +SIZE (yubikey_manager-5.2.0.tar.gz) = 184873 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 baa8cb71818f..000000000000 --- a/security/py-yubikey-manager/files/patch-ykman_hid_____init____.py +++ /dev/null @@ -1,12 +0,0 @@ -See https://github.com/Yubico/yubikey-manager/commit/ecd7897b3f02054 ---- ykman/hid/__init__.py.orig 2022-05-27 13:02:44 UTC -+++ ykman/hid/__init__.py -@@ -41,6 +41,8 @@ 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"): -+ from . import freebsd as backend - else: - - class backend: