Skip to contentSkip to conversation

package/python-opencanary: new package

PATCH In review Alexandre Ondet 1 participant 1 message Apr 28

lore
Share & tools
lore
#0 lore raw

PATCH 8/13 package/python-opencanary: new package

---
 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
package/Config.in +1 -0
index 882459cefc..763ca02a06 100644
@@ -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"
package/python-opencanary/Config.in new file +22 -0
new file mode 100644
index 0000000000..9d7d99ab6f
@@ -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
package/python-opencanary/python-opencanary.hash new file +3 -0
new file mode 100644
index 0000000000..1e7020098c
@@ -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
package/python-opencanary/python-opencanary.mk new file +32 -0
new file mode 100644
index 0000000000..b1696fee35
@@ -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
Signature · 6 lines
2.53.0.windows.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot