View | Details | Raw Unified | Return to bug 239892 | Differences between
and this patch

Collapse All | Expand All

(-)www/tomcat9/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	tomcat
4
PORTNAME=	tomcat
5
PORTVERSION=	9.0.22
5
PORTVERSION=	9.0.22
6
PORTREVISION=	1
6
CATEGORIES=	www java
7
CATEGORIES=	www java
7
MASTER_SITES=	APACHE/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/([0-9])(.*)/\1/}/v${PORTVERSION}/bin
8
MASTER_SITES=	APACHE/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/([0-9])(.*)/\1/}/v${PORTVERSION}/bin
8
PKGNAMESUFFIX=	9
9
PKGNAMESUFFIX=	9
(-)www/tomcat9/files/tomcat9.in (-2 / +13 lines)
Lines 44-50 Link Here
44
#
44
#
45
# tomcat9_logging_config (str):
45
# tomcat9_logging_config (str):
46
#   Set to "${catalina.base}/conf/logging.properties" by default.
46
#   Set to "${catalina.base}/conf/logging.properties" by default.
47
#   Set the JUL config file 
47
#   Set the JUL config file
48
#
48
#
49
# tomcat9_java_home (str):
49
# tomcat9_java_home (str):
50
#   Set to "%%JAVA_HOME%%" by default.
50
#   Set to "%%JAVA_HOME%%" by default.
Lines 111-116 Link Here
111
111
112
extra_commands="reload"
112
extra_commands="reload"
113
113
114
_tomcat_java_version=`${_tomcat_java_home}/bin/java -version 2>&1 | head -1 | sed -e 's/[^"][^"]*\"\([^\"]*\)\".*/\1/'`
115
116
case "${_tomcat_java_version}" in
117
	9* | 1[0-9]* )
118
		_tomcat_endorsed_dirs_option=
119
		;;
120
	*)
121
		_tomcat_endorsed_dirs_option="-Djava.endorsed.dirs='${_tomcat_catalina_home}/endorsed'"
122
		;;
123
esac
124
114
command="%%LOCALBASE%%/bin/jsvc"
125
command="%%LOCALBASE%%/bin/jsvc"
115
command_args="-java-home '${_tomcat_java_home}' \
126
command_args="-java-home '${_tomcat_java_home}' \
116
	-server \
127
	-server \
Lines 124-130 Link Here
124
	-Djava.util.logging.manager=${_tomcat_logging_manager} \
135
	-Djava.util.logging.manager=${_tomcat_logging_manager} \
125
	-Djava.util.logging.config.file='${_tomcat_logging_config}' \
136
	-Djava.util.logging.config.file='${_tomcat_logging_config}' \
126
	${_tomcat_java_opts} \
137
	${_tomcat_java_opts} \
127
	-Djava.endorsed.dirs='${_tomcat_catalina_home}/endorsed' \
138
	${_tomcat_endorsed_dirs_option} \
128
	-Dcatalina.home='${_tomcat_catalina_home}' \
139
	-Dcatalina.home='${_tomcat_catalina_home}' \
129
	-Dcatalina.base='${_tomcat_catalina_base}' \
140
	-Dcatalina.base='${_tomcat_catalina_base}' \
130
	-Djava.io.tmpdir='${_tomcat_catalina_tmpdir}' \
141
	-Djava.io.tmpdir='${_tomcat_catalina_tmpdir}' \

Return to bug 239892