Commit 88afc751 authored by Martin Petráček's avatar Martin Petráček

suricata_conntrack_flows: new package (script moved from suricata pkg)

parent d5b002bd
#
# Copyright (C) 2017 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=suricata_conntrack_flows
PKG_VERSION:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://gitlab.labs.nic.cz/turris/suricata_conntrack_flows.git
PKG_SOURCE:=$(PKG_NAME).tar.gz
PKG_SOURCE_VERSION:=5e7377c0d95878a83295f49da78edecd4624a963
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_MAINTAINER:=Martin Petracek <martin.petracek@nic.cz>
PKG_LICENSE:=GPL-3.0
PKG_INSTALL:=0
include $(INCLUDE_DIR)/package.mk
define Package/suricata_conntrack_flows
SECTION:=net
CATEGORY:=Network
SUBMENU:=Helper script to track flows bypassed by suricata
TITLE:=suricata_conntrack flows
DEPENDS:=+python3-light
endef
define Package/$(PKG_NAME)/description
Helper script to track flows bypassed by suricata.
endef
define Build/Compile
true
endef
define Build/Install
true
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/libexec
$(INSTALL_BIN) $(PKG_BUILD_DIR)/suricata_conntrack_flows.py $(1)/usr/libexec/
endef
$(eval $(call BuildPackage,$(PKG_NAME)))
Markdown is supported
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