50665fb29bf3e7a535f56400e721574720ef4552
[openwrt/svn-archive/archive.git] / net / conntrack-tools / Makefile
1 #
2 # Copyright (C) 2009-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=conntrack-tools
11 PKG_VERSION:=0.9.14
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://www.netfilter.org/projects/conntrack-tools/files
16 PKG_MD5SUM:=7e9344fe85bb68bcf65c35034add6655
17
18 PKG_FIXUP:=libtool
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/conntrack-tools
24 SECTION:=net
25 CATEGORY:=Network
26 DEPENDS:=+libnetfilter-conntrack
27 TITLE:=Connection tracking userspace tools
28 URL:=http://conntrack-tools.netfilter.org/
29 endef
30
31 define Package/conntrack-tools/description
32 The conntrack-tools are a set of free software userspace tools for Linux
33 that allow system administrators interact with the Connection Tracking
34 System, which is the module that provides stateful packet inspection for
35 iptables. The conntrack-tools are the userspace daemon conntrackd and the
36 command line interface conntrack.
37 endef
38
39 define Package/conntrack-tools/conffiles
40 /etc/conntrackd/conntrackd.conf
41 endef
42
43 define Package/conntrack-tools/install
44 $(INSTALL_DIR) $(1)/etc/conntrackd
45 $(INSTALL_CONF) \
46 $(PKG_BUILD_DIR)/doc/stats/conntrackd.conf \
47 $(1)/etc/conntrackd/
48 $(INSTALL_DIR) $(1)/usr/sbin
49 $(INSTALL_BIN) \
50 $(PKG_INSTALL_DIR)/usr/sbin/conntrack \
51 $(PKG_INSTALL_DIR)/usr/sbin/conntrackd \
52 $(1)/usr/sbin/
53 endef
54
55 $(eval $(call BuildPackage,conntrack-tools))