pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security Mohawk is an alternate Python implementation ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99909fcd70c0
branches:  trunk
changeset: 364719:99909fcd70c0
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jul 03 21:03:29 2017 +0000

description:
Mohawk is an alternate Python implementation of the Hawk HTTP authorization
scheme.

Hawk lets two parties securely communicate with each other using messages
signed by a shared key. It is based on HTTP MAC access authentication (which
was based on parts of OAuth 1.0).

The Mohawk API is a little different from that of the Node library (i.e. the
living Hawk spec). It was redesigned to be more intuitive to developers, less
prone to security problems, and more Pythonic.

diffstat:

 security/Makefile           |   3 ++-
 security/py-mohawk/DESCR    |  10 ++++++++++
 security/py-mohawk/Makefile |  18 ++++++++++++++++++
 security/py-mohawk/PLIST    |  30 ++++++++++++++++++++++++++++++
 security/py-mohawk/distinfo |   6 ++++++
 5 files changed, 66 insertions(+), 1 deletions(-)

diffs (97 lines):

diff -r 0c28374e0ef0 -r 99909fcd70c0 security/Makefile
--- a/security/Makefile Mon Jul 03 20:59:39 2017 +0000
+++ b/security/Makefile Mon Jul 03 21:03:29 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.617 2017/06/22 00:57:46 minskim Exp $
+# $NetBSD: Makefile,v 1.618 2017/07/03 21:03:29 adam Exp $
 #
 
 COMMENT=       Security tools
@@ -409,6 +409,7 @@
 SUBDIR+=       py-libtaxii
 SUBDIR+=       py-m2crypto
 SUBDIR+=       py-mcrypt
+SUBDIR+=       py-mohawk
 SUBDIR+=       py-ndg_httpsclient
 SUBDIR+=       py-oath
 SUBDIR+=       py-oauth
diff -r 0c28374e0ef0 -r 99909fcd70c0 security/py-mohawk/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-mohawk/DESCR  Mon Jul 03 21:03:29 2017 +0000
@@ -0,0 +1,10 @@
+Mohawk is an alternate Python implementation of the Hawk HTTP authorization
+scheme.
+
+Hawk lets two parties securely communicate with each other using messages
+signed by a shared key. It is based on HTTP MAC access authentication (which
+was based on parts of OAuth 1.0).
+
+The Mohawk API is a little different from that of the Node library (i.e. the
+living Hawk spec). It was redesigned to be more intuitive to developers, less
+prone to security problems, and more Pythonic.
diff -r 0c28374e0ef0 -r 99909fcd70c0 security/py-mohawk/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-mohawk/Makefile       Mon Jul 03 21:03:29 2017 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2017/07/03 21:03:29 adam Exp $
+
+DISTNAME=      mohawk-0.3.4
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    net python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mohawk/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/kumar303/mohawk
+COMMENT=       Library for Hawk HTTP authorization
+LICENSE=       mpl-2.0
+
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+
+USE_LANGUAGES=         # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0c28374e0ef0 -r 99909fcd70c0 security/py-mohawk/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-mohawk/PLIST  Mon Jul 03 21:03:29 2017 +0000
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/03 21:03:29 adam 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}/mohawk/__init__.py
+${PYSITELIB}/mohawk/__init__.pyc
+${PYSITELIB}/mohawk/__init__.pyo
+${PYSITELIB}/mohawk/base.py
+${PYSITELIB}/mohawk/base.pyc
+${PYSITELIB}/mohawk/base.pyo
+${PYSITELIB}/mohawk/bewit.py
+${PYSITELIB}/mohawk/bewit.pyc
+${PYSITELIB}/mohawk/bewit.pyo
+${PYSITELIB}/mohawk/exc.py
+${PYSITELIB}/mohawk/exc.pyc
+${PYSITELIB}/mohawk/exc.pyo
+${PYSITELIB}/mohawk/receiver.py
+${PYSITELIB}/mohawk/receiver.pyc
+${PYSITELIB}/mohawk/receiver.pyo
+${PYSITELIB}/mohawk/sender.py
+${PYSITELIB}/mohawk/sender.pyc
+${PYSITELIB}/mohawk/sender.pyo
+${PYSITELIB}/mohawk/tests.py
+${PYSITELIB}/mohawk/tests.pyc
+${PYSITELIB}/mohawk/tests.pyo
+${PYSITELIB}/mohawk/util.py
+${PYSITELIB}/mohawk/util.pyc
+${PYSITELIB}/mohawk/util.pyo
diff -r 0c28374e0ef0 -r 99909fcd70c0 security/py-mohawk/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-mohawk/distinfo       Mon Jul 03 21:03:29 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/03 21:03:29 adam Exp $
+
+SHA1 (mohawk-0.3.4.tar.gz) = c164f113a0bfbb38f9fc36c25bc5520b27b0b283
+RMD160 (mohawk-0.3.4.tar.gz) = df9a7812085cc06fa7106301d5ce04613d46fbce
+SHA512 (mohawk-0.3.4.tar.gz) = f5a5d99d80e7806f92d5078d4d6a7f0b1fd1d4759a9897cfd178fe1ed07b27831c707dbd9b8b6a735d392845e532f2805e27cfd78e69ea72f22efaac1dafc9a5
+Size (mohawk-0.3.4.tar.gz) = 15616 bytes



Home | Main Index | Thread Index | Old Index