Subject: pkg/20384:
To: None <gnats-bugs@gnats.netbsd.org>
From: Nick Cuccia <cuccia@Talamasca.COM>
List: netbsd-bugs
Date: 02/16/2003 23:04:10
>Number:         20384
>Category:       pkg
>Synopsis:       
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 16 23:05:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Nick Cuccia
>Release:        NetBSD 1.6N
>Organization:
>Environment:
	
	
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
>Description:
tar/pax cannot cleanly extract the tar.gz file for jakarta-ant-1.4.1
>How-To-Repeat:
# cd /usr/pkgsrc/devel/jakarta-ant
# make

>Fix:
Update Makefile and distinfo to use .zip file instead:

* In Makefile, change MASTER_SITES value to

    http://ant.apache.org/old-releases/v1.4.1/src/

  and HOMEPAGE value to

    http://ant.apache.org/

  and put the following two lines immediately after the MASTER_SITES line:

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

* In distinfo, replace .tar.gz references with .zip.  New filesize is

    2144256 bytes

  and new SHA1 value is

    57c3c3bcd0ca0efa6f02c218d8f0fd002ef88e20

>Release-Note:
>Audit-Trail:
>Unformatted:
 Corrupt .tar.gz image prevents jakarta-ant-1.4.1 from being built
 non-critical
 medium