From owner-dev-commits-ports-all@freebsd.org Sun Apr 25 20:37:13 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4CEE45E661D; Sun, 25 Apr 2021 20:37:13 +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 4FT0FP06Prz4VDj; Sun, 25 Apr 2021 20:37:12 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 947BD1A6E4; Sun, 25 Apr 2021 20:37:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13PKbCH0076767; Sun, 25 Apr 2021 20:37:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13PKbCkT076766; Sun, 25 Apr 2021 20:37:12 GMT (envelope-from git) Date: Sun, 25 Apr 2021 20:37:12 GMT Message-Id: <202104252037.13PKbCkT076766@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: f3ca692f8b5a - main - net/py-pyu2f: Add py-pyu2f 0.1.5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f3ca692f8b5af33cc9796da5333562c828021243 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2021 20:37:13 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3ca692f8b5af33cc9796da5333562c828021243 commit f3ca692f8b5af33cc9796da5333562c828021243 Author: Po-Chuan Hsieh AuthorDate: 2021-04-25 20:11:24 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-04-25 20:35:07 +0000 net/py-pyu2f: Add py-pyu2f 0.1.5 pyu2f is a python based U2F host library. It provides functionality for interacting with a U2F device over USB. pyu2f uses ctypes to make system calls directly to interface with the USB HID device. This means that no platform specific shared libraries need to be compiled for pyu2f to work. By default pyu2f will use its own U2F stack implementation to sign requests. If desired, pyu2f can offload signing to a pluggable command line tool. Offloading is not yet supported for U2F registration. WWW: https://github.com/google/pyu2f --- net/Makefile | 1 + net/py-pyu2f/Makefile | 22 ++++++++++++++++++++++ net/py-pyu2f/distinfo | 3 +++ net/py-pyu2f/pkg-descr | 12 ++++++++++++ 4 files changed, 38 insertions(+) diff --git a/net/Makefile b/net/Makefile index f6c01e897b48..179f4c0c7986 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1087,6 +1087,7 @@ SUBDIR += py-python-socks SUBDIR += py-python-twitter SUBDIR += py-pytradfri + SUBDIR += py-pyu2f SUBDIR += py-pyvmomi SUBDIR += py-pyzmq SUBDIR += py-qt5-network diff --git a/net/py-pyu2f/Makefile b/net/py-pyu2f/Makefile new file mode 100644 index 000000000000..59b837f752ec --- /dev/null +++ b/net/py-pyu2f/Makefile @@ -0,0 +1,22 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= pyu2f +PORTVERSION= 0.1.5 +CATEGORIES= net python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= U2F host library for interacting with a U2F device over USB + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/net/py-pyu2f/distinfo b/net/py-pyu2f/distinfo new file mode 100644 index 000000000000..29841a8b5da2 --- /dev/null +++ b/net/py-pyu2f/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1619198367 +SHA256 (pyu2f-0.1.5.tar.gz) = a3caa3a11842fc7d5746376f37195e6af5f17c0a15737538bb1cebf656fb306b +SIZE (pyu2f-0.1.5.tar.gz) = 27133 diff --git a/net/py-pyu2f/pkg-descr b/net/py-pyu2f/pkg-descr new file mode 100644 index 000000000000..197522cb59f8 --- /dev/null +++ b/net/py-pyu2f/pkg-descr @@ -0,0 +1,12 @@ +pyu2f is a python based U2F host library. It provides functionality for +interacting with a U2F device over USB. + +pyu2f uses ctypes to make system calls directly to interface with the USB HID +device. This means that no platform specific shared libraries need to be +compiled for pyu2f to work. + +By default pyu2f will use its own U2F stack implementation to sign requests. If +desired, pyu2f can offload signing to a pluggable command line tool. Offloading +is not yet supported for U2F registration. + +WWW: https://github.com/google/pyu2f