summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/Makefile3
-rw-r--r--security/py-argon2_cffi/DESCR2
-rw-r--r--security/py-argon2_cffi/Makefile19
-rw-r--r--security/py-argon2_cffi/PLIST32
-rw-r--r--security/py-argon2_cffi/distinfo6
5 files changed, 61 insertions, 1 deletions
diff --git a/security/Makefile b/security/Makefile
index 3984fc86ced..2fab20f1c21 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.618 2017/07/03 21:03:29 adam Exp $
+# $NetBSD: Makefile,v 1.619 2017/07/26 08:33:51 adam Exp $
#
COMMENT= Security tools
@@ -381,6 +381,7 @@ SUBDIR+= py-SSLCrypto
SUBDIR+= py-acme
SUBDIR+= py-acme-tiny
SUBDIR+= py-aes
+SUBDIR+= py-argon2_cffi
SUBDIR+= py-asn1
SUBDIR+= py-asn1-modules
SUBDIR+= py-asn1crypto
diff --git a/security/py-argon2_cffi/DESCR b/security/py-argon2_cffi/DESCR
new file mode 100644
index 00000000000..659b211b2b0
--- /dev/null
+++ b/security/py-argon2_cffi/DESCR
@@ -0,0 +1,2 @@
+Argon2 won the Password Hashing Competition and argon2_cffi is the simplest
+way to use it in Python and PyPy.
diff --git a/security/py-argon2_cffi/Makefile b/security/py-argon2_cffi/Makefile
new file mode 100644
index 00000000000..da3586cd8b3
--- /dev/null
+++ b/security/py-argon2_cffi/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2017/07/26 08:33:51 adam Exp $
+
+DISTNAME= argon2_cffi-16.3.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= security python
+MASTER_SITES= ${MASTER_SITE_PYPI:=a/argon2_cffi/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://argon2-cffi.readthedocs.io/
+COMMENT= Secure Argon2 password hashing algorithm
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-cffi>=1.0.0:../../devel/py-cffi
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+
+USE_LANGUAGES= c
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-argon2_cffi/PLIST b/security/py-argon2_cffi/PLIST
new file mode 100644
index 00000000000..f6f2dfd6d63
--- /dev/null
+++ b/security/py-argon2_cffi/PLIST
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/26 08:33:51 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}/argon2/__init__.py
+${PYSITELIB}/argon2/__init__.pyc
+${PYSITELIB}/argon2/__init__.pyo
+${PYSITELIB}/argon2/__main__.py
+${PYSITELIB}/argon2/__main__.pyc
+${PYSITELIB}/argon2/__main__.pyo
+${PYSITELIB}/argon2/_ffi.abi3.so
+${PYSITELIB}/argon2/_ffi_build.py
+${PYSITELIB}/argon2/_ffi_build.pyc
+${PYSITELIB}/argon2/_ffi_build.pyo
+${PYSITELIB}/argon2/_legacy.py
+${PYSITELIB}/argon2/_legacy.pyc
+${PYSITELIB}/argon2/_legacy.pyo
+${PYSITELIB}/argon2/_password_hasher.py
+${PYSITELIB}/argon2/_password_hasher.pyc
+${PYSITELIB}/argon2/_password_hasher.pyo
+${PYSITELIB}/argon2/_utils.py
+${PYSITELIB}/argon2/_utils.pyc
+${PYSITELIB}/argon2/_utils.pyo
+${PYSITELIB}/argon2/exceptions.py
+${PYSITELIB}/argon2/exceptions.pyc
+${PYSITELIB}/argon2/exceptions.pyo
+${PYSITELIB}/argon2/low_level.py
+${PYSITELIB}/argon2/low_level.pyc
+${PYSITELIB}/argon2/low_level.pyo
diff --git a/security/py-argon2_cffi/distinfo b/security/py-argon2_cffi/distinfo
new file mode 100644
index 00000000000..363191e98e8
--- /dev/null
+++ b/security/py-argon2_cffi/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/26 08:33:51 adam Exp $
+
+SHA1 (argon2_cffi-16.3.0.tar.gz) = 1e7f2f4b75ec52c377a89d0a29feeb124f761d04
+RMD160 (argon2_cffi-16.3.0.tar.gz) = 97c66792607aa43873ebc16f9ad17d23b24c5228
+SHA512 (argon2_cffi-16.3.0.tar.gz) = 3c35d65ebf3af8c610071bb50fa965653344921f29460808e886bbff47dcefcaf92bae98777e115ee1643f0e9535e2de73e2bbf4fa2355d5d9301c5c20777adb
+Size (argon2_cffi-16.3.0.tar.gz) = 1548720 bytes