[pkg-java] r4473 - in trunk: . glassfish glassfish/debian glassfish/debian/patches

varun-guest at alioth.debian.org varun-guest at alioth.debian.org
Sat Oct 27 13:30:21 UTC 2007


Author: varun-guest
Date: 2007-10-27 13:30:20 +0000 (Sat, 27 Oct 2007)
New Revision: 4473

Added:
   trunk/glassfish/
   trunk/glassfish/debian/
   trunk/glassfish/debian/README.Debian-source
   trunk/glassfish/debian/build.xml
   trunk/glassfish/debian/changelog
   trunk/glassfish/debian/compat
   trunk/glassfish/debian/control
   trunk/glassfish/debian/copyright
   trunk/glassfish/debian/orig-tar.sh
   trunk/glassfish/debian/patches/
   trunk/glassfish/debian/patches/properties.diff
   trunk/glassfish/debian/patches/series
   trunk/glassfish/debian/rules
   trunk/glassfish/debian/watch
Log:
* Initial inject of glassfish
 - includes activation, jms and other jars required to package jboss.
 - builds using java-gcj




Property changes on: trunk/glassfish/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: trunk/glassfish/debian/README.Debian-source
===================================================================
--- trunk/glassfish/debian/README.Debian-source	                        (rev 0)
+++ trunk/glassfish/debian/README.Debian-source	2007-10-27 13:30:20 UTC (rev 4473)
@@ -0,0 +1,13 @@
+glassfish
+=========
+
+The upstream supplied source package contains binary jar files.
+Currently no clean source distribution exists. Therefore, the upstream
+sources were modified to comply with the Debian Free Software
+Guidelines.
+
+Use the rules/get-orig-source target to create the orig.tar.gz.
+For more details on repackaging of upstream sources please see the 
+debian/orig-tar.sh file.
+
+ -- Varun Hiremath <varunhiremath at gmail.com>, Sat, 27 Oct 2007 17:04:32 +0530

