From dda87e86084490d5c3c697e4aba4f3d3ee09c3c7 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 21 Apr 2010 16:18:52 +0200 Subject: [PATCH] jboss-as: Updated (5.1.0.GA -> 5.1.0.GA-jdk6) (see note!) Note: This commit will change the jboss-as package to use a pre-built version of jboss, so we can simply unpack the provided zip archive and install it instead of bootstraping from "sources" which involves a lots of stuff to be downloaded, which in normal circumstances is not allowed within a build sandbox! --- java/jboss-as/jboss-as.conf | 25 ++++++------------------- java/jboss-as/jboss-as.desc | 6 +++--- 2 files changed, 9 insertions(+), 22 deletions(-) diff --git a/java/jboss-as/jboss-as.conf b/java/jboss-as/jboss-as.conf index 0b47f2bb4..4570c0533 100644 --- a/java/jboss-as/jboss-as.conf +++ b/java/jboss-as/jboss-as.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../jboss-as/jboss-as.conf -# Copyright (C) 2007 - 2010 The OpenSDE Project +# Copyright (C) 2007 - 2011 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -25,23 +25,10 @@ makeinstopt= pkgprefix -t sun-jdk-6 prefix=opt/jboss -export JBOSS_HOME=$root/$prefix -# Custom package building and installation. -jboss_postmake() { - # Start building. - ( cd build; sh build.sh ) - if [ $? -ne 0 ]; then - # Something went wrong. - abort "Building $pkg failed." - fi - - mkdir -p $JBOSS_HOME - # After building we have to copy the build results to - # the installation directory ($prefix). We also have - # to make sure to preserve any existing links. - buildoutput=$builddir/jboss-$ver-src/build/output/jboss-$ver/ - ( cd $buildoutput; tar -c * | tar -x -C $JBOSS_HOME ) +# install jboss +jboss_install() { + mkdir -p $root/$prefix + tar -c * | tar -x -C $root/$prefix } - -hook_add postmake 5 jboss_postmake +hook_add postmake 5 jboss_install diff --git a/java/jboss-as/jboss-as.desc b/java/jboss-as/jboss-as.desc index 1611573da..68d0c4dcd 100644 --- a/java/jboss-as/jboss-as.desc +++ b/java/jboss-as/jboss-as.desc @@ -3,7 +3,7 @@ [COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. [COPY] [COPY] Filename: package/.../jboss-as/jboss-as.desc -[COPY] Copyright (C) 2006 - 2010 The OpenSDE Project +[COPY] Copyright (C) 2006 - 2011 The OpenSDE Project [COPY] Copyright (C) 2004 - 2006 The T2 SDE Project [COPY] [COPY] More information can be found in the files COPYING and README. @@ -34,7 +34,7 @@ [L] LGPL [S] Stable -[V] 5.1.0.GA +[V] 5.1.0.GA-jdk6 [P] O -----5---9 800.100 -[D] 849211305 jboss-5.1.0.GA-src.tar.gz http://dl.sourceforge.net/jboss/ +[D] 402870042 jboss-5.1.0.GA-jdk6.zip http://dl.sourceforge.net/jboss/