summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-10-12 12:35:34 +0000
committeradam <adam@pkgsrc.org>2017-10-12 12:35:34 +0000
commitf6502b12c732d3a8ab760c36ee18cdb3a51996f9 (patch)
treeaeb4cf8e66cc5cabab2ad3ca4e708385e6336e57 /security
parentad3d493332475953637139b8dd083d443f2dfa76 (diff)
downloadpkgsrc-f6502b12c732d3a8ab760c36ee18cdb3a51996f9.tar.gz
PyNaCl is a Python binding to libsodium, which is a fork of the Networking and
Cryptography library. These libraries have a stated goal of improving usability, security and speed.
Diffstat (limited to 'security')
-rw-r--r--security/Makefile3
-rw-r--r--security/py-nacl/DESCR3
-rw-r--r--security/py-nacl/Makefile24
-rw-r--r--security/py-nacl/PLIST74
-rw-r--r--security/py-nacl/distinfo6
5 files changed, 109 insertions, 1 deletions
diff --git a/security/Makefile b/security/Makefile
index 1bdab5f0713..f7767b3ccbf 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.635 2017/10/03 15:57:06 minskim Exp $
+# $NetBSD: Makefile,v 1.636 2017/10/12 12:35:34 adam Exp $
#
COMMENT= Security tools
@@ -410,6 +410,7 @@ SUBDIR+= py-libtaxii
SUBDIR+= py-m2crypto
SUBDIR+= py-mcrypt
SUBDIR+= py-mohawk
+SUBDIR+= py-nacl
SUBDIR+= py-ndg_httpsclient
SUBDIR+= py-ntlm-auth
SUBDIR+= py-oath
diff --git a/security/py-nacl/DESCR b/security/py-nacl/DESCR
new file mode 100644
index 00000000000..ab112f96be6
--- /dev/null
+++ b/security/py-nacl/DESCR
@@ -0,0 +1,3 @@
+PyNaCl is a Python binding to libsodium, which is a fork of the Networking and
+Cryptography library. These libraries have a stated goal of improving
+usability, security and speed.
diff --git a/security/py-nacl/Makefile b/security/py-nacl/Makefile
new file mode 100644
index 00000000000..28d83548f94
--- /dev/null
+++ b/security/py-nacl/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/10/12 12:35:34 adam Exp $
+
+DISTNAME= PyNaCl-1.1.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^Py//:tl}
+CATEGORIES= security python
+MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyNaCl/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/pyca/pynacl/
+COMMENT= Python binding to the Networking and Cryptography (NaCl) library
+LICENSE= apache-2.0
+
+DEPENDS+= ${PYPKGPREFIX}-cffi>=1.4.1:../../devel/py-cffi
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+MAKE_ENV+= SODIUM_INSTALL=system
+
+do-test:
+ cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
+
+.include "../../security/libsodium/buildlink3.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-nacl/PLIST b/security/py-nacl/PLIST
new file mode 100644
index 00000000000..79a9362d931
--- /dev/null
+++ b/security/py-nacl/PLIST
@@ -0,0 +1,74 @@
+@comment $NetBSD: PLIST,v 1.1 2017/10/12 12:35:34 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/nacl/__init__.py
+${PYSITELIB}/nacl/__init__.pyc
+${PYSITELIB}/nacl/__init__.pyo
+${PYSITELIB}/nacl/_sodium.so
+${PYSITELIB}/nacl/bindings/__init__.py
+${PYSITELIB}/nacl/bindings/__init__.pyc
+${PYSITELIB}/nacl/bindings/__init__.pyo
+${PYSITELIB}/nacl/bindings/crypto_box.py
+${PYSITELIB}/nacl/bindings/crypto_box.pyc
+${PYSITELIB}/nacl/bindings/crypto_box.pyo
+${PYSITELIB}/nacl/bindings/crypto_generichash.py
+${PYSITELIB}/nacl/bindings/crypto_generichash.pyc
+${PYSITELIB}/nacl/bindings/crypto_generichash.pyo
+${PYSITELIB}/nacl/bindings/crypto_hash.py
+${PYSITELIB}/nacl/bindings/crypto_hash.pyc
+${PYSITELIB}/nacl/bindings/crypto_hash.pyo
+${PYSITELIB}/nacl/bindings/crypto_pwhash.py
+${PYSITELIB}/nacl/bindings/crypto_pwhash.pyc
+${PYSITELIB}/nacl/bindings/crypto_pwhash.pyo
+${PYSITELIB}/nacl/bindings/crypto_scalarmult.py
+${PYSITELIB}/nacl/bindings/crypto_scalarmult.pyc
+${PYSITELIB}/nacl/bindings/crypto_scalarmult.pyo
+${PYSITELIB}/nacl/bindings/crypto_secretbox.py
+${PYSITELIB}/nacl/bindings/crypto_secretbox.pyc
+${PYSITELIB}/nacl/bindings/crypto_secretbox.pyo
+${PYSITELIB}/nacl/bindings/crypto_shorthash.py
+${PYSITELIB}/nacl/bindings/crypto_shorthash.pyc
+${PYSITELIB}/nacl/bindings/crypto_shorthash.pyo
+${PYSITELIB}/nacl/bindings/crypto_sign.py
+${PYSITELIB}/nacl/bindings/crypto_sign.pyc
+${PYSITELIB}/nacl/bindings/crypto_sign.pyo
+${PYSITELIB}/nacl/bindings/randombytes.py
+${PYSITELIB}/nacl/bindings/randombytes.pyc
+${PYSITELIB}/nacl/bindings/randombytes.pyo
+${PYSITELIB}/nacl/bindings/sodium_core.py
+${PYSITELIB}/nacl/bindings/sodium_core.pyc
+${PYSITELIB}/nacl/bindings/sodium_core.pyo
+${PYSITELIB}/nacl/bindings/utils.py
+${PYSITELIB}/nacl/bindings/utils.pyc
+${PYSITELIB}/nacl/bindings/utils.pyo
+${PYSITELIB}/nacl/encoding.py
+${PYSITELIB}/nacl/encoding.pyc
+${PYSITELIB}/nacl/encoding.pyo
+${PYSITELIB}/nacl/exceptions.py
+${PYSITELIB}/nacl/exceptions.pyc
+${PYSITELIB}/nacl/exceptions.pyo
+${PYSITELIB}/nacl/hash.py
+${PYSITELIB}/nacl/hash.pyc
+${PYSITELIB}/nacl/hash.pyo
+${PYSITELIB}/nacl/hashlib.py
+${PYSITELIB}/nacl/hashlib.pyc
+${PYSITELIB}/nacl/hashlib.pyo
+${PYSITELIB}/nacl/public.py
+${PYSITELIB}/nacl/public.pyc
+${PYSITELIB}/nacl/public.pyo
+${PYSITELIB}/nacl/pwhash.py
+${PYSITELIB}/nacl/pwhash.pyc
+${PYSITELIB}/nacl/pwhash.pyo
+${PYSITELIB}/nacl/secret.py
+${PYSITELIB}/nacl/secret.pyc
+${PYSITELIB}/nacl/secret.pyo
+${PYSITELIB}/nacl/signing.py
+${PYSITELIB}/nacl/signing.pyc
+${PYSITELIB}/nacl/signing.pyo
+${PYSITELIB}/nacl/utils.py
+${PYSITELIB}/nacl/utils.pyc
+${PYSITELIB}/nacl/utils.pyo
diff --git a/security/py-nacl/distinfo b/security/py-nacl/distinfo
new file mode 100644
index 00000000000..d9643b64380
--- /dev/null
+++ b/security/py-nacl/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/10/12 12:35:34 adam Exp $
+
+SHA1 (PyNaCl-1.1.2.tar.gz) = 0e3e914628bf687b215fe195175d3dfc524b90d4
+RMD160 (PyNaCl-1.1.2.tar.gz) = 05e8eed71577e747280256bdc4d0822baba08d4a
+SHA512 (PyNaCl-1.1.2.tar.gz) = 2fb186fca3ebdf3824b4a2517056124901cf81f0c6cfce3e46abf0e44a801150dfd68a08627f1c7cd9b115a67b1ed0802d21140cd79d700803cc409d1e1e9857
+Size (PyNaCl-1.1.2.tar.gz) = 3099766 bytes