conntrack-tools: move to trunk and add myself as maintainer
[openwrt/openwrt.git] / package / network / utils / conntrack-tools / Makefile
1 #
2 # Copyright (C) 2009-2011 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:=1.0.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:= \
16 http://www.netfilter.org/projects/conntrack-tools/files \
17 ftp://ftp.netfilter.org/pub/conntrack-tools \
18 http://mirrors.evolva.ro/netfilter.org/conntrack-tools
19 PKG_MD5SUM:=5add24d4761baf17af630d5627a71752
20
21 PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org>
22
23 PKG_FIXUP:=autoreconf
24 PKG_INSTALL:=1
25
26 include $(INCLUDE_DIR)/package.mk
27
28 define Package/conntrack-tools
29 SECTION:=net
30 CATEGORY:=Network
31 DEPENDS:=+libnetfilter-conntrack
32 SUBMENU:=Firewall
33 TITLE:=Connection tracking userspace tools
34 URL:=http://conntrack-tools.netfilter.org/
35 endef
36
37 define Package/conntrack-tools/description
38 The conntrack-tools are a set of free software userspace tools for Linux
39 that allow system administrators interact with the Connection Tracking
40 System, which is the module that provides stateful packet inspection for
41 iptables. The conntrack-tools are the userspace daemon conntrackd and the
42 command line interface conntrack.
43 endef
44
45 define Package/conntrack-tools/conffiles
46 /etc/conntrackd/conntrackd.conf
47 endef
48
49 define Package/conntrack-tools/install
50 $(INSTALL_DIR) $(1)/etc/conntrackd
51 $(INSTALL_CONF) \
52 $(PKG_BUILD_DIR)/doc/stats/conntrackd.conf \
53 $(1)/etc/conntrackd/
54 $(INSTALL_DIR) $(1)/usr/sbin
55 $(INSTALL_BIN) \
56 $(PKG_INSTALL_DIR)/usr/sbin/conntrack \
57 $(PKG_INSTALL_DIR)/usr/sbin/conntrackd \
58 $(1)/usr/sbin/
59 endef
60
61 $(eval $(call BuildPackage,conntrack-tools))