pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/jakarta-tomcat/files Add the script to get the lis...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d326db43a098
branches: trunk
changeset: 474449:d326db43a098
user: erh <erh%pkgsrc.org@localhost>
date: Thu Apr 29 18:25:33 2004 +0000
description:
Add the script to get the list of master sites for Tomcat 5.
diffstat:
www/jakarta-tomcat/files/getsite.sh | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r ec4f00fbbb25 -r d326db43a098 www/jakarta-tomcat/files/getsite.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jakarta-tomcat/files/getsite.sh Thu Apr 29 18:25:33 2004 +0000
@@ -0,0 +1,8 @@
+#!/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-5/v${TOMCAT_VERSION}/bin/,g"
Home |
Main Index |
Thread Index |
Old Index