ports/174523: [maint-PATCH] net/hornetq: update and build from sources
Radim Kolar
hsn at sendmail.cz
Mon Dec 17 18:00:01 UTC 2012
>Number: 174523
>Category: ports
>Synopsis: [maint-PATCH] net/hornetq: update and build from sources
>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 17 18:00:00 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:
port now builds from source code because binaries
are not available for every version
Port maintainer (hsn at sendmail.cz) is cc'd.
Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- hornetq-2.2.24.g.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/hornetq/Makefile ./Makefile
--- /usr/ports/net/hornetq/Makefile 2012-12-12 01:19:43.000000000 +0100
+++ ./Makefile 2012-12-17 18:02:26.301003454 +0100
@@ -2,26 +2,34 @@
# $FreeBSD: ports/net/hornetq/Makefile,v 1.3 2012/12/12 00:19:43 svnexp Exp $
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 at 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 @@
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
diff -ruN --exclude=CVS /usr/ports/net/hornetq/distinfo ./distinfo
--- /usr/ports/net/hornetq/distinfo 2012-05-25 17:24:26.000000000 +0200
+++ ./distinfo 2012-12-17 16:26:05.735036189 +0100
@@ -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
diff -ruN --exclude=CVS /usr/ports/net/hornetq/files/patch-log1 ./files/patch-log1
--- /usr/ports/net/hornetq/files/patch-log1 2012-05-25 17:24:26.000000000 +0200
+++ ./files/patch-log1 2012-12-17 17:05:14.898108107 +0100
@@ -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
diff -ruN --exclude=CVS /usr/ports/net/hornetq/files/patch-log2 ./files/patch-log2
--- /usr/ports/net/hornetq/files/patch-log2 2012-05-25 17:24:26.000000000 +0200
+++ ./files/patch-log2 2012-12-17 17:06:54.418043861 +0100
@@ -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
diff -ruN --exclude=CVS /usr/ports/net/hornetq/files/patch-run ./files/patch-run
--- /usr/ports/net/hornetq/files/patch-run 2012-05-25 17:24:26.000000000 +0200
+++ ./files/patch-run 2012-12-12 23:00:55.670404377 +0100
@@ -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
diff -ruN --exclude=CVS /usr/ports/net/hornetq/files/patch-stop ./files/patch-stop
--- /usr/ports/net/hornetq/files/patch-stop 2012-05-25 17:24:26.000000000 +0200
+++ ./files/patch-stop 2012-12-12 23:01:06.072045035 +0100
@@ -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
diff -ruN --exclude=CVS /usr/ports/net/hornetq/pkg-plist ./pkg-plist
--- /usr/ports/net/hornetq/pkg-plist 2012-11-17 07:00:02.000000000 +0100
+++ ./pkg-plist 2012-12-17 18:34:05.575160617 +0100
@@ -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
--- hornetq-2.2.24.g.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list