Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2012 00:16:21 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308725 - in head/net/hornetq: . files
Message-ID:  <201212120016.qBC0GLHk023421@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Wed Dec 12 00:16:21 2012
New Revision: 308725
URL: http://svnweb.freebsd.org/changeset/ports/308725

Log:
  - move to jdk7, and support configurable virtual machine arguments
  - while here trim historical header
  
  PR:		174347
  Submitted by:	maintainer, hsn@sendmail.cz

Modified:
  head/net/hornetq/Makefile
  head/net/hornetq/files/hornetq.in

Modified: head/net/hornetq/Makefile
==============================================================================
--- head/net/hornetq/Makefile	Wed Dec 12 00:12:08 2012	(r308724)
+++ head/net/hornetq/Makefile	Wed Dec 12 00:16:21 2012	(r308725)
@@ -1,12 +1,9 @@
-# New ports collection makefile for:	hornetq
-# Date created:		2012-03-16
-# Whom:			Radim Kolar
-#
+# Created by: Radim Kolar
 # $FreeBSD$
-#
 
 PORTNAME=	hornetq
 PORTVERSION=	2.2.14
+PORTREVISION=	1
 CATEGORIES=	net java
 MASTER_SITES=	http://downloads.jboss.org/hornetq/
 DISTNAME=	${PORTNAME}-${PORTVERSION}.Final
@@ -21,7 +18,7 @@ PORTDOCS=	quickstart-guide api rest-api 
 
 USE_RC_SUBR=	hornetq
 USE_JAVA=	yes
-JAVA_VERSION=	1.6
+JAVA_VERSION=	1.7
 JAVA_VENDOR=	openjdk
 
 NO_BUILD=	yes

Modified: head/net/hornetq/files/hornetq.in
==============================================================================
--- head/net/hornetq/files/hornetq.in	Wed Dec 12 00:12:08 2012	(r308724)
+++ head/net/hornetq/files/hornetq.in	Wed Dec 12 00:16:21 2012	(r308725)
@@ -38,6 +38,7 @@ load_rc_config $name
 
 hornetq_enable=${hornetq_enable:-"NO"}
 hornetq_config=${hornetq_config:-"non-clustered"}
+hornetq_vmargs=${hornetq_vmargs:-""}
 hornetq_deployment=${hornetq_deployment:-"hornetq-beans.xml"}
 hornetq_data=${hornetq_data:-"/var/spool/hornetq"}
 
@@ -54,7 +55,8 @@ export PATH=$PATH:%%LOCALBASE%%/bin
 export HORNETQ_HOME=%%DATADIR%%
 export CLUSTER_PROPS=-Ddata.dir=${hornetq_data}
 export JAVA_VENDOR=openjdk
-export JAVA_VERSION=1.6
+export JAVA_VERSION=1.7
+export CLUSTER_PROPS="${hornetq_vmargs}"
 
 hornetq_prestop() {
 	$HORNETQ_HOME/bin/stop.sh %%DATADIR%%/config/stand-alone/${hornetq_config}



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