2 # Copyright (C) 2009-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=conntrack-tools
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
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
:=966a5d8f846ddf5304bcd12685c0707f
21 PKG_MAINTAINER
:=Jo-Philipp Wich
<jow@openwrt.org
>
27 TAR_OPTIONS
+= --exclude
='*.rej'
29 PKG_BUILD_DEPENDS
:=librpc
31 include $(INCLUDE_DIR
)/package.mk
33 define Package
/conntrack-tools
36 DEPENDS
:=+libnetfilter-conntrack
+libnetfilter-cttimeout
+libnetfilter-cthelper
+libnetfilter-queue
38 TITLE
:=Connection tracking userspace tools
39 URL
:=http
://conntrack-tools.netfilter.org
/
42 define Package
/conntrack-tools
/description
43 The conntrack-tools are a set of free software userspace tools for Linux
44 that allow system administrators interact with the Connection Tracking
45 System
, which is the module that provides stateful packet inspection for
46 iptables. The conntrack-tools are the userspace daemon conntrackd and the
47 command line interface conntrack.
50 TARGET_CFLAGS
+= -D_GNU_SOURCE
=1
52 define Package
/conntrack-tools
/install
53 $(INSTALL_DIR
) $(1)/etc
/conntrackd
54 $(INSTALL_DIR
) $(1)/usr
/sbin
56 $(PKG_INSTALL_DIR
)/usr
/sbin
/conntrack \
57 $(PKG_INSTALL_DIR
)/usr
/sbin
/conntrackd \
59 $(INSTALL_DIR
) $(1)/etc
/init.d
60 $(INSTALL_BIN
) .
/files
/conntrackd.init
$(1)/etc
/init.d
/conntrackd
63 $(eval
$(call BuildPackage
,conntrack-tools
))