[glassfish] 01/03: * New upstream release. * Add myself to Uploaders. * d/control: - Drop Depends on JRE since its only a library package. - Drop ${shlibs:Depends} since we are building arch:all packages. - Bump Standards-Version to 3.9.2: no changes needed. - Fix typo in package description (Closes: #587617). * Install POM and jar for Java EE API 5.0 at javax:javaee-api. * d/copyright: Drop links to BSD common-licences.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Sep 24 16:00:39 UTC 2014


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to annotated tag debian/1%3A2.1.1-b31g-2
in repository glassfish.

commit 39db6497c3622f12d1b92ec8a4f72369259d144e
Author: Damien Raude-Morvan <drazzib at debian.org>
Date:   Tue May 24 21:43:15 2011 +0000

    * New upstream release.
    * Add myself to Uploaders.
    * d/control:
      - Drop Depends on JRE since its only a library package.
      - Drop ${shlibs:Depends} since we are building arch:all packages.
      - Bump Standards-Version to 3.9.2: no changes needed.
      - Fix typo in package description (Closes: #587617).
    * Install POM and jar for Java EE API 5.0 at javax:javaee-api.
    * d/copyright: Drop links to BSD common-licences.
---
 debian/changelog                                   | 18 +++++++++++----
 debian/control                                     | 27 +++++++++++-----------
 debian/copyright                                   |  6 -----
 debian/jee.pom                                     | 11 +++++++++
 debian/patches/0001-Fix-appserv-api-build.patch    | 12 ++--------
 .../0002-Fix-glassfish.root-directory.patch        |  7 ++----
 debian/patches/0003-Disable-SQL-exceptions.patch   |  5 +---
 debian/rules                                       | 10 ++++++--
 debian/watch                                       |  2 +-
 9 files changed, 52 insertions(+), 46 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 84a6035..9bc0d98 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,16 @@
-glassfish (1:2.1.1-b31-3) UNRELEASED; urgency=low
-
-  * debian/control: Depend on -headless Java runtimes
-
- -- Thierry Carrez <thierry.carrez at ubuntu.com>  Tue, 20 Jul 2010 15:21:19 +0200
+glassfish (1:2.1.1-b31g-1) unstable; urgency=low
+
+  * New upstream release.
+  * Add myself to Uploaders.
+  * d/control:
+    - Drop Depends on JRE since its only a library package.
+    - Drop ${shlibs:Depends} since we are building arch:all packages.
+    - Bump Standards-Version to 3.9.2: no changes needed.
+    - Fix typo in package description (Closes: #587617).
+  * Install POM and jar for Java EE API 5.0 at javax:javaee-api.
+  * d/copyright: Drop links to BSD common-licences.
+
+ -- Damien Raude-Morvan <drazzib at debian.org>  Tue, 24 May 2011 22:56:36 +0200
 
 glassfish (1:2.1.1-b31-2) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index b1194b1..8648099 100644
--- a/debian/control
+++ b/debian/control
@@ -2,17 +2,18 @@ Source: glassfish
 Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Varun Hiremath <varun at debian.org>, Torsten Werner <twerner at debian.org>
+Uploaders: Varun Hiremath <varun at debian.org>, Torsten Werner <twerner at debian.org>,
+ Damien Raude-Morvan <drazzib at debian.org>
 Build-Depends: cdbs, debhelper (>= 7), maven-repo-helper
 Build-Depends-Indep: ant, default-jdk, libaxis-java
-Standards-Version: 3.8.4
+Standards-Version: 3.9.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}, default-jre | java2-runtime
+#Depends: ${misc:Depends}, default-jre | 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
@@ -21,40 +22,40 @@ Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/glassfish
 
 Package: glassfish-activation
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, default-jre-headless | java2-runtime-headless
+Depends: ${misc:Depends}
 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.
  .
- This package ships only the activation part of Glassfish.
+ This package ships only the activation part of GlassFish.
 
 Package: glassfish-appserv
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, default-jre-headless | java2-runtime-headless
+Depends: ${misc:Depends}
 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.
  .
- This package ships only the Application Server components of Glassfish.
+ This package ships only the Application Server components of GlassFish.
 
 Package: glassfish-jmac-api
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, default-jre-headless | java2-runtime-headless
+Depends: ${misc:Depends}
 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.
  .
- This package ships only the Jmac API components of Glassfish.
+ This package ships only the Jmac API components of GlassFish.
 
 Package: glassfish-mail
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, default-jre-headless | java2-runtime-headless
+Depends: ${misc:Depends}
 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
@@ -65,7 +66,7 @@ Description: Open source Java EE 5 Application Server
 
 Package: glassfish-javaee
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, default-jre-headless | java2-runtime-headless
+Depends: ${misc:Depends}
 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
@@ -77,11 +78,11 @@ Description: Open source Java EE 5 Application Server
 
 Package: glassfish-toplink-essentials
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, default-jre-headless | java2-runtime-headless
+Depends: ${misc:Depends}
 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.
  .
- This package ships only the Toplink Essentials components of Glassfish.
+ This package ships only the Toplink Essentials components of GlassFish.
diff --git a/debian/copyright b/debian/copyright
index 80e8f54..8ca4f1b 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -473,9 +473,6 @@ License:
     ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS
     BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
 
-    On Debian systems, the complete text of the BSD License can be 
-    found in `/usr/share/common-licenses/BSD'.
-
 ------------
 The following files are released under BSD license:
 entity-persistence/src/java/oracle/toplink/libraries/asm/*
@@ -507,9 +504,6 @@ License:
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
     THE POSSIBILITY OF SUCH DAMAGE.
 
-    On Debian systems, the complete text of the BSD License can be 
-    found in `/usr/share/common-licenses/BSD'.
-
 ------------
 For the following files:
 appserv-commons/src/java/org/apache/tools/ant/taskdefs/optional/sun/appserv/*
diff --git a/debian/jee.pom b/debian/jee.pom
new file mode 100644
index 0000000..4f1d893
--- /dev/null
+++ b/debian/jee.pom
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?><project>
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>javax</groupId>
+    <artifactId>javaee-api</artifactId>
+    <version>5.0</version>
+    <packaging>jar</packaging>
+
+    <name>Java(TM) EE 5 Specification APIs</name>
+    <description>Java(TM) EE 5 Specification APIs</description>
+    <url>http://java.sun.com/javaee/5/docs/api/index.html</url>
+</project>
diff --git a/debian/patches/0001-Fix-appserv-api-build.patch b/debian/patches/0001-Fix-appserv-api-build.patch
index 5956e4f..90ad897 100644
--- a/debian/patches/0001-Fix-appserv-api-build.patch
+++ b/debian/patches/0001-Fix-appserv-api-build.patch
@@ -6,21 +6,13 @@ Subject: [PATCH] Fix appserv-api build
  appserv-api/build.xml |    5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)
 
-diff --git a/appserv-api/build.xml b/appserv-api/build.xml
-index f798d26..0c7eaab 100644
 --- a/appserv-api/build.xml
 +++ b/appserv-api/build.xml
-@@ -86,9 +86,10 @@
-                 source="${javac.source}"
-                 deprecation="${javac.deprecation}"
+@@ -88,7 +88,6 @@
                  failonerror="true">
--            <classpath refid="compile.classpath"/>
-+            <classpath>
-+                <pathelement location="${javaee.jar}"/>
-+            </classpath>
+             <classpath refid="compile.classpath"/>
              <include name="**/*.java"/>
 -	    <compilerarg line="-Xlint:unchecked,fallthrough,serial,finally"/>
          </javac>
      </target>
  
--- 
diff --git a/debian/patches/0002-Fix-glassfish.root-directory.patch b/debian/patches/0002-Fix-glassfish.root-directory.patch
index 3227266..23a30b3 100644
--- a/debian/patches/0002-Fix-glassfish.root-directory.patch
+++ b/debian/patches/0002-Fix-glassfish.root-directory.patch
@@ -6,12 +6,10 @@ Subject: [PATCH] Fix glassfish.root directory
  bootstrap/project.properties |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/bootstrap/project.properties b/bootstrap/project.properties
-index a7e9d70..8fc4177 100644
 --- a/bootstrap/project.properties
 +++ b/bootstrap/project.properties
-@@ -46,8 +46,8 @@ glassfish.cvsroot=:pserver:${glassfish.cvs.username}@cvs.dev.java.net:/cvs
- glassfish.cvstag=SJSAS91_FCS_BRANCH
+@@ -46,8 +46,8 @@
+ glassfish.cvstag=SGES211_FCS_BRANCH
  glassfish.cvs.project=glassfish
  glassfish.cvs.module=bootstrap
 -glassfish.root=${basedir}/../..
@@ -21,4 +19,3 @@ index a7e9d70..8fc4177 100644
  
  # You MUST use absolute path
  glassfish.home=${glassfish.root}/publish/glassfish
--- 
diff --git a/debian/patches/0003-Disable-SQL-exceptions.patch b/debian/patches/0003-Disable-SQL-exceptions.patch
index 9aab747..7b434d0 100644
--- a/debian/patches/0003-Disable-SQL-exceptions.patch
+++ b/debian/patches/0003-Disable-SQL-exceptions.patch
@@ -6,11 +6,9 @@ Subject: [PATCH] Disable SQL exceptions
  .../standard/tag/common/sql/DataSourceWrapper.java |   14 ++++++++++++++
  1 files changed, 14 insertions(+), 0 deletions(-)
 
-diff --git a/appserv-jstl/src/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java b/appserv-jstl/src/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java
-index 486276b..8fcb5ae 100644
 --- a/appserv-jstl/src/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java
 +++ b/appserv-jstl/src/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java
-@@ -149,5 +149,19 @@ public class DataSourceWrapper implements DataSource {
+@@ -149,5 +149,19 @@
          throw new SQLException(Resources.getMessage("NOT_SUPPORTED"));
      }
  
@@ -30,4 +28,3 @@ index 486276b..8fcb5ae 100644
 +
  
  }
--- 
diff --git a/debian/rules b/debian/rules
index c8cd41f..213aa30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,13 +15,16 @@ DEST_DIR = $(DEB_DESTDIR)/usr/share/java
 clean::
 	$(RM) -r debian/poms
 
-# The first invokation of ant fails sometimes:
+# The first invokation of ant fails sometimes
+# http://ant.apache.org/manual/Tasks/jar.html
+# "Please note that ZIP files store file modification times with
+# a granularity of two seconds. If a file is less than two seconds
+# newer than the entry in the archive, Ant will not consider it newer."
 debian/stamp-ant-build:
 	$(DEB_ANT_INVOKE) $(DEB_ANT_BUILD_TARGET) || \
 	  $(DEB_ANT_INVOKE) $(DEB_ANT_BUILD_TARGET)
 	touch debian/stamp-ant-build
 
-
 common-install-prehook-indep::
 	for jar in $(ALL_JARS); do                         \
 	  BASENAME=glassfish-`basename $$jar .jar`;        \
@@ -56,6 +59,9 @@ install/glassfish-javaee::
 	mh_installpom -pglassfish-javaee debian/jms.pom
 	mh_installjar -pglassfish-javaee debian/jms.pom \
 	  jms-api/build/jms.jar /usr/share/java/glassfish-jms.jar
+	mh_installpom -pglassfish-javaee debian/jee.pom
+	mh_installjar -pglassfish-javaee debian/jee.pom \
+	  publish/glassfish/lib/javaee.jar /usr/share/java/glassfish-javaee.jar
 
 install/glassfish-activation::
 	mh_installpom -pglassfish-activation debian/poms/activation.xml
diff --git a/debian/watch b/debian/watch
index a590444..79c046d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -3,5 +3,5 @@ version=3
 # after 2.1.2 gets available:
 #http://download.java.net/javaee5/v(2[[:digit:].]+)/promoted/source/glassfish-v([[:alnum:].-]+)-src.zip \
 
-http://download.java.net/javaee5/v2.1.1/promoted/source/glassfish-v([[:alnum:].-]+)-src.zip \
+http://download.java.net/javaee5/v2.1.1_branch/promoted/source/glassfish-v([[:alnum:].-]+)-src.zip \
  debian debian/orig-tar.sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/glassfish.git



More information about the pkg-java-commits mailing list