Skip to contentSkip to conversation

ttcp: fix url, rename patch

PATCH New Arnaud Aujon 2 participants 3 messages Nov 17, 2013 – Nov 19, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 ...ttcp-bcopy.patch => ttcp-0001-replace-deprecated-bcopy.patch} | 9 ++++++---
 package/ttcp/ttcp.mk                                             | 4 ++--
 2 files changed, 8 insertions(+), 5 deletions(-)
 rename package/ttcp/{ttcp-bcopy.patch => ttcp-0001-replace-deprecated-bcopy.patch} (64%)
package/ttcp/ttcp-0001-replace-deprecated-bcopy.patch renamed from package/ttcp/ttcp-bcopy.patch +6 -3
similarity index 64%
rename from package/ttcp/ttcp-bcopy.patch
rename to package/ttcp/ttcp-0001-replace-deprecated-bcopy.patch
index c98c88f..fb8ef7f 100644
@@ -1,6 +1,9 @@
-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");
package/ttcp/ttcp.mk +2 -2
index b65949d..a30e2ac 100644
@@ -5,8 +5,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
 
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/1 ttcp: fix url, rename patch

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnaud" == Arnaud Aujon <[email protected]> writes:

- 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

You forgot to adjust the upstream URL in Config.in to match. Committed with that fixed, thanks.

Are you using ttcp? We deprecated it some time ago, and I was thinking about removing it - But if people are actually using it, then I will certainly keep it.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 ttcp: fix url, rename patch

2013/11/18 Peter Korsgaard <[email protected]>

Quoted 5 lines

Are you using ttcp? We deprecated it some time ago, and I was thinking about removing it - But if people are actually using it, then I will certainly keep it.

I just used it to know what it is, but I don't have any particular interest
in it.
Maybe after the coming release it will be good to remove some deprecated
packages such as netkittelnet and this one.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131119/d11d84d7/attachment.html>