2009-01-31 16:35:15 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2009 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
|
2009-07-17 11:24:05 +00:00
|
|
|
PKG_VERSION:=0.9.12
|
2009-01-31 16:35:15 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://www.netfilter.org/projects/conntrack-tools/files/
|
2009-07-17 11:24:05 +00:00
|
|
|
PKG_MD5SUM:=a082eb2354d12250a3f81363440b73f3
|
2009-01-31 16:35:15 +00:00
|
|
|
|
|
|
|
PKG_FIXUP:=libtool
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/conntrack-tools
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
DEPENDS:=+libnetfilter-conntrack
|
|
|
|
TITLE:=Connection tracking userspace tools
|
|
|
|
URL:=http://conntrack-tools.netfilter.org/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/conntrack-tools/description
|
2009-07-17 11:24:05 +00:00
|
|
|
The conntrack-tools are a set of free software userspace tools for Linux
|
|
|
|
that allow system administrators interact with the Connection Tracking
|
|
|
|
System, which is the module that provides stateful packet inspection for
|
|
|
|
iptables. The conntrack-tools are the userspace daemon conntrackd and the
|
2009-01-31 16:35:15 +00:00
|
|
|
command line interface conntrack.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/conntrack-tools/conffiles
|
|
|
|
/etc/conntrackd/conntrackd.conf
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
# uses GNU configure
|
|
|
|
|
2009-07-17 11:24:05 +00:00
|
|
|
define Build/Compile
|
2009-01-31 16:35:15 +00:00
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
all install
|
|
|
|
endef
|
|
|
|
|
2009-07-17 11:24:05 +00:00
|
|
|
define Package/conntrack-tools/install
|
2009-01-31 16:35:15 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/conntrackd
|
2009-07-17 11:24:05 +00:00
|
|
|
$(INSTALL_CONF) \
|
2009-01-31 16:35:15 +00:00
|
|
|
$(PKG_BUILD_DIR)/doc/stats/conntrackd.conf \
|
|
|
|
$(1)/etc/conntrackd
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2009-07-17 11:24:05 +00:00
|
|
|
$(INSTALL_BIN) \
|
2009-01-31 16:35:15 +00:00
|
|
|
$(PKG_INSTALL_DIR)/usr/sbin/conntrack \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/sbin/conntrackd \
|
|
|
|
$(1)/usr/sbin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,conntrack-tools))
|