diff options
-rw-r--r-- | www/tomcat-devel/Makefile | 1 | ||||
-rw-r--r-- | www/tomcat-devel/files/tomcat_devel.in | 6 | ||||
-rw-r--r-- | www/tomcat85/Makefile | 1 | ||||
-rw-r--r-- | www/tomcat85/files/tomcat85.in | 6 |
4 files changed, 14 insertions, 0 deletions
diff --git a/www/tomcat-devel/Makefile b/www/tomcat-devel/Makefile index 8049cf41d8dc..df933111104a 100644 --- a/www/tomcat-devel/Makefile +++ b/www/tomcat-devel/Makefile @@ -3,6 +3,7 @@ PORTNAME= tomcat PORTVERSION= 9.0.2 +PORTREVISION= 1 CATEGORIES= www java MASTER_SITES= APACHE/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/([0-9])(.*)/\1/}/v${PORTVERSION}/bin PKGNAMESUFFIX= -devel diff --git a/www/tomcat-devel/files/tomcat_devel.in b/www/tomcat-devel/files/tomcat_devel.in index 82c64f2cffd2..0e9daba04a7c 100644 --- a/www/tomcat-devel/files/tomcat_devel.in +++ b/www/tomcat-devel/files/tomcat_devel.in @@ -58,6 +58,10 @@ # Set to "30" by default. # Set the wait time (in seconds) for Tomcat process startup # +# tomcat_devel_umask (str): +# Set to "0077" by default. +# Sets the umask for Tomcat process. +# # You may symlink this script with other names to run multiple # instances of tomcat-devel with different configurations. # @@ -94,6 +98,7 @@ eval "_tomcat_logging_config=\${${name}_logging_config:-'${_tomcat_catalina_base eval "_tomcat_classpath=\${${name}_classpath:-''}" eval "_tomcat_java_opts=\${${name}_java_opts:-''}" eval "_tomcat_wait=\${${name}_wait:-'30'}" +eval "_tomcat_umask=\${${name}_umask:-'0077'}" pidfile="/var/run/${name}.pid" @@ -106,6 +111,7 @@ command="%%LOCALBASE%%/bin/jsvc" command_args="-java-home '${_tomcat_java_home}' \ -server \ -user ${_tomcat_catalina_user} \ + -umask ${_tomcat_umask} \ -pidfile '${pidfile}' \ -wait ${_tomcat_wait} \ -outfile '${_tomcat_stdout}' \ diff --git a/www/tomcat85/Makefile b/www/tomcat85/Makefile index 73e64a464855..5b92a87a1983 100644 --- a/www/tomcat85/Makefile +++ b/www/tomcat85/Makefile @@ -3,6 +3,7 @@ PORTNAME= tomcat PORTVERSION= 8.5.24 +PORTREVISION= 1 CATEGORIES= www java MASTER_SITES= APACHE/tomcat/tomcat-8/v${PORTVERSION}/bin PKGNAMESUFFIX= 85 diff --git a/www/tomcat85/files/tomcat85.in b/www/tomcat85/files/tomcat85.in index aac2a984c844..021f45971cfc 100644 --- a/www/tomcat85/files/tomcat85.in +++ b/www/tomcat85/files/tomcat85.in @@ -58,6 +58,10 @@ # Set to "30" by default. # Set the wait time (in seconds) for Tomcat process startup # +# tomcat85_umask (str): +# Set to "0077" by default. +# Sets the umask for Tomcat process. +# # You may symlink this script with other names to run multiple # instances of tomcat85 with different configurations. # @@ -94,6 +98,7 @@ eval "_tomcat_logging_config=\${${name}_logging_config:-'${_tomcat_catalina_base eval "_tomcat_classpath=\${${name}_classpath:-''}" eval "_tomcat_java_opts=\${${name}_java_opts:-''}" eval "_tomcat_wait=\${${name}_wait:-'30'}" +eval "_tomcat_umask=\${${name}_umask:-'0077'}" pidfile="/var/run/${name}.pid" @@ -106,6 +111,7 @@ command="%%LOCALBASE%%/bin/jsvc" command_args="-java-home '${_tomcat_java_home}' \ -server \ -user ${_tomcat_catalina_user} \ + -umask ${_tomcat_umask} \ -pidfile '${pidfile}' \ -wait ${_tomcat_wait} \ -outfile '${_tomcat_stdout}' \ |