Date: Sun, 28 Oct 2012 11:30:46 +0000 From: Chris Rees <crees@FreeBSD.org> To: Tom Judge <tj@freebsd.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r306442 - in head: . net/activemq net/activemq/files Message-ID: <CADLo838yWPVOVFdDx773eBD0bH-FrOWu_NRHizBmZeHbPzS5OQ@mail.gmail.com> In-Reply-To: <201210261407.q9QE7bWH014598@svn.freebsd.org> References: <201210261407.q9QE7bWH014598@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26 October 2012 15:07, Tom Judge <tj@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo838yWPVOVFdDx773eBD0bH-FrOWu_NRHizBmZeHbPzS5OQ>