diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2005-09-18 14:10:44 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2005-09-18 14:10:44 +0000 |
commit | 1a43590df47c121333db97210b3f74b1187c9b76 (patch) | |
tree | 956e2b9ac3fc8bcbb78abfa7759fb03259edf23d /www-servers | |
parent | php update (diff) | |
download | historical-1a43590df47c121333db97210b3f74b1187c9b76.tar.gz historical-1a43590df47c121333db97210b3f74b1187c9b76.tar.bz2 historical-1a43590df47c121333db97210b3f74b1187c9b76.zip |
fix for -r5 conf file installed in -r4 ebuild
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/tomcat/Manifest | 25 | ||||
-rw-r--r-- | www-servers/tomcat/files/5.0.28/tomcat.conf | 4 | ||||
-rw-r--r-- | www-servers/tomcat/files/5.0.28/tomcat.conf-r1 | 76 | ||||
-rw-r--r-- | www-servers/tomcat/tomcat-5.0.28-r5.ebuild | 8 |
4 files changed, 96 insertions, 17 deletions
diff --git a/www-servers/tomcat/Manifest b/www-servers/tomcat/Manifest index 1272c03c6f90..68f664572278 100644 --- a/www-servers/tomcat/Manifest +++ b/www-servers/tomcat/Manifest @@ -1,32 +1,33 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 c11ce937193406815ff7a2b306784fd8 metadata.xml 555 MD5 ff1524d371f1ff9a12eaa651674fe7d0 tomcat-5.0.27-r6.ebuild 3889 +MD5 7d3e02b6a6894cf8d2189a2377112ce9 tomcat-5.0.28-r5.ebuild 9717 MD5 c8f45be5e36dcd7078dc0defe2810fce tomcat-5.0.28-r4.ebuild 9588 -MD5 2a755885e0ef6093b4de72a5a750a67e tomcat-5.0.28-r5.ebuild 9645 MD5 2bdb50475de81d9979ce2bbd281cb0dd ChangeLog 17395 +MD5 c11ce937193406815ff7a2b306784fd8 metadata.xml 555 MD5 d5a48abc8db5543a73abbbf151d0630e files/digest-tomcat-5.0.27-r6 75 MD5 af26ca4772989a2090085a6e24b71628 files/digest-tomcat-5.0.28-r4 78 MD5 af26ca4772989a2090085a6e24b71628 files/digest-tomcat-5.0.28-r5 78 MD5 cbb635ed31e3b7ddabe1db851a8b471e files/5.0.27/gentoo.diff 463 -MD5 c19b85e130d0e0a565eebc406d699965 files/5.0.27/jikes.diff 510 -MD5 bf74c2bd8c21359ada1793cddfa95f37 files/5.0.27/tomcat.conf 2660 MD5 38c130772e7d43dcdff78b3d94f96efd files/5.0.27/tomcat.env 27 +MD5 bf74c2bd8c21359ada1793cddfa95f37 files/5.0.27/tomcat.conf 2660 MD5 d6b2ebda71fd769327f49bcb51f92db2 files/5.0.27/tomcat.init 636 -MD5 6eaf54e60fd0b74ae37ec1dbd8540598 files/5.0.28/build.xml-01.patch 623 -MD5 744a9ce174144fc5689c1fabee527e55 files/5.0.28/build.xml-02.patch 3177 -MD5 987ddee3c5a93ccaa4311c85f5dfceb3 files/5.0.28/gentoo.diff 541 -MD5 98a29b32de00d97f156dc31dfe3cf472 files/5.0.28/jikes.diff 584 +MD5 c19b85e130d0e0a565eebc406d699965 files/5.0.27/jikes.diff 510 MD5 0990cfa870b64034e742297c6be3634b files/5.0.28/scripts.patch 823 -MD5 25e9f98d64c81c1acf0a8cd24b0bc66a files/5.0.28/tomcat.conf 2706 +MD5 987ddee3c5a93ccaa4311c85f5dfceb3 files/5.0.28/gentoo.diff 541 MD5 286d3dcf80a376b72913412cec25e496 files/5.0.28/tomcat.env 34 +MD5 6eaf54e60fd0b74ae37ec1dbd8540598 files/5.0.28/build.xml-01.patch 623 +MD5 a4df0ce5b57f2bcaa707ff3b5858bee4 files/5.0.28/tomcat.conf 2707 MD5 c0d89ffb4276e8a6d0cf08fcad6517f9 files/5.0.28/tomcat.init 701 MD5 4a887877fb26ce5a6a1d58c66578bd7f files/5.0.28/log4j.properties 401 +MD5 744a9ce174144fc5689c1fabee527e55 files/5.0.28/build.xml-02.patch 3177 +MD5 be12f05c16725d1c68cd1ba916ff8748 files/5.0.28/tomcat.conf-r1 2709 +MD5 98a29b32de00d97f156dc31dfe3cf472 files/5.0.28/jikes.diff 584 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDLAqLKf2g/qXtneoRAq2zAJwKMZjdnA9vOpoijEYd7cVklWdhYACfXiUl -Xfg/YOnB1Km1kcvncxnsKKY= -=JNM6 +iD8DBQFDLXVO8zY1VwezZiERArTPAJ9F21osYX8vgm2CQ7psI1BkKzlbiQCeLptF +z1wxycY48IT1d5mlB4cuj1Q= +=49hE -----END PGP SIGNATURE----- diff --git a/www-servers/tomcat/files/5.0.28/tomcat.conf b/www-servers/tomcat/files/5.0.28/tomcat.conf index c46ca201aab4..c2e686472f45 100644 --- a/www-servers/tomcat/files/5.0.28/tomcat.conf +++ b/www-servers/tomcat/files/5.0.28/tomcat.conf @@ -1,4 +1,4 @@ -# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/5.0.28/tomcat.conf,v 1.3 2005/09/14 19:11:37 humpback Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/5.0.28/tomcat.conf,v 1.4 2005/09/18 14:10:44 humpback Exp $ # JVM Runtime # Using the default setting, it will determine your JVM from the system-vm @@ -50,7 +50,7 @@ TOMCAT_STOP="stop" # (Optional) Java runtime options used when the "start", "stop", or "run" # commands are executed. -CATALINA_OPTS="-Dlog4j.configuration=file:/etc/tomcat-5/log4j.properties" +#CATALINA_OPTS="-Dlog4j.configuration=file:/etc/tomcat-5/log4j.properties" # Java Platform Debugger Architecture (JPDA) # http://java.sun.com/products/jpda/ diff --git a/www-servers/tomcat/files/5.0.28/tomcat.conf-r1 b/www-servers/tomcat/files/5.0.28/tomcat.conf-r1 new file mode 100644 index 000000000000..0108f3c3f35e --- /dev/null +++ b/www-servers/tomcat/files/5.0.28/tomcat.conf-r1 @@ -0,0 +1,76 @@ +# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/5.0.28/tomcat.conf-r1,v 1.1 2005/09/18 14:10:44 humpback 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="" + +# profile +PROFILE=default + +# Where your web applications are located +CATALINA_HOME=/usr/share/tomcat-5 +CATALINA_BASE=/var/lib/tomcat-5/${PROFILE} + +# Tomcat's User +CATALINA_USER=tomcat + +# Location of the Tomcat JARs and classes +CATALINA_LIBDIR=/usr/share/tomcat-5/server/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="/var/tmp/tomcat-5/${PROFILE}" + +# 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="-Dlog4j.configuration=file:/etc/tomcat-5/log4j.properties" + +# 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/tomcat-5.0.28-r5.ebuild b/www-servers/tomcat/tomcat-5.0.28-r5.ebuild index 9fa924ce0dd1..0aa0cbe00935 100644 --- a/www-servers/tomcat/tomcat-5.0.28-r5.ebuild +++ b/www-servers/tomcat/tomcat-5.0.28-r5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/tomcat-5.0.28-r5.ebuild,v 1.1 2005/09/14 19:11:37 humpback Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/tomcat-5.0.28-r5.ebuild,v 1.2 2005/09/18 14:10:44 humpback Exp $ inherit eutils java-pkg @@ -127,9 +127,8 @@ src_install() { # init.d, env.d, conf.d newinitd ${FILESDIR}/${PV}/tomcat.init ${TOMCAT_NAME} - newconfd ${FILESDIR}/${PV}/tomcat.conf ${TOMCAT_NAME} + newconfd ${FILESDIR}/${PV}/tomcat.conf-r1 ${TOMCAT_NAME} newenvd ${FILESDIR}/${PV}/${PN}.env 21${PN} - cp ${FILESDIR}/${PV}/log4j.properties ${D}/etc/tomcat-5/ if use jikes; then sed -e "\cCATALINA_OPTScaCATALINA_OPTS=\"-Dbuild.compiler.emacs=true\"" \ @@ -217,6 +216,9 @@ src_install() { dosym /var/tmp/${TOMCAT_NAME}/default /var/lib/${TOMCAT_NAME}/default/temp dosym /var/run/${TOMCAT_NAME}/default /var/lib/${TOMCAT_NAME}/default/work + cp ${FILESDIR}/${PV}/log4j.properties ${D}/etc/${TOMCAT_NAME}/ + chown tomcat:tomcat ${D}/etc/${TOMCAT_NAME}/log4j.properties + use doc && dodoc ${S}/jakarta-tomcat-5/{LICENSE,RELEASE-NOTES,RUNNING.txt} fperms 640 /etc/${TOMCAT_NAME}/default/tomcat-users.xml } |