diff --git a/security/py-badkeys/Makefile b/security/py-badkeys/Makefile index 776edfdf886c..81894eb23f2c 100644 --- a/security/py-badkeys/Makefile +++ b/security/py-badkeys/Makefile @@ -1,31 +1,31 @@ PORTNAME= badkeys -DISTVERSION= 0.0.11 +DISTVERSION= 0.0.17 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= otis@FreeBSD.org COMMENT= Tool to check public keys for known vulnerabilities WWW= https://github.com/badkeys/badkeys LICENSE= MIT 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}gmpy2>0:math/py-gmpy2@${PY_FLAVOR} USES= python USE_PYTHON= autoplist cryptography pep517 NO_ARCH= yes OPTIONS_DEFINE= SSH URLLOOKUP URLLOOKUP_DESC= Lookup keys also in URLs SSH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} URLLOOKUP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}binary_file_search>0:devel/py-binary_file_search@${PY_FLAVOR} .include diff --git a/security/py-badkeys/distinfo b/security/py-badkeys/distinfo index 246c0ab642fd..529784a655ec 100644 --- a/security/py-badkeys/distinfo +++ b/security/py-badkeys/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1716359748 -SHA256 (badkeys-0.0.11.tar.gz) = 0bc38ac6e683d5c85f7abb15de5ea14e1bf428267e60a9240b1faa34bd91f018 -SIZE (badkeys-0.0.11.tar.gz) = 374536 +TIMESTAMP = 1773313209 +SHA256 (badkeys-0.0.17.tar.gz) = 5562f2276a0343c5cfa5ecc54dc0e658e1b65fd36016858c04af9f33f7e9f826 +SIZE (badkeys-0.0.17.tar.gz) = 399035 diff --git a/security/py-badkeys/files/patch-pyproject.toml b/security/py-badkeys/files/patch-pyproject.toml new file mode 100644 index 000000000000..ad6379f552d2 --- /dev/null +++ b/security/py-badkeys/files/patch-pyproject.toml @@ -0,0 +1,38 @@ +From cd7fad358fe65ac14e8fba25e1053f98e2e96eaf Mon Sep 17 00:00:00 2001 +From: Fabian Keil +Date: Sat, 17 Jan 2026 11:01:05 +0100 +Subject: [PATCH] Revert "Remove deprecated license classifier" + +... to fix a build error with py311-setuptools-63.1.0_3: + +| configuration error: `project.license` must be valid exactly by one definition (2 matches found): + +This reverts commit 47e6881de76c7883a5d6cbfb017a809ac1472c06. +--- + pyproject.toml | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git pyproject.toml pyproject.toml +index d6ed7ae..7bcf406 100644 +--- pyproject.toml ++++ pyproject.toml +@@ -4,6 +4,7 @@ description = "Check cryptographic keys for known weaknesses" + readme = "README.md" + authors = [{ name = "Hanno Böck" }] + classifiers = [ ++ "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", +@@ -15,7 +16,7 @@ classifiers = [ + "Natural Language :: English", + "Development Status :: 4 - Beta", + ] +-license = "MIT" ++license = {text = "MIT"} + keywords = ["cryptography", "rsa", "security"] + requires-python = ">=3.9" + dependencies = ["cryptography", "gmpy2"] +-- +2.52.0 +