Subject: pkg/12064:
To: None <gnats-bugs@gnats.netbsd.org>
From: Fukumoto Atsushi <fukumoto@imasy.or.jp>
List: netbsd-bugs
Date: 01/27/2001 20:56:19
>Number:         12064
>Category:       pkg
>Synopsis:       
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 27 20:59:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Fukumoto Atsushi
>Release:        pkgsrc-2001/01/25
>Organization:
	none
>Environment:
	
System: NetBSD hawk.wings.imasy.or.jp 1.4 NetBSD 1.4 (Hawk) #1: Wed Jun 2 13:40:57 JST 1999 fukumoto@hawk.wings.imasy.or.jp:/usr/src/sys/arch/i386/compile/Hawk i386


>Description:
	
	XEphem pkgsrc has wrong md5 checksum.
	Apparently this was caused by the original developer changing
	tarball without changing version number.  tarball from mirror
	site is slightly differnt as show below.

hawk# diff -u -r /tmp/xephem-3.4 /tmp/xephem-3.4.de
diff -u -r /tmp/xephem-3.4/INSTALL /tmp/xephem-3.4.de/INSTALL
--- /tmp/xephem-3.4/INSTALL     Sat Dec 30 01:29:10 2000
+++ /tmp/xephem-3.4.de/INSTALL  Wed Dec  6 04:31:49 2000
@@ -42,12 +42,12 @@

        $ cp xephem $HOME/bin                   # or where ever

	-    3a.2 Create a directory off your HOME called XEphem for all per-user files
	+    3a.2 Create a directory off your HOME called .xephem for all per-user files

	-       $ mkdir $HOME/XEphem
	+       $ mkdir $HOME/.xephem

	-    3a.3 Create an initial resource file called $HOME/XEphem/XEphem with
	-    just one line in it in the following format:
	+    3a.3 Create an initial resource file called $HOME/.xephem/XEphem with
	+    just one line in it as follows:

		XEphem.ShareDir: <dir>


>How-To-Repeat:
	
hawk# pwd
/usr/pkgsrc/x11/xephem
hawk# make
===> Validating dependencies for xephem-3.4
=> Checksum mismatch for xephem-3.4.tar.gz.
Make sure the Makefile and md5 file (/usr/pkgsrc/x11/xephem/files/md5)
are up to date.  If you want to override this check, type
"make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop.
hawk# cat files/md5
$NetBSD: md5,v 1.5 2000/12/12 17:29:52 drochner Exp $

MD5 (xephem-3.4.tar.gz) = e3525b1ef81f5032dcfad2d8e5d119ac
hawk# md5 /usr/pkgsrc/distfiles/xephem-3.4.tar.gz
MD5 (/usr/pkgsrc/distfiles/xephem-3.4.tar.gz) = 9ec29999d081caabbf21cba941734c6c

>Fix:
	
	I think the original tarball should be renamed to xephem-3.4.1.tar.gz
>Release-Note:
>Audit-Trail:
>Unformatted:
     XEphem has wrong md5 checksum