summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Thomson <wltjr@gentoo.org>2007-10-12 02:47:16 +0000
committerWilliam Thomson <wltjr@gentoo.org>2007-10-12 02:47:16 +0000
commit796813009ea5d9656e5aec4ed623f9c4cb4e0c4a (patch)
tree3259bc9874304ccb666f5451a9d7b6627b90abaf /www-servers/tomcat
parentQA fixed copyright, added quotes. (diff)
downloadhistorical-796813009ea5d9656e5aec4ed623f9c4cb4e0c4a.tar.gz
historical-796813009ea5d9656e5aec4ed623f9c4cb4e0c4a.tar.bz2
historical-796813009ea5d9656e5aec4ed623f9c4cb4e0c4a.zip
amd64 stable, bug #195571. Added quotes, still missing from older soon to be removed versions.
Package-Manager: portage-2.1.3.12
Diffstat (limited to 'www-servers/tomcat')
-rw-r--r--www-servers/tomcat/ChangeLog8
-rw-r--r--www-servers/tomcat/Manifest24
-rw-r--r--www-servers/tomcat/tomcat-5.5.25.ebuild42
-rw-r--r--www-servers/tomcat/tomcat-6.0.14.ebuild30
4 files changed, 53 insertions, 51 deletions
diff --git a/www-servers/tomcat/ChangeLog b/www-servers/tomcat/ChangeLog
index c38249ee5e18..7fc37ac6750d 100644
--- a/www-servers/tomcat/ChangeLog
+++ b/www-servers/tomcat/ChangeLog
@@ -1,9 +1,11 @@
# ChangeLog for www-servers/tomcat
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/ChangeLog,v 1.166 2007/10/12 02:16:08 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/ChangeLog,v 1.167 2007/10/12 02:47:16 wltjr Exp $
- 12 Oct 2007; William L. Thomson Jr. <wltjr@gentoo.org> ChangeLog:
- amd64 stable, bug #195571.
+ 12 Oct 2007; William L. Thomson Jr. <wltjr@gentoo.org>
+ tomcat-5.5.25.ebuild, tomcat-6.0.14.ebuild:
+ amd64 stable, bug #195571. Added quotes, still missing from older soon to be
+ removed versions.
21 Sep 2007; William L. Thomson Jr. <wltjr@gentoo.org>
tomcat-5.5.25.ebuild:
diff --git a/www-servers/tomcat/Manifest b/www-servers/tomcat/Manifest
index a6f1bde8b209..93cdbd5db200 100644
--- a/www-servers/tomcat/Manifest
+++ b/www-servers/tomcat/Manifest
@@ -65,18 +65,18 @@ EBUILD tomcat-5.5.23-r6.ebuild 11112 RMD160 851ad5099ac493ad620ceb839c26f54946ac
MD5 4c81411d4b4f3836c5f0611d43edcbf5 tomcat-5.5.23-r6.ebuild 11112
RMD160 851ad5099ac493ad620ceb839c26f54946acc5ea tomcat-5.5.23-r6.ebuild 11112
SHA256 c113387935a465be335a3babda495e1d325111d521e62bfd30f6f50ea4ae6c43 tomcat-5.5.23-r6.ebuild 11112
-EBUILD tomcat-5.5.25.ebuild 10770 RMD160 314f2e94dcfe2e9ee04a1e7c84fce5bd0fd36bd1 SHA1 56694333c0413b853cebed7604f0b6fe1cec3dca SHA256 bb11530e6504d1275aa1c974c34a213044d5474636998c8ce741009838b8c390
-MD5 422990b1e63c77f9e7c5fbeebd7e598b tomcat-5.5.25.ebuild 10770
-RMD160 314f2e94dcfe2e9ee04a1e7c84fce5bd0fd36bd1 tomcat-5.5.25.ebuild 10770
-SHA256 bb11530e6504d1275aa1c974c34a213044d5474636998c8ce741009838b8c390 tomcat-5.5.25.ebuild 10770
-EBUILD tomcat-6.0.14.ebuild 6203 RMD160 9493504efc84f173d074344111e948d64ca4ab9c SHA1 45518287c4cbf78120402b5822a301281632e4a7 SHA256 c3bb69fa2b1556477f8390631aa899e4d430246a1f3c5186bc32c87c5858bdd0
-MD5 a401e5173b19ff5f9ed992c25342f416 tomcat-6.0.14.ebuild 6203
-RMD160 9493504efc84f173d074344111e948d64ca4ab9c tomcat-6.0.14.ebuild 6203
-SHA256 c3bb69fa2b1556477f8390631aa899e4d430246a1f3c5186bc32c87c5858bdd0 tomcat-6.0.14.ebuild 6203
-MISC ChangeLog 49559 RMD160 d1466dfc0f7281fb2746fe297bf83d8fd2afa36e SHA1 8f90042ba7a9153bbed69c0c06790dd80bbb56f2 SHA256 b9f998dfc066b473d22dd4d0cbd33b6054269b344002492a2f09d1a208e5acd7
-MD5 9e9308307c92b2fdaa71aa2011810b62 ChangeLog 49559
-RMD160 d1466dfc0f7281fb2746fe297bf83d8fd2afa36e ChangeLog 49559
-SHA256 b9f998dfc066b473d22dd4d0cbd33b6054269b344002492a2f09d1a208e5acd7 ChangeLog 49559
+EBUILD tomcat-5.5.25.ebuild 10815 RMD160 144a8c61f2302f4028a19eccd95f5b42b49bf492 SHA1 93d8b95d2cf364545b2265e5e66596ecfdaef27b SHA256 ee8ffc51d6178c0c6c978ca1be3c08397141d65d508cb7a637c05c8b74648f3e
+MD5 cf29c66c00d822869b2b06a6dc741681 tomcat-5.5.25.ebuild 10815
+RMD160 144a8c61f2302f4028a19eccd95f5b42b49bf492 tomcat-5.5.25.ebuild 10815
+SHA256 ee8ffc51d6178c0c6c978ca1be3c08397141d65d508cb7a637c05c8b74648f3e tomcat-5.5.25.ebuild 10815
+EBUILD tomcat-6.0.14.ebuild 6233 RMD160 8af3337ef007e7443ee2a85f30984089abe1c1bd SHA1 c876c3046893fb1435bf83c9b3702fb44de8bff3 SHA256 d41e39fdb0dd8a792b3898cbd4f6acf29fc2671c5e06604f2258d851ba78fad5
+MD5 a0450216f073219fb7ba24fe15026b98 tomcat-6.0.14.ebuild 6233
+RMD160 8af3337ef007e7443ee2a85f30984089abe1c1bd tomcat-6.0.14.ebuild 6233
+SHA256 d41e39fdb0dd8a792b3898cbd4f6acf29fc2671c5e06604f2258d851ba78fad5 tomcat-6.0.14.ebuild 6233
+MISC ChangeLog 49664 RMD160 4fbbb3415bed1beb4a40e1300cad20664dcf6c20 SHA1 66ce323d3c1b1ebda2fc54589cc818c9a9c965bf SHA256 d7ab41696c53b05ed5bf2819c191be070d9089391ad7edf1ff4d9a1bf8700a6b
+MD5 dd3836e4a2907b655c6951ff2e45c51d ChangeLog 49664
+RMD160 4fbbb3415bed1beb4a40e1300cad20664dcf6c20 ChangeLog 49664
+SHA256 d7ab41696c53b05ed5bf2819c191be070d9089391ad7edf1ff4d9a1bf8700a6b ChangeLog 49664
MISC metadata.xml 556 RMD160 88a7809fe3f73c2d351b9fdda025fe88dfb11f31 SHA1 e8dcd8204d0ea02558dd07e1aded5dc58ed1460c SHA256 ac94c1d58b05b47598f311e6efb971fdb30ad9a25f3c32cb9c064fb6330dad79
MD5 0609d3339e0b8d5a3b4707f6b02aad3a metadata.xml 556
RMD160 88a7809fe3f73c2d351b9fdda025fe88dfb11f31 metadata.xml 556
diff --git a/www-servers/tomcat/tomcat-5.5.25.ebuild b/www-servers/tomcat/tomcat-5.5.25.ebuild
index 9eb67e396f75..a15503b88e88 100644
--- a/www-servers/tomcat/tomcat-5.5.25.ebuild
+++ b/www-servers/tomcat/tomcat-5.5.25.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/tomcat-5.5.25.ebuild,v 1.3 2007/09/21 14:49:42 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/tomcat-5.5.25.ebuild,v 1.4 2007/10/12 02:47:16 wltjr Exp $
WANT_ANT_TASKS="ant-trax"
@@ -12,7 +12,7 @@ MY_P="apache-${P}-src"
SLOT="5.5"
SRC_URI="mirror://apache/${PN}/${PN}-5/v${PV}/src/${MY_P}.tar.gz"
HOMEPAGE="http://tomcat.apache.org/"
-KEYWORDS="~amd64 -ppc -ppc64 ~x86"
+KEYWORDS="amd64 -ppc -ppc64 ~x86"
LICENSE="Apache-2.0"
IUSE="admin java5 doc examples source test"
@@ -66,15 +66,15 @@ pkg_setup() {
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
epatch "${FILESDIR}/${SLOT}/main_tomcat_catalina_jasper_build_xml.patch"
use examples && epatch "${FILESDIR}/${SLOT}/jsr152_jsr154_examples_build_xml.patch"
# avoid packed jars :-)
- mkdir -p ${S}/build/build/common
- cd ${S}/build/build
+ mkdir -p "${S}"/build/build/common
+ cd "${S}"/build/build
mkdir ./bin && cd ./bin
java-pkg_jar-from commons-logging commons-logging-api.jar
@@ -82,12 +82,12 @@ src_unpack() {
if ! use java5; then
java-pkg_jar-from mx4j-core-3.0 mx4j.jar jmx.jar
java-pkg_jar-from mx4j-core-3.0 mx4j-rjmx.jar jmx-remote.jar
- mkdir ${S}/build/build/common/endorsed && cd ${S}/build/build/common/endorsed
+ mkdir "${S}"/build/build/common/endorsed && cd "${S}"/build/build/common/endorsed
java-pkg_jar-from xml-commons-external-1.3 xml-apis.jar
java-pkg_jar-from xerces-2 xercesImpl.jar
fi
- mkdir ${S}/build/build/common/lib && cd ${S}/build/build/common/lib
+ mkdir "${S}"/build/build/common/lib && cd "${S}"/build/build/common/lib
java-pkg_jar-from ant-core
java-pkg_jar-from commons-collections
java-pkg_jar-from commons-dbcp
@@ -95,7 +95,7 @@ src_unpack() {
java-pkg_jar-from commons-pool
java-pkg_jar-from tomcat-servlet-api-2.4
- mkdir -p ${S}/build/build/server/lib && cd ${S}/build/build/server/lib
+ mkdir -p "${S}"/build/build/server/lib && cd "${S}"/build/build/server/lib
java-pkg_jar-from commons-beanutils-1.7 commons-beanutils.jar
java-pkg_jar-from commons-digester
java-pkg_jar-from commons-modeler
@@ -151,11 +151,11 @@ src_compile(){
}
src_install() {
- cd ${S}/build/build
+ cd "${S}"/build/build
# init.d, conf.d
- newinitd ${FILESDIR}/${SLOT}/tomcat.init.2 ${TOMCAT_NAME}
- newconfd ${FILESDIR}/${SLOT}/tomcat.conf.2 ${TOMCAT_NAME}
+ newinitd "${FILESDIR}"/${SLOT}/tomcat.init.2 ${TOMCAT_NAME}
+ newconfd "${FILESDIR}"/${SLOT}/tomcat.conf.2 ${TOMCAT_NAME}
# create dir structure
diropts -m755 -o tomcat -g tomcat
@@ -182,10 +182,10 @@ src_install() {
# copy the manager and admin context's to the right position
mkdir -p conf/Catalina/localhost
if use admin; then
- cp ${S}/container/webapps/admin/admin.xml \
+ cp "${S}"/container/webapps/admin/admin.xml \
conf/Catalina/localhost
fi
- cp ${S}/container/webapps/manager/manager.xml \
+ cp "${S}"/container/webapps/manager/manager.xml \
conf/Catalina/localhost
# make the jars available via java-pkg_getjar and jar-from, etc
@@ -229,24 +229,24 @@ src_install() {
# copy over the directories
chown -R tomcat:tomcat webapps/* conf/*
- cp -pR conf/* ${D}/etc/${TOMCAT_NAME} || die "failed to copy conf"
- cp -HR bin common server ${D}/usr/share/${TOMCAT_NAME} || die "failed to copy"
+ cp -pR conf/* "${D}"/etc/${TOMCAT_NAME} || die "failed to copy conf"
+ cp -HR bin common server "${D}"/usr/share/${TOMCAT_NAME} || die "failed to copy"
# replace catalina.policy with gentoo specific one bug #176701
- cp ${FILESDIR}/${SLOT}/catalina.policy ${D}/etc/${TOMCAT_NAME} || die "failed to replace catalina.policy"
+ cp "${FILESDIR}"/${SLOT}/catalina.policy "${D}"/etc/${TOMCAT_NAME} || die "failed to replace catalina.policy"
keepdir ${WEBAPPS_DIR}
- set_webapps_perms ${D}/${WEBAPPS_DIR}
+ set_webapps_perms "${D}"/${WEBAPPS_DIR}
# Copy over webapps, some controlled by use flags
cp -p ../RELEASE-NOTES webapps/ROOT/RELEASE-NOTES.txt
- cp -pr webapps/ROOT ${D}${CATALINA_BASE}/webapps
+ cp -pr webapps/ROOT "${D}"${CATALINA_BASE}/webapps
if use doc; then
- cp -pr webapps/tomcat-docs ${D}${CATALINA_BASE}/webapps
+ cp -pr webapps/tomcat-docs "${D}"${CATALINA_BASE}/webapps
fi
if use examples; then
cp -pr webapps/{jsp-examples,servlets-examples,webdav} \
- ${D}${CATALINA_BASE}/webapps
+ "${D}"${CATALINA_BASE}/webapps
fi
# symlink the directories to make CATALINA_BASE possible
@@ -255,7 +255,7 @@ src_install() {
dosym /var/tmp/${TOMCAT_NAME} ${CATALINA_BASE}/temp
dosym /var/run/${TOMCAT_NAME} ${CATALINA_BASE}/work
- dodoc ${S}/build/{RELEASE-NOTES,RUNNING.txt}
+ dodoc "${S}"/build/{RELEASE-NOTES,RUNNING.txt}
fperms 640 /etc/${TOMCAT_NAME}/tomcat-users.xml
}
diff --git a/www-servers/tomcat/tomcat-6.0.14.ebuild b/www-servers/tomcat/tomcat-6.0.14.ebuild
index 84a73c1b1702..666bc0076cb5 100644
--- a/www-servers/tomcat/tomcat-6.0.14.ebuild
+++ b/www-servers/tomcat/tomcat-6.0.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/tomcat-6.0.14.ebuild,v 1.5 2007/08/31 21:42:30 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/tomcat-6.0.14.ebuild,v 1.6 2007/10/12 02:47:16 wltjr Exp $
WANT_ANT_TASKS="ant-trax"
@@ -89,8 +89,8 @@ src_install() {
local CATALINA_BASE=/var/lib/${TOMCAT_NAME}/
# init.d, conf.d
- newinitd ${FILESDIR}/${SLOT}/tomcat.init ${TOMCAT_NAME}
- newconfd ${FILESDIR}/${SLOT}/tomcat.conf ${TOMCAT_NAME}
+ newinitd "${FILESDIR}"/${SLOT}/tomcat.init ${TOMCAT_NAME}
+ newconfd "${FILESDIR}"/${SLOT}/tomcat.conf ${TOMCAT_NAME}
# create dir structure
dodir /usr/share/${TOMCAT_NAME}
@@ -110,8 +110,8 @@ src_install() {
cd "${S}"
# fix context's so webapps will be deployed
- sed -i -e 's:Context a:Context docBase="${catalina.home}/webapps/host-manager" a:' ${S}/webapps/host-manager/META-INF/context.xml
- sed -i -e 's:Context a:Context docBase="${catalina.home}/webapps/manager" a:' ${S}/webapps/manager/META-INF/context.xml
+ sed -i -e 's:Context a:Context docBase="${catalina.home}/webapps/host-manager" a:' "${S}"/webapps/host-manager/META-INF/context.xml
+ sed -i -e 's:Context a:Context docBase="${catalina.home}/webapps/manager" a:' "${S}"/webapps/manager/META-INF/context.xml
# replace the default pw with a random one, see #92281
local randpw=$(echo ${RANDOM}|md5sum|cut -c 1-15)
@@ -119,15 +119,15 @@ src_install() {
# copy over the directories
chown -R tomcat:tomcat webapps/* conf/*
- cp -pR conf/* ${D}/etc/${TOMCAT_NAME} || die "failed to copy conf"
- cp -pPR output/build/bin ${D}/usr/share/${TOMCAT_NAME} \
+ cp -pR conf/* "${D}"/etc/${TOMCAT_NAME} || die "failed to copy conf"
+ cp -pPR output/build/bin "${D}"/usr/share/${TOMCAT_NAME} \
|| die "failed to copy"
# replace catalina.policy with gentoo specific one bug #176701
-# cp ${FILESDIR}/${SLOT}/catalina.policy ${D}/etc/${TOMCAT_NAME} \
+# cp ${FILESDIR}/${SLOT}/catalina.policy "${D}"/etc/${TOMCAT_NAME} \
# || die "failed to replace catalina.policy"
- cp ${T}/tomcat6-deps/jdt/jasper-jdt.jar ${D}/usr/share/${TOMCAT_NAME}/lib \
+ cp "${T}"/tomcat6-deps/jdt/jasper-jdt.jar "${D}"/usr/share/${TOMCAT_NAME}/lib \
|| die "failed to copy"
cd "${D}/usr/share/${TOMCAT_NAME}/lib"
@@ -137,22 +137,22 @@ src_install() {
# Copy over webapps, some controlled by use flags
cp -p RELEASE-NOTES webapps/ROOT/RELEASE-NOTES.txt
- cp -pr webapps/ROOT ${D}${CATALINA_BASE}/webapps
+ cp -pr webapps/ROOT "${D}"${CATALINA_BASE}/webapps
diropts -m755 -o tomcat -g tomcat
dodir ${TOMCAT_HOME}/webapps
- cp -pr webapps/host-manager ${D}${TOMCAT_HOME}/webapps
- cp -pr webapps/manager ${D}${TOMCAT_HOME}/webapps
+ cp -pr webapps/host-manager "${D}"${TOMCAT_HOME}/webapps
+ cp -pr webapps/manager "${D}"${TOMCAT_HOME}/webapps
if use doc; then
- cp -pr output/build/webapps/docs ${D}${CATALINA_BASE}/webapps
+ cp -pr output/build/webapps/docs "${D}"${CATALINA_BASE}/webapps
fi
if use examples; then
cd output/build/webapps/examples/WEB-INF/lib
java-pkg_jar-from jakarta-jstl jstl.jar
java-pkg_jar-from jakarta-jstl standard.jar
cd "${S}"
- cp -pPr output/build/webapps/examples ${D}${CATALINA_BASE}/webapps
+ cp -pPr output/build/webapps/examples "${D}"${CATALINA_BASE}/webapps
fi
# symlink the directories to make CATALINA_BASE possible
@@ -165,7 +165,7 @@ src_install() {
dosym ${TOMCAT_HOME}/webapps/host-manager/META-INF/context.xml /etc/${TOMCAT_NAME}/Catalina/localhost/host-manager.xml
dosym ${TOMCAT_HOME}/webapps/manager/META-INF/context.xml /etc/${TOMCAT_NAME}/Catalina/localhost/manager.xml
- dodoc ${S}/{RELEASE-NOTES,RUNNING.txt}
+ dodoc "${S}"/{RELEASE-NOTES,RUNNING.txt}
fperms 640 /etc/${TOMCAT_NAME}/tomcat-users.xml
}