[package] add hping3 (#4699)
[packages.git] / net / hping3 / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=hping3
12 PKG_VERSION:=20051105
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://www.hping.org/
17 PKG_MD5SUM:=ca4ea4e34bcc2162aedf25df8b2d1747
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/hping3
22   SECTION:=net
23   CATEGORY:=Network
24   TITLE:=TCP/IP packet assembler/analyzer
25   URL:=http://www.hping.org/
26   DEPENDS:=+libpcap +libpthread
27 endef
28
29 define Package/hping3/description
30         hping is a command-line oriented TCP/IP packet assembler/analyzer. The interface is
31         inspired to the ping(8) unix command, but hping isn't only able to send ICMP echo
32         requests. It supports TCP, UDP, ICMP and RAW-IP protocols, has a traceroute mode, the
33         ability to send files between a covered channel, and many other features. 
34 endef
35
36 define Build/Configure
37 endef 
38
39 define Package/hping3/install
40         $(INSTALL_DIR) $(1)/usr/sbin
41         $(INSTALL_BIN) $(PKG_BUILD_DIR)/hping3 $(1)/usr/sbin/hping3
42 endef
43
44 $(eval $(call BuildPackage,hping3))