summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-11-12 14:38:37 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-11-12 14:38:37 +0000
commit632cf156de6ba78ae2f7c5c2ae8573abd3f2def6 (patch)
tree9d917149ca31d0536e40becdd628c4ff618c7887 /www-servers
parentkde-plasma/plasma-workspace: add missing patch (diff)
parentwww-servers/tomcat: Added missing docBase to webapps context.xml files (diff)
downloadgentoo-632cf156de6ba78ae2f7c5c2ae8573abd3f2def6.tar.gz
gentoo-632cf156de6ba78ae2f7c5c2ae8573abd3f2def6.tar.bz2
gentoo-632cf156de6ba78ae2f7c5c2ae8573abd3f2def6.zip
Merge remote-tracking branch 'github/pr/351'.
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/tomcat/tomcat-8.0.28-r2.ebuild (renamed from www-servers/tomcat/tomcat-8.0.28-r1.ebuild)7
1 files changed, 7 insertions, 0 deletions
diff --git a/www-servers/tomcat/tomcat-8.0.28-r1.ebuild b/www-servers/tomcat/tomcat-8.0.28-r2.ebuild
index 0d40f89e880f..3595c5707fe4 100644
--- a/www-servers/tomcat/tomcat-8.0.28-r1.ebuild
+++ b/www-servers/tomcat/tomcat-8.0.28-r2.ebuild
@@ -99,6 +99,13 @@ src_install() {
### Webapps ###
+ # add missing docBase
+ local apps="host-manager manager"
+ for app in ${apps}; do
+ sed -i -e "s|=\"true\" >|=\"true\" docBase=\"\$\{catalina.home\}/webapps/${app}\" >|" \
+ output/build/webapps/${app}/META-INF/context.xml || die
+ done
+
insinto "${dest}"/webapps
doins -r output/build/webapps/{host-manager,manager,ROOT}
use extra-webapps && doins -r output/build/webapps/{docs,examples}