diff options
author | William L. Thomson Jr <wlt@o-sinc.com> | 2015-11-10 18:22:41 -0500 |
---|---|---|
committer | William L. Thomson Jr <wlt@o-sinc.com> | 2015-11-10 18:22:41 -0500 |
commit | dff8bb20debc83e8b354e5363e1feb976a0fcc08 (patch) | |
tree | 4cffc073b571a2f106462fd6c7a654cf4bf7fa3f /www-servers | |
parent | media-libs/opencv: version bump bug #564942. (diff) | |
download | gentoo-dff8bb20debc83e8b354e5363e1feb976a0fcc08.tar.gz gentoo-dff8bb20debc83e8b354e5363e1feb976a0fcc08.tar.bz2 gentoo-dff8bb20debc83e8b354e5363e1feb976a0fcc08.zip |
www-servers/tomcat: Added missing docBase to webapps context.xml files
Added sed to add missing docBase to host-manager and manager webapps
context.xml files
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} |