Subject: pkg/25116: devel/apache-ant15 fails to fetch
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <mikawa@terra.dti.ne.jp>
List: pkgsrc-bugs
Date: 04/09/2004 16:57:59
>Number: 25116
>Category: pkg
>Synopsis: devel/apache-ant15 fails to fetch
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Apr 09 16:59:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Masanori Mikawa
>Release: NetBSD 2.0C
>Organization:
>Environment:
NetBSD raven 2.0C NetBSD 2.0C (RAVEN) #0: Thu Apr 8 23:37:09 JST 2004 mikawa@raven:/usr/obj/sys/arch/i386/compile/RAVEN i386
>Description:
Older releases of Ant can not be found at MASTER_SITE_APACHE,
apache-ant-1.5.4.tar.bz2 as well.
apache-ant-1.5.4 release is available at
http://archive.apache.org/dist/ant/binaries/apache-ant-1.5.4.zip
(tar.bz2 archived file is not available in that place).
>How-To-Repeat:
# cd /usr/pkgsrc/devel/apache-ant15
# make fetch
[ attempt to fetch apache-ant-1.5.4.bin.tar.bz2 ... ]
=> Couldn't fetch apache-ant-1.5.4-bin.tar.bz2 - please try to retrieve this
=> file manually into /ftp/pub/NetBSD/packages/distfiles/ and try again.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/apache-ant15
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/apache-ant15
>Fix:
modify MASTER_SITES and EXTRACT_SUFX.
--- devel/apache-ant15/Makefile.orig 2004-04-01 23:27:12.000000000 +0900
+++ devel/apache-ant15/Makefile
@@ -8,8 +8,8 @@
DISTNAME= apache-ant-1.5.4
PKGREVISION= 1
CATEGORIES= devel java
-MASTER_SITES= ${MASTER_SITE_APACHE:=ant/binaries/}
-EXTRACT_SUFX= .tar.bz2
+MASTER_SITES= http://archive.apache.org/dist/ant/binaries/
+EXTRACT_SUFX= .zip
DISTFILES= ${DISTNAME}-bin${EXTRACT_SUFX}
MAINTAINER= jwise@NetBSD.org
>Release-Note:
>Audit-Trail:
>Unformatted: