Skip to content
Snippets Groups Projects
Verified Commit dde0814a authored by Martin Matějek's avatar Martin Matějek Committed by Josef Schlehofer
Browse files

foris-controller-haas-module: add new package

parent 5a5aa58c
Branches
Tags
2 merge requests!697Turris OS 5.2 merge,!549foris-controller-haas-module: add new package
#
# Copyright (C) 2020 CZ.NIC z. s. p. o. (https://www.nic.cz/)
#
# This is free software, licensed under the GNU General Public License v3.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=foris-controller-haas-module
PKG_VERSION:=0.1
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://gitlab.nic.cz/turris/foris-controller/foris-controller-haas-module.git
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
include ../foris-controller/files/foris-controller-module.mk
define Package/foris-controller-haas-module
TITLE:=Foris controller HaaS module
DEPENDS:=\
+foris-controller \
+haas-proxy
VARIANT:=python3
endef
define Package/foris-controller-haas-module/description
This is Honeypot as a Service module for foris-controller.
endef
define Package/foris-controller-haas-module/postinst
#!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then
/etc/init.d/foris-controller restart
fi
endef
$(eval $(call ForisControllerModule,foris-controller-haas-module))
# call BuildPackage <= assures OWR build system that this is package
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment