git: 3b1dd9a1a269 - main - security/py-pysrp: New port: cryptographically strong authentication protocol

From: Craig Leres <leres_at_FreeBSD.org>
Date: Sun, 27 Oct 2024 21:29:29 UTC
The branch main has been updated by leres:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b1dd9a1a26973ff10572fb30362d49cd427a85a

commit 3b1dd9a1a26973ff10572fb30362d49cd427a85a
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2024-10-27 21:29:08 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2024-10-27 21:29:08 +0000

    security/py-pysrp: New port: cryptographically strong authentication protocol
    
    SRP is used for password-based, mutual authentication over an
    insecure network connection.
---
 security/Makefile           |  1 +
 security/py-pysrp/Makefile  | 23 +++++++++++++++++++++++
 security/py-pysrp/distinfo  |  3 +++
 security/py-pysrp/pkg-descr |  3 +++
 4 files changed, 30 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 599cf26a8828..dad91d9c4176 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1032,6 +1032,7 @@
     SUBDIR += py-pyscard
     SUBDIR += py-pysodium
     SUBDIR += py-pyspnego
+    SUBDIR += py-pysrp
     SUBDIR += py-python-axolotl
     SUBDIR += py-python-axolotl-curve25519
     SUBDIR += py-python-cas
diff --git a/security/py-pysrp/Makefile b/security/py-pysrp/Makefile
new file mode 100644
index 000000000000..a9890a36eba3
--- /dev/null
+++ b/security/py-pysrp/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	pysrp
+DISTVERSION=	1.0.21
+CATEGORIES=	security python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	leres@FreeBSD.org
+COMMENT=	Python Secure Remote Password protocol (SRP)
+WWW=		https://github.com/cocagne/pysrp
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>1.16.0:devel/py-six@${PY_FLAVOR}
+
+USES=		python
+USE_GITHUB=	yes
+GH_ACCOUNT=	cocagne
+GH_PROJECT=	${PORTNAME}
+GH_TAG=		${DISTVERSION}
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/py-pysrp/distinfo b/security/py-pysrp/distinfo
new file mode 100644
index 000000000000..b4bf21fd6f48
--- /dev/null
+++ b/security/py-pysrp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1729901216
+SHA256 (cocagne-pysrp-1.0.21_GH0.tar.gz) = e56818e79df3539ff69b6063136c1010935f66e53d3b00e12ba9ac99a316fc96
+SIZE (cocagne-pysrp-1.0.21_GH0.tar.gz) = 21072
diff --git a/security/py-pysrp/pkg-descr b/security/py-pysrp/pkg-descr
new file mode 100644
index 000000000000..b00a18041057
--- /dev/null
+++ b/security/py-pysrp/pkg-descr
@@ -0,0 +1,3 @@
+SRP is a cryptographically strong authentication protocol for
+password-based, mutual authentication over an insecure network
+connection.