Added: trunk/glassfish/debian/build.xml
===================================================================
--- trunk/glassfish/debian/build.xml	                        (rev 0)
+++ trunk/glassfish/debian/build.xml	2007-10-27 13:30:20 UTC (rev 4473)
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" name="Glassfish" basedir=".">
+  <property file="../bootstrap/project.properties"/>
+  <target name="clean" description="Clean up">
+    <ant dir="../activation" target="clean"/>
+    <ant dir="../mail" target="clean"/>
+    <ant dir="../deployment-api" target="clean"/>
+    <ant dir="../transaction-api" target="clean"/>
+    <ant dir="../servlet-api" target="clean"/>
+    <ant dir="../ejb-api" target="clean"/>
+    <ant dir="../persistence-api" target="clean"/>
+    <ant dir="../connector-api" target="clean"/>
+    <ant dir="../management-api" target="clean"/>
+    <ant dir="../appserv-api" target="clean"/>
+    <ant dir="../jms-api" target="clean"/>
+    <ant dir="../jmac-api" target="clean"/>
+    <ant dir="../jacc-api" target="clean"/>
+    <ant dir="../common-util" target="clean"/>
+    <ant dir="../annotation-framework" target="clean"/>
+    <ant dir="../appserv-commons" target="clean"/>
+    <ant dir="../entity-persistence" target="clean"/>
+    <ant dir="../jmx-remote" target="clean"/>
+    <ant dir="../admin-core" target="clean"/>
+    <ant dir="../jts" target="clean"/>
+    <ant dir="../appserv-jstl" target="clean"/>
+    <ant dir="../pwc-commons" target="clean"/>
+    <ant dir="../appserv-webtier" target="clean"/>
+    <ant dir="../webtier-extensions" target="clean"/>
+    <ant dir="../jacc-provider" target="clean"/>
+    <ant dir="../container-auth" target="clean"/>
+    <ant dir="../jmac-provider" target="clean"/>
+    <ant dir="../appserv-core" target="clean"/>
+    <ant dir="../appserv-http-engine" target="clean"/>
+    <ant dir="../appserv-docs" target="clean"/>
+    <ant dir="../admin" target="clean"/>
+    <ant dir="../admin-cli" target="clean"/>
+    <ant dir="../appserv-addons" target="clean"/>
+    <ant dir="../jdbcra" target="clean"/>
+    <ant dir="../tools" target="clean"/>
+    <!-- <ant dir="../cmp" target="clean"/> -->
+    <ant dir="../avk" target="clean"/>
+    <ant dir="../appserv-native" target="clean"/>
+  </target>
+
+  <target name="jar" description="Build the jars">
+    <mkdir dir="${glassfish.schemas.home}" />
+    <ant dir="../activation" target="all"/>
+    <ant dir="../mail" target="all"/>
+    <ant dir="../deployment-api" target="all"/>
+    <ant dir="../transaction-api" target="all"/>
+    <!-- <ant dir="../servlet-api" target="prepare-jar"/> -->
+    <ant dir="../ejb-api" target="assemble"/>
+    <ant dir="../persistence-api" target="assemble"/>
+    <ant dir="../connector-api" target="assemble"/>
+    <ant dir="../management-api" target="assemble"/>
+    <ant dir="../appserv-api" target="assemble"/>
+    <ant dir="../jms-api" target="assemble"/>
+    <ant dir="../jmac-api" target="assemble"/>
+    <ant dir="../jacc-api" target="assemble"/>
+    <ant dir="../common-util" target="assemble"/>
+    <ant dir="../annotation-framework" target="assemble"/>
+    <ant dir="../appserv-commons" target="assemble"/>
+    <ant dir="../entity-persistence" target="assemble"/>
+    <!-- <ant dir="../jmx-remote" target="all"/> -->
+    <!-- <ant dir="../admin-core" target="all"/> -->
+    <ant dir="../jts" target="assemble"/>
+    <!-- <ant dir="../appserv-jstl" target="all"/> -->
+    <ant dir="../pwc-commons" target="assemble"/>
+    <!-- <ant dir="../appserv-webtier" target="all"/> -->
+    <!-- <ant dir="../webtier-extensions" target="all"/> -->
+    <ant dir="../jacc-provider" target="assemble"/>
+    <ant dir="../container-auth" target="assemble"/>
+    <ant dir="../jmac-provider" target="assemble"/>
+    <ant dir="../appserv-core" target="assemble"/>
+    <!-- <ant dir="../appserv-http-engine" target="all"/> -->
+    <!-- <ant dir="../appserv-docs" target="all"/> -->
+    <!-- <ant dir="../admin" target="all"/> -->
+    <!-- <ant dir="../admin-cli" target="all"/> -->
+    <!-- <ant dir="../appserv-addons" target="all"/> -->
+    <ant dir="../jdbcra" target="assemble"/>
+    <!-- <ant dir="../cmp" target="assemble"/> -->
+    <ant dir="../tools" target="assemble"/>
+    <ant dir="../avk" target="assemble"/>
+    <!-- <ant dir="../appserv-native" target="all"/> -->
+  </target>
+
+</project>

