apache-tomcat: update to 9.0.16.

This commit is contained in:
maxice8 2019-02-19 01:07:34 -03:00 committed by maxice8
parent 0242a3c53e
commit 87ca45b0b9
1 changed files with 13 additions and 8 deletions

View File

@ -1,21 +1,22 @@
# Template file for 'apache-tomcat'
pkgname=apache-tomcat
version=9.0.14
version=9.0.16
revision=1
wrksrc="${pkgname}-${version}-src"
hostmakedepends="openjdk apache-ant"
depends="virtual?java-runtime"
make_dirs="/usr/share/${pkgname}/webapps 0755 tomcat tomcat \
/usr/share/${pkgname}/conf 0755 tomcat tomcat \
/usr/share/${pkgname}/logs 0755 tomcat tomcat \
/usr/share/${pkgname}/temp 0755 tomcat tomcat"
system_accounts="tomcat"
short_desc="An open source implementation of the Java Servlet"
short_desc="Open source implementation of the Java Servlet"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="Apache-2.0"
homepage="https://tomcat.apache.org"
distfiles="http://mirrors.gigenet.com/apache/tomcat/tomcat-9/v${version}/src/${pkgname}-${version}-src.tar.gz"
checksum=c91d8cc379ad37a16d838fb3049e97d2db92df0f46f10b67ff3010c6b33b651c
checksum=43371139d18ca99a0f8a624dd61cec4ca8fa5e2fbdf8d65b987ac34b2fcc090b
system_accounts="tomcat"
make_dirs="/usr/share/${pkgname}/webapps 0755 tomcat tomcat \
/usr/share/${pkgname}/conf 0755 tomcat tomcat \
/usr/share/${pkgname}/logs 0755 tomcat tomcat \
/usr/share/${pkgname}/temp 0755 tomcat tomcat"
do_build() {
ant
@ -39,6 +40,7 @@ post_install() {
}
apache-tomcat-doc_package() {
archs=noarch
short_desc+=" - Documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
@ -47,6 +49,7 @@ apache-tomcat-doc_package() {
}
apache-tomcat-examples_package() {
archs=naorch
short_desc+=" - Examples"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
@ -55,6 +58,7 @@ apache-tomcat-examples_package() {
}
apache-tomcat-manager_package() {
archs=noarch
short_desc+=" - Manager"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
@ -63,6 +67,7 @@ apache-tomcat-manager_package() {
}
apache-tomcat-host-manager_package() {
archs=noarch
short_desc+=" - Host Manager"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {