--- libbsf-java-2.4.0.orig/debian/rules +++ libbsf-java-2.4.0/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f +# debian/rules file for libbsf-java (uses cdbs) + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/class/ant.mk + +JAVA_HOME := /usr/lib/jvm/default-java +ANT_HOME := /usr/share/ant + +# disable jython support because it is broken for jython >= 2.5 +#DEB_JARS := xalan2 jython js ${ANT_HOME}/lib/ant-junit.jar junit commons-logging +DEB_JARS := xalan2 js ${ANT_HOME}/lib/ant-junit.jar junit commons-logging + +DEB_ANT_BUILD_TARGET := jar javadocs +#DEB_ANT_CHECK_TARGET := test + +clean:: + $(RM) -r build lib + +makebuilddir:: + mkdir -p lib + +install/libbsf-java:: + install -m 644 lib/bsf.jar debian/libbsf-java/usr/share/java/bsf-$(DEB_UPSTREAM_VERSION).jar + ln -s bsf-$(DEB_UPSTREAM_VERSION).jar debian/libbsf-java/usr/share/java/bsf.jar + # install the javadocs into api directory + install -d $(CURDIR)/debian/libbsf-java/usr/share/doc/libbsf-java/api/ + cp -a build/api/* $(CURDIR)/debian/libbsf-java/usr/share/doc/libbsf-java/api/ --- libbsf-java-2.4.0.orig/debian/libbsf-java.doc-base +++ libbsf-java-2.4.0/debian/libbsf-java.doc-base @@ -0,0 +1,10 @@ +Document: libbsf-java1 +Title: Programmer API for libbsf-java +Author: Apache BSF developer team +Abstract: Javadocs programmer API of libbsf-java, the Bean Scripting + Framework to support scripting languages in Java. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libbsf-java/api/index.html +Files: /usr/share/doc/libbsf-java/api/*.html --- libbsf-java-2.4.0.orig/debian/copyright +++ libbsf-java-2.4.0/debian/copyright @@ -0,0 +1,72 @@ +This package was debianized by Ola Lundqvist on +Sat, 6 Jan 2001 18:38:18 +0100. It is now maintained by Stefan Gybas +. + +The source code was downloaded from http://jakarta.apache.org/bsf/. +It was extracted, "ant clean" was called and repackaged. + +Upstream Authors: + Sanjiva Weerawarana + Matthew J. Duftler + Sam Ruby + Richard F. Boehme + Olivier Gruber + Jason Crawford + John Ponzo + Victor J. Orlikowski + Charles Murcko + +Copyright (BSD-style license): + + The Apache Software License, Version 1.1 + + Copyright (c) 2002 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 acknowledgment: + "This product includes software developed by the + Apache Software Foundation (http://www.apache.org/)." + Alternately, this acknowledgment may appear in the software itself, + if and wherever such third-party acknowledgments normally appear. + + 4. The names "BSF", "Apache", 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 name, without prior written + permission of the Apache Software Foundation. + + 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. + + This software consists of voluntary contributions made by many individuals + on behalf of the Apache Software Foundation and was originally created by + Sanjiva Weerawarana and others at International Business Machines + Corporation. For more information on the Apache Software Foundation, + please see . + --- libbsf-java-2.4.0.orig/debian/watch +++ libbsf-java-2.4.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.apache.org/dist/jakarta/bsf/source/ bsf-src-(.*).tar.gz debian uupdate --- libbsf-java-2.4.0.orig/debian/compat +++ libbsf-java-2.4.0/debian/compat @@ -0,0 +1,2 @@ +5 + --- libbsf-java-2.4.0.orig/debian/dirs +++ libbsf-java-2.4.0/debian/dirs @@ -0,0 +1 @@ +usr/share/java --- libbsf-java-2.4.0.orig/debian/ant.properties +++ libbsf-java-2.4.0/debian/ant.properties @@ -0,0 +1,10 @@ +build.dest=build/classes +build.dir=build/dist +build.lib=lib +build.javadocs=build/api +build.tests=build/test +project.name=bsf +project.fullname=Bean Scripting Framework +source.level=1.3 +src.dir=src +tests.dir=src --- libbsf-java-2.4.0.orig/debian/changelog +++ libbsf-java-2.4.0/debian/changelog @@ -0,0 +1,170 @@ +libbsf-java (1:2.4.0-4) unstable; urgency=low + + * Disable jython support because it is broken for jython >= 2.5. + (Closes: #591122) + * Remove Stefan and Arnaud from Uploaders list. Thanks to your contributions! + + -- Torsten Werner Wed, 04 Aug 2010 04:31:45 +0200 + +libbsf-java (1:2.4.0-3) unstable; urgency=low + + [ Matthias Klose ] + * (Build-)depend on default-jre/-jdk. + + [ Torsten Werner ] + * Add myself to Uploaders. + * Fix build errors. + * Switch to quilt. + * Switch to debhelper 5. + * Update Standards-Version: 3.8.2. + * Add Homepage and Vcs headers. + * Change Section: java. + * Add missing Depends: ${misc:Depends}. + * Remove servlet dependency. + + -- Torsten Werner Thu, 30 Jul 2009 19:15:16 +0200 + +libbsf-java (1:2.4.0-2) unstable; urgency=low + + * Added Build-Depends-Indep on libcommons-logging-java. + Closes: #460381. + + -- Michael Koch Sat, 12 Jan 2008 15:28:22 +0100 + +libbsf-java (1:2.4.0-1) unstable; urgency=low + + * New upstream version. + + -- Michael Koch Tue, 01 Jan 2008 20:39:26 +0100 + +libbsf-java (1:2.3.0+cvs20050308a-3) unstable; urgency=low + + [ Kumar Appaiah ] + * Update watch file. + + [ Michael Koch ] + * Updated Standards-Version to 3.7.3. + + -- Michael Koch Sat, 29 Dec 2007 21:34:42 +0100 + +libbsf-java (1:2.3.0+cvs20050308a-2) unstable; urgency=low + + * Removed Build-Dependency on rhino (Closes: #414685). + * Removed Wolfgang and added myself to Uploaders. + + -- Michael Koch Wed, 14 Mar 2007 21:26:14 +0100 + +libbsf-java (1:2.3.0+cvs20050308a-1) unstable; urgency=low + + * Updated Standards-Version to 3.7.2: moved debhelper and cdbs to + Build-Depends + * Build with java-gcj-compat-dev + * debian/rules: removed ant-launcher from the classpath (no more needed) + * Updated dependency to libservlet2.4-java + * Not a new upstream but reupload the sources to the main archive + (closes: #352172, #376107). + * debian/watch: added + + -- Arnaud Vandyck Mon, 17 Jul 2006 17:41:28 +0200 + +libbsf-java (1:2.3.0+cvs20050308-6) unstable; urgency=low + + * Removed explicit usage of jikes build compiler property + for kaffe jikes -> ecj transition + + -- Wolfgang Baer Fri, 6 Jan 2006 19:31:20 +0100 + +libbsf-java (1:2.3.0+cvs20050308-5) unstable; urgency=low + + * libant1.6-java to ant transition + * Register documentation and javadoc with doc-base + * Standards-Version 3.6.2 (no changes) + + -- Wolfgang Baer Sat, 24 Sep 2005 09:55:34 +0200 + +libbsf-java (1:2.3.0+cvs20050308-4) unstable; urgency=low + + * uploaded to unstable + + -- Arnaud Vandyck Wed, 15 Jun 2005 11:05:35 +0200 + +libbsf-java (1:2.3.0+cvs20050308-3) experimental; urgency=low + + * Move to main (together with libxalan2-java) + * Added BeanShell as supported scripting language to description + (provides its own bsf adapter) and also to Suggests + * Enabled junit tests and added junit to build-dependencies + + Removed unsupported script engines from tests + (03_RemoveUnsupportedTestcases.patch) + * Included documentation html files + * Unified build.xml patch (02_Build_xml.patch) + + Incorporated former 02_Build_Javadoc.patch to exclude test classes + + Fixed jar target to not include test classes + + Added correct classpath for test target + + Added target=1.3 as javac option to support JDK 1.3 + + -- Wolfgang Baer Wed, 11 May 2005 19:14:16 +0200 + +libbsf-java (1:2.3.0+cvs20050308-2) unstable; urgency=low + + * Fixed depends (as non-free vm's do not provide java1-runtime) + to also include java2-runtime (closes: #299551) + * Make jar file versioned and provide link for unversioned jar + * Build apidocs + + -- Wolfgang Baer Tue, 15 Mar 2005 09:18:57 +0100 + +libbsf-java (1:2.3.0+cvs20050308-1) unstable; urgency=low + + * New upstream release from apache jakarta-bsf CVS + * Build with kaffe + * Arnaud Vandyck did sponsor this package. As a + member of pkg-java Alioth's project, I added Wolfgang (and I) as + uploaders + + -- Wolfgang Baer Fri, 25 Feb 2005 21:56:20 +0100 + +libbsf-java (1:2.3.0rc1-2) unstable; urgency=low + + * Set maintainer to Debian Java Maintainers and added myself to uploaders + * Switch debian/rules to CDBS + * Use libant1.6-java for building + * Standards-Version: 3.6.1 (no changes required) + * Updated README.Debian to list the missing classes compared to upstream + + -- Stefan Gybas Wed, 10 Mar 2004 17:46:49 +0100 + +libbsf-java (1:2.3.0rc1-1) unstable; urgency=low + + * New upstream release: 2.3.0 Release Candidate 1 + * New maintainer (closes: #200458) + * Updated debian/copyright: New download location and license: Apache + Software License 1.1 instead of IBM Public License 1.0 + * Build using Xalan 2 instead of Xalan 1 (closes: #144029), this makes + the dependency on Xerces 1 go away (closes: #144015) + * Enable support for Jython (closes: #112684) and JavaScript (closes: #124198) + * Updated the package description from the home page + * Standards-Version: 3.6.0 + + Moved Build-Depends-Indep to Build-Depends since only Build-Depends + must be satisfied during clean + * Completely rewrote debian/rules, now uses debhelper 4 + * Use dh-buildinfo to store information about the build system in the + package + + -- Stefan Gybas Thu, 17 Jul 2003 17:32:37 +0200 + +libbsf-java (1:2.2-1) unstable; urgency=low + + * New upstream version, closes: #85301. + * Added xalan to control (and available in compile). + * Removed dh_suidregister from rules. + * Removed dh_testversion from rules. + + -- Ola Lundqvist Mon, 09 Apr 2001 15:53:44 +0200 + +libbsf-java (20010106-1) unstable; urgency=low + + * Initial Release, closes: Bug#81401. + + -- Ola Lundqvist Sat, 6 Jan 2001 18:38:18 +0100 + --- libbsf-java-2.4.0.orig/debian/control +++ libbsf-java-2.4.0/debian/control @@ -0,0 +1,36 @@ +Source: libbsf-java +Section: java +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Michael Koch , Torsten Werner +Build-Depends: debhelper (>= 5), cdbs, quilt +Build-Depends-Indep: ant, ant-optional, default-jdk, libxalan2-java, jython, junit, libcommons-logging-java +Standards-Version: 3.8.2 +Homepage: http://jakarta.apache.org/bsf/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libbsf-java +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libbsf-java/ + +Package: libbsf-java +Architecture: all +Depends: default-jre-headless | java1-runtime-headless | java2-runtime-headless, + ${misc:Depends} +Suggests: libxalan2-java, jython, rhino, bsh +Description: Bean Scripting Framework to support scripting languages in Java + Bean Scripting Framework (BSF) is a set of Java classes which provides + scripting language support within Java applications, and access to Java + objects and methods from scripting languages. BSF allows one to write JSPs in + languages other than Java while providing access to the Java class library. In + addition, BSF permits any Java application to be implemented in part (or + dynamically extended) by a language that is embedded within it. This is + achieved by providing an API that permits calling scripting language engines + from within Java, as well as an object registry that exposes Java objects to + these scripting language engines. + . + BSF supports these scripting languages: + * Python (using Jython) + * JavaScript (using rhino) + * XSLT Stylesheets (as a component of Apache XML project's Xalan and Xerces) + * BeanShell (using bsh) via its own bsf adapter + . + Support for Tcl, NetRexx is not available in this Debian + package since Jacl, NetRexx (non-free) are not packaged. --- libbsf-java-2.4.0.orig/debian/libbsf-java.docs +++ libbsf-java-2.4.0/debian/libbsf-java.docs @@ -0,0 +1 @@ +docs --- libbsf-java-2.4.0.orig/debian/patches/03_build-properties.patch +++ libbsf-java-2.4.0/debian/patches/03_build-properties.patch @@ -0,0 +1,21 @@ +Index: libbsf-java-2.4.0/build.xml +=================================================================== +--- libbsf-java-2.4.0.orig/build.xml 2009-07-30 19:03:21.000000000 +0200 ++++ libbsf-java-2.4.0/build.xml 2009-07-30 19:03:43.000000000 +0200 +@@ -73,8 +73,6 @@ + + + +- +- + + + +@@ -136,7 +134,6 @@ + + + +- + + + --- libbsf-java-2.4.0.orig/debian/patches/02_Build_Javadoc.patch +++ libbsf-java-2.4.0/debian/patches/02_Build_Javadoc.patch @@ -0,0 +1,13 @@ +Index: libbsf-java-2.4.0/build.xml +=================================================================== +--- libbsf-java-2.4.0.orig/build.xml 2006-10-06 17:53:00.000000000 +0200 ++++ libbsf-java-2.4.0/build.xml 2009-07-30 19:03:21.000000000 +0200 +@@ -267,7 +267,7 @@ + + + +- ++ + + + --- libbsf-java-2.4.0.orig/debian/patches/series +++ libbsf-java-2.4.0/debian/patches/series @@ -0,0 +1,3 @@ +01_EvaluatorExceptionCompileFix.patch +02_Build_Javadoc.patch +03_build-properties.patch --- libbsf-java-2.4.0.orig/debian/patches/01_EvaluatorExceptionCompileFix.patch +++ libbsf-java-2.4.0/debian/patches/01_EvaluatorExceptionCompileFix.patch @@ -0,0 +1,13 @@ +Index: libbsf-java-2.4.0/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java +=================================================================== +--- libbsf-java-2.4.0.orig/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java 2006-10-06 17:53:00.000000000 +0200 ++++ libbsf-java-2.4.0/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java 2009-07-30 19:03:12.000000000 +0200 +@@ -77,7 +77,7 @@ + // Any way to make these arguments *sensible? + if (fun == Scriptable.NOT_FOUND) + throw new EvaluatorException("function " + method + +- " not found.", "none", 0); ++ " not found.", "none", 0, null, 0); + + cx.setOptimizationLevel(-1); + cx.setGeneratingDebug(false);