9fa8e29faf
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19131 3c298f89-4303-0410-b956-a3cf2f4a3e73
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
#
|
|
# Copyright (C) 2009-2010 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_VERSION:=0.9.14
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
PKG_SOURCE_URL:=http://www.netfilter.org/projects/conntrack-tools/files
|
|
PKG_MD5SUM:=7e9344fe85bb68bcf65c35034add6655
|
|
|
|
PKG_FIXUP:=libtool
|
|
PKG_INSTALL:=1
|
|
|
|
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
|
|
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
|
|
command line interface conntrack.
|
|
endef
|
|
|
|
define Package/conntrack-tools/conffiles
|
|
/etc/conntrackd/conntrackd.conf
|
|
endef
|
|
|
|
define Package/conntrack-tools/install
|
|
$(INSTALL_DIR) $(1)/etc/conntrackd
|
|
$(INSTALL_CONF) \
|
|
$(PKG_BUILD_DIR)/doc/stats/conntrackd.conf \
|
|
$(1)/etc/conntrackd/
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) \
|
|
$(PKG_INSTALL_DIR)/usr/sbin/conntrack \
|
|
$(PKG_INSTALL_DIR)/usr/sbin/conntrackd \
|
|
$(1)/usr/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,conntrack-tools))
|