Commit 6097b191 authored by Yegor Yefremov's avatar Yegor Yefremov Committed by Peter Korsgaard
Browse files

New package: nuttcp



Add a new TCP/UDP network testing tool, that provides some advanced
features compared to ttcp.

[Peter: cleanup, fix FLAGS, move to network]
Signed-off-by: default avatarYegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 3ad0fac1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
	Alpha, Cris, IA64 and Sparc64 architecture support removed.

	New packages: argp-standalone, gdk-pixbuf, gpsd, gst-ffmpeg,
	libmpeg2, librsvg, rng-tools, rrdtool, xz
	libmpeg2, librsvg, nuttcp, rng-tools, rrdtool, xz

	Updated/fixed packages: acpid, alsa-lib, argus, at, autoconf,
	automake, avahi, axel, beecrypt, berkeleydb, bind, bmon, boa,
+1 −0
Original line number Diff line number Diff line
@@ -402,6 +402,7 @@ source "package/netsnmp/Config.in"
source "package/netstat-nat/Config.in"
source "package/nfs-utils/Config.in"
source "package/ntp/Config.in"
source "package/nuttcp/Config.in"
source "package/olsr/Config.in"
source "package/openntpd/Config.in"
source "package/openssh/Config.in"
+6 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_NUTTCP
	bool "nuttcp"
	help
	  nuttcp is a TCP/UDP network testing tool, much like iperf

	  http://www.lcp.nrl.navy.mil/nuttcp/nuttcp.html
+25 −0
Original line number Diff line number Diff line
#############################################################
#
# nuttcp
#
#############################################################

NUTTCP_VERSION = 6.1.2
NUTTCP_SITE = http://www.lcp.nrl.navy.mil/nuttcp/
NUTTCP_SOURCE = nuttcp-$(NUTTCP_VERSION).tar.bz2

define NUTTCP_BUILD_CMDS
	$(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
		-C $(@D) all
endef

define NUTTCP_INSTALL_TARGET_CMDS
	$(INSTALL) -m 0755 $(@D)/nuttcp-$(NUTTCP_VERSION) \
		$(TARGET_DIR)/usr/bin/nuttcp
endef

define NUTTCP_UNINSTALL_TARGET_CMDS
	rm -f $(TARGET_DIR)/usr/bin/nuttcp
endef

$(eval $(call GENTARGETS,package,nuttcp))