Verified Commit 0a363494 authored by Štěpán Henek's avatar Štěpán Henek 🐻
Browse files

python3-netfilterqueue: package added

parent 81da6e6a
......@@ -38,7 +38,7 @@ define Package/foris-common
+python3-flup +python3-ubus +python3-jinja2 +lighttpd +lighttpd-mod-fastcgi \
+lighttpd-mod-redirect +lighttpd-mod-setenv +lighttpd-mod-alias +foris-ws \
+foris-client-python3 +fosquitto +python3-paho-mqtt \
+crypto-wrapper
+crypto-wrapper +python3-netfilterqueue
MAINTAINER:=CZ.NIC <packaging@turris.cz>
endef
......
......@@ -25,6 +25,7 @@ $(call include_mk, python3-package.mk)
define Package/$(PKG_NAME)
TITLE:=$(PKG_NAME)
DEPENDS:=+python3-light +python3-setuptools +logrotate +syslog-ng3 +python3-libatsha204 +firewall +cznic-cacert-bundle
endef
define Package/$(PKG_NAME)/description
......
#
# Copyright (C) 2015 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:=python3-netfilterqueue
PKG_VERSION:=0.8.1
PKG_RELEASE:=1
PKG_SOURCE:=NetfilterQueue-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://pypi.python.org/packages/source/n/netfilterqueue/
PKG_HASH:=beda851dfb8f3199f716e246c4cfd2c8492f7cdce32a03613c7eeab152e0a4a6
PKG_BUILD_DIR:=$(BUILD_DIR)/NetfilterQueue-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=python3-setuptools cython3
include $(INCLUDE_DIR)/package.mk
$(call include_mk, python3-package.mk)
define Package/$(PKG_NAME)
TITLE:=python3-netfilterqueue
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
DEPENDS:=+python3-light +libnetfilter-queue
endef
define Package/$(PKG_NAME)/description
NetfilterQueue provides access to packets matched by an iptables rule in Linux. Packets so matched can be accepted, dropped, altered, or given a mark.
endef
define Build/Compile
$(call Build/Compile/Py3Mod,,install --root="$(PKG_INSTALL_DIR)" --prefix="/usr")
endef
$(eval $(call Py3Package,$(PKG_NAME)))
$(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