Subject: pkg/20865: print/tex-ocrb: impossible to fetch correct distfile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kre@munnari.OZ.AU>
List: netbsd-bugs
Date: 03/24/2003 09:08:47
>Number:         20865
>Category:       pkg
>Synopsis:       print/tex-ocrb: impossible to fetch correct distfile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 23 18:10:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Robert Elz
>Release:        NetBSD 1.6L    --  pkgsrc of 2003-03-23
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD delta.cs.mu.OZ.AU 1.6L NetBSD 1.6L (DELTA) #29: Fri Jan 10 11:40:50 ICT 2003 kre@fuchsia.cs.mu.OZ.AU:/usr/obj/sys/DELTA i386
Architecture: i386
Machine: i386
>Description:
	The "distfile" for print/tex-ocrb is supposed to be a tar.gz file,
	however, that file exists nowhere, except the imagination of the
	NetBSD pkgsrc.   What actually exists are 15 smaller files in
	a directory.   The "distfile" can be fetched, by the good graces
	of one of the archive sites, that permits a tar.gz fetch of the
	directory name, but it is created on the fly, and is subtly
	different every time it is created, hence the checksum never matches.

>How-To-Repeat:
	rm ..../distfiles/ocr-b.tar.gz    (if anyone happens to have it...)
	cd ..../pkgsrc/print/tex-ocrb
	make checksum

	Notice that most of the master sites tried won't allow the
	non-existent file to be fetched (won't tar the directory),
	but one will - however the checksum will fail to match.

	Repeat this several times, and notice that identical files are
	never fetched.

>Fix:
	Either replace the invented distfile with the 15 files in the
	directory that make the tar.gz file, or perhaps easier for
	everyone, notice that the constituent files haven't changed for
	nearly 8 years now, assume that they're not likely to in the next
	few months, and so make a tar.gz file, stick it on ftp.netbsd.org
	and change the Makefile to fetch only from there, not from any of
	the MASTER_SITE_TEX_CTAN sites.
>Release-Note:
>Audit-Trail:
>Unformatted: