Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Feb 2020 16:48:46 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r527443 - in head/www: tomcat85 tomcat9
Message-ID:  <202002291648.01TGmkNP077197@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fluffy
Date: Sat Feb 29 16:48:46 2020
New Revision: 527443
URL: https://svnweb.freebsd.org/changeset/ports/527443

Log:
  www/tomcat[8|95]: add NLS option, OFF by default
  
  Tomcat comes with resource bundles for various languages. Those are used in responses and logs. Sometimes, it is not desired to have them.
  Add NLS option support omitting them from the installation.
  Bump PORTREVISION
  
  PR:		244374
  Submitted by:	Michael Osipov
  Approved by:	maintainer

Modified:
  head/www/tomcat85/Makefile
  head/www/tomcat85/pkg-plist
  head/www/tomcat9/Makefile
  head/www/tomcat9/pkg-plist

Modified: head/www/tomcat85/Makefile
==============================================================================
--- head/www/tomcat85/Makefile	Sat Feb 29 16:47:52 2020	(r527442)
+++ head/www/tomcat85/Makefile	Sat Feb 29 16:48:46 2020	(r527443)
@@ -3,7 +3,7 @@
 
 PORTNAME=	tomcat
 PORTVERSION=	8.5.51
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	www java
 MASTER_SITES=	APACHE/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/([0-9])(.*)/\1/}/v${PORTVERSION}/bin
 PKGNAMESUFFIX=	85
@@ -30,7 +30,7 @@ SUB_LIST=	TOMCAT_HOME=${TOMCAT_HOME} \
 		TOMCAT_USER=${WWWOWN} \
 		JAVA_HOME=${JAVA_HOME}
 
-OPTIONS_DEFINE=		HOST_MANAGER MANAGER DOCS EXAMPLES ROOT
+OPTIONS_DEFINE=		HOST_MANAGER MANAGER DOCS EXAMPLES ROOT NLS
 OPTIONS_DEFAULT=	HOST_MANAGER MANAGER ROOT
 OPTIONS_SUB=		yes
 

Modified: head/www/tomcat85/pkg-plist
==============================================================================
--- head/www/tomcat85/pkg-plist	Sat Feb 29 16:47:52 2020	(r527442)
+++ head/www/tomcat85/pkg-plist	Sat Feb 29 16:48:46 2020	(r527443)
@@ -34,13 +34,13 @@
 %%T%%/lib/tomcat-api.jar
 %%T%%/lib/tomcat-coyote.jar
 %%T%%/lib/tomcat-dbcp.jar
-%%T%%/lib/tomcat-i18n-de.jar
-%%T%%/lib/tomcat-i18n-es.jar
-%%T%%/lib/tomcat-i18n-fr.jar
-%%T%%/lib/tomcat-i18n-ja.jar
-%%T%%/lib/tomcat-i18n-ko.jar
-%%T%%/lib/tomcat-i18n-ru.jar
-%%T%%/lib/tomcat-i18n-zh-CN.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-de.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-es.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-fr.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-ja.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-ko.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-ru.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-zh-CN.jar
 %%T%%/lib/tomcat-jdbc.jar
 %%T%%/lib/tomcat-jni.jar
 %%T%%/lib/tomcat-util-scan.jar

Modified: head/www/tomcat9/Makefile
==============================================================================
--- head/www/tomcat9/Makefile	Sat Feb 29 16:47:52 2020	(r527442)
+++ head/www/tomcat9/Makefile	Sat Feb 29 16:48:46 2020	(r527443)
@@ -3,7 +3,7 @@
 
 PORTNAME=	tomcat
 PORTVERSION=	9.0.31
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	www java
 MASTER_SITES=	APACHE/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/([0-9])(.*)/\1/}/v${PORTVERSION}/bin
 PKGNAMESUFFIX=	9
@@ -31,7 +31,7 @@ SUB_LIST=	TOMCAT_HOME=${TOMCAT_HOME} \
 		TOMCAT_USER=${WWWOWN} \
 		JAVA_HOME=${JAVA_HOME}
 
-OPTIONS_DEFINE=		HOST_MANAGER MANAGER DOCS EXAMPLES ROOT
+OPTIONS_DEFINE=		HOST_MANAGER MANAGER DOCS EXAMPLES ROOT NLS
 OPTIONS_DEFAULT=	HOST_MANAGER MANAGER ROOT
 OPTIONS_SUB=		yes
 

Modified: head/www/tomcat9/pkg-plist
==============================================================================
--- head/www/tomcat9/pkg-plist	Sat Feb 29 16:47:52 2020	(r527442)
+++ head/www/tomcat9/pkg-plist	Sat Feb 29 16:48:46 2020	(r527443)
@@ -36,15 +36,15 @@
 %%T%%/lib/tomcat-api.jar
 %%T%%/lib/tomcat-coyote.jar
 %%T%%/lib/tomcat-dbcp.jar
-%%T%%/lib/tomcat-i18n-cs.jar
-%%T%%/lib/tomcat-i18n-de.jar
-%%T%%/lib/tomcat-i18n-es.jar
-%%T%%/lib/tomcat-i18n-fr.jar
-%%T%%/lib/tomcat-i18n-ja.jar
-%%T%%/lib/tomcat-i18n-ko.jar
-%%T%%/lib/tomcat-i18n-pt-BR.jar
-%%T%%/lib/tomcat-i18n-ru.jar
-%%T%%/lib/tomcat-i18n-zh-CN.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-cs.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-de.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-es.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-fr.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-ja.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-ko.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-pt-BR.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-ru.jar
+%%NLS%%%%T%%/lib/tomcat-i18n-zh-CN.jar
 %%T%%/lib/tomcat-jdbc.jar
 %%T%%/lib/tomcat-jni.jar
 %%T%%/lib/tomcat-util-scan.jar



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002291648.01TGmkNP077197>