aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2018-02-24 03:56:01 +0800
committerlwhsu <lwhsu@FreeBSD.org>2018-02-24 03:56:01 +0800
commit2c5da985e6455f3420b23887b9e77c90bd162047 (patch)
treea2a37716663d766ac0992e400abc38500aaaa61f /www
parentfaf38ec57ace72a7de244a77e1620700b6861b16 (diff)
downloadfreebsd-ports-gnome-2c5da985e6455f3420b23887b9e77c90bd162047.tar.gz
freebsd-ports-gnome-2c5da985e6455f3420b23887b9e77c90bd162047.tar.zst
freebsd-ports-gnome-2c5da985e6455f3420b23887b9e77c90bd162047.zip
Update to 9.0.5
PR: 226146 Submitted by: vvd@unislabs.com (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/tomcat9/Makefile2
-rw-r--r--www/tomcat9/distinfo6
-rw-r--r--www/tomcat9/files/tomcat9.in18
3 files changed, 15 insertions, 11 deletions
diff --git a/www/tomcat9/Makefile b/www/tomcat9/Makefile
index 4f1d35181303..130c93cf226e 100644
--- a/www/tomcat9/Makefile
+++ b/www/tomcat9/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tomcat
-PORTVERSION= 9.0.4
+PORTVERSION= 9.0.5
CATEGORIES= www java
MASTER_SITES= APACHE/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/([0-9])(.*)/\1/}/v${PORTVERSION}/bin
PKGNAMESUFFIX= 9
diff --git a/www/tomcat9/distinfo b/www/tomcat9/distinfo
index 60866eaae893..d702021b5d03 100644
--- a/www/tomcat9/distinfo
+++ b/www/tomcat9/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1516917011
-SHA256 (apache-tomcat-9.0.4.tar.gz) = 791529a4289d3d5356f8f93afcfa0ee20f4b31e454be650f1dd469524ebfa1fc
-SIZE (apache-tomcat-9.0.4.tar.gz) = 9471519
+TIMESTAMP = 1519397136
+SHA256 (apache-tomcat-9.0.5.tar.gz) = 2677380fca68e5fa6263b4abf9646d39821156f03341fdb511fac23b16972786
+SIZE (apache-tomcat-9.0.5.tar.gz) = 9475699
diff --git a/www/tomcat9/files/tomcat9.in b/www/tomcat9/files/tomcat9.in
index d35d89f1065c..5f7ed34f3245 100644
--- a/www/tomcat9/files/tomcat9.in
+++ b/www/tomcat9/files/tomcat9.in
@@ -14,8 +14,12 @@
# Set to "NO" by default.
# Set it to "YES" to enable tomcat9
#
-# tomcat9_catalina_base (str)
+# tomcat9_catalina_home (str)
# Set to "%%TOMCAT_HOME%%" by default.
+# Set the CATALINA_HOME variable for the Tomcat process
+#
+# tomcat9_catalina_base (str)
+# Set to "${catalina.home}" by default.
# Set the CATALINA_BASE variable for the Tomcat process
#
# tomcat9_catalina_tmpdir (str)
@@ -87,8 +91,8 @@ load_rc_config "${name}"
eval "${rcvar}=\${${rcvar}:-'NO'}"
eval "_tomcat_java_home=\${${name}_java_home:-'%%JAVA_HOME%%'}"
eval "_tomcat_catalina_user=\${${name}_catalina_user:-'%%TOMCAT_USER%%'}"
-eval "_tomcat_catalina_home='%%TOMCAT_HOME%%'"
-eval "_tomcat_catalina_base=\${${name}_catalina_base:-'%%TOMCAT_HOME%%'}"
+eval "_tomcat_catalina_home=\${${name}_catalina_home:-'%%TOMCAT_HOME%%'}"
+eval "_tomcat_catalina_base=\${${name}_catalina_base:-'${_tomcat_catalina_home}'}"
eval "_tomcat_catalina_tmpdir=\${${name}_catalina_tmpdir:-'${_tomcat_catalina_base}/temp'}"
eval "_tomcat_stdout=\${${name}_stdout:-'${_tomcat_catalina_base}/logs/catalina.out'}"
eval "_tomcat_stderr=\${${name}_stderr:-'&1'}"
@@ -116,11 +120,11 @@ command_args="-java-home '${_tomcat_java_home}' \
-wait ${_tomcat_wait} \
-outfile '${_tomcat_stdout}' \
-errfile '${_tomcat_stderr}' \
- -classpath '%%TOMCAT_HOME%%/bin/bootstrap.jar:%%LOCALBASE%%/share/java/classes/commons-daemon.jar:%%TOMCAT_HOME%%/bin/tomcat-juli.jar${_tomcat_classpath}' \
+ -classpath '${_tomcat_catalina_home}/bin/bootstrap.jar:%%LOCALBASE%%/share/java/classes/commons-daemon.jar:${_tomcat_catalina_home}/bin/tomcat-juli.jar${_tomcat_classpath}' \
-Djava.util.logging.manager=${_tomcat_logging_manager} \
-Djava.util.logging.config.file='${_tomcat_logging_config}' \
${_tomcat_java_opts} \
- -Djava.endorsed.dirs='%%TOMCAT_HOME%%/endorsed' \
+ -Djava.endorsed.dirs='${_tomcat_catalina_home}/endorsed' \
-Dcatalina.home='${_tomcat_catalina_home}' \
-Dcatalina.base='${_tomcat_catalina_base}' \
-Djava.io.tmpdir='${_tomcat_catalina_tmpdir}' \
@@ -133,8 +137,8 @@ tomcat_prestart()
{
if [ -r "${_tomcat_catalina_base}/bin/setenv.sh" ]; then
. "${_tomcat_catalina_base}/bin/setenv.sh"
- elif [ -r "%%TOMCAT_HOME%%/bin/setenv.sh" ]; then
- . "%%TOMCAT_HOME%%/bin/setenv.sh"
+ elif [ -r "${_tomcat_catalina_home}/bin/setenv.sh" ]; then
+ . "${_tomcat_catalina_home}/bin/setenv.sh"
fi
}