3f290f0fff
Tomcat is the Java Servlet / Java Server Page environment produced by the Apache Foundation's Tomcat Project. Tomcat can be run as a standalone web server with Servlet and JSP support, or using Apache Server as its web server via the mod_jk Apache module (www/ap-jk). This is the Tomcat 5.5 package, which is a Java Serlet 2.4 and JSP 2.0 server. This replaces jakarta-tomcat55, the old name for apache-tomcat. pkgsrc previously had pkgsrc jakarta-tomcat55 was 5.5.9 - there are over 300 lines of changelog between that and 5.5.14: http://tomcat.apache.org/tomcat-5.5-doc/changelog.html
8 lines
325 B
Bash
8 lines
325 B
Bash
#!/bin/sh
|
|
TOMCAT_VERSION=${1##*-}
|
|
TOMCAT_VERSION=${TOMCAT_VERSION%%.tar.gz}
|
|
ftp -o - http://tomcat.apache.org/download-55.cgi | \
|
|
grep '<option' | \
|
|
tr -d '\n' | \
|
|
sed -e's/[[:space:]]*//g' -e's,[^<]*<optionvalue="\([^"]*\)">[^<]*</option>,\1 ,g' | \
|
|
sed -e"s,\(http:[^ ]*\),\1/tomcat/tomcat-5/v${TOMCAT_VERSION}/bin/,g"
|