From nobody Sat Aug 17 20:45:08 2024 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 4WmW850PXZz5TfsG; Sat, 17 Aug 2024 20:45:09 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WmW843M1Fz4MZf; Sat, 17 Aug 2024 20:45:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723927508; 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=T8wWoVqHMu5V7ephZ2GEl3Od1TAGp/DQPdttL3DMe2c=; b=uJrDGu306VGqJC5ngklf8KxoW9V0QiSqFfHRVy1/SBGPA6a/VDPLUV+W2XN9NxI0+PTk1e BakiDaAXTSPUC05CPh+MRdS/WyqQzAGWfQ2mN53FLvwModgNPCRQr1e+z/kZR+Zce5dhzC QnUa4kcXlHNQiSygtfbyiJ4AwxPMmqfmnNDzRa5YDQsfTxry8a/pYd9+BzxGwUU47Xpf8f QbBqzq4wwgui2lpfv+MZ7AiBLTnNYCbtWwS6GgBSHTlUmfdP25MQp6w9B1s9nRRyx14xd0 1762/FhMhuo3QOyXc97PYhhhI1voj4akyatrmBDO8jqrWQyjNqd2XIIs3hpJqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723927508; a=rsa-sha256; cv=none; b=kSEoxYZxAK2lSztlNusI3dk+UR9MDvKOjX/OA10syb/4ZL5Zjcseu9h8u310sQW3DyQ0zU CJW8AzD1KLF0sgbZPWVklOkOBeDklKt/5mmSizy7okoPay8cxCECPDnn5SxXvSknsWm03o fWXLyS2+3atUP/uElqgF2nlXYSpMrWIjCmDDmZvjzC3s9L19N0t89mdZJESdTxoDRYiHEv aWzbQSiq7iAsHfuAYo5dNP7lIZLdq2HZWRo/xKK20xWpB2wE/hnwgkMYZB7jA75yotgSlC DFYApxtwKIamF/trN8AGi3RU3TnUkJVSsf2EE4/tEl+jqxyBPFBSxCYj6DQk/Q== 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=1723927508; 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=T8wWoVqHMu5V7ephZ2GEl3Od1TAGp/DQPdttL3DMe2c=; b=jU8kqX+9qqord6eaBnzrqYuVbm33MDHLrMPjzd8/NOX1cHR+FrxnZoYppq/ljpp55TeGx/ xRaA31h1Y0k7xr2DZ/YurDZfMc/UIV2MbjEjNMroQwptGC0JG+xa3Hl0wcqCs4LHXXiGrX trGN8wM1nQ0D63KjPL7NOR5SNICTgnT2Ai146AMHWNW7i/sqntdwENpUHZszJdWSWioZmI WbTM3akABzlHNhnuyfyP4A3Yn+NA+LK2881OQu1Lbf4Vr43X/dcrdDZj/Lp9XPfP/HDPgD MBeObQPX5Ija/dGB/CWFobh3zPrmtYcLLpBNCTOh02B8sCPRE4ch9uxnJhJUaQ== 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 4WmW842Y9vz14QW; Sat, 17 Aug 2024 20:45:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47HKj8Q5043736; Sat, 17 Aug 2024 20:45:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47HKj8f0043733; Sat, 17 Aug 2024 20:45:08 GMT (envelope-from git) Date: Sat, 17 Aug 2024 20:45:08 GMT Message-Id: <202408172045.47HKj8f0043733@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: eac8162a0ae5 - main - comms/py-pynitrokey: a command line interface for Nitrokey 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eac8162a0ae5e931307896e0557005bd9535bbfe Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=eac8162a0ae5e931307896e0557005bd9535bbfe commit eac8162a0ae5e931307896e0557005bd9535bbfe Author: Shapovalov Alexey AuthorDate: 2024-07-02 18:48:14 +0000 Commit: Gleb Popov CommitDate: 2024-08-17 20:44:42 +0000 comms/py-pynitrokey: a command line interface for Nitrokey Sponsored by: Serenity Cybersecurity, LLC Co-authored-by: Gleb Popov --- comms/Makefile | 1 + comms/py-pynitrokey/Makefile | 67 +++++++++++++++++++++++++++++++++++++++++++ comms/py-pynitrokey/distinfo | 3 ++ comms/py-pynitrokey/pkg-descr | 2 ++ 4 files changed, 73 insertions(+) diff --git a/comms/Makefile b/comms/Makefile index 4e99ca4066c8..ad3895a04174 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -140,6 +140,7 @@ SUBDIR += py-nkdfu SUBDIR += py-pylink-square SUBDIR += py-pymodbus + SUBDIR += py-pynitrokey SUBDIR += py-pyocd SUBDIR += py-pyocd-pemicro SUBDIR += py-pyserial diff --git a/comms/py-pynitrokey/Makefile b/comms/py-pynitrokey/Makefile new file mode 100644 index 000000000000..5ea3398e0bed --- /dev/null +++ b/comms/py-pynitrokey/Makefile @@ -0,0 +1,67 @@ +PORTNAME= pynitrokey +DISTVERSION= 0.4.50 +CATEGORIES= comms python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= awoonyaa@gmail.com +COMMENT= Command line interface for Nitrokey FIDO2, Nitr. Start, Nitr.3, NetHSM +WWW= https://pypi.org/project/pynitrokey/ + +LICENSE= MIT + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}spsdk>=0:comms/py-spsdk@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}certifi>=14.5.14,:security/py-certifi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=8.0,:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ecdsa>=0:security/py-ecdsa@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fido2>=1.1.2,<2:security/py-fido2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}intelhex>=0:devel/py-intelhex@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyusb>=0:devel/py-pyusb@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>=0:misc/py-tqdm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyserial>=0:comms/py-pyserial@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}semver>=0:devel/py-semver@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nkdfu>=0:comms/py-nkdfu@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.7.0:devel/py-python-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tlv8>=0:converters/py-tlv8@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.3.0:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click_aliases>=0:devel/py-click-aliases@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nethsm>=1.0.0,<2:security/py-nethsm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}google-api-python-client>0:www/py-google-api-python-client@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}spsdk>=0:comms/py-spsdk@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}certifi>=14.5.14,:security/py-certifi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=8.0,:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ecdsa>=0:security/py-ecdsa@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fido2>=1.1.2,<2:security/py-fido2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}intelhex>=0:devel/py-intelhex@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyusb>=0:devel/py-pyusb@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>=0:misc/py-tqdm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyserial>=0:comms/py-pyserial@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}semver>=0:devel/py-semver@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nkdfu>=0:comms/py-nkdfu@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.7.0:devel/py-python-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tlv8>=0:converters/py-tlv8@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.3.0:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click_aliases>=0:devel/py-click-aliases@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nethsm>=1.0.0,<2:security/py-nethsm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}google-api-python-client>0:www/py-google-api-python-client@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} + +PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel +PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2.0<4:devel/py-flit-core@${PY_FLAVOR} + +USES= python shebangfix +USE_PYTHON= autoplist concurrent pep517 + +SHEBANG_FILES= pynitrokey/start/upgrade_by_passwd.py \ + pynitrokey/start/usb_strings.py + +NO_ARCH= yes + +.include diff --git a/comms/py-pynitrokey/distinfo b/comms/py-pynitrokey/distinfo new file mode 100755 index 000000000000..ff5db5e78379 --- /dev/null +++ b/comms/py-pynitrokey/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1723887077 +SHA256 (pynitrokey-0.4.50.tar.gz) = 048070218c6851c2bb13af5111cbbfaa6ae9365c98c2703b226de2452b169670 +SIZE (pynitrokey-0.4.50.tar.gz) = 179654 diff --git a/comms/py-pynitrokey/pkg-descr b/comms/py-pynitrokey/pkg-descr new file mode 100755 index 000000000000..0a011755b693 --- /dev/null +++ b/comms/py-pynitrokey/pkg-descr @@ -0,0 +1,2 @@ +A command line interface for the Nitrokey FIDO2, Nitrokey Start, +Nitrokey 3 and NetHSM