Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2023 10:33:41 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: 4288ad73804f - main - security/py-certomancer: Add py-certomancer 0.11.0
Message-ID:  <202307091033.369AXfqH055355@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=4288ad73804ff0c6b8ed5c85ed9654e3642341be

commit 4288ad73804ff0c6b8ed5c85ed9654e3642341be
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 10:15:49 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 10:15:49 +0000

    security/py-certomancer: Add py-certomancer 0.11.0
    
    Quickly construct, mock & deploy PKI test configurations using simple
    declarative configuration. Includes CRL, OCSP and time stamping service
    provisioning.
---
 security/Makefile                                  |  1 +
 security/py-certomancer/Makefile                   | 28 ++++++++++++++++++++++
 security/py-certomancer/distinfo                   |  3 +++
 security/py-certomancer/files/patch-pyproject.toml | 12 ++++++++++
 security/py-certomancer/pkg-descr                  |  3 +++
 5 files changed, 47 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 2d570b70023e..7cef6a33916a 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -877,6 +877,7 @@
     SUBDIR += py-certbot-dns-standalone
     SUBDIR += py-certbot-nginx
     SUBDIR += py-certifi
+    SUBDIR += py-certomancer
     SUBDIR += py-certstream
     SUBDIR += py-ckcc-protocol
     SUBDIR += py-coincurve
diff --git a/security/py-certomancer/Makefile b/security/py-certomancer/Makefile
new file mode 100644
index 000000000000..57002bafa73d
--- /dev/null
+++ b/security/py-certomancer/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	certomancer
+PORTVERSION=	0.11.0
+CATEGORIES=	security python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	PKI testing tool
+WWW=		https://github.com/MatthiasValvekens/certomancer
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.5.0:devel/py-asn1crypto@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click>=7.1.2:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}oscrypto>=1.2.1:security/py-oscrypto@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.1:devel/py-dateutil@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=5.4.1:devel/py-yaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tzlocal>=2.1:devel/py-tzlocal@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/py-certomancer/distinfo b/security/py-certomancer/distinfo
new file mode 100644
index 000000000000..7fee190bc699
--- /dev/null
+++ b/security/py-certomancer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1688166028
+SHA256 (certomancer-0.11.0.tar.gz) = f414455830fde27265b12dc50a7f619a63479597761f96200e082c8a8d3e55b5
+SIZE (certomancer-0.11.0.tar.gz) = 74450
diff --git a/security/py-certomancer/files/patch-pyproject.toml b/security/py-certomancer/files/patch-pyproject.toml
new file mode 100644
index 000000000000..c538a61321ba
--- /dev/null
+++ b/security/py-certomancer/files/patch-pyproject.toml
@@ -0,0 +1,12 @@
+--- pyproject.toml.orig	2023-05-14 07:59:10 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@
+ [build-system]
+ requires = [
+-    "setuptools>=67.4",
+-    "wheel", "pytest-runner",
++    "setuptools>=61",
++    "wheel",
+ ]
+ build-backend = "setuptools.build_meta"
+ 
diff --git a/security/py-certomancer/pkg-descr b/security/py-certomancer/pkg-descr
new file mode 100644
index 000000000000..7fe4c7c3eac5
--- /dev/null
+++ b/security/py-certomancer/pkg-descr
@@ -0,0 +1,3 @@
+Quickly construct, mock & deploy PKI test configurations using simple
+declarative configuration. Includes CRL, OCSP and time stamping service
+provisioning.



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