Date: Fri, 3 Oct 2025 09:27:37 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: afc80b137888 - main - security/py-certipy: New port: Utility to create and sign CAs and certificates Message-ID: <202510030927.5939Rbwf017181@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=afc80b137888862cd5fb514aa57dad1e6b45802a commit afc80b137888862cd5fb514aa57dad1e6b45802a Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2025-10-03 07:08:30 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2025-10-03 09:27:31 +0000 security/py-certipy: New port: Utility to create and sign CAs and certificates --- security/Makefile | 1 + security/py-certipy/Makefile | 32 ++++++++++++++++++++++++++ security/py-certipy/distinfo | 3 +++ security/py-certipy/files/patch-pyproject.toml | 11 +++++++++ security/py-certipy/pkg-descr | 13 +++++++++++ 5 files changed, 60 insertions(+) diff --git a/security/Makefile b/security/Makefile index 7066817c71ba..2574d50691c8 100644 --- a/security/Makefile +++ b/security/Makefile @@ -918,6 +918,7 @@ SUBDIR += py-certbot-dns-standalone SUBDIR += py-certbot-nginx SUBDIR += py-certifi + SUBDIR += py-certipy SUBDIR += py-certomancer SUBDIR += py-certstream SUBDIR += py-ckcc-protocol diff --git a/security/py-certipy/Makefile b/security/py-certipy/Makefile new file mode 100644 index 000000000000..85a58c2c49ba --- /dev/null +++ b/security/py-certipy/Makefile @@ -0,0 +1,32 @@ +PORTNAME= certipy +PORTVERSION= 0.2.2 +CATEGORIES= security python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Utility to create and sign CAs and certificates +WWW= https://github.com/LLNL/certipy + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=7:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>0:www/py-flask@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist concurrent pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +do-test: + @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest certipy/test/ -v + +# tests as of 0.2.2: 7 passed, 1 warning in 8.94s + +.include <bsd.port.mk> diff --git a/security/py-certipy/distinfo b/security/py-certipy/distinfo new file mode 100644 index 000000000000..2ef868267d23 --- /dev/null +++ b/security/py-certipy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1759474134 +SHA256 (certipy-0.2.2.tar.gz) = fef1f3d8819ee29c4c67719171c988302823dfe0b6cfbb47d249f374809ba05e +SIZE (certipy-0.2.2.tar.gz) = 20591 diff --git a/security/py-certipy/files/patch-pyproject.toml b/security/py-certipy/files/patch-pyproject.toml new file mode 100644 index 000000000000..6caafb486e20 --- /dev/null +++ b/security/py-certipy/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2025-01-02 23:51:00 UTC ++++ pyproject.toml +@@ -10,7 +10,7 @@ + # SPDX-License-Identifier: BSD-3-Clause + ############################################################################### + [build-system] +-requires = ["setuptools>=64", "setuptools_scm>=7"] ++requires = ["setuptools", "setuptools_scm>=7"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/security/py-certipy/pkg-descr b/security/py-certipy/pkg-descr new file mode 100644 index 000000000000..a238de2106b9 --- /dev/null +++ b/security/py-certipy/pkg-descr @@ -0,0 +1,13 @@ +certipy is a simple python tool for creating certificate authorities +and certificates on the fly. + +Certipy was made to simplify the certificate creation process. To that end, +Certipy exposes methods for creating and managing certificate authorities, +certificates, signing and building trust bundles. + +Behind the scenes Certipy: + +* Manages records of all certificates it creates +* External certs can be imported and managed by Certipy +* Maintains signing hierarchy +* Persists certificates to files with appropriate permissionshome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510030927.5939Rbwf017181>
