summaryrefslogtreecommitdiff
path: root/package/tcpreplay/tcpreplay.mk
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2009-07-30 13:59:49 +1200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-12-06 22:09:23 +0100
commit20417bbf4e8be341c6754e5444c58ad1a25f3096 (patch)
tree2f783ba606cc020f192cf012c129d07e325b7a02 /package/tcpreplay/tcpreplay.mk
parentc9c0d809d4de4e59c80debbd41fa71464b9d256b (diff)
add tcpreplay tool
Closes #515. Tcpreplay is a tool for replaying network traffic from files saved with tcpdump or other tools which write pcap(3) files. The tcpreplay suite also ships with other tools (tcprewrite, tcpreplay-edit) for manipulating pcap files. [Peter: minor tweaks] Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/tcpreplay/tcpreplay.mk')
-rw-r--r--package/tcpreplay/tcpreplay.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/tcpreplay/tcpreplay.mk b/package/tcpreplay/tcpreplay.mk
new file mode 100644
index 000000000..52b0b35d2
--- /dev/null
+++ b/package/tcpreplay/tcpreplay.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# tcpreplay
+#
+#############################################################
+
+TCPREPLAY_VERSION = 3.4.3
+TCPREPLAY_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/tcpreplay
+TCPREPLAY_LIBTOOL_PATCH = NO
+TCPREPLAY_CONF_ENV = tr_cv_libpcap_version=">= 0.7.0"
+TCPREPLAY_CONF_OPT = --program-prefix="" --with-libpcap=$(STAGING_DIR)/usr
+
+TCPREPLAY_DEPENDENCIES = uclibc libpcap
+
+$(eval $(call AUTOTARGETS,package,tcpreplay))
+