mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Fwknopd: Various updates
Adds configuration option for NFQ capture, moves often written configuration files to /var/etc. Signed-off-by: Jonathan Bennett <JBennett@incomsystems.biz>
This commit is contained in:
+8
-2
@@ -9,11 +9,12 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=fwknop
|
||||
PKG_VERSION:=2.6.9
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://www.cipherdyne.org/fwknop/download
|
||||
PKG_MD5SUM:=e2c49e9674888a028bd443a55c3aaa22
|
||||
PKG_HASH:=5bf47fe1fd30e862d29464f762c0b8bf89b5e298665c37624d6707826da956d4
|
||||
PKG_MAINTAINER:=Jonathan Bennett <JBennett@incomsystems.biz>
|
||||
PKG_LICENSE:=GPLv2
|
||||
PKG_INSTALL:=1
|
||||
@@ -42,7 +43,8 @@ define Package/fwknopd
|
||||
CATEGORY:=Network
|
||||
SUBMENU:=Firewall
|
||||
TITLE+= Daemon
|
||||
DEPENDS:=+iptables +libfko +libpcap +FWKNOP_GPG:gnupg
|
||||
DEPENDS:=+iptables +libfko +!FWKNOPD_NFQ_CAPTURE:libpcap +FWKNOPD_NFQ_CAPTURE:iptables-mod-nfqueue +FWKNOP_GPG:gnupg \
|
||||
+FWKNOPD_NFQ_CAPTURE:libnetfilter-queue +FWKNOPD_NFQ_CAPTURE:libnfnetlink
|
||||
endef
|
||||
|
||||
define Package/fwknopd/description
|
||||
@@ -92,6 +94,10 @@ ifneq ($(CONFIG_FWKNOPD_GPG),y)
|
||||
CONFIGURE_ARGS += --without-gpgme
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_FWKNOPD_NFQ_CAPTURE),y)
|
||||
CONFIGURE_ARGS += --enable-nfq-capture
|
||||
endif
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--with-iptables=/usr/sbin/iptables
|
||||
|
||||
|
||||
Reference in New Issue
Block a user