pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
add py-hkdf, py-spake2 (required by py-magic-wormhole)
Module Name: pkgsrc-wip
Committed By: Matthias Ferdinand <mf+ml.pkgsrc-users%netzwerkagentursaarland.de@localhost>
Pushed By: o4v-mf-pkgsrc
Date: Mon Jun 21 17:41:13 2021 +0200
Changeset: f4afc9ce70d6d644bcf33c145269bb69ac364a43
Modified Files:
Makefile
Added Files:
py-hkdf/DESCR
py-hkdf/Makefile
py-hkdf/PLIST
py-hkdf/distinfo
py-spake2/DESCR
py-spake2/Makefile
py-spake2/PLIST
py-spake2/distinfo
Log Message:
add py-hkdf, py-spake2 (required by py-magic-wormhole)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f4afc9ce70d6d644bcf33c145269bb69ac364a43
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 2 ++
py-hkdf/DESCR | 7 ++++++
py-hkdf/Makefile | 20 +++++++++++++++
py-hkdf/PLIST | 8 ++++++
py-hkdf/distinfo | 6 +++++
py-spake2/DESCR | 4 +++
py-spake2/Makefile | 20 +++++++++++++++
py-spake2/PLIST | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
py-spake2/distinfo | 6 +++++
9 files changed, 145 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index c05c230299..008b01385d 100644
--- a/Makefile
+++ b/Makefile
@@ -3824,6 +3824,7 @@ SUBDIR+= py-hidapi-git
SUBDIR+= py-hieroglyph
SUBDIR+= py-hiphive
SUBDIR+= py-hiredis
+SUBDIR+= py-hkdf
SUBDIR+= py-hmf
SUBDIR+= py-holoviews
SUBDIR+= py-holoviz
@@ -4507,6 +4508,7 @@ SUBDIR+= py-sofa
SUBDIR+= py-solpy
SUBDIR+= py-sortedcollections
SUBDIR+= py-spacy
+SUBDIR+= py-spake2
SUBDIR+= py-spambayes
SUBDIR+= py-spams
SUBDIR+= py-spark
diff --git a/py-hkdf/DESCR b/py-hkdf/DESCR
new file mode 100644
index 0000000000..ed0ec8abbf
--- /dev/null
+++ b/py-hkdf/DESCR
@@ -0,0 +1,7 @@
+This module implements the HMAC Key Derivation function, defined at
+
+ http://tools.ietf.org/html/draft-krawczyk-hkdf-01
+
+There are two interfaces: a functional interface, with separate extract
+and expand functions as defined in the draft RFC, and a wrapper class
+for these functions.
diff --git a/py-hkdf/Makefile b/py-hkdf/Makefile
new file mode 100644
index 0000000000..51d42df4a0
--- /dev/null
+++ b/py-hkdf/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.15 2020/05/17 19:34:12 adam Exp $
+
+DISTNAME= hkdf-0.0.3
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= security python
+MASTER_SITES= ${MASTER_SITE_PYPI:=h/hkdf/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/casebeer/python-hkdf
+COMMENT= HMAC-based Extract-and-Expand Key Derivation Function (HKDF; RFC 5869)
+LICENSE= 2-clause-bsd
+
+#DEPENDS+= ${PYPKGPREFIX}-cffi>=1.1:../../devel/py-cffi
+#DEPENDS+= ${PYPKGPREFIX}-six>=1.4.1:../../lang/py-six
+
+PYTHON_VERSIONED_DEPENDENCIES= test:test
+
+.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-hkdf/PLIST b/py-hkdf/PLIST
new file mode 100644
index 0000000000..ce2169340e
--- /dev/null
+++ b/py-hkdf/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/hkdf.py
+${PYSITELIB}/hkdf.pyc
+${PYSITELIB}/hkdf.pyo
diff --git a/py-hkdf/distinfo b/py-hkdf/distinfo
new file mode 100644
index 0000000000..c65956de0d
--- /dev/null
+++ b/py-hkdf/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (hkdf-0.0.3.tar.gz) = 8a9ae11de8270cd679839945b80f2fd1d0d11c77
+RMD160 (hkdf-0.0.3.tar.gz) = 655173ded611e8c58a3d05225bc18aa2c6896bd7
+SHA512 (hkdf-0.0.3.tar.gz) = c58f9310c151f8d710998d019221713ec71ac8083c42300f5e77326c7b35be341263c40fb485402937c381a6435cbd9899c8d32846a50d1d1e6a4d3e61f58c7d
+Size (hkdf-0.0.3.tar.gz) = 3959 bytes
diff --git a/py-spake2/DESCR b/py-spake2/DESCR
new file mode 100644
index 0000000000..2576db538b
--- /dev/null
+++ b/py-spake2/DESCR
@@ -0,0 +1,4 @@
+This library implements the SPAKE2 password-authenticated key exchange
+("PAKE") algorithm. This allows two parties, who share a weak password,
+to safely derive a strong shared secret (and therefore build an
+encrypted+authenticated channel).
diff --git a/py-spake2/Makefile b/py-spake2/Makefile
new file mode 100644
index 0000000000..653f0e025a
--- /dev/null
+++ b/py-spake2/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.15 2020/05/17 19:34:12 adam Exp $
+
+DISTNAME= spake2-0.8
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= security python
+MASTER_SITES= ${MASTER_SITE_PYPI:=s/spake2/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/warner/python-spake2
+COMMENT= Pure-Python SPAKE2
+LICENSE= mit
+
+PYTHON_VERSIONED_DEPENDENCIES= test:test
+
+DEPENDS+= ${PYPKGPREFIX}-hkdf-[0-9]*:../../security/py-hkdf
+
+
+.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-spake2/PLIST b/py-spake2/PLIST
new file mode 100644
index 0000000000..90a87d1af2
--- /dev/null
+++ b/py-spake2/PLIST
@@ -0,0 +1,72 @@
+@comment $NetBSD$
+${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}/spake2/__init__.py
+${PYSITELIB}/spake2/__init__.pyc
+${PYSITELIB}/spake2/__init__.pyo
+${PYSITELIB}/spake2/_version.py
+${PYSITELIB}/spake2/_version.pyc
+${PYSITELIB}/spake2/_version.pyo
+${PYSITELIB}/spake2/ed25519_basic.py
+${PYSITELIB}/spake2/ed25519_basic.pyc
+${PYSITELIB}/spake2/ed25519_basic.pyo
+${PYSITELIB}/spake2/ed25519_group.py
+${PYSITELIB}/spake2/ed25519_group.pyc
+${PYSITELIB}/spake2/ed25519_group.pyo
+${PYSITELIB}/spake2/groups.py
+${PYSITELIB}/spake2/groups.pyc
+${PYSITELIB}/spake2/groups.pyo
+${PYSITELIB}/spake2/parameters/__init__.py
+${PYSITELIB}/spake2/parameters/__init__.pyc
+${PYSITELIB}/spake2/parameters/__init__.pyo
+${PYSITELIB}/spake2/parameters/all.py
+${PYSITELIB}/spake2/parameters/all.pyc
+${PYSITELIB}/spake2/parameters/all.pyo
+${PYSITELIB}/spake2/parameters/ed25519.py
+${PYSITELIB}/spake2/parameters/ed25519.pyc
+${PYSITELIB}/spake2/parameters/ed25519.pyo
+${PYSITELIB}/spake2/parameters/i1024.py
+${PYSITELIB}/spake2/parameters/i1024.pyc
+${PYSITELIB}/spake2/parameters/i1024.pyo
+${PYSITELIB}/spake2/parameters/i2048.py
+${PYSITELIB}/spake2/parameters/i2048.pyc
+${PYSITELIB}/spake2/parameters/i2048.pyo
+${PYSITELIB}/spake2/parameters/i3072.py
+${PYSITELIB}/spake2/parameters/i3072.pyc
+${PYSITELIB}/spake2/parameters/i3072.pyo
+${PYSITELIB}/spake2/params.py
+${PYSITELIB}/spake2/params.pyc
+${PYSITELIB}/spake2/params.pyo
+${PYSITELIB}/spake2/six.py
+${PYSITELIB}/spake2/six.pyc
+${PYSITELIB}/spake2/six.pyo
+${PYSITELIB}/spake2/spake2.py
+${PYSITELIB}/spake2/spake2.pyc
+${PYSITELIB}/spake2/spake2.pyo
+${PYSITELIB}/spake2/test/__init__.py
+${PYSITELIB}/spake2/test/__init__.pyc
+${PYSITELIB}/spake2/test/__init__.pyo
+${PYSITELIB}/spake2/test/common.py
+${PYSITELIB}/spake2/test/common.pyc
+${PYSITELIB}/spake2/test/common.pyo
+${PYSITELIB}/spake2/test/myhkdf.py
+${PYSITELIB}/spake2/test/myhkdf.pyc
+${PYSITELIB}/spake2/test/myhkdf.pyo
+${PYSITELIB}/spake2/test/test_compat.py
+${PYSITELIB}/spake2/test/test_compat.pyc
+${PYSITELIB}/spake2/test/test_compat.pyo
+${PYSITELIB}/spake2/test/test_group.py
+${PYSITELIB}/spake2/test/test_group.pyc
+${PYSITELIB}/spake2/test/test_group.pyo
+${PYSITELIB}/spake2/test/test_spake2.py
+${PYSITELIB}/spake2/test/test_spake2.pyc
+${PYSITELIB}/spake2/test/test_spake2.pyo
+${PYSITELIB}/spake2/test/test_utils.py
+${PYSITELIB}/spake2/test/test_utils.pyc
+${PYSITELIB}/spake2/test/test_utils.pyo
+${PYSITELIB}/spake2/util.py
+${PYSITELIB}/spake2/util.pyc
+${PYSITELIB}/spake2/util.pyo
diff --git a/py-spake2/distinfo b/py-spake2/distinfo
new file mode 100644
index 0000000000..ae3dfd0f15
--- /dev/null
+++ b/py-spake2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (spake2-0.8.tar.gz) = 8269dd1fbc97ef1bb3ecceefcf8495abf3c1f972
+RMD160 (spake2-0.8.tar.gz) = 556627a21bcaa79d01698c3d82f22b00d578cc9e
+SHA512 (spake2-0.8.tar.gz) = 406719ebb9731f7900a8a5c913dd63a81dd6d48da8b8d1f8ebc903fcfca01a8638032a1a757fe402a701a65ecca6be91a42b2271db251c06adfa8bf0daa35973
+Size (spake2-0.8.tar.gz) = 58088 bytes
Home |
Main Index |
Thread Index |
Old Index