ports/122125: [port fix] benchmarks/nttcp: Checksum mismatch
Ganael Laplanche
ganael.laplanche at martymac.com
Wed Mar 26 19:50:01 UTC 2008
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list