Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Apr 2026 05:06:26 +0000
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: 98f2446834b2 - main - security/py-shodan: New port: Python library and command-line utility for Shodan
Message-ID:  <69cf4ad2.461e1.65aa9a07@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=98f2446834b21a4f645c889016ac5f08fe68f899

commit 98f2446834b21a4f645c889016ac5f08fe68f899
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-03 04:29:19 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-03 04:29:19 +0000

    security/py-shodan: New port: Python library and command-line utility for Shodan
---
 security/Makefile            |  1 +
 security/py-shodan/Makefile  | 27 +++++++++++++++++++++++++++
 security/py-shodan/distinfo  |  3 +++
 security/py-shodan/pkg-descr |  4 ++++
 4 files changed, 35 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 3b4785c258ab..0c614524f594 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1079,6 +1079,7 @@
     SUBDIR += py-serpico
     SUBDIR += py-service-identity
     SUBDIR += py-shamir-mnemonic
+    SUBDIR += py-shodan
     SUBDIR += py-signedjson
     SUBDIR += py-signxml
     SUBDIR += py-slip10
diff --git a/security/py-shodan/Makefile b/security/py-shodan/Makefile
new file mode 100644
index 000000000000..65b66dcfeb2c
--- /dev/null
+++ b/security/py-shodan/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	shodan
+DISTVERSION=	1.31.0
+CATEGORIES=	security python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Python library and command-line utility for Shodan
+WWW=		https://github.com/achillean/shodan-python
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}XlsxWriter>0:textproc/py-xlsxwriter@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click-plugins>0:devel/py-click-plugins@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}colorama>0:devel/py-colorama@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.2.1:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tldextract>0:dns/py-tldextract@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 concurrent autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/py-shodan/distinfo b/security/py-shodan/distinfo
new file mode 100644
index 000000000000..227f007f2b6b
--- /dev/null
+++ b/security/py-shodan/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1775084557
+SHA256 (shodan-1.31.0.tar.gz) = c73275386ea02390e196c35c660706a28dd4d537c5a21eb387ab6236fac251f6
+SIZE (shodan-1.31.0.tar.gz) = 57939
diff --git a/security/py-shodan/pkg-descr b/security/py-shodan/pkg-descr
new file mode 100644
index 000000000000..b6422f2cae6a
--- /dev/null
+++ b/security/py-shodan/pkg-descr
@@ -0,0 +1,4 @@
+Python library and command-line utility for Shodan.
+
+This package wraps the Shodan API for security research
+and network intelligence.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69cf4ad2.461e1.65aa9a07>