Bug 174523 - [maintainer] net/hornetq: update and build from sources
Summary: [maintainer] net/hornetq: update and build from sources
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-17 18:00 UTC by Radim Kolar
Modified: 2013-01-29 06:40 UTC (History)
1 user (show)

See Also:


Attachments
hornetq-2.2.24.g.patch (6.42 KB, patch)
2012-12-17 18:00 UTC, Radim Kolar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Radim Kolar 2012-12-17 18:00:00 UTC
port now builds from source code because binaries
are not available for every version

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

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-17 18:00:10 UTC
Class Changed
From-To: change-request->maintainer-update

Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-01-29 06:33:01 UTC
Author: vanilla
Date: Tue Jan 29 06:32:52 2013
New Revision: 311151
URL: http://svnweb.freebsd.org/changeset/ports/311151

Log:
  Upgrade to 2.2.24GA.
  
  PR:		ports/174523
  Submitted by:	maintainer

Modified:
  head/net/hornetq/Makefile
  head/net/hornetq/distinfo
  head/net/hornetq/files/patch-log1
  head/net/hornetq/files/patch-log2
  head/net/hornetq/files/patch-run
  head/net/hornetq/files/patch-stop
  head/net/hornetq/pkg-plist

Modified: head/net/hornetq/Makefile
==============================================================================
--- head/net/hornetq/Makefile	Tue Jan 29 05:34:22 2013	(r311150)
+++ head/net/hornetq/Makefile	Tue Jan 29 06:32:52 2013	(r311151)
@@ -2,26 +2,34 @@
 # $FreeBSD$
 
 PORTNAME=	hornetq
-PORTVERSION=	2.2.14
-PORTREVISION=	1
+DISTVERSION=	2.2.24.GA
+PORTREVISION=	0
 CATEGORIES=	net java
-MASTER_SITES=	http://downloads.jboss.org/hornetq/
-DISTNAME=	${PORTNAME}-${PORTVERSION}.Final
+#MASTER_SITES=	http://downloads.jboss.org/hornetq/
+#DISTNAME=	${PORTNAME}-${PORTVERSION}.Final
 
 MAINTAINER=	hsn@sendmail.cz
 COMMENT=	Multi-protocol asynchronous messaging system
 
 LICENSE=	LGPL21
 
+BUILD_DEPENDS=	${MAVEN3}:${PORTSDIR}/devel/maven3 \
+		ant:${PORTSDIR}/devel/apache-ant
+
 PORTDOCS=	quickstart-guide api rest-api user-manual \
 		rest-interface-manual README.html
 
 USE_RC_SUBR=	hornetq
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	hornetq
+GH_TAGNAME=	HornetQ_2_2_24_EAP_GA
+GH_COMMIT=	4ed82d3
+
 USE_JAVA=	yes
 JAVA_VERSION=	1.7
 JAVA_VENDOR=	openjdk
-
-NO_BUILD=	yes
+MAVEN3=		${LOCALBASE}/share/java/maven3/bin/mvn
 CONFIG_DIRS=	clustered non-clustered
 CONFIG_FILES=	hornetq-beans.xml hornetq-users.xml hornetq-configuration.xml \
 		jndi.properties hornetq-jms.xml logging.properties
@@ -31,7 +39,14 @@ LIBTOOLFILES=	native-src/aclocal.m4
 ACLOCAL_ARGS=	--acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal/
 AUTOMAKE_ARGS=	--add-missing -c
 
