debian/0000755000000000000000000000000011761254002007164 5ustar debian/orig-tar.exclude0000644000000000000000000000003210711420147012255 0ustar *.jar *.war *.ear *.class debian/rules0000755000000000000000000000721511721542044010253 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/class/ant.mk include /usr/share/cdbs/1/rules/debhelper.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_ANT_BUILDFILE := debian/build.xml DEB_DESTDIR := $(CURDIR)/debian/tmp DEB_JARS := jaxrpc ALL_JARS := $(wildcard publish/glassfish/lib/*.jar) ALL_JARS += $(wildcard */build/release/*.jar) DEST_DIR = $(DEB_DESTDIR)/usr/share/java clean:: $(RM) -r debian/poms # 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`; \ FULLNAME=$$BASENAME-$(DEB_UPSTREAM_VERSION).jar; \ install -m 644 -D $$jar $(DEST_DIR)/$$FULLNAME; \ ln -sf $$FULLNAME $(DEST_DIR)/$$BASENAME.jar; \ done install/glassfish-mail:: mh_installpom -pglassfish-mail debian/poms/mail.xml mh_installjar -pglassfish-mail debian/poms/mail.xml \ publish/glassfish/lib/mail.jar /usr/share/java/glassfish-mail.jar install/glassfish-javaee:: mh_installpom -pglassfish-javaee debian/poms/ejb-api.xml mh_installjar -pglassfish-javaee debian/poms/ejb-api.xml \ ejb-api/build/release/ejb-api.jar \ /usr/share/java/glassfish-ejb-api.jar mh_installpom -pglassfish-javaee debian/poms/jstl.xml mh_installjar -pglassfish-javaee debian/poms/jstl.xml \ publish/glassfish/lib/appserv-jstl.jar \ /usr/share/java/glassfish-appserv-jstl.jar mh_installpom -pglassfish-javaee debian/poms/jta.xml mh_installjar -pglassfish-javaee debian/poms/jta.xml \ transaction-api/build/release/jta.jar \ /usr/share/java/glassfish-jta.jar mh_installpom -pglassfish-javaee debian/poms/jpa.xml mh_installjar -pglassfish-javaee debian/poms/jpa.xml \ persistence-api/build/release/persistence-api.jar \ /usr/share/java/glassfish-jpa.jar cd jms-api/build && jar cf jms.jar javax 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 mh_installjar -pglassfish-activation debian/poms/activation.xml \ publish/glassfish/lib/activation.jar \ /usr/share/java/glassfish-activation.jar install/glassfish-jmac-api:: mh_installpom -pglassfish-jmac-api debian/jmac-api.pom mh_installjar -pglassfish-jmac-api debian/jmac-api.pom \ publish/glassfish/lib/jmac-api.jar /usr/share/java/glassfish-jmac-api.jar install/glassfish-toplink-essentials:: mh_installpom -pglassfish-toplink-essentials debian/poms/toplink.xml mh_installjar -pglassfish-toplink-essentials debian/poms/toplink.xml \ entity-persistence/build/release/toplink-essentials.jar \ /usr/share/java/glassfish-toplink-essentials.jar mh_installpom -pglassfish-toplink-essentials debian/poms/toplink-agent.xml mh_installjar -pglassfish-toplink-essentials debian/poms/toplink-agent.xml \ entity-persistence/build/release/toplink-essentials-agent.jar \ /usr/share/java/glassfish-toplink-essentials-agent.jar get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download debian/jmac-api.pom0000644000000000000000000000041111721542044011360 0ustar 4.0.0 javax.security.auth.message jmac-api 2.1 Jmac API jar https://glassfish.dev.java.net debian/watch0000644000000000000000000000042411567023163010223 0ustar 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_branch/promoted/source/glassfish-v([[:alnum:].-]+)-src.zip \ debian debian/orig-tar.sh debian/build.xml0000644000000000000000000001514411374601704011017 0ustar debian/changelog0000644000000000000000000001066511761253766011066 0ustar glassfish (1:2.1.1-b31g-3) unstable; urgency=low [ James Page ] * Fix FTBFS with openjdk-7 as default-jdk (LP: #888938): - d/patches/java7-compat.patch: compatibility patch for compilation with Java 7 API's. (Closes: #675038). [ Damien Raude-Morvan ] * Upload to unstable. -- Damien Raude-Morvan Wed, 30 May 2012 01:07:41 +0200 glassfish (1:2.1.1-b31g-2) unstable; urgency=low * Install POM and jar for Jmac API into maven-repo. * Add myself to Uploaders. * Bump Standards-Version to 3.9.3. -- Jakub Adam Thu, 23 Feb 2012 23:25:45 +0100 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 Tue, 24 May 2011 22:56:36 +0200 glassfish (1:2.1.1-b31-2) unstable; urgency=low * Install POM and jar for Java Messaging Service (JMS). -- Torsten Werner Fri, 21 May 2010 09:51:10 +0200 glassfish (1:2.1.1-b31-1) unstable; urgency=low * New upstream release * Update debian/watch for release 2.1.1. * Convert patches to dep3 format. * Invoke ant twice if the first execution fails. Remove the workaround. * Install some POM files. (Closes: #581885) -- Torsten Werner Tue, 18 May 2010 21:31:25 +0200 glassfish (1:2ur2-b04-6) unstable; urgency=low * Increase sleep time to 20 seconds. (Closes: #574307) -- Torsten Werner Wed, 17 Mar 2010 23:03:52 +0100 glassfish (1:2ur2-b04-5) unstable; urgency=low * Add an extra before line 62 in debian/build.xml as we had in the past. (Closes: #571403) -- Torsten Werner Sun, 28 Feb 2010 13:28:59 +0100 glassfish (1:2ur2-b04-4) unstable; urgency=low * debian/control: - Switch to default-jdk - Bump Standards-Version to 3.8.4 - Bump dh_compat to 7 - Change Section to java * Add patches/appserv.diff, fixes FTBFS (Closes: #564365) * Switch to source format 3.0 (quilt) * Move glassfish-appserv-jstl.jar from glassfish-appserv to glassfish-javaee (Closes: #548242) -- Varun Hiremath Wed, 17 Feb 2010 22:48:12 -0500 glassfish (1:2ur2-b04-3) unstable; urgency=low [ Torsten Werner ] * Change watch file to stay with major version 2. [ Varun Hiremath ] * Change build order in debian/build.xml, fixes FTBFS (Closes: #533461) * Bump Standards-Version to 3.8.2 -- Varun Hiremath Thu, 25 Jun 2009 21:33:41 -0400 glassfish (1:2ur2-b04-2) unstable; urgency=low merge changes from Lenny: * Fix java runtime Depends. (Closes: #503775) -- Torsten Werner Thu, 06 Nov 2008 22:00:12 +0100 glassfish (1:2ur2-b04-1) unstable; urgency=low * new upstream release * Update debian/watch to be more flexible. * Set build.sysclasspath=first in debian/ant.properties. * Increase the introduced with the last upload. -- Torsten Werner Sun, 31 Aug 2008 15:53:28 +0200 glassfish (2+b58g-4) unstable; urgency=low * Switch to openjdk-6. * Move package to main. * Add a in debian/build.xml because of a strange race condition. * Bump up Standards-Version: 3.8.0 (no changes needed). * Update debian/watch for the current upstream version without actually upgrading to this version yet. -- Torsten Werner Tue, 12 Aug 2008 00:59:02 +0200 glassfish (2+b58g-3) unstable; urgency=low * Build directory servlet-api to make javaee more complete. * Remove Build-Depends: libservlet2.4-java. * Add Build-Depends: libaxis-java and remove wrong patch ejb.diff. * Change Standards-Version: 3.7.3. * Build appserv-jstl. -- Torsten Werner Tue, 18 Dec 2007 13:16:37 +0100 glassfish (2+b58g-2) unstable; urgency=low * glassfish-javaee: Build and install ejb-api too. -- Torsten Werner Fri, 02 Nov 2007 17:54:59 +0100 glassfish (2+b58g-1) unstable; urgency=low * Initial release (Closes: #448509) -- Varun Hiremath Tue, 24 Apr 2007 17:19:10 +0530 debian/compat0000644000000000000000000000000211337135112010361 0ustar 7 debian/README.Debian-source0000644000000000000000000000072310710636554012536 0ustar 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 , Sat, 27 Oct 2007 17:04:32 +0530 debian/source/0000755000000000000000000000000011761254002010464 5ustar debian/source/format0000644000000000000000000000001411337135112011671 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011761254002010613 5ustar debian/patches/0003-Disable-SQL-exceptions.patch0000644000000000000000000000176111567023163016406 0ustar From: Debian Java Maintainers Date: Mon, 17 May 2010 00:15:23 +0200 Subject: [PATCH] Disable SQL exceptions --- .../standard/tag/common/sql/DataSourceWrapper.java | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) --- 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 @@ throw new SQLException(Resources.getMessage("NOT_SUPPORTED")); } + /** + * Always throws a SQLException. Not supported. + */ + public T unwrap(Class iface) throws SQLException { + throw new SQLException(Resources.getMessage("NOT_SUPPORTED")); + } + + /** + * Always throws a SQLException. Not supported. + */ + public boolean isWrapperFor(Class iface) throws SQLException { + throw new SQLException(Resources.getMessage("NOT_SUPPORTED")); + } + } debian/patches/0002-Fix-glassfish.root-directory.patch0000644000000000000000000000134311567023163017715 0ustar From: Debian Java Maintainers Date: Mon, 17 May 2010 00:15:22 +0200 Subject: [PATCH] Fix glassfish.root directory --- bootstrap/project.properties | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- a/bootstrap/project.properties +++ b/bootstrap/project.properties @@ -46,8 +46,8 @@ glassfish.cvstag=SGES211_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 debian/patches/java7-compat.patch0000644000000000000000000000442111761253271014135 0ustar Description: Compatibility patch for compilation with OpenJDK7 due to changes in the JDBC API. . Also backwards compatibility with OpenJDK6. Author: James Page Forwarded: no Index: glassfish/entity-persistence/src/java/oracle/toplink/essentials/internal/ejb/cmp3/jdbc/base/DataSourceImpl.java =================================================================== --- glassfish.orig/entity-persistence/src/java/oracle/toplink/essentials/internal/ejb/cmp3/jdbc/base/DataSourceImpl.java 2012-05-29 13:10:41.666234000 +0100 +++ glassfish/entity-persistence/src/java/oracle/toplink/essentials/internal/ejb/cmp3/jdbc/base/DataSourceImpl.java 2012-05-29 13:15:35.752552327 +0100 @@ -40,6 +40,8 @@ import java.sql.Connection; import java.sql.SQLException; import java.sql.DriverManager; +import java.sql.SQLFeatureNotSupportedException; +import java.util.logging.Logger; import javax.sql.DataSource; import oracle.toplink.essentials.internal.ejb.cmp3.transaction.base.TransactionManagerImpl; @@ -177,4 +179,11 @@ public boolean isWrapperFor(Class iface) throws SQLException { return false; } + + /* + * JDBC 4.1 + */ + public Logger getParentLogger() throws SQLFeatureNotSupportedException { + throw new SQLFeatureNotSupportedException(); + } } Index: glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java =================================================================== --- glassfish.orig/appserv-jstl/src/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java 2012-05-29 13:10:41.666234000 +0100 +++ glassfish/appserv-jstl/src/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java 2012-05-29 13:27:43.078925227 +0100 @@ -58,7 +58,8 @@ import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; - +import java.sql.SQLFeatureNotSupportedException; +import java.util.logging.Logger; import javax.sql.DataSource; import org.apache.taglibs.standard.resources.Resources; @@ -163,5 +164,10 @@ throw new SQLException(Resources.getMessage("NOT_SUPPORTED")); } - + /* + * JDBC 4.1 + */ + public Logger getParentLogger() throws SQLFeatureNotSupportedException { + throw new SQLFeatureNotSupportedException(); + } } debian/patches/0001-Fix-appserv-api-build.patch0000644000000000000000000000105511567023163016271 0ustar From: Debian Java Maintainers Date: Mon, 17 May 2010 00:15:20 +0200 Subject: [PATCH] Fix appserv-api build --- appserv-api/build.xml | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) --- a/appserv-api/build.xml +++ b/appserv-api/build.xml @@ -88,7 +88,6 @@ failonerror="true"> - debian/patches/series0000644000000000000000000000017611761253271012043 0ustar 0001-Fix-appserv-api-build.patch 0002-Fix-glassfish.root-directory.patch 0003-Disable-SQL-exceptions.patch java7-compat.patch debian/orig-tar.sh0000755000000000000000000000062410711420147011250 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' TAR=../glassfish_$2.orig.tar.gz DIR=glassfish-$2.orig # clean up the upstream tarball unzip $3 mv glassfish $DIR GZIP=--best tar -c -z -f $TAR -X debian/orig-tar.exclude $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 debian/glassfish-javaee.install0000644000000000000000000000005411374575372014007 0ustar debian/tmp/usr/share/java/glassfish-javaee* debian/jee.pom0000644000000000000000000000062411567023163010454 0ustar 4.0.0 javax javaee-api 5.0 jar Java(TM) EE 5 Specification APIs Java(TM) EE 5 Specification APIs http://java.sun.com/javaee/5/docs/api/index.html debian/control0000644000000000000000000000732511740647102010602 0ustar Source: glassfish Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Varun Hiremath , Torsten Werner , Damien Raude-Morvan , Jakub Adam Build-Depends: cdbs, debhelper (>= 7), maven-repo-helper Build-Depends-Indep: ant, default-jdk, libaxis-java Standards-Version: 3.9.3 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: ${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 # Application Server, the Java EE 5 Reference Implementation, and the # Java Persistence API Reference Implementation, TopLink Essentials. Package: glassfish-activation Architecture: all 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. Package: glassfish-appserv Architecture: all 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. Package: glassfish-jmac-api Architecture: all 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. Package: glassfish-mail Architecture: all 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 Java Mail components of GlassFish. Package: glassfish-javaee Architecture: all 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 Java EE 5 Reference Implementation components of GlassFish. Package: glassfish-toplink-essentials Architecture: all 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. debian/jms.pom0000644000000000000000000000104311375436672010510 0ustar 4.0.0 javax.jms jms 1.1 Java Message Service The Java Message Service (JMS) API is a messaging standard that allows application components based on the Java 2 Platform, Enterprise Edition (J2EE) to create, send, receive, and read messages. It enables distributed communication that is loosely coupled, reliable, and asynchronous. https://glassfish.dev.java.net debian/ant.properties0000644000000000000000000000003111056516403012061 0ustar build.sysclasspath=first debian/glassfish-appserv.install0000644000000000000000000000014111337135112014210 0ustar debian/tmp/usr/share/java/glassfish-appserv-rt* debian/tmp/usr/share/java/glassfish-appserv-ext* debian/copyright0000644000000000000000000006657711567023163011152 0ustar This package was debianized by Varun Hiremath on Tue, 24 Apr 2007 17:19:10 +0530. It was downloaded from https://glassfish.dev.java.net/ Upstream Author: Sun Microsystems, Inc. Copyright: © 1996-2005 Sun Microsystems, Inc. All Rights Reserved. © 2004 Mark D. Anderson (mda@discerning.com) © 2002 Andy Clark. All rights reserved. © 1994-2002 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. © 1996-1999 by Scott Hudson, Frank Flannery, C. Scott Ananian © 1996-2003 by Elliot Joel Berk and C. Scott Ananian © 1999-2001 Rick Jelliffe, Academia Sinica Computing Centre, Taibei. © 1999-2004 The Apache Software Foundation © 2000-2001 by iPlanet/Sun Microsystems, Inc. © 2000 Intalio Inc. All Rights Reserved. © 2001 MetaStuff, Ltd. All Rights Reserved. © 2003 James Strachan and Bob Mcwhirter. All Rights Reserved. © 2006 Mort Bay Consulting Pty. Ltd. © 1995-1997 IBM Corp. © 1995-2001 International Business Machines Corporation © 1995-2003 Jean-loup Gailly and Mark Adler © 1996 Adam Twiss, Zeus Technology Ltd © 1998 2007, Oracle. All rights reserved. © 1999-2004 The PHP Group. All rights reserved. © 2000,2001 Rick Jelliffe and Academia Sinica Computing Center, Taiwan © 2000-2005 INRIA, France Telecom © 2000-2003 Daisuke Okajima and Kohsuke Kawaguchi. © 2001 Thai Open Source Software Center Ltd, Sun Microsystems. © 2002, 2003 Gargoyle Software Inc. All rights reserved. © 2002 JSON.org © 2004-2006, The Dojo Foundation © 2003 Kohsuke Kawaguchi © 2004 Eugene Kuleshov © 2004 Friendster Inc. © 2005-2007 Sam Stephenson © 2000-2002 Paul Johnston © 2000 Intalio Inc. All Rights Reserved. © 2004 Simon Willison License: The contents of this package are subject to the terms of either the GNU General Public License Version 2 only ("GPL") or the Common Development and Distribution License("CDDL") (collectively, the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific language governing permissions and limitations under the License. When distributing the software, include this License Header Notice in each file and include the License file at glassfish/bootstrap/legal/LICENSE.txt. Sun designates this particular file as subject to the "Classpath" exception as provided by Sun in the GPL Version 2 section of the License file that accompanied this code. If applicable, add the following below the License Header, with the fields enclosed by brackets [] replaced by your own identifying information: "Portions Copyrighted [year] [name of copyright owner]" Contributor(s): If you wish your version of this file to be governed by only the CDDL or only the GPL Version 2, indicate your decision by adding "[Contributor] elects to include this software in this distribution under the [CDDL or GPL Version 2] license." If you don't indicate a single choice of license, a recipient has the option to distribute your version of this file under either the CDDL, the GPL Version 2 or to extend the choice of license to its licensees as provided above. However, if you add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the option applies only if the new code is made subject to such option by the copyright holder. On Debian systems, the complete text of the GNU General Public License (Version 2) can be found in `/usr/share/common-licenses/GPL-2'. Full text of the CDDL license follows: -------------------------------------- COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 1. Definitions. 1.1. Contributor means each individual or entity that creates or contributes to the creation of Modifications. 1.2. Contributor Version means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor. 1.3. Covered Software means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof. 1.4. Executable means the Covered Software in any form other than Source Code. 1.5. Initial Developer means the individual or entity that first makes Original Software available under this License. 1.6. Larger Work means a work which combines Covered Software or portions thereof with code not governed by the terms of this License. 1.7. License means this document. 1.8. Licensable means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein. 1.9. Modifications means the Source Code and Executable form of any of the following: A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications; B. Any new file that contains any part of the Original Software or previous Modification; or C. Any new file that is contributed or otherwise made available under the terms of this License. 1.10. Original Software means the Source Code and Executable form of computer software code that is originally released under this License. 1.11. Patent Claims means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor. 1.12. Source Code means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code. 1.13. You (or Your) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, You includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, control means (a)áthe power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b)áownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. 2. License Grants. 2.1. The Initial Developer Grant. Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license: (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and (b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof). (c) The licenses granted in Sectionsá2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License. (d) Notwithstanding Sectioná2.1(b) above, no patent license is granted: (1)áfor code that You delete from the Original Software, or (2)áfor infringements caused by: (i)áthe modification of the Original Software, or (ii)áthe combination of the Original Software with other software or devices. 2.2. Contributor Grant. Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license: (a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and (b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1)áModifications made by that Contributor (or portions thereof); and (2)áthe combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination). (c) The licenses granted in Sectionsá2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party. (d) Notwithstanding Sectioná2.2(b) above, no patent license is granted: (1)áfor any code that Contributor has deleted from the Contributor Version; (2)áfor infringements caused by: (i)áthird party modifications of Contributor Version, or (ii)áthe combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3)áunder Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor. 3. Distribution Obligations. 3.1. Availability of Source Code. Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange. 3.2. Modifications. The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License. 3.3. Required Notices. You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer. 3.4. Application of Additional Terms. You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. 3.5. Distribution of Executable Versions. You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipients rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. 3.6. Larger Works. You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software. 4. Versions of the License. 4.1. New Versions. Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License. 4.2. Effect of New Versions. You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward. 4.3. Modified Versions. When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a)árename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b)áotherwise make it clear that the license contains terms which differ from this License. 5. DISCLAIMER OF WARRANTY. COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN AS IS BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. 6. TERMINATION. 6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. 6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as Participant) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sectionsá2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant. 6.3. In the event of termination under Sectionsá6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination. 7. LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTYS NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. 8. U.S. GOVERNMENT END USERS. The Covered Software is a commercial item, as that term is defined in 48áC.F.R.á2.101 (Oct. 1995), consisting of commercial computer software (as that term is defined at 48 C.F.R. á252.227-7014(a)(1)) and commercial computer software documentation as such terms are used in 48áC.F.R.á12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License. 9. MISCELLANEOUS. This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdictions conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software. 10. RESPONSIBILITY FOR CLAIMS. As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability. NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) The GlassFish code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California. ------------ The following files are released under BSD license: mail/src/java/demo/* Copyright: 2001-2002 Sun Microsystems, Inc. All Rights Reserved. License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistribution in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of Sun Microsystems, Inc. or the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission. This software is provided "AS IS," without a warranty of any kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. ------------ The following files are released under BSD license: entity-persistence/src/java/oracle/toplink/libraries/asm/* Copyright: © 2000,2002,2003 INRIA, France Telecom License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ------------ For the following files: appserv-commons/src/java/org/apache/tools/ant/taskdefs/optional/sun/appserv/* Copyright: © 1999 The Apache Software Foundation. License: The Apache Software License, Version 1.1 Copyright © 1999 The Apache Software Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The end-user documentation included with the redistribution, if any, must include the following acknowlegement: "This product includes software developed by the Apache Software Foundation (http://www.apache.org/)." Alternately, this acknowlegement may appear in the software itself, if and wherever such third-party acknowlegements normally appear. 4. The names "The Jakarta Project", "Ant", and "Apache Software Foundation" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact apache@apache.org. 5. Products derived from this software may not be called "Apache" nor may "Apache" appear in their names without prior written permission of the Apache Group. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------ The Debian packaging is © 2007, Varun Hiremath and is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'.