From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 16 12:12:14 2005 Return-Path: X-Original-To: freebsd-ports-bugs@FreeBSD.org Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C80F716A41F; Fri, 16 Dec 2005 12:12:14 +0000 (GMT) (envelope-from jbq@anyware-tech.com) Received: from caraldi.com (195-13-58-165.oxyd.net [195.13.58.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id C66FB43D5C; Fri, 16 Dec 2005 12:12:12 +0000 (GMT) (envelope-from jbq@anyware-tech.com) Received: from vision.anyware (10.21.96-84.rev.gaoland.net [84.96.21.10]) by caraldi.com (Postfix) with ESMTP id 55EC4638C; Fri, 16 Dec 2005 13:12:11 +0100 (CET) Received: by vision.anyware (Postfix, from userid 1021) id 7AE9063ED; Fri, 16 Dec 2005 13:12:12 +0100 (CET) Date: Fri, 16 Dec 2005 13:12:12 +0100 From: Jean-Baptiste Quenot To: Sam Lawrance Message-ID: <20051216121212.GD7705@vision.anyware> References: <200512160010.jBG0AqKc005763@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="5vNYLRcllDrimb99" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200512160010.jBG0AqKc005763@freefall.freebsd.org> User-Agent: mutt-ng/devel-r581 (FreeBSD) Cc: freebsd-ports-bugs@FreeBSD.org, boris@tagnet.ru Subject: Re: ports/90322: [PATCH] www/resin3: update to 3.0.16 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2005 12:12:14 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Just a small encoding problem on files/pkg-message.in, here is an updated patch. -- Jean-Baptiste Quenot http://caraldi.com/jbq/ --5vNYLRcllDrimb99 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="resin3.patch" Content-Transfer-Encoding: 8bit diff --ignore-matching-lines=\$FreeBSD.*\$ --exclude=.svn --exclude=work --exclude=admin -ruN /usr/ports/www/resin3/Makefile ./Makefile --- /usr/ports/www/resin3/Makefile Mon Dec 5 00:15:05 2005 +++ ./Makefile Tue Dec 13 14:18:09 2005 @@ -6,7 +6,7 @@ # PORTNAME= resin -PORTVERSION= 3.0.14 +PORTVERSION= 3.0.16 CATEGORIES= www java MASTER_SITES= http://www.caucho.com/download/ diff --ignore-matching-lines=\$FreeBSD.*\$ --exclude=.svn --exclude=work --exclude=admin -ruN /usr/ports/www/resin3/distinfo ./distinfo --- /usr/ports/www/resin3/distinfo Wed Aug 31 00:40:52 2005 +++ ./distinfo Tue Dec 13 14:06:19 2005 @@ -1,2 +1,3 @@ -MD5 (resin-3.0.14.tar.gz) = 1348ca83d945a8905238989ba0eb7d23 -SIZE (resin-3.0.14.tar.gz) = 6275586 +MD5 (resin-3.0.16.tar.gz) = 8f5a88fa14190bc768b083c17f864ea3 +SHA256 (resin-3.0.16.tar.gz) = 17326fc79ec941cd18b9c25d251aa595a9b9bcaa5ff653cb44b9f129c7b948a2 +SIZE (resin-3.0.16.tar.gz) = 7667120 diff --ignore-matching-lines=\$FreeBSD.*\$ --exclude=.svn --exclude=work --exclude=admin -ruN /usr/ports/www/resin3/files/pkg-message.in ./files/pkg-message.in --- /usr/ports/www/resin3/files/pkg-message.in Fri Feb 25 09:54:44 2005 +++ ./files/pkg-message.in Fri Dec 16 13:11:27 2005 @@ -8,7 +8,40 @@ env - %%PREFIX%%/etc/rc.d/%%APP_NAME%%.sh start -And point your web browser to the default home page at +For this control script to run seamlessly, it is recommended to increase the +maximum length of commands displayed by ps(1). Please append the following +setting to /etc/sysctl.conf: + + # Do not truncate command line arguments in ps(1) listing + kern.ps_arg_cache_limit=10000 + +This setting will take effect at next reboot, however it is possible to have +immediate effect with the following command as root: + + # sysctl kern.ps_arg_cache_limit=10000 + +If you wish to skip this setting, please note that the `stop', `restart' and +`status' will not function properly with %%APP_NAME%%.sh. + +Once Resin is started, point your web browser to the default home page at http://localhost:%%PORT%%/ to read the documentation and test the samples. Resin configuration is located at %%PREFIX%%/etc/%%APP_NAME%%/resin.xml + + +Enjoy! + +-------------------------------------------------------------------------------- +ADVANCED USAGE + +If you need to pass special options to Java, please set the +%%APP_NAME%%_flags option in /etc/rc.conf, see examples below: + + # Prevent Java from opening an X11 display + %%APP_NAME%%_flags="-Djava.awt.headless=true" + + # Increase memory limit of the Java virtual machine + %%APP_NAME%%_flags="-Xms32m -Xmx256m" + + # Run Java with remote debugging turned on on port 8000 + %%APP_NAME%%_flags="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000" diff --ignore-matching-lines=\$FreeBSD.*\$ --exclude=.svn --exclude=work --exclude=admin -ruN /usr/ports/www/resin3/files/resinctl ./files/resinctl --- /usr/ports/www/resin3/files/resinctl Thu Apr 21 00:04:55 2005 +++ ./files/resinctl Thu Oct 20 09:27:55 2005 @@ -157,8 +157,7 @@ COMMAND = "%%JAVA%%" ARGS = [COMMAND] - if os.environ.has_key('JAVA_OPTS'): - ARGS += os.environ['JAVA_OPTS'].split(" ") + ARGS += sys.argv[1:-1] ARGS += [ "-Dresin.home=%%APP_HOME%%", @@ -170,17 +169,17 @@ os.environ['JAVA_HOME'] = "%%JAVA_HOME%%" os.environ['CLASSPATH'] = classpath() - if len(sys.argv) != 2: + if len(sys.argv) < 2: usage() sys.exit(1) - if sys.argv[1] == "start": + if sys.argv[-1] == "start": start() - elif sys.argv[1] == "stop": + elif sys.argv[-1] == "stop": stop() - elif sys.argv[1] == "restart": + elif sys.argv[-1] == "restart": stop() start() diff --ignore-matching-lines=\$FreeBSD.*\$ --exclude=.svn --exclude=work --exclude=admin -ruN /usr/ports/www/resin3/pkg-plist ./pkg-plist --- /usr/ports/www/resin3/pkg-plist Wed Aug 31 00:40:53 2005 +++ ./pkg-plist Tue Dec 13 14:07:26 2005 @@ -1,5 +1,7 @@ -@comment $FreeBSD: ports/www/resin3/pkg-plist,v 1.10 2005/08/29 14:56:50 hq Exp $ +@comment $FreeBSD: ports/www/resin3/pkg-plist,v 1.9 2005/05/16 20:33:47 hq Exp $ %%APP_NAME%%/lib/aopalliance.jar +%%APP_NAME%%/lib/default.xsl +%%APP_NAME%%/lib/eclipse-compiler.jar %%APP_NAME%%/lib/ejb-20.jar %%APP_NAME%%/lib/ejb-30.jar %%APP_NAME%%/lib/j2eedeploy.jar @@ -10,6 +12,7 @@ %%APP_NAME%%/lib/jstl-11.jar %%APP_NAME%%/lib/jta-101.jar %%APP_NAME%%/lib/portlet-10.jar +%%APP_NAME%%/lib/quercus.jar %%APP_NAME%%/lib/resin-jdk15.jar %%APP_NAME%%/lib/resin.jar %%APP_NAME%%/lib/resinboot.jar --5vNYLRcllDrimb99--