Commit f078a8bc authored by Arnaud Aujon's avatar Arnaud Aujon Committed by Peter Korsgaard
Browse files

ttcp: fix url, rename patch



 - fix download url : isn't available on previous ftp, use an other one
   instead
 - add version according to source code version
 - rename and clean patch according to patch policy

[Peter: adjust upstream URL in Config.in]
Signed-off-by: default avatarArnaud Aujon <arnaud.aujon@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 6b8aa112
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,4 +4,4 @@ config BR2_PACKAGE_TTCP
	help
	  Benchmarking tool for determining TCP and UDP performance.

	  ftp://ftp.sunet.se/pub/network/monitoring/ttcp/
	  ftp://ftp.sgi.com/sgi/src/ttcp/README
+6 −3
Original line number Diff line number Diff line
diff -urN ttcp-0rig/ttcp.c ttcp/ttcp.c
--- ttcp-0rig/ttcp.c	1993-05-17 00:00:00.000000000 +0200
+++ ttcp/ttcp.c	2009-01-14 23:46:19.000000000 +0100
Replace deprecated bcopy call by using memmove instead.

Index: b/ttcp.c
===================================================================
--- a/ttcp.c
+++ b/ttcp.c
@@ -241,7 +241,7 @@
 			if ((addr=gethostbyname(host)) == NULL)
 				err("bad hostname");
+2 −3
Original line number Diff line number Diff line
@@ -4,9 +4,8 @@
#
################################################################################

#
TTCP_VERSION =
TTCP_SITE    = http://ftp.sunet.se/pub/network/monitoring/ttcp
TTCP_VERSION = 1.12
TTCP_SITE    = ftp://ftp.sgi.com/sgi/src/ttcp/
TTCP_SOURCE  = ttcp.c
TTCP_LICENSE = public domain