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 | b4116037482c37eaaaa30b7f025db94d4721df01 (patch) | |
tree | d03ee3fb8ca94c229ccb75564ec7d445510d7a0d /www | |
parent | 1b85b64a0ca45abcfed5a1a0cf4a61d6433ce8aa (diff) | |
download | pkgsrc-b4116037482c37eaaaa30b7f025db94d4721df01.tar.gz |
getsite.sh is balky nowadays, set MASTER_SITES.
Diffstat (limited to 'www')
-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" |