git: ef2f96162ed5 - main - security/py-tlslite-ng: Add py-tlslite-ng 0.7.6

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Mar 2022 13:42:31 UTC
The branch main has been updated by sunpoet:

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

commit ef2f96162ed5b0d99b6f4f6647af8997fec1608a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 12:45:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:36:38 +0000

    security/py-tlslite-ng: Add py-tlslite-ng 0.7.6
    
    tlslite-ng is an open source python library that implements SSL and TLS
    cryptographic protocols. It can be used either as a standalone wrapper around
    python socket interface or as a backend for multiple other libraries. tlslite-ng
    is pure python, however it can use other libraries for faster crypto operations.
    tlslite-ng integrates with several stdlib neworking libraries.
    
    WWW: https://github.com/tlsfuzzer/tlslite-ng
---
 security/Makefile                |  1 +
 security/py-tlslite-ng/Makefile  | 23 +++++++++++++++++++++++
 security/py-tlslite-ng/distinfo  |  3 +++
 security/py-tlslite-ng/pkg-descr |  7 +++++++
 4 files changed, 34 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 2a1e13aa2391..8a8872adcb39 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1017,6 +1017,7 @@
     SUBDIR += py-taxii2-client
     SUBDIR += py-tls-parser
     SUBDIR += py-tlslite
+    SUBDIR += py-tlslite-ng
     SUBDIR += py-trezor
     SUBDIR += py-trustme
     SUBDIR += py-tuf
diff --git a/security/py-tlslite-ng/Makefile b/security/py-tlslite-ng/Makefile
new file mode 100644
index 000000000000..3c45f1851862
--- /dev/null
+++ b/security/py-tlslite-ng/Makefile
@@ -0,0 +1,23 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	tlslite-ng
+PORTVERSION=	0.7.6
+CATEGORIES=	security python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Pure python implementation of SSL and TLS
+
+LICENSE=	BSD3CLAUSE LGPL21 PD
+LICENSE_COMB=	multi
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ecdsa>=0:security/py-ecdsa@${PY_FLAVOR}
+
+USES=		python:3.3+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/py-tlslite-ng/distinfo b/security/py-tlslite-ng/distinfo
new file mode 100644
index 000000000000..7fa2cbfc1b53
--- /dev/null
+++ b/security/py-tlslite-ng/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1647264412
+SHA256 (tlslite-ng-0.7.6.tar.gz) = 6ab56f0e9629ce3d807eb528c9112defa9f2e00af2b2961254e8429ca5c1ff00
+SIZE (tlslite-ng-0.7.6.tar.gz) = 479945
diff --git a/security/py-tlslite-ng/pkg-descr b/security/py-tlslite-ng/pkg-descr
new file mode 100644
index 000000000000..a162566dbd42
--- /dev/null
+++ b/security/py-tlslite-ng/pkg-descr
@@ -0,0 +1,7 @@
+tlslite-ng is an open source python library that implements SSL and TLS
+cryptographic protocols. It can be used either as a standalone wrapper around
+python socket interface or as a backend for multiple other libraries. tlslite-ng
+is pure python, however it can use other libraries for faster crypto operations.
+tlslite-ng integrates with several stdlib neworking libraries.
+
+WWW: https://github.com/tlsfuzzer/tlslite-ng