Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2023 18:30:28 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 96195f8763c8 - main - security/py-service-identity: Add py-service-identity 23.1.0
Message-ID:  <202308161830.37GIUSxl023391@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 96195f8763c81d6be29f0f00551c10d5904f545a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-16 18:06:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-16 18:25:07 +0000

    security/py-service-identity: Add py-service-identity 23.1.0
    
    Use this package if:
    - you want to verify that a PyCA cryptography certificate is valid for a certain
      hostname or IP address,
    - or if you use pyOpenSSL and don’t want to be MITMed,
    - or if you want to inspect certificates from either for service IDs.
    
    service-identity aspires to give you all the tools you need for verifying
    whether a certificate is valid for the intended purposes. In the simplest case,
    this means host name verification. However, service-identity implements RFC 6125
    fully.
---
 security/Makefile                      |  1 +
 security/py-service-identity/Makefile  | 28 ++++++++++++++++++++++++++++
 security/py-service-identity/distinfo  |  3 +++
 security/py-service-identity/pkg-descr | 10 ++++++++++
 4 files changed, 42 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 615e9405bebe..c7cd82f798cf 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1018,6 +1018,7 @@
     SUBDIR += py-scrypt
     SUBDIR += py-secure
     SUBDIR += py-securesystemslib
+    SUBDIR += py-service-identity
     SUBDIR += py-service_identity
     SUBDIR += py-signedjson
     SUBDIR += py-social-auth-core
diff --git a/security/py-service-identity/Makefile b/security/py-service-identity/Makefile
new file mode 100644
index 000000000000..74ddd9ffebd1
--- /dev/null
+++ b/security/py-service-identity/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	service-identity
+PORTVERSION=	23.1.0
+CATEGORIES=	security python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	service_identity-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Service identity verification for pyOpenSSL & cryptography
+WWW=		https://service-identity.readthedocs.io/en/stable/ \
+		https://github.com/pyca/service-identity
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=19.1.0:devel/py-attrs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0:devel/py-pyasn1-modules@${PY_FLAVOR}
+
+USES=		pycryptography:run python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/py-service-identity/distinfo b/security/py-service-identity/distinfo
new file mode 100644
index 000000000000..d415411c9d5c
--- /dev/null
+++ b/security/py-service-identity/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1691069904
+SHA256 (service_identity-23.1.0.tar.gz) = ecb33cd96307755041e978ab14f8b14e13b40f1fbd525a4dc78f46d2b986431d
+SIZE (service_identity-23.1.0.tar.gz) = 39840
diff --git a/security/py-service-identity/pkg-descr b/security/py-service-identity/pkg-descr
new file mode 100644
index 000000000000..9a87cb48f5d8
--- /dev/null
+++ b/security/py-service-identity/pkg-descr
@@ -0,0 +1,10 @@
+Use this package if:
+- you want to verify that a PyCA cryptography certificate is valid for a certain
+  hostname or IP address,
+- or if you use pyOpenSSL and don’t want to be MITMed,
+- or if you want to inspect certificates from either for service IDs.
+
+service-identity aspires to give you all the tools you need for verifying
+whether a certificate is valid for the intended purposes. In the simplest case,
+this means host name verification. However, service-identity implements RFC 6125
+fully.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308161830.37GIUSxl023391>