Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 23:15:18 +0100 (CET)
From:      Radim Kolar <hsn@fbsd8.localdomain>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        hsn@sendmail.cz
Subject:   ports/174347: [PATCH] net/hornetq: upgrade to jdk1.7
Message-ID:  <201212102215.qBAMFIu6057811@fbsd9.localdomain>
Resent-Message-ID: <201212102300.qBAN01AM006845@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174347
>Category:       ports
>Synopsis:       [PATCH] net/hornetq: upgrade to jdk1.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 10 23:00:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 9.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fbsd9.localdomain 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Dec  5 02:38:20 CET
>Description:
use jdk 1.7
support configurable vmargs

Port maintainer (hsn@sendmail.cz) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- hornetq-2.2.14_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/hornetq/Makefile ./Makefile
--- /usr/ports/net/hornetq/Makefile	2012-11-17 07:00:02.000000000 +0100
+++ ./Makefile	2012-12-10 19:40:23.087329413 +0100
@@ -7,6 +7,7 @@
 
 PORTNAME=	hornetq
 PORTVERSION=	2.2.14
+PORTREVISION=	1
 CATEGORIES=	net java
 MASTER_SITES=	http://downloads.jboss.org/hornetq/
 DISTNAME=	${PORTNAME}-${PORTVERSION}.Final
@@ -21,7 +22,7 @@
 
 USE_RC_SUBR=	hornetq
 USE_JAVA=	yes
-JAVA_VERSION=	1.6
+JAVA_VERSION=	1.7
 JAVA_VENDOR=	openjdk
 
 NO_BUILD=	yes
diff -ruN --exclude=CVS /usr/ports/net/hornetq/files/hornetq.in ./files/hornetq.in
--- /usr/ports/net/hornetq/files/hornetq.in	2012-11-17 07:00:02.000000000 +0100
+++ ./files/hornetq.in	2012-12-10 20:48:57.427311478 +0100
@@ -38,6 +38,7 @@
 
 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 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}
--- hornetq-2.2.14_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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