diff options
author | obache <obache@pkgsrc.org> | 2011-03-27 09:16:58 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-27 09:16:58 +0000 |
commit | cb755b01d03bae4125d63075ca1d74d96eb3415b (patch) | |
tree | d03ee3fb8ca94c229ccb75564ec7d445510d7a0d /www/jakarta-tomcat4 | |
parent | 4e77ab491217607cacb92b4180e157673b60afe5 (diff) | |
download | pkgsrc-cb755b01d03bae4125d63075ca1d74d96eb3415b.tar.gz |
getsite.sh is balky nowadays, set MASTER_SITES.
Diffstat (limited to 'www/jakarta-tomcat4')
-rw-r--r-- | www/jakarta-tomcat4/Makefile | 5 | ||||
-rwxr-xr-x | www/jakarta-tomcat4/files/getsite.sh | 8 |
2 files changed, 2 insertions, 11 deletions
diff --git a/www/jakarta-tomcat4/Makefile b/www/jakarta-tomcat4/Makefile index 5c03d8420e0..5594a6f42ac 100644 --- a/www/jakarta-tomcat4/Makefile +++ b/www/jakarta-tomcat4/Makefile @@ -1,12 +1,11 @@ -# $NetBSD: Makefile,v 1.14 2009/07/07 19:09:45 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2011/03/27 09:16:58 obache Exp $ PKGNAME= jakarta-tomcat4-${TOMCAT_VERSION} DISTNAME= jakarta-tomcat-${TOMCAT_VERSION} PKGREVISION= 2 WRKSRC= ${WRKDIR}/${DISTNAME} CATEGORIES= www java -# The list of sites to download is generated by a jakarta website. -# The getsite.sh script parses the HTML and extracts the urls. +MASTER_SITES= http://archive.apache.org/dist/tomcat/tomcat-4/v${TOMCAT_VERSION}/bin/ MAINTAINER= erh@NetBSD.org HOMEPAGE= http://tomcat.apache.org/ diff --git a/www/jakarta-tomcat4/files/getsite.sh b/www/jakarta-tomcat4/files/getsite.sh deleted file mode 100755 index b2fcb8fdfd3..00000000000 --- a/www/jakarta-tomcat4/files/getsite.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -TOMCAT_VERSION=${1##*-} -TOMCAT_VERSION=${TOMCAT_VERSION%%.tar.gz} -ftp -o - http://jakarta.apache.org/site/binindex.cgi | \ - grep '<option' | \ - tr -d '\n' | \ - sed -e's/[[:space:]]*//g' -e's,[^<]*<optionvalue="\([^"]*\)">[^<]*</option>,\1 ,g' | \ - sed -e"s,\(http:[^ ]*\),\1/jakarta/tomcat-4/v${TOMCAT_VERSION}/bin/,g" |