pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security New package, py-u2f-0.1.4. Part of PR pkg/52941.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c67299c082d9
branches:  trunk
changeset: 308732:c67299c082d9
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Wed May 30 16:09:52 2018 +0000

description:
New package, py-u2f-0.1.4. Part of PR pkg/52941.

pyu2f is a python based U2F host library for Linux, Windows, and MacOS.
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.

diffstat:

 security/Makefile        |   3 +-
 security/py-u2f/DESCR    |  10 +++++++
 security/py-u2f/Makefile |  21 ++++++++++++++++
 security/py-u2f/PLIST    |  61 ++++++++++++++++++++++++++++++++++++++++++++++++
 security/py-u2f/distinfo |   6 ++++
 5 files changed, 100 insertions(+), 1 deletions(-)

diffs (131 lines):

diff -r feb0e23ed0c8 -r c67299c082d9 security/Makefile
--- a/security/Makefile Wed May 30 16:04:04 2018 +0000
+++ b/security/Makefile Wed May 30 16:09:52 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.681 2018/05/03 22:13:49 minskim Exp $
+# $NetBSD: Makefile,v 1.682 2018/05/30 16:09:52 bsiegert Exp $
 #
 
 COMMENT=       Security tools
@@ -452,6 +452,7 @@
 SUBDIR+=       py-stix
 SUBDIR+=       py-tlslite
 SUBDIR+=       py-trytond-authentication-sms
+SUBDIR+=       py-u2f
 SUBDIR+=       py-urllib2-kerberos
 SUBDIR+=       py-xmlsec
 SUBDIR+=       py-yara
diff -r feb0e23ed0c8 -r c67299c082d9 security/py-u2f/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-u2f/DESCR     Wed May 30 16:09:52 2018 +0000
@@ -0,0 +1,10 @@
+pyu2f is a python based U2F host library for Linux, Windows, and MacOS.
+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.
diff -r feb0e23ed0c8 -r c67299c082d9 security/py-u2f/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-u2f/Makefile  Wed May 30 16:09:52 2018 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2018/05/30 16:09:52 bsiegert Exp $
+
+DISTNAME=      pyu2f-0.1.4
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES=    security python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyu2f/}
+
+MAINTAINER=    bsiegert%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/google/pyu2f
+COMMENT=       U2F host library for interacting with a U2F device
+LICENSE=       apache-2.0
+
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
+
+# Test dependencies:
+DEPENDS+=      ${PYPKGPREFIX}-mock>=1.0.1:../../devel/py-mock
+DEPENDS+=      ${PYPKGPREFIX}-fakefs-[0-9]*:../../devel/py-fakefs
+DEPENDS+=      ${PYPKGPREFIX}-unittest2>=0.5.1:../../devel/py-unittest2
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r feb0e23ed0c8 -r c67299c082d9 security/py-u2f/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-u2f/PLIST     Wed May 30 16:09:52 2018 +0000
@@ -0,0 +1,61 @@
+@comment $NetBSD: PLIST,v 1.1 2018/05/30 16:09:52 bsiegert Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/pyu2f/__init__.py
+${PYSITELIB}/pyu2f/__init__.pyc
+${PYSITELIB}/pyu2f/__init__.pyo
+${PYSITELIB}/pyu2f/apdu.py
+${PYSITELIB}/pyu2f/apdu.pyc
+${PYSITELIB}/pyu2f/apdu.pyo
+${PYSITELIB}/pyu2f/convenience/__init__.py
+${PYSITELIB}/pyu2f/convenience/__init__.pyc
+${PYSITELIB}/pyu2f/convenience/__init__.pyo
+${PYSITELIB}/pyu2f/convenience/authenticator.py
+${PYSITELIB}/pyu2f/convenience/authenticator.pyc
+${PYSITELIB}/pyu2f/convenience/authenticator.pyo
+${PYSITELIB}/pyu2f/convenience/baseauthenticator.py
+${PYSITELIB}/pyu2f/convenience/baseauthenticator.pyc
+${PYSITELIB}/pyu2f/convenience/baseauthenticator.pyo
+${PYSITELIB}/pyu2f/convenience/customauthenticator.py
+${PYSITELIB}/pyu2f/convenience/customauthenticator.pyc
+${PYSITELIB}/pyu2f/convenience/customauthenticator.pyo
+${PYSITELIB}/pyu2f/convenience/localauthenticator.py
+${PYSITELIB}/pyu2f/convenience/localauthenticator.pyc
+${PYSITELIB}/pyu2f/convenience/localauthenticator.pyo
+${PYSITELIB}/pyu2f/errors.py
+${PYSITELIB}/pyu2f/errors.pyc
+${PYSITELIB}/pyu2f/errors.pyo
+${PYSITELIB}/pyu2f/hardware.py
+${PYSITELIB}/pyu2f/hardware.pyc
+${PYSITELIB}/pyu2f/hardware.pyo
+${PYSITELIB}/pyu2f/hid/__init__.py
+${PYSITELIB}/pyu2f/hid/__init__.pyc
+${PYSITELIB}/pyu2f/hid/__init__.pyo
+${PYSITELIB}/pyu2f/hid/base.py
+${PYSITELIB}/pyu2f/hid/base.pyc
+${PYSITELIB}/pyu2f/hid/base.pyo
+${PYSITELIB}/pyu2f/hid/linux.py
+${PYSITELIB}/pyu2f/hid/linux.pyc
+${PYSITELIB}/pyu2f/hid/linux.pyo
+${PYSITELIB}/pyu2f/hid/macos.py
+${PYSITELIB}/pyu2f/hid/macos.pyc
+${PYSITELIB}/pyu2f/hid/macos.pyo
+${PYSITELIB}/pyu2f/hid/try.py
+${PYSITELIB}/pyu2f/hid/try.pyc
+${PYSITELIB}/pyu2f/hid/try.pyo
+${PYSITELIB}/pyu2f/hid/windows.py
+${PYSITELIB}/pyu2f/hid/windows.pyc
+${PYSITELIB}/pyu2f/hid/windows.pyo
+${PYSITELIB}/pyu2f/hidtransport.py
+${PYSITELIB}/pyu2f/hidtransport.pyc
+${PYSITELIB}/pyu2f/hidtransport.pyo
+${PYSITELIB}/pyu2f/model.py
+${PYSITELIB}/pyu2f/model.pyc
+${PYSITELIB}/pyu2f/model.pyo
+${PYSITELIB}/pyu2f/u2f.py
+${PYSITELIB}/pyu2f/u2f.pyc
+${PYSITELIB}/pyu2f/u2f.pyo
diff -r feb0e23ed0c8 -r c67299c082d9 security/py-u2f/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-u2f/distinfo  Wed May 30 16:09:52 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/05/30 16:09:52 bsiegert Exp $
+
+SHA1 (pyu2f-0.1.4.tar.gz) = 49be1741ad1c853ddfea6b82faf5113daaa8f1df
+RMD160 (pyu2f-0.1.4.tar.gz) = 4cd83ad544d5d9700d4b6d9855443874d8ac053f
+SHA512 (pyu2f-0.1.4.tar.gz) = 1c2a23acd3ab25f07a2800c21f556da1eee1e28269f02f4bab057e38494d5345837d1e015a323d769e594751fb0f852e00e718d6350b1a75b2596dae6cd9bdd5
+Size (pyu2f-0.1.4.tar.gz) = 23261 bytes



Home | Main Index | Thread Index | Old Index