Subject: pkg/20381: corrupt crimson-1.1.3 tar image
To: None <>
From: Nick Cuccia <cuccia@Talamasca.COM>
List: netbsd-bugs
Date: 02/16/2003 22:38:10
>Number:         20381
>Category:       pkg
>Synopsis:       corrupt crimson-1.1.3 tar image
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 16 22:39:00 PST 2003
>Originator:     Nick Cuccia
>Release:        NetBSD 1.6N
System: NetBSD motherhouse 1.6N NetBSD 1.6N (TALAMASCA) #0: Tue Feb 11 17:41:11 PST 2003 cuccia@motherhouse:/sys/arch/i386/compile/TALAMASCA i386
Architecture: i386
Machine: i386
Build of crimson package fails due to inability to extract information
from crimson tar.gz image.
# cd /usr/pkgsrc/textproc/crimson
# make

Change the Makefile and distinfo file, so that they download/use the .zip
image from instead.  To do this:

* Set the appropriate SHA1 (406934261d1eb7e5c0de8e3fbb9768d442320c1c)
  and Size (734032 bytes) in distinfo

* Add the following two lines under MASTER_SITES in Makefile:

	EXTRACT_SUFX=	.zip	${LOCALBASE}/bin/unzip -Caq $${extract_file}

  (Note that we want to preserve case in the filenames when we extract them).
 Crimson-1.1.3's tar file cannot be extracted using tar or pax