diff options
Diffstat (limited to '')
-rw-r--r-- | security/py-pyhanko-certvalidator/Makefile | 4 | ||||
-rw-r--r-- | security/py-pyhanko-certvalidator/distinfo | 6 | ||||
-rw-r--r-- | security/py-pyhanko-certvalidator/files/patch-pyproject.toml | 13 | ||||
-rw-r--r-- | security/py-pyhanko-cli/Makefile | 31 | ||||
-rw-r--r-- | security/py-pyhanko-cli/distinfo | 3 | ||||
-rw-r--r-- | security/py-pyhanko-cli/files/patch-pyproject.toml | 30 | ||||
-rw-r--r-- | security/py-pyhanko-cli/pkg-descr | 2 | ||||
-rw-r--r-- | security/py-pyhanko/Makefile | 17 | ||||
-rw-r--r-- | security/py-pyhanko/distinfo | 6 | ||||
-rw-r--r-- | security/py-pyhanko/pkg-descr | 7 |
10 files changed, 91 insertions, 28 deletions
diff --git a/security/py-pyhanko-certvalidator/Makefile b/security/py-pyhanko-certvalidator/Makefile index 4da59bde9079..b995b3135b2a 100644 --- a/security/py-pyhanko-certvalidator/Makefile +++ b/security/py-pyhanko-certvalidator/Makefile @@ -1,5 +1,5 @@ PORTNAME= pyhanko-certvalidator -PORTVERSION= 0.27.0 +PORTVERSION= 0.28.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -28,6 +28,6 @@ NO_ARCH= yes OPTIONS_DEFINE= ASYNC_HTTP ASYNC_HTTP_DESC=Asynchronous support -ASYNC_HTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.8<3.12:www/py-aiohttp@${PY_FLAVOR} +ASYNC_HTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.9<3.13:www/py-aiohttp@${PY_FLAVOR} .include <bsd.port.mk> diff --git a/security/py-pyhanko-certvalidator/distinfo b/security/py-pyhanko-certvalidator/distinfo index 551d2a7abd70..19dfbcffe720 100644 --- a/security/py-pyhanko-certvalidator/distinfo +++ b/security/py-pyhanko-certvalidator/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1748107944 -SHA256 (pyhanko_certvalidator-0.27.0.tar.gz) = 94820b23ccecadfa64fa7f61b0427f751edcfa24f1bcbfb052b5780bdeab3def -SIZE (pyhanko_certvalidator-0.27.0.tar.gz) = 104111 +TIMESTAMP = 1757120820 +SHA256 (pyhanko_certvalidator-0.28.0.tar.gz) = 6b2911520a3e9cf24a640f67488fadac82ad3818f4256ddfb7e8fa1fada80f2d +SIZE (pyhanko_certvalidator-0.28.0.tar.gz) = 93049 diff --git a/security/py-pyhanko-certvalidator/files/patch-pyproject.toml b/security/py-pyhanko-certvalidator/files/patch-pyproject.toml index d7e06f702bf3..610cbd5c387d 100644 --- a/security/py-pyhanko-certvalidator/files/patch-pyproject.toml +++ b/security/py-pyhanko-certvalidator/files/patch-pyproject.toml @@ -1,14 +1,11 @@ ---- pyproject.toml.orig 2025-05-24 11:55:40 UTC +--- pyproject.toml.orig 2025-08-23 12:29:44 UTC +++ pyproject.toml -@@ -1,6 +1,6 @@ requires = [ +@@ -1,12 +1,11 @@ [build-system] - requires = [ -- "setuptools>=67.4", -+ "setuptools>=61", - "wheel" - ] +-requires = ["setuptools>=80.8.0"] ++requires = ["setuptools>=61"] build-backend = "setuptools.build_meta" -@@ -8,8 +8,7 @@ authors = [{name = "Matthias Valvekens", email = "dev@ + [project] name = "pyhanko-certvalidator" authors = [{name = "Matthias Valvekens", email = "dev@mvalvekens.be"}] diff --git a/security/py-pyhanko-cli/Makefile b/security/py-pyhanko-cli/Makefile new file mode 100644 index 000000000000..7bf271af369f --- /dev/null +++ b/security/py-pyhanko-cli/Makefile @@ -0,0 +1,31 @@ +PORTNAME= pyhanko-cli +PORTVERSION= 0.1.2 +PORTREVISION= 2 +CATEGORIES= security python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pyhanko_cli-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= CLI tools for stamping and signing PDF files +WWW= https://docs.pyhanko.eu/en/latest/cli-guide/ \ + https://github.com/MatthiasValvekens/pyHanko/tree/master/pkgs/pyhanko-cli \ + https://github.com/MatthiasValvekens/pyHanko + +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.1:devel/py-asn1crypto@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=8.1.3:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyhanko>=0.29.1:security/py-pyhanko@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.27.0:security/py-pyhanko-certvalidator@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tzlocal>=4.3:devel/py-tzlocal@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/security/py-pyhanko-cli/distinfo b/security/py-pyhanko-cli/distinfo new file mode 100644 index 000000000000..531fc9827b55 --- /dev/null +++ b/security/py-pyhanko-cli/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1750954096 +SHA256 (pyhanko_cli-0.1.2.tar.gz) = 932c09c46a07ff070db6afc3b1475d3a61cb489ea4b0a0a3be84c70db2c41e6e +SIZE (pyhanko_cli-0.1.2.tar.gz) = 27304 diff --git a/security/py-pyhanko-cli/files/patch-pyproject.toml b/security/py-pyhanko-cli/files/patch-pyproject.toml new file mode 100644 index 000000000000..06d2d28e40b6 --- /dev/null +++ b/security/py-pyhanko-cli/files/patch-pyproject.toml @@ -0,0 +1,30 @@ +--- pyproject.toml.orig 2025-06-20 20:47:42 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=80.8.0"] ++requires = ["setuptools>=61"] + build-backend = "setuptools.build_meta" + + [project] +@@ -7,8 +7,7 @@ maintainers = [{name = "Matthias Valvekens", email = " + description = "CLI tools for stamping and signing PDF files" + authors = [{name = "Matthias Valvekens", email = "dev@mvalvekens.be"}] + maintainers = [{name = "Matthias Valvekens", email = "dev@mvalvekens.be"}] +-license = "MIT" +-license-files = ["LICENSE"] ++license = {text = "MIT"} + keywords = [ + "signature", + "pdf", +@@ -33,8 +32,8 @@ dependencies = [ + dependencies = [ + "asn1crypto>=1.5.1", + "tzlocal>=4.3", +- "pyhanko>=0.29.1,<0.30", +- "pyhanko-certvalidator>=0.27.0,<0.28", ++ "pyhanko>=0.29.1", ++ "pyhanko-certvalidator>=0.27.0", + "click>=8.1.3,!=8.2.0", + ] + version = "0.1.2" diff --git a/security/py-pyhanko-cli/pkg-descr b/security/py-pyhanko-cli/pkg-descr new file mode 100644 index 000000000000..79ee1fdf337a --- /dev/null +++ b/security/py-pyhanko-cli/pkg-descr @@ -0,0 +1,2 @@ +The lack of open-source CLI tooling to handle digitally signing and stamping PDF +files was bothering me, so I went ahead and rolled my own. diff --git a/security/py-pyhanko/Makefile b/security/py-pyhanko/Makefile index 4c33e36d7851..0925ddb157b7 100644 --- a/security/py-pyhanko/Makefile +++ b/security/py-pyhanko/Makefile @@ -1,5 +1,5 @@ PORTNAME= pyhanko -PORTVERSION= 0.29.0 +PORTVERSION= 0.30.0 CATEGORIES= security python MASTER_SITES= PYPI \ https://github.com/MatthiasValvekens/pyHanko/releases/download/v${PORTVERSION}/ @@ -7,7 +7,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tools for stamping and signing PDF files -WWW= https://pyhanko.readthedocs.io/en/latest/ \ +WWW= https://docs.pyhanko.eu/en/latest/ \ https://github.com/MatthiasValvekens/pyHanko LICENSE= MIT @@ -18,7 +18,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FL RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.5.1:devel/py-asn1crypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=8.1.3<8.2.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7.1<0.8:devel/py-defusedxml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.27.0<0.28:security/py-pyhanko-certvalidator@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.28.0<0.29:security/py-pyhanko-certvalidator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}qrcode>=7.3.1:textproc/py-qrcode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \ @@ -29,21 +29,22 @@ USE_PYTHON= autoplist concurrent cryptography pep517 NO_ARCH= yes -OPTIONS_DEFINE= ASYNC_HTTP ETSI IMAGE_SUPPORT OPENTYPE PKGCS11 XMP +OPTIONS_DEFINE= ASYNC_HTTP ETSI IMAGE_SUPPORT OPENTYPE PKCS11 XMP ASYNC_HTTP_DESC=Asynchronous support ETSI_DESC= European Telecommunications Standards Institute (ETSI) IMAGE_SUPPORT_DESC= Image handling support OPENTYPE_DESC= OpenType/TrueType support -PKGCS11_DESC= PKGCS\#11 support +PKCS11_DESC= PKCS\#11 support XMP_DESC= XMP (Extensible Metadata Platform) support -ASYNC_HTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.9.0<3.12:www/py-aiohttp@${PY_FLAVOR} -ETSI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xsdata>=24.4<26.0:devel/py-xsdata@${PY_FLAVOR} +ASYNC_HTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.9<3.13:www/py-aiohttp@${PY_FLAVOR} +ETSI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xsdata>=24.4<26.0:devel/py-xsdata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}signxml>=4.2.0:security/py-signxml@${PY_FLAVOR} IMAGE_SUPPORT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=7.2.0:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-barcode>=0.15.1<0.15.1_99:graphics/py-python-barcode@${PY_FLAVOR} OPENTYPE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=4.33.3:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uharfbuzz>=0.25.0<0.51.0:print/py-uharfbuzz@${PY_FLAVOR} -PKGCS11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-pkcs11>=0.7.0<0.8:security/py-python-pkcs11@${PY_FLAVOR} +PKCS11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-pkcs11>=0.9.0<0.10:security/py-python-pkcs11@${PY_FLAVOR} XMP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7.1<0.8:devel/py-defusedxml@${PY_FLAVOR} .include <bsd.port.mk> diff --git a/security/py-pyhanko/distinfo b/security/py-pyhanko/distinfo index 50a4af4fe76b..ed1bfa659566 100644 --- a/security/py-pyhanko/distinfo +++ b/security/py-pyhanko/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1748495853 -SHA256 (pyhanko-0.29.0.tar.gz) = d4b7b83c51126c430fdd84bbee3399c1826b4c982b3a044644f610396f4e92e5 -SIZE (pyhanko-0.29.0.tar.gz) = 366660 +TIMESTAMP = 1757120818 +SHA256 (pyhanko-0.30.0.tar.gz) = efaa9e5401d4912fa5b2aeb4cdbe729196d98dae0671bd6d37a824dc6fde5ca4 +SIZE (pyhanko-0.30.0.tar.gz) = 405860 diff --git a/security/py-pyhanko/pkg-descr b/security/py-pyhanko/pkg-descr index 2409be54cf91..6f865970a84b 100644 --- a/security/py-pyhanko/pkg-descr +++ b/security/py-pyhanko/pkg-descr @@ -1,5 +1,4 @@ -The lack of open-source CLI tooling to handle digitally signing and stamping PDF -files was bothering me, so I went ahead and rolled my own. +pyhanko is a library for working with signatures in PDF documents. -Note: The working title of this project (and former name of the repository on -GitHub) was pdf-stamp, which might still linger in some references. +pyHanko's CLI is no longer bundled together with the library. This functionality +is now distributed separately as pyhanko-cli. |