From barner@in.tum.de  Fri Aug 29 19:12:59 2003
Return-Path: <barner@in.tum.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4A48D16A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 29 Aug 2003 19:12:59 -0700 (PDT)
Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2EA4F43FCB
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 29 Aug 2003 19:12:58 -0700 (PDT)
	(envelope-from barner@in.tum.de)
Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000)
	id 50E853873A; Sat, 30 Aug 2003 04:12:55 +0200 (CEST)
Message-Id: <20030830021255.50E853873A@zi025.glhnet.mhn.de>
Date: Sat, 30 Aug 2003 04:12:55 +0200 (CEST)
From: Simon Barner <barner@in.tum.de>
Reply-To: Simon Barner <barner@in.tum.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: editors/nvi-perl: Two different versions of distfile
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56170
>Category:       ports
>Synopsis:       editors/nvi-perl: Two different versions of distfile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 29 19:20:12 PDT 2003
>Closed-Date:    Thu Sep 11 15:57:06 CEST 2003
>Last-Modified:  Thu Sep 11 15:57:06 CEST 2003
>Originator:     Simon Barner
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
>Description:

The build of this port fails due to a checksum error.

================================================================
====================<phase 1: make checksum>====================
>How-To-Repeat:
>Fix:
I think the best is to change the md5 sum back to
MD5 (nvi-1.79.tar.gz) = 765e2153f5fc4f21793f2edc2647305a and remove the
secondary master site (like with the editors/nvi-m17n port).

Here is a patch:

--- Makefile.orig	Sat Aug 30 00:02:44 2003
+++ Makefile	Sat Aug 30 00:09:44 2003
@@ -9,8 +9,7 @@
 PORTVERSION=	1.79
 PORTREVISION=	3
 CATEGORIES=	editors
-MASTER_SITES=	ftp://sleepy.vwh.net/pub/ \
-		ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/
+MASTER_SITES=	ftp://ftp.sleepycat.com/pub/
 PKGNAMESUFFIX=	-perl
 
 MAINTAINER=	ports@FreeBSD.org
--- distinfo.orig	Sat Aug 30 00:04:52 2003
+++ distinfo	Sat Aug 30 00:05:02 2003
@@ -1 +1 @@
-MD5 (nvi-1.79.tar.gz) = 52549f8e390db06f9366ee83e59f64de
+MD5 (nvi-1.79.tar.gz) = 765e2153f5fc4f21793f2edc2647305a
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tobez 
State-Changed-When: Thu Sep 11 15:56:47 CEST 2003 
State-Changed-Why:  
Change committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56170 
>Unformatted:
 
 >> nvi-1.79.tar.gz doesn't seem to exist in /tmp/distfiles/.
 >> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles//.
 
 1295401 bytes transferred in 1.5 seconds (855.89 kBps)
 >> Checksum mismatch for nvi-1.79.tar.gz.
 ===>  Refetch for 1 more times files: nvi-1.79.tar.gz 
 >> nvi-1.79.tar.gz doesn't seem to exist in /tmp/distfiles/.
 >> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles//.
 >> Checksum mismatch for nvi-1.79.tar.gz.
 ===>  Giving up on fetching files: nvi-1.79.tar.gz 
 Make sure the Makefile and distinfo file (/a/ports/editors/nvi-perl/distinfo)
 are up to date.  If you are absolutely sure you want to override this
 check, type "make NO_CHECKSUM=yes [other args]".
 *** Error code 1
 
 Browsing the CVS logs of the distinfo file I noticed that there are two
 versions of the distfile:
 
 Here is the history of the primary master site:
 ftp://ftp.cs.berkeley.edu/ucb/4bsd/\
 ftp://ftp.bostic.com/pub/
 ftp://sleepy.vwh.net/pub/
 
 This has been the secondary master site since the creation of the port:
 ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/
 
 In the beginning md5 sum of the tar ball was the following one,
 MD5 (nvi-1.79.tar.gz) = 765e2153f5fc4f21793f2edc2647305a
 
 But it was changed to
 MD5 (nvi-1.79.tar.gz) = 52549f8e390db06f9366ee83e59f64de
 (which is available on ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/)
 
 But somehow, the 765e2153f5fc4f21793f2edc2647305a version of that file
 is still on ftp-master.freebsd.org and all its mirrors.
 
 The point is that the only differences between those distributions are
 two readme files, so one should choose one version of that file and
 adjust the master site list.
 