-post-extract:
+do-build:
+		cd ${WRKSRC} && ./build.sh bin-distro
+		${MV} ${WRKSRC}//build/hornetq-${DISTVERSION}.tar.gz ${WRKDIR}
+		${RM} -r ${WRKSRC}
+		cd ${WRKDIR} && tar xzvf hornetq-${DISTVERSION}.tar.gz && \
+		${MV} hornetq-${DISTVERSION} ${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}
+
+post-build:
 	    ${RM} -r ${WRKSRC}/tools ${WRKSRC}/native-src ${WRKSRC}/config/jboss-as*
 	    ${RM} ${WRKSRC}/bin/*.bat ${WRKSRC}/bin/*.so ${WRKSRC}/bin/build.sh
 	    ${MV} ${WRKSRC}/schemas ${WRKSRC}/config

Modified: head/net/hornetq/distinfo
==============================================================================
--- head/net/hornetq/distinfo	Tue Jan 29 05:34:22 2013	(r311150)
+++ head/net/hornetq/distinfo	Tue Jan 29 06:32:52 2013	(r311151)
@@ -1,2 +1,2 @@
-SHA256 (hornetq-2.2.14.Final.tar.gz) = 40f4878949f80b894db7f7d951f3eadf16116879d37a84f2009a8e02cb4574f0
-SIZE (hornetq-2.2.14.Final.tar.gz) = 17208133
+SHA256 (hornetq-2.2.24.GA.tar.gz) = 0f830ad1659801e45cf6d9511b34f8c8af87db7d1bba7ce8342ce7c37debd02b
+SIZE (hornetq-2.2.24.GA.tar.gz) = 10542276

Modified: head/net/hornetq/files/patch-log1
==============================================================================
--- head/net/hornetq/files/patch-log1	Tue Jan 29 05:34:22 2013	(r311150)
+++ head/net/hornetq/files/patch-log1	Tue Jan 29 06:32:52 2013	(r311151)
@@ -1,5 +1,5 @@
---- config/stand-alone/clustered/logging.properties.sample.orig	2012-04-13 18:43:44.000000000 +0200
-+++ config/stand-alone/clustered/logging.properties.sample	2012-05-16 09:21:49.552599669 +0200
+--- src/config/stand-alone/clustered/logging.properties.orig	2012-04-13 18:43:44.000000000 +0200
++++ src/config/stand-alone/clustered/logging.properties	2012-05-16 09:21:49.552599669 +0200
 @@ -15,10 +15,10 @@
  # Note that these classes must be on the system classpath.
  # By default we only configure a ConsoleHandler, which will only

Modified: head/net/hornetq/files/patch-log2
==============================================================================
--- head/net/hornetq/files/patch-log2	Tue Jan 29 05:34:22 2013	(r311150)
+++ head/net/hornetq/files/patch-log2	Tue Jan 29 06:32:52 2013	(r311151)
@@ -1,5 +1,5 @@
---- config/stand-alone/non-clustered/logging.properties.sample.orig	2012-04-13 18:43:44.000000000 +0200
-+++ config/stand-alone/non-clustered/logging.properties.sample	2012-05-16 09:28:24.333462186 +0200
+--- src/config/stand-alone/non-clustered/logging.properties.orig	2012-04-13 18:43:44.000000000 +0200
++++ src/config/stand-alone/non-clustered/logging.properties	2012-05-16 09:28:24.333462186 +0200
 @@ -15,11 +15,11 @@
  # Note that these classes must be on the system classpath.
  # By default we only configure a ConsoleHandler, which will only

Modified: head/net/hornetq/files/patch-run
==============================================================================
--- head/net/hornetq/files/patch-run	Tue Jan 29 05:34:22 2013	(r311150)
+++ head/net/hornetq/files/patch-run	Tue Jan 29 06:32:52 2013	(r311151)
@@ -1,5 +1,5 @@
---- bin/run.sh.orig	2012-04-13 18:43:44.000000000 +0200
-+++ bin/run.sh	2012-05-16 06:16:41.267520836 +0200
+--- src/bin/run.sh.orig	2012-04-13 18:43:44.000000000 +0200
++++ src/bin/run.sh	2012-05-16 06:16:41.267520836 +0200
 @@ -1,7 +1,6 @@
 -#!/bin/sh
 +#!/bin/sh -T

Modified: head/net/hornetq/files/patch-stop
==============================================================================
--- head/net/hornetq/files/patch-stop	Tue Jan 29 05:34:22 2013	(r311150)
+++ head/net/hornetq/files/patch-stop	Tue Jan 29 06:32:52 2013	(r311151)
@@ -1,5 +1,5 @@
---- bin/stop.sh.orig	2012-04-13 18:43:44.000000000 +0200
-+++ bin/stop.sh	2012-05-15 18:46:47.292027604 +0200
+--- src/bin/stop.sh.orig	2012-04-13 18:43:44.000000000 +0200
++++ src/bin/stop.sh	2012-05-15 18:46:47.292027604 +0200
 @@ -1,5 +1,5 @@
  #!/bin/sh
  

Modified: head/net/hornetq/pkg-plist
==============================================================================
--- head/net/hornetq/pkg-plist	Tue Jan 29 05:34:22 2013	(r311150)
+++ head/net/hornetq/pkg-plist	Tue Jan 29 06:32:52 2013	(r311151)
@@ -10,10 +10,10 @@
 %%DATADIR%%/lib/hornetq-core.jar
 %%DATADIR%%/lib/hornetq-ra.rar
 %%DATADIR%%/lib/rest/jsr250-api.jar
-%%DATADIR%%/lib/rest/hornetq-rest-2.2.14.Final.jar
+%%DATADIR%%/lib/rest/hornetq-rest-2.2.0.CR1.jar
 %%DATADIR%%/lib/rest/sjsxp.jar
 %%DATADIR%%/lib/rest/jaxb-impl.jar
-%%DATADIR%%/lib/rest/hornetq-rest-2.2.14.Final-sources.jar
+%%DATADIR%%/lib/rest/hornetq-rest-2.2.0.CR1-sources.jar
 %%DATADIR%%/lib/rest/scannotation.jar
 %%DATADIR%%/lib/rest/resteasy-jaxb-provider.jar
 %%DATADIR%%/lib/rest/jaxrs-api.jar
@@ -339,6 +339,7 @@
 %%EXAMPLESDIR%%/jms/transaction-failover/server1/hornetq-beans.xml
 %%EXAMPLESDIR%%/jms/transaction-failover/server1/hornetq-jms.xml
 %%EXAMPLESDIR%%/jms/transaction-failover/server1/client-jndi.properties
+%%EXAMPLESDIR%%/jms/transaction-failover/server1/KILL_ME
 %%EXAMPLESDIR%%/jms/large-message/build.bat
 %%EXAMPLESDIR%%/jms/large-message/build.sh
 %%EXAMPLESDIR%%/jms/large-message/src/org/hornetq/jms/example/LargeMessageExample.java
@@ -710,6 +711,7 @@
 %%EXAMPLESDIR%%/jms/topic/server0/hornetq-beans.xml
 %%EXAMPLESDIR%%/jms/topic/server0/client-jndi.properties
 %%EXAMPLESDIR%%/jms/topic/server0/hornetq-jms.xml
+%%EXAMPLESDIR%%/jms/topic/server0/jndi.properties
 %%EXAMPLESDIR%%/jms/topic/build.xml
 %%EXAMPLESDIR%%/jms/topic/src/org/hornetq/jms/example/TopicExample.java
 %%EXAMPLESDIR%%/jms/topic/build.sh
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Vanilla I. Shu freebsd_committer freebsd_triage 2013-01-29 06:33:29 UTC
State Changed
From-To: open->closed

Committed, thanks.