[packages] netstat-nat: update to 1.4.10
[openwrt/svn-archive/archive.git] / net / netstat-nat / Makefile
1 #
2 # Copyright (C) 2006-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:=netstat-nat
11 PKG_VERSION:=1.4.10
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://tweegy.nl/download
16 PKG_MD5SUM:=c1bbb3ee9774ebfa27c440e2d9dd7286
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/netstat-nat
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=A netstat variant for NAT connections
26 URL:=http://tweegy.nl/projects/netstat-nat/
27 endef
28
29 define Package/netstat-nat/description
30 Netstat-nat is a small program written in C.
31 It displays NAT connections, managed by netfilter/iptables which comes
32 with the > 2.4.x linux kernels.
33 The program reads its information from '/proc/net/ip_conntrack', which
34 is the temporary conntrack-storage of netfilter.
35 endef
36
37 define Package/netstat-nat/install
38 $(INSTALL_DIR) $(1)/usr/bin
39 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/netstat-nat $(1)/usr/bin/
40 endef
41
42 $(eval $(call BuildPackage,netstat-nat))