All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Ondet <frcomdev@gmail.com>
To: buildroot@buildroot.org
Cc: Alexandre Ondet <frcomdev@gmail.com>,
	James Hilliard <james.hilliard1@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH 08/13] package/python-opencanary: new package
Date: Tue, 28 Apr 2026 13:20:52 -0400	[thread overview]
Message-ID: <20260428172052.2721-1-frcomdev@gmail.com> (raw)

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

                 reply	other threads:[~2026-04-28 17:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260428172052.2721-1-frcomdev@gmail.com \
    --to=frcomdev@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=james.hilliard1@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.