1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-20 15:48:40 +02:00
openwrt-packages/net/conntrack-tools/Makefile
Peter Wagner ecebe0ed17 conntrack-tools: update to 1.4.5 and link against libtirpc
Signed-off-by: Peter Wagner <tripolar@gmx.at>
[split from https://github.com/openwrt/openwrt/pull/1274]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-01-22 08:17:16 +01:00

83 lines
2.1 KiB
Makefile

#
# Copyright (C) 2009-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=conntrack-tools
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://git.netfilter.org/conntrack-tools
PKG_SOURCE_DATE:=2018-05-01
PKG_SOURCE_VERSION:=88610abee7e58f4da7ec6f198e00ff70a92c870f
PKG_MIRROR_HASH:=cccc5e25e3cb159385b170f63f9b7fd2186f68d32239718080f605c060ea1cb8
PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
PKG_LICENSE:=GPL-2.0
PKG_CPE_ID:=cpe:/a:conntrack-tools_project:conntrack-tools
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_DEPENDS:=libtirpc
include $(INCLUDE_DIR)/package.mk
define Package/conntrack-tools/default
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libnetfilter-conntrack +libnetfilter-cttimeout +libnetfilter-cthelper +libnetfilter-queue
SUBMENU:=Firewall
URL:=http://conntrack-tools.netfilter.org/
endef
define Package/conntrack
$(call Package/conntrack-tools/default)
TITLE:=Connection tracking tool
endef
define Package/conntrack/description
Conntrack is a userspace command line program targeted at system
administrators. It enables them to view and manage the in-kernel
connection tracking state table.
endef
CONFIGURE_ARGS += \
--with-libtirpc
define Package/conntrack/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/conntrack $(1)/usr/sbin/
endef
define Package/conntrackd
$(call Package/conntrack-tools/default)
TITLE:=Connection tracking daemon
endef
define Package/conntrackd/conffiles
/etc/conntrackd/
endef
define Package/conntrackd/description
Conntrackd can replicate the status of the connections that are
currently being processed by your stateful firewall based on Linux.
Conntrackd can also run as statistics daemon.
endef
define Package/conntrackd/install
$(INSTALL_DIR) \
$(1)/etc/conntrackd \
$(1)/etc/init.d \
$(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/conntrackd $(1)/usr/sbin/
$(INSTALL_BIN) ./files/conntrackd.init $(1)/etc/init.d/conntrackd
endef
$(eval $(call BuildPackage,conntrack))
$(eval $(call BuildPackage,conntrackd))