summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien ROZO2009-08-07 23:32:46 +0200
committerJulien ROZO2009-08-07 23:32:46 +0200
commit760a94cd49fdb5bf9902c89cbcdeaaf6ba1e53d2 (patch)
tree0916bb5a63e6b3b37140bcfa2f18504d3f426050
parent9922b6a9f18bb9bb78e23a9644ba460125f44e6c (diff)
tomcat-5-bin: added upstream patch to fix the admin webui
PATCHLEVEL++
-rwxr-xr-xbin-http/tomcat-5-bin/DETAILS4
-rw-r--r--bin-http/tomcat-5-bin/HISTORY4
-rwxr-xr-xbin-http/tomcat-5-bin/PRE_BUILD6
3 files changed, 13 insertions, 1 deletions
diff --git a/bin-http/tomcat-5-bin/DETAILS b/bin-http/tomcat-5-bin/DETAILS
index c6b9763..fd91190 100755
--- a/bin-http/tomcat-5-bin/DETAILS
+++ b/bin-http/tomcat-5-bin/DETAILS
@@ -4,7 +4,11 @@
SOURCE_URL[0]=http://archive.apache.org/dist/tomcat/tomcat-5/v${VERSION}/bin/${SOURCE}
SOURCE_HASH=sha512:e0f32cdaca9cd51c6be3a4c4d24bf819a0304cea0d20d8329396d57df3af20bb9d8ef5eeb3ea6c97bbdbd6bdbaa2b0daa1b1f73e2dd47e6535f2e0a0599f55b7
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/jakarta-tomcat-${VERSION}"
+ SOURCE2=struts-config.xml
+ SOURCE2_URL[0]=http://archive.apache.org/dist/tomcat/tomcat-5/v${VERSION}/bin/${SOURCE2}
+ SOURCE2_HASH=sha512:67b297a319f97e7f2cdbdc4dc0f9a0499e1ac7a55df39e1c7b4a29e98d8ab8eb24c8f63aa97f4bc467ea6866ce4a679f0e116b23e797e6f6179adb53385622ee
WEB_SITE="http://tomcat.apache.org"
+ PATCHLEVEL=1
LICENSE[0]=ASF
ENTERED=20090721
SHORT="an implementation of the Servlet and JSP technologies"
diff --git a/bin-http/tomcat-5-bin/HISTORY b/bin-http/tomcat-5-bin/HISTORY
index 8064382..4e2d86b 100644
--- a/bin-http/tomcat-5-bin/HISTORY
+++ b/bin-http/tomcat-5-bin/HISTORY
@@ -1,3 +1,7 @@
+2009-08-07 Julie "_kaze_" ROZO <julien@rozo.org>
+ * DETAILS, PRE_BUILD: added upstream patch to fix the admin webui,
+ PATCHLEVEL++
+
2009-07-21 Julien "_kaze_" ROZO <julien@rozo.org>
* BUILD, DEPENDS, DETAILS, HISTORY, INSTALL, PRE_BUILD, init.d/tomcat5,
init.d/tomcat5.conf: created this spell
diff --git a/bin-http/tomcat-5-bin/PRE_BUILD b/bin-http/tomcat-5-bin/PRE_BUILD
index 8234eea..bf42ef5 100755
--- a/bin-http/tomcat-5-bin/PRE_BUILD
+++ b/bin-http/tomcat-5-bin/PRE_BUILD
@@ -1,3 +1,7 @@
create_account tomcat5 &&
create_group tomcat &&
-default_pre_build
+default_pre_build &&
+# patch to fix the admin webui
+cd $SOURCE_DIRECTORY &&
+verify_source $SOURCE2 &&
+cp ${SOURCE_CACHE}/$SOURCE2 $SOURCE_DIRECTORY/server/webapps/admin/WEB-INF/