Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2018 12:45:18 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475658 - in head/www/tomcat85: . files
Message-ID:  <201807291245.w6TCjIAO037040@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbaio
Date: Sun Jul 29 12:45:18 2018
New Revision: 475658
URL: https://svnweb.freebsd.org/changeset/ports/475658

Log:
  www/tomcat85: Remove start_precmd from rcfile
  
  This is not being used, users can use $tomcat85_env to pass variables.
  
  PR:		228418
  Submitted by:	VVD <vvd@unislabs.com> (maintainer)
  Reported by:	Michael Osipov <1983-01-06@gmx.net>

Modified:
  head/www/tomcat85/Makefile
  head/www/tomcat85/files/tomcat85.in

Modified: head/www/tomcat85/Makefile
==============================================================================
--- head/www/tomcat85/Makefile	Sun Jul 29 12:36:50 2018	(r475657)
+++ head/www/tomcat85/Makefile	Sun Jul 29 12:45:18 2018	(r475658)
@@ -3,6 +3,7 @@
 
 PORTNAME=	tomcat
 PORTVERSION=	8.5.30
+PORTREVISION=	1
 CATEGORIES=	www java
 MASTER_SITES=	APACHE/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/([0-9])(.*)/\1/}/v${PORTVERSION}/bin
 PKGNAMESUFFIX=	85

Modified: head/www/tomcat85/files/tomcat85.in
==============================================================================
--- head/www/tomcat85/files/tomcat85.in	Sun Jul 29 12:36:50 2018	(r475657)
+++ head/www/tomcat85/files/tomcat85.in	Sun Jul 29 12:45:18 2018	(r475658)
@@ -131,15 +131,4 @@ command_args="-java-home '${_tomcat_java_home}' \
 	org.apache.catalina.startup.Bootstrap \
 	${_tomcat_pipe_cmd}"
 
-start_precmd="tomcat_prestart"
-
-tomcat_prestart()
-{
-	if [ -r "${_tomcat_catalina_base}/bin/setenv.sh" ]; then
-		. "${_tomcat_catalina_base}/bin/setenv.sh"
-	elif [ -r "${_tomcat_catalina_home}/bin/setenv.sh" ]; then
-		. "${_tomcat_catalina_home}/bin/setenv.sh"
-	fi
-}
-
 run_rc_command "$1"



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