svn commit: r306442 - in head: . net/activemq net/activemq/files
Chris Rees
crees at FreeBSD.org
Sun Oct 28 11:31:18 UTC 2012
On 26 October 2012 15:07, Tom Judge <tj at freebsd.org> wrote:
> XXX Ports RC script present
> Author: tj
> Date: Fri Oct 26 14:07:37 2012
> New Revision: 306442
> URL: http://svn.freebsd.org/changeset/ports/306442
>
> Log:
> * Update to 5.6.0
> * Remove legacy Makefile header
> * Make user and group overridable
> * Fix install to create data directory
> * Move working data to /var/db/activemq
> * Update required java version to 1.6+
> * Add entry to updating for move of data directory.
> * Take over maintainer
>
> Changes: http://activemq.apache.org/new-features-in-56.html
>
> Feature safe: yes
> Approved by: g.veniamin at googlemail.com (maintainer)
> Approved by: eadler (mentor)
>
> Modified:
> head/UPDATING
> head/net/activemq/Makefile
> head/net/activemq/distinfo
> head/net/activemq/files/activemq.in
<snip>
> Modified: head/net/activemq/files/activemq.in
> ==============================================================================
> --- head/net/activemq/files/activemq.in Fri Oct 26 14:07:19 2012 (r306441)
> +++ head/net/activemq/files/activemq.in Fri Oct 26 14:07:37 2012 (r306442)
> @@ -35,9 +35,11 @@ load_rc_config $name
>
> # Set defaults
> : ${activemq_enable:=NO}
> -: ${activemq_user:=${name}}
> -: ${activemq_group:=${name}}
> +: ${activemq_user:=%%MQUSER%%}
> +: ${activemq_group:=%%MQGROUP%%}
> : ${activemq_classpath:=%%ETCDIR%%}
> +: ${activemq_conf:=%%ETCDIR%%}
> +: ${activemq_data:=%%MQDB%%}
> : ${activemq_home:=%%DATADIR%%}
> : ${activemq_javargs:='-Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Dcom.sun.management.jmxremote'}
> : ${activemq_stop_timeout:="10"}
> @@ -48,6 +50,8 @@ required_files="%%ETCDIR%%/activemq.xml"
> jar_file="%%DATADIR%%/bin/run.jar"
> java_options=" -server -jar ${activemq_javargs} \
> -Dactivemq.classpath=${activemq_classpath} \
> + -Dactivemq.conf=${activemq_conf} \
> + -Dactivemq.data=${activemq_data} \
> -Dactivemq.home=${activemq_home} \
> -Dactivemq.base=${activemq_home}"
>
>
Normally the pidfile gets its own subdirectory if the utility isn't run as root.
Please consider the following patch:
http://www.bayofrum.net/~crees/patches/activemq-rc.diff
Chris
More information about the svn-ports-all
mailing list