summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/tomcat/files/5.0.28')
-rw-r--r--www-servers/tomcat/files/5.0.28/build.xml-01.patch19
-rw-r--r--www-servers/tomcat/files/5.0.28/build.xml-02.patch29
-rw-r--r--www-servers/tomcat/files/5.0.28/gentoo.diff13
-rw-r--r--www-servers/tomcat/files/5.0.28/jikes.diff13
-rw-r--r--www-servers/tomcat/files/5.0.28/tomcat.conf76
-rw-r--r--www-servers/tomcat/files/5.0.28/tomcat.init22
6 files changed, 172 insertions, 0 deletions
diff --git a/www-servers/tomcat/files/5.0.28/build.xml-01.patch b/www-servers/tomcat/files/5.0.28/build.xml-01.patch
new file mode 100644
index 000000000000..1caa16c04181
--- /dev/null
+++ b/www-servers/tomcat/files/5.0.28/build.xml-01.patch
@@ -0,0 +1,19 @@
+--- build.xml 2004-10-05 22:19:36.837810480 +1000
++++ build.xml 2004-10-05 22:19:51.448589304 +1000
+@@ -77,14 +77,14 @@
+
+ <target name="checkout.depends"
+ description="Update or checkout dependent sources from CVS">
+-
++<!--
+ <cvs cvsroot="${cvsroot}" quiet="true"
+ command="checkout -P jakarta-commons/LICENSE"
+ dest="${basedir}" compression="true" />
+ <cvs cvsroot="${cvsroot}" quiet="true"
+ command="checkout -P ${commons-daemon.project}"
+ dest="${basedir}" compression="true" />
+-
++-->
+ </target>
+
+ <!-- *************** UTILITY TARGETS *************** -->
diff --git a/www-servers/tomcat/files/5.0.28/build.xml-02.patch b/www-servers/tomcat/files/5.0.28/build.xml-02.patch
new file mode 100644
index 000000000000..6eaf757fbff9
--- /dev/null
+++ b/www-servers/tomcat/files/5.0.28/build.xml-02.patch
@@ -0,0 +1,29 @@
+--- jakarta-tomcat-5/build.xml 2004-10-05 23:21:44.091181840 +1000
++++ jakarta-tomcat-5/build.xml 2004-10-05 23:22:26.574723360 +1000
+@@ -1545,8 +1545,7 @@
+ <!-- That is ugly XXX needs a review -->
+ <copy file="LICENSE" tofile="../LICENSE"/>
+ <copy file="LICENSE" tofile="${base.path}/LICENSE"/>
+-
+- <!-- Downdown any sub package or tools needed. -->
++<!--
+ <antcall target="downloadgz">
+ <param name="sourcefile" value="${commons-beanutils.loc}"/>
+ <param name="destfile" value="${commons-beanutils.jar}"/>
+@@ -1593,7 +1592,6 @@
+ </antcall>
+
+ <antcall target="downloadgz">
+- <!-- xerces2 brings 2 files, test for one of them -->
+ <param name="sourcefile" value="${xerces.loc}"/>
+ <param name="destfile" value="${xml-apis.jar}"/>
+ </antcall>
+@@ -1655,7 +1653,7 @@
+ <param name="sourcefile" value="${saxpath.loc}"/>
+ <param name="destfile" value="${saxpath.jar}"/>
+ </antcall>
+-
++-->
+ <!-- Build the dependencies that are not yet released -->
+ <antcall target="build-depends"/>
+
diff --git a/www-servers/tomcat/files/5.0.28/gentoo.diff b/www-servers/tomcat/files/5.0.28/gentoo.diff
new file mode 100644
index 000000000000..78e61fe7035c
--- /dev/null
+++ b/www-servers/tomcat/files/5.0.28/gentoo.diff
@@ -0,0 +1,13 @@
+--- jakarta-tomcat-catalina/catalina/src/bin/catalina.sh 2004-05-19 02:25:07.000000000 -0400
++++ jakarta-tomcat-catalina/catalina/src/bin/catalina.sh 2004-05-19 02:23:20.128089696 -0400
+@@ -38,6 +38,10 @@
+ # $Id: gentoo.diff,v 1.1 2004/10/09 09:59:14 axxo Exp $
+ # -----------------------------------------------------------------------------
+
++# source the appropriate files right away
++source /etc/profile
++source /etc/conf.d/tomcat5
++
+ # OS specific support. $var _must_ be set to either true or false.
+ cygwin=false
+ os400=false
diff --git a/www-servers/tomcat/files/5.0.28/jikes.diff b/www-servers/tomcat/files/5.0.28/jikes.diff
new file mode 100644
index 000000000000..a91210d56c99
--- /dev/null
+++ b/www-servers/tomcat/files/5.0.28/jikes.diff
@@ -0,0 +1,13 @@
+--- conf/web.xml 2004-06-18 03:10:14.000000000 +0200
++++ conf/web.xml 2004-07-28 18:51:39.192165664 +0200
+@@ -186,6 +186,10 @@
+ <servlet>
+ <servlet-name>jsp</servlet-name>
+ <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
++ <init-param>
++ <param-name>compiler</param-name>
++ <param-value>jikes</param-value>
++ </init-param>
+ <init-param>
+ <param-name>fork</param-name>
+ <param-value>false</param-value>
diff --git a/www-servers/tomcat/files/5.0.28/tomcat.conf b/www-servers/tomcat/files/5.0.28/tomcat.conf
new file mode 100644
index 000000000000..aa0cbb329a6a
--- /dev/null
+++ b/www-servers/tomcat/files/5.0.28/tomcat.conf
@@ -0,0 +1,76 @@
+# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/5.0.28/tomcat.conf,v 1.1 2004/10/09 09:59:14 axxo Exp $
+
+# JVM Runtime
+# Using the default setting, it will determine your JVM from the system-vm
+# set using java-config.
+# See java-config(1) manual page for assistance in determining this value.
+#
+# You can override this value with whatever path you wish.
+# Example: JAVA_HOME=/opt/sun-jdk-1.4.2.05
+
+#JAVA_HOME=`java-config -O`
+
+# (Optional) Java runtime options used when the "start", "stop", or "run"
+# commands are executed.
+# JAVA_OPTS=""
+
+# Where your web applications are located
+CATALINA_HOME=/opt/tomcat5
+#CATALINA_BASE=${CATALINA_HOME}
+
+# Tomcat's User
+CATALINA_USER=tomcat
+
+# Tomcat Console Log Location
+CATALINA_OUT=/var/log/tomcat5/catalina.log
+
+# Location of the Tomcat JARs and classes
+#CATALINA_LIBDIR=/usr/share/tomcat5/lib
+
+# The CLASSPATH for Tomcat to use, plus any others you need.
+#CLASSPATH=${CLASSPATH}:${CATALINA_LIBDIR}
+
+# (Optional) Directory path location of temporary directory the JVM should
+# use (java.io.tmpdir). Defaults to $CATALINA_BASE/temp.
+# CATALINA_TMPDIR="/your/path/here"
+
+# TOMCAT STARTUP/SHUTDOWN
+# debug Start Catalina in a debugger
+# debug -security Debug Catalina with a security manager
+# embedded Start Catalina in embedded mode
+# jpda start Start Catalina under JPDA debugger
+# start Start Catalina in a separate window
+# start -security Start in a separate window with security manager
+# stop Stop Catalina"
+#
+# NOTE: -security requires JSSE (see below)
+# NOTE: jpda requires JPDA (see below)
+TOMCAT_START="start"
+TOMCAT_STOP="stop"
+
+# (Optional) Java runtime options used when the "start", "stop", or "run"
+# commands are executed.
+# CATALINA_OPTS=""
+
+# Java Platform Debugger Architecture (JPDA)
+# http://java.sun.com/products/jpda/
+# Included with Java SDK 1.3 and later. No need to specify location.
+#
+# JPDA_TRANSPORT (Optional) JPDA transport used when the "jpda start"
+# command is executed. The default is "dt_socket".
+#
+# JPDA_ADDRESS (Optional) Java runtime options used when the "jpda start"
+# command is executed. The default is 8000.
+#
+# JPDA_TRANSPORT="dt_socket"
+# JPDA_ADDRESS="8000"
+
+# Java Secure Socket Extension (JSSE)
+# http://java.sun.com/products/jsse/
+# Included with Java SDK 1.4 and later.
+#
+# JSSE_HOME (Optional) May point at your Java Secure Sockets Extension
+# (JSSE) installation, whose JAR files will be added to the
+# system class path used to start Tomcat.
+#
+# JSSE_HOME="/opt/sun-jdk-1.4.1.02/jre/lib/"
diff --git a/www-servers/tomcat/files/5.0.28/tomcat.init b/www-servers/tomcat/files/5.0.28/tomcat.init
new file mode 100644
index 000000000000..fc99eecb80f8
--- /dev/null
+++ b/www-servers/tomcat/files/5.0.28/tomcat.init
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/5.0.28/tomcat.init,v 1.1 2004/10/09 09:59:14 axxo Exp $
+
+depend() {
+ use dns logger mysql postgresql net
+}
+
+start() {
+ ebegin "Starting Tomcat"
+ start-stop-daemon --start --quiet --chuid tomcat:tomcat --exec ${CATALINA_HOME}/bin/catalina.sh -- ${TOMCAT_START}
+ sleep 5
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Tomcat"
+ start-stop-daemon --start --quiet --chuid tomcat:tomcat --exec ${CATALINA_HOME}/bin/catalina.sh -- ${TOMCAT_STOP}
+ sleep 5
+ eend $?
+}