Added: trunk/glassfish/debian/changelog
===================================================================
--- trunk/glassfish/debian/changelog	                        (rev 0)
+++ trunk/glassfish/debian/changelog	2007-10-27 13:30:20 UTC (rev 4473)
@@ -0,0 +1,5 @@
+glassfish (v2+b58g-1) unstable; urgency=low
+
+  * Initial release (Closes: #)
+
+ -- Varun Hiremath <varunhiremath at gmail.com>  Tue, 24 Apr 2007 17:19:10 +0530

Added: trunk/glassfish/debian/compat
===================================================================
--- trunk/glassfish/debian/compat	                        (rev 0)
+++ trunk/glassfish/debian/compat	2007-10-27 13:30:20 UTC (rev 4473)
@@ -0,0 +1 @@
+5

Added: trunk/glassfish/debian/control
===================================================================
--- trunk/glassfish/debian/control	                        (rev 0)
+++ trunk/glassfish/debian/control	2007-10-27 13:30:20 UTC (rev 4473)
@@ -0,0 +1,20 @@
+Source: glassfish
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Varun Hiremath <varunhiremath at gmail.com>, Torsten Werner <twerner at debian.org>
+Build-Depends: cdbs, debhelper (>= 5)
+Build-Depends-Indep: ant, java-gcj-compat-dev
+Standards-Version: 3.7.2
+Homepage: https://glassfish.dev.java.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/glassfish
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/glassfish
+
+Package: glassfish
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: Open source Java EE 5 Application Server
+ The GlassFish community is building free, open source,
+ production-quality, enterprise software. The main deliverables are an
+ Application Server, the Java EE 5 Reference Implementation, and the
+ Java Persistence API Reference Implementation, TopLink Essentials.

Added: trunk/glassfish/debian/copyright
===================================================================
--- trunk/glassfish/debian/copyright	                        (rev 0)
+++ trunk/glassfish/debian/copyright	2007-10-27 13:30:20 UTC (rev 4473)
@@ -0,0 +1,13 @@
+This package was debianized by Varun Hiremath <varunhiremath at gmail.com> on
+Tue, 24 Apr 2007 17:19:10 +0530.
+
+It was downloaded from https://glassfish.dev.java.net/
+
+Upstream Author:
+
+Copyright:
+
+License:
+
+The Debian packaging is (C) 2007, Varun Hiremath <varunhiremath at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: trunk/glassfish/debian/orig-tar.sh
===================================================================
--- trunk/glassfish/debian/orig-tar.sh	                        (rev 0)
+++ trunk/glassfish/debian/orig-tar.sh	2007-10-27 13:30:20 UTC (rev 4473)
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=glassfish_$2.orig.tar.gz
+DIR=glassfish-$2.orig
+
+# clean up the upstream tarball
+unzip $3
+mv glasfish $DIR
+tar -c -z -f $TAR --exclude '*.jar' $DIR
+rm -rf $3 $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi


Property changes on: trunk/glassfish/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/glassfish/debian/patches/properties.diff
===================================================================
--- trunk/glassfish/debian/patches/properties.diff	                        (rev 0)
+++ trunk/glassfish/debian/patches/properties.diff	2007-10-27 13:30:20 UTC (rev 4473)
@@ -0,0 +1,15 @@
+Index: glassfish-2+b58g/bootstrap/project.properties
+===================================================================
+--- glassfish-2+b58g.orig/bootstrap/project.properties	2007-10-27 16:04:23.000000000 +0530
++++ glassfish-2+b58g/bootstrap/project.properties	2007-10-27 16:05:43.000000000 +0530
+@@ -46,8 +46,8 @@
+ glassfish.cvstag=SJSAS91_FCS_BRANCH
+ glassfish.cvs.project=glassfish
+ glassfish.cvs.module=bootstrap
+-glassfish.root=${basedir}/../..
+-glassfish.maven=${glassfish.root}/${glassfish.cvs.project}/${glassfish.cvs.module}
++glassfish.root=${basedir}/..
++glassfish.maven=${glassfish.root}/${glassfish.cvs.module}
+ 
+ # You MUST use absolute path
+ glassfish.home=${glassfish.root}/publish/glassfish

Added: trunk/glassfish/debian/patches/series
===================================================================
--- trunk/glassfish/debian/patches/series	                        (rev 0)
+++ trunk/glassfish/debian/patches/series	2007-10-27 13:30:20 UTC (rev 4473)
@@ -0,0 +1 @@
+properties.diff

Added: trunk/glassfish/debian/rules
===================================================================
--- trunk/glassfish/debian/rules	                        (rev 0)
+++ trunk/glassfish/debian/rules	2007-10-27 13:30:20 UTC (rev 4473)
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+JAVA_HOME 		:= /usr/lib/jvm/java-6-sun
+DEB_ANT_BUILD_TARGET	:= jar
+DEB_ANT_BUILDFILE	:= debian/build.xml
+DEB_JARS		:= servlet-api jsp-api
+
+install/glassfish::
+	for jar in `ls publish/glassfish/lib | grep jar$ `; \
+	do \
+		echo $$jar; \
+		install -m 644 -D publish/glassfish/lib/$$jar $(DEB_DESTDIR)/usr/share/java/`basename $$jar .jar`-$(DEB_UPSTREAM_VERSION).jar; \
+		dh_link /usr/share/java/`basename $$jar .jar`-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/$$jar; \
+	done
+
+get-orig-source:
+	-uscan --upstream-version 0


Property changes on: trunk/glassfish/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/glassfish/debian/watch
===================================================================
--- trunk/glassfish/debian/watch	                        (rev 0)
+++ trunk/glassfish/debian/watch	2007-10-27 13:30:20 UTC (rev 4473)
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/+/,dversionmangle=s/-/+/" \
+http://download.java.net/javaee5/v2_branch/promoted/source/ glassfish-(.*)-src.zip debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list