From patchwork Sun Nov 17 15:34:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Aujon X-Patchwork-Id: 291846 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id BA0422C00DE for ; Mon, 18 Nov 2013 02:34:15 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7B38A882DA; Sun, 17 Nov 2013 15:34:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uEwIEr4xMzGQ; Sun, 17 Nov 2013 15:34:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id C348788730; Sun, 17 Nov 2013 15:34:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 2E6FC1BF96F for ; Sun, 17 Nov 2013 15:34:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 292F58AD81 for ; Sun, 17 Nov 2013 15:34:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tRcPVcXFoj+y for ; Sun, 17 Nov 2013 15:34:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by whitealder.osuosl.org (Postfix) with ESMTPS id 966D58AD57 for ; Sun, 17 Nov 2013 15:34:09 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id z12so5273840wgg.19 for ; Sun, 17 Nov 2013 07:34:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=6SB9gz0iGnufThJeSFz+05NL5nHqcjThDYxZS3X/2xo=; b=iohjNTj5Clo0bqmOa9zbdK9kroR/d1PzkfhamJzb+N0SH221UvD4Wg/cqJuoTZDdKg OJyK0Ve7MGrurb3Ord2OfjmJzhBPVTu7r0QHSY/ScJjh0iKcGnEZiOKm27UW4d7Z9RIB SsML2sL13LCuRETjMLVRiw8huX9Q5lOqCN2Kr9glc1/h1bKZDxzwyIyNCV5X42tnUNEb Skm/hybMrZwKeI+9I0etTe/sLWl+N692GS+6eCbzp1+TLBjlBJigDuAXLLMfCf+G5vEb fYX2nzy5AHvA2nKAWckN2x+D2/ddRoM/jSMs7PVsfxB9PDxutm5qk6+c5egZbg1QII5g V/sw== X-Received: by 10.180.89.98 with SMTP id bn2mr13667363wib.63.1384702447527; Sun, 17 Nov 2013 07:34:07 -0800 (PST) Received: from localhost.localdomain (191-161-190-109.dsl.ovh.fr. [109.190.161.191]) by mx.google.com with ESMTPSA id dn2sm15116732wid.1.2013.11.17.07.34.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Nov 2013 07:34:07 -0800 (PST) From: Arnaud Aujon To: buildroot@busybox.net Date: Sun, 17 Nov 2013 16:34:00 +0100 Message-Id: <1384702440-23840-1-git-send-email-arnaud.aujon@gmail.com> X-Mailer: git-send-email 1.8.3.1 Subject: [Buildroot] [PATCH]ttcp: fix url, rename patch X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net - 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 Signed-off-by: Arnaud Aujon --- ...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%) diff --git a/package/ttcp/ttcp-bcopy.patch b/package/ttcp/ttcp-0001-replace-deprecated-bcopy.patch similarity index 64% rename from package/ttcp/ttcp-bcopy.patch rename to package/ttcp/ttcp-0001-replace-deprecated-bcopy.patch index c98c88f..fb8ef7f 100644 --- a/package/ttcp/ttcp-bcopy.patch +++ b/package/ttcp/ttcp-0001-replace-deprecated-bcopy.patch @@ -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"); diff --git a/package/ttcp/ttcp.mk b/package/ttcp/ttcp.mk index b65949d..a30e2ac 100644 --- a/package/ttcp/ttcp.mk +++ b/package/ttcp/ttcp.mk @@ -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