Subject: pkg/24546: graphics/dcraw distfile keeps altering (checksum cannot keep up)
To: None <>
From: None <kre@munnari.OZ.AU>
List: netbsd-bugs
Date: 02/24/2004 18:34:36
>Number:         24546
>Category:       pkg
>Synopsis:       graphics/dcraw distfile keeps altering (checksum cannot keep up)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 24 11:36:00 UTC 2004
>Originator:     Robert Elz
>Release:        NetBSD 1.6X
	Prince of Songkla University
System: NetBSD 1.6X NetBSD 1.6X (JADE) #17: Wed Sep 24 20:25:35 ICT 2003 i386
Architecture: i386
Machine: i386
	The dcraw.c distfile for graphics.dcraw seems to be dynamically
	altering at the master site.   The version I fetched 3 days ago
	doesn't match the checksum expected, a version I fetched just now
	doesn't either, and isn't the same as the earlier version I fetched
	(there are quite a few changes).

	The complete "diff -u" of those two versions is almost 500 lines
	(and not really relevant anyway, since neither is the version
	pkgsrc is expecting) but one obvious change is ...

--- dcraw.c-PREV	2004-02-21 01:38:50.000000000 +0700
+++ dcraw.c	2004-02-24 11:56:31.000000000 +0700
@@ -3172,7 +3173,7 @@
   if (argc == 1)
     fprintf (stderr,
-    "\nRaw Photo Decoder v5.53"
+    "\nRaw Photo Decoder v5.57"
     "\nby Dave Coffin, dcoffin a cybercom o net"
     "\n\nUsage:  %s [options] file1 file2 ...\n"
     "\nValid options:"

	I have no idea which version pkgsrc expected to see.

	rm -fr ..../distfiles/dcraw-1.169; # (or move it elsewhere)
	cd ..../pkgsrc/graphics/dcraw
	make checksum
	Since the fine seems to be changing frequently, either delete the pkg
	completely until there is something stable, or disable checksums for
	this one (rely upon it being able to be fetched correctly, etc),
	or put a canonical copy (the version pkgsrc wants) on some other
	site ( ?) and use that as the master site.