Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2008 19:41:11 GMT
From:      Ganael Laplanche <ganael.laplanche@martymac.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122125: [port fix] benchmarks/nttcp: Checksum mismatch
Message-ID:  <200803261941.m2QJfB6v053090@www.freebsd.org>
Resent-Message-ID: <200803261950.m2QJo1Au026466@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122125
>Category:       ports
>Synopsis:       [port fix] benchmarks/nttcp: Checksum mismatch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 26 19:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ganael Laplanche
>Release:        7.0-STABLE
>Organization:
http://contribs.martymac.com
>Environment:
FreeBSD home.martymac.com 7.0-STABLE FreeBSD 7.0-STABLE #11: Tue Mar 25 14:32:03 CET 2008     root@home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL  amd64
>Description:
benchmarks/nttcp was marked as BROKEN due to a distfile checksum mismatch. I have checked the distfiles and found that mirrors were offering two different files :

- The FreeBSD mirror and the fresh.t-systems-sfr.com were offering :

MD5 (nttcp-1.47.tar.gz) = 05cc30409e6f2cb8cfdf40334d1dcd77
SHA256 (nttcp-1.47.tar.gz) = a0e0ac34d250ba874f9ce75da60717cde8da4ebbef56879bbc8b8ed2743b81ae
SIZE (nttcp-1.47.tar.gz) = 25693

It seems to correspond to the 'old' file, the one we were using before the port break.

- The two other mirrors (freeware.sgi.com and reality.sgiweb.org) were offering another file :

MD5 (nttcp-1.47.tar.gz) = 50f0c405b3fa488f6b00db32bf994a7d
SHA256 (nttcp-1.47.tar.gz) = 9cad788b08880be7444d134892c681043bf3ad03e8b798d90ad2a6c56d605af2
SIZE (nttcp-1.47.tar.gz) = 25633

I have compared the two files : a diff produces no difference (really *nothing*). So, to be able to keep two mirrors (+ the FreeBSD mirror once the file has been updated), I have deleted the first mirror (fresh.t-systems-sfr.com) and updated the distinfo file.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -aur nttcp.orig/Makefile nttcp/Makefile
--- nttcp.orig/Makefile	2008-03-26 20:02:41.192663068 +0100
+++ nttcp/Makefile	2008-03-26 20:31:18.600208161 +0100
@@ -9,15 +9,12 @@
 PORTVERSION=	1.47
 PORTREVISION=	1
 CATEGORIES=	benchmarks net
-MASTER_SITES=	http://fresh.t-systems-sfr.com/unix/src/privat2/ \
-		http://freeware.sgi.com/source/nttcp/ \
-		http://reality.sgiweb.org/freeware/source/nttcp/
+MASTER_SITES=	http://freeware.sgi.com/source/nttcp/ \
+				http://reality.sgiweb.org/freeware/source/nttcp/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A client/server program for testing network performance
 
-BROKEN=		Checksum mismatch
-
 ALL_TARGET=	nttcp
 MAN1=		nttcp.1
 PLIST_FILES=	bin/nttcp
diff -aur nttcp.orig/distinfo nttcp/distinfo
--- nttcp.orig/distinfo	2008-03-26 20:02:41.192663068 +0100
+++ nttcp/distinfo	2008-03-26 20:31:26.708187248 +0100
@@ -1,3 +1,3 @@
-MD5 (nttcp-1.47.tar.gz) = 05cc30409e6f2cb8cfdf40334d1dcd77
-SHA256 (nttcp-1.47.tar.gz) = a0e0ac34d250ba874f9ce75da60717cde8da4ebbef56879bbc8b8ed2743b81ae
-SIZE (nttcp-1.47.tar.gz) = 25693
+MD5 (nttcp-1.47.tar.gz) = 50f0c405b3fa488f6b00db32bf994a7d
+SHA256 (nttcp-1.47.tar.gz) = 9cad788b08880be7444d134892c681043bf3ad03e8b798d90ad2a6c56d605af2
+SIZE (nttcp-1.47.tar.gz) = 25633


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803261941.m2QJfB6v053090>