Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 08/13] package/python-opencanary: new package
@ 2026-04-28 17:20 Alexandre Ondet
  0 siblings, 0 replies; only message in thread
From: Alexandre Ondet @ 2026-04-28 17:20 UTC (permalink / raw)
  To: buildroot; +Cc: Alexandre Ondet, James Hilliard, Thomas Petazzoni

Signed-off-by: Alexandre Ondet <frcomdev@gmail.com>
---
 package/Config.in                             |  1 +
 package/python-opencanary/Config.in           | 22 +++++++++++++
 .../python-opencanary/python-opencanary.hash  |  3 ++
 .../python-opencanary/python-opencanary.mk    | 32 +++++++++++++++++++
 4 files changed, 58 insertions(+)
 create mode 100644 package/python-opencanary/Config.in
 create mode 100644 package/python-opencanary/python-opencanary.hash
 create mode 100644 package/python-opencanary/python-opencanary.mk

diff --git a/package/Config.in b/package/Config.in
index 882459cefc..763ca02a06 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1266,6 +1266,7 @@ menu "External python modules"
 	source "package/python-ntlmlib/Config.in"
 	source "package/python-oauthlib/Config.in"
 	source "package/python-opcua-asyncio/Config.in"
+	source "package/python-opencanary/Config.in"
 	source "package/python-orjson/Config.in"
 	source "package/python-outcome/Config.in"
 	source "package/python-packaging/Config.in"
diff --git a/package/python-opencanary/Config.in b/package/python-opencanary/Config.in
new file mode 100644
index 0000000000..9d7d99ab6f
--- /dev/null
+++ b/package/python-opencanary/Config.in
@@ -0,0 +1,22 @@
+config BR2_PACKAGE_PYTHON_OPENCANARY
+	bool "python-opencanary"
+	select BR2_PACKAGE_PYTHON_BCRYPT
+	select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY
+	select BR2_PACKAGE_PYTHON_FPDF2   # voir note ci-dessous
+	select BR2_PACKAGE_PYTHON_HPFEEDS
+	select BR2_PACKAGE_PYTHON_JINJA2
+	select BR2_PACKAGE_PYTHON_NTLMLIB
+	select BR2_PACKAGE_PYTHON_PASSLIB
+	select BR2_PACKAGE_PYTHON_PYASN1
+	select BR2_PACKAGE_PYTHON_PYOPENSSL
+	select BR2_PACKAGE_PYTHON_PYPDF2
+	select BR2_PACKAGE_PYTHON_REQUESTS
+	select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY
+	select BR2_PACKAGE_PYTHON_SIMPLEJSON
+	select BR2_PACKAGE_PYTHON_TWISTED
+	select BR2_PACKAGE_PYTHON_URLLIB3
+	select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE
+	help
+	  OpenCanary is a lightweight honeypot daemon written in Python.
+
+	  https://github.com/thinkst/opencanary
\ No newline at end of file
diff --git a/package/python-opencanary/python-opencanary.hash b/package/python-opencanary/python-opencanary.hash
new file mode 100644
index 0000000000..1e7020098c
--- /dev/null
+++ b/package/python-opencanary/python-opencanary.hash
@@ -0,0 +1,3 @@
+# From https://pypi.org/pypi/opencanary/0.9.7/json
+sha256  b10df22fa3f3b9300667811d2557dc89a8ba97c42524f8c8da076a7b7ffbe22e  opencanary-0.9.7.tar.gz
+sha256  4009cd65e5d4a0b1926c70c14a66d656ed1a05964879c668c8e868f8360c195a  LICENSE
\ No newline at end of file
diff --git a/package/python-opencanary/python-opencanary.mk b/package/python-opencanary/python-opencanary.mk
new file mode 100644
index 0000000000..b1696fee35
--- /dev/null
+++ b/package/python-opencanary/python-opencanary.mk
@@ -0,0 +1,32 @@
+################################################################################
+#
+# python-opencanary
+#
+################################################################################
+
+PYTHON_OPENCANARY_VERSION = 0.9.7
+PYTHON_OPENCANARY_SOURCE = opencanary-$(PYTHON_OPENCANARY_VERSION).tar.gz
+PYTHON_OPENCANARY_SITE = https://files.pythonhosted.org/packages/source/o/opencanary
+PYTHON_OPENCANARY_SETUP_TYPE = setuptools
+PYTHON_OPENCANARY_LICENSE = BSD-2-Clause
+PYTHON_OPENCANARY_LICENSE_FILES = LICENSE
+
+PYTHON_OPENCANARY_DEPENDENCIES = \
+	python-bcrypt \
+	python-cryptography \
+	python-fpdf2 \
+	python-hpfeeds \
+	python-jinja2 \
+	python-ntlmlib \
+	python-passlib \
+	python-pyasn1 \
+	python-pyopenssl \
+	python-pypdf2 \
+	python-requests \
+	python-service-identity \
+	python-simplejson \
+	python-twisted \
+	python-urllib3 \
+	python-zope-interface
+
+$(eval $(python-package))
\ No newline at end of file
-- 
2.53.0.windows.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-28 17:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-28 17:20 [Buildroot] [PATCH 08/13] package/python-opencanary: new package Alexandre Ondet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox