diff options
author | obache <obache@pkgsrc.org> | 2011-03-27 09:57:12 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-27 09:57:12 +0000 |
commit | d0b6657ccd69a4e8066f090d99ccfea75b0fbf81 (patch) | |
tree | 457cdb55d1b8a5631c6da759b640a778e32f443f /www | |
parent | b4116037482c37eaaaa30b7f025db94d4721df01 (diff) | |
download | pkgsrc-d0b6657ccd69a4e8066f090d99ccfea75b0fbf81.tar.gz |
tomcat5 is in archive nowadays, set MASTER_SITES instead of using getsite.sh.
Diffstat (limited to 'www')
-rw-r--r-- | www/jakarta-tomcat5/Makefile | 5 | ||||
-rw-r--r-- | www/jakarta-tomcat5/files/getsite.sh | 8 |
2 files changed, 2 insertions, 11 deletions
diff --git a/www/jakarta-tomcat5/Makefile b/www/jakarta-tomcat5/Makefile index f469bec1d5f..46f7f5fee75 100644 --- a/www/jakarta-tomcat5/Makefile +++ b/www/jakarta-tomcat5/Makefile @@ -1,11 +1,10 @@ -# $NetBSD: Makefile,v 1.18 2010/01/08 18:53:12 joerg Exp $ +# $NetBSD: Makefile,v 1.19 2011/03/27 09:57:12 obache Exp $ PKGNAME= jakarta-tomcat5-${TOMCAT_VERSION} DISTNAME= jakarta-tomcat-${TOMCAT_VERSION} PKGREVISION= 4 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-5/v${TOMCAT_VERSION}/bin/ MAINTAINER= erh@NetBSD.org HOMEPAGE= http://tomcat.apache.org/ diff --git a/www/jakarta-tomcat5/files/getsite.sh b/www/jakarta-tomcat5/files/getsite.sh deleted file mode 100644 index bc2c41fb9ec..00000000000 --- a/www/jakarta-tomcat5/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/downloads/downloads_tomcat-5.cgi | \ - grep '<option' | \ - tr -d '\n' | \ - sed -e's/[[:space:]]*//g' -e's,[^<]*<optionvalue="\([^"]*\)">[^<]*</option>,\1 ,g' | \ - sed -e"s,\(http:[^ ]*\),\1/jakarta/tomcat-5/v${TOMCAT_VERSION}/bin/,g" |