ports/90322: [PATCH] www/resin3: update to 3.0.16
Jean-Baptiste Quenot
jb.quenot at caraldi.com
Fri Dec 16 12:12:14 UTC 2005
Just a small encoding problem on files/pkg-message.in, here is an
updated patch.
--
Jean-Baptiste Quenot
http://caraldi.com/jbq/
-------------- next part --------------
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 @@
- at comment $FreeBSD: ports/www/resin3/pkg-plist,v 1.10 2005/08/29 14:56:50 hq Exp $
+ at 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
More information about the freebsd-ports-bugs
mailing list