git: 51b1bafb0767 - main - security/cowrie: update 3.0.4 → 3.0.14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 20 Sep 2026 18:17:06 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=51b1bafb0767e124045fc119e435c19b15e803a4
commit 51b1bafb0767e124045fc119e435c19b15e803a4
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-20 17:52:50 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-20 18:16:45 +0000
security/cowrie: update 3.0.4 → 3.0.14
---
security/cowrie/Makefile | 38 ++++++++++++++++++++++++--------------
security/cowrie/distinfo | 6 +++---
2 files changed, 27 insertions(+), 17 deletions(-)
diff --git a/security/cowrie/Makefile b/security/cowrie/Makefile
index 749af1cfe59a..e62d8921e5a3 100644
--- a/security/cowrie/Makefile
+++ b/security/cowrie/Makefile
@@ -1,6 +1,6 @@
PORTNAME= cowrie
DISTVERSIONPREFIX= v
-DISTVERSION= 3.0.4
+DISTVERSION= 3.0.14
CATEGORIES= security python
MAINTAINER= yuri@FreeBSD.org
@@ -10,26 +10,25 @@ WWW= https://www.cowrie.org/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/docs/LICENSE.rst
-BUILD_DEPENDS= ${PY_SETUPTOOLS} \
- ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= bash:shells/bash \
${PYTHON_PKGNAMEPREFIX}attrs>=26.1.0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}bcrypt>=5.0.0:security/py-bcrypt@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cryptography>=50.0.0:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hyperlink>=21.0.0:www/py-hyperlink@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}idna>=3.16:dns/py-idna@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}packaging>=26.2:devel/py-packaging@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>0:devel/py-pyasn1-modules@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}requests>=2.32.5:www/py-requests@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}service-identity>=24.2.0:security/py-service-identity@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}treq>0:www/py-treq@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}twisted>0:devel/py-twisted@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}urllib3>=2.7.0:net/py-urllib3@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}idna>=3.18:dns/py-idna@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lark>=1.3.1:devel/py-lark@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}packaging>=26.3:devel/py-packaging@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.4.1:devel/py-pyasn1-modules@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}service-identity>=26.1.0:security/py-service-identity@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}treq>=22.2.0:www/py-treq@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}twisted>=25.5.0:devel/py-twisted@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
-USE_PYTHON= pep517 cryptography autoplist noflavors
+USE_PYTHON= pep517 autoplist noflavors
MAKE_ENV= SETUPTOOLS_SCM_PRETEND_VERSION="${PORTVERSION}"
@@ -38,6 +37,17 @@ CONFLICTS_INSTALL= py*-asciinema # bin/asciinema
NO_ARCH= yes
post-patch: # in pyproject.toml patch first == into >= to avoid deps failures due to exact version requirements
- @${REINPLACE_CMD} -e 's/==/>=/' ${WRKSRC}/pyproject.toml
+ @${REINPLACE_CMD} \
+ -e 's/setuptools>=80/setuptools>=63.1.0/' \
+ -e 's/pyasn1_modules>=0.4.2/pyasn1_modules>=0.4.1/' \
+ -e 's/treq>=26.7.0/treq>=22.2.0/' \
+ -e 's/twisted\\[conch\\]>=26.4.0/twisted[conch]>=25.5.0/' \
+ -e 's/==/>=/' \
+ ${WRKSRC}/pyproject.toml
+
+do-test:
+ @cd ${WRKSRC} && ${SETENV} PYTHONPATH=${WRKSRC}/src ${PYTHON_CMD} -m unittest discover src/cowrie/test -v
+
+# tests as of 3.0.14: Ran 1101 tests in 28.389s, OK (skipped=2)
.include <bsd.port.mk>
diff --git a/security/cowrie/distinfo b/security/cowrie/distinfo
index 5016f3079ba0..75aed9e79c1f 100644
--- a/security/cowrie/distinfo
+++ b/security/cowrie/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1782194268
-SHA256 (cowrie-cowrie-v3.0.4_GH0.tar.gz) = 758798c380fa180992fe81b094d7442cf5de9c22375bcb46c15737d1d539f69d
-SIZE (cowrie-cowrie-v3.0.4_GH0.tar.gz) = 577495
+TIMESTAMP = 1789892501
+SHA256 (cowrie-cowrie-v3.0.14_GH0.tar.gz) = 3c1815bc27d33035092bc0292ac5ba0bb75f8a4845bf0ccf082180120d632de4
+SIZE (cowrie-cowrie-v3.0.14_GH0.tar.gz) = 759374