mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 04:49:17 -04:00
The Apache Tomcat Project is proud to announce the release of version 10.0.2 of Apache Tomcat. This release is the first stable release in the 10.0.x series and is targeted at Jakarta EE 9. Changelog: https://tomcat.apache.org/tomcat-10.0-doc/changelog.html#Tomcat_10.0.2_(markt - Copied from www/tomcat-devel PR: 253404 Submitted by: VVD <vvd@unislabs.com> (maintainer)
26 lines
1.1 KiB
Bash
26 lines
1.1 KiB
Bash
--- bin/daemon.sh.orig
|
|
+++ bin/daemon.sh
|
|
@@ -115,12 +115,9 @@
|
|
test ".$CATALINA_HOME" = . && CATALINA_HOME=`cd "$DIRNAME/.." >/dev/null; pwd`
|
|
test ".$CATALINA_BASE" = . && CATALINA_BASE="$CATALINA_HOME"
|
|
test ".$CATALINA_MAIN" = . && CATALINA_MAIN=org.apache.catalina.startup.Bootstrap
|
|
-# If not explicitly set, look for jsvc in CATALINA_BASE first then CATALINA_HOME
|
|
+# If not explicitly set, look for jsvc in %%PREFIX%%
|
|
if [ -z "$JSVC" ]; then
|
|
- JSVC="$CATALINA_BASE/bin/jsvc"
|
|
- if [ ! -x "$JSVC" ]; then
|
|
- JSVC="$CATALINA_HOME/bin/jsvc"
|
|
- fi
|
|
+ JSVC="%%PREFIX%%/bin/jsvc"
|
|
fi
|
|
# Set the default service-start wait time if necessary
|
|
test ".$SERVICE_START_WAIT_TIME" = . && SERVICE_START_WAIT_TIME=10
|
|
@@ -137,7 +134,7 @@
|
|
|
|
# Add on extra jar files to CLASSPATH
|
|
test ".$CLASSPATH" != . && CLASSPATH="$CLASSPATH:"
|
|
-CLASSPATH="$CLASSPATH$CATALINA_HOME/bin/bootstrap.jar:$CATALINA_HOME/bin/commons-daemon.jar"
|
|
+CLASSPATH="$CLASSPATH$CATALINA_HOME/bin/bootstrap.jar:%%JAVAJARDIR%%/commons-daemon.jar"
|
|
|
|
test ".$CATALINA_OUT" = . && CATALINA_OUT="$CATALINA_BASE/logs/catalina-daemon.out"
|
|
test ".$CATALINA_TMP" = . && CATALINA_TMP="$CATALINA_BASE/temp"
|