summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-07-03 21:03:29 +0000
committeradam <adam@pkgsrc.org>2017-07-03 21:03:29 +0000
commit8e9c2c492b0e17eda23af18da415022f664ac0b4 (patch)
tree60319a567d5c3255b0f607ab28a60c9670557195 /security
parentf365198723f9d24cf7d4ea7f1a0530eb78f22460 (diff)
downloadpkgsrc-8e9c2c492b0e17eda23af18da415022f664ac0b4.tar.gz
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 (limited to 'security')
-rw-r--r--security/Makefile3
-rw-r--r--security/py-mohawk/DESCR10
-rw-r--r--security/py-mohawk/Makefile18
-rw-r--r--security/py-mohawk/PLIST30
-rw-r--r--security/py-mohawk/distinfo6
5 files changed, 66 insertions, 1 deletions
diff --git a/security/Makefile b/security/Makefile
index eecdde0a402..3984fc86ced 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -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-lasso
SUBDIR+= py-libtaxii
SUBDIR+= py-m2crypto
SUBDIR+= py-mcrypt
+SUBDIR+= py-mohawk
SUBDIR+= py-ndg_httpsclient
SUBDIR+= py-oath
SUBDIR+= py-oauth
diff --git a/security/py-mohawk/DESCR b/security/py-mohawk/DESCR
new file mode 100644
index 00000000000..18ec15d3c49
--- /dev/null
+++ b/security/py-mohawk/DESCR
@@ -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 --git a/security/py-mohawk/Makefile b/security/py-mohawk/Makefile
new file mode 100644
index 00000000000..c6f0c26d217
--- /dev/null
+++ b/security/py-mohawk/Makefile
@@ -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
+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 --git a/security/py-mohawk/PLIST b/security/py-mohawk/PLIST
new file mode 100644
index 00000000000..43e149ce749
--- /dev/null
+++ b/security/py-mohawk/PLIST
@@ -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 --git a/security/py-mohawk/distinfo b/security/py-mohawk/distinfo
new file mode 100644
index 00000000000..347b7133429
--- /dev/null
+++ b/security/py-mohawk/distinfo
@@ -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