--- jakarta-ecs-1.4.2.orig/debian/dirs +++ jakarta-ecs-1.4.2/debian/dirs @@ -0,0 +1 @@ +usr/share/java --- jakarta-ecs-1.4.2.orig/debian/orig-tar.sh +++ jakarta-ecs-1.4.2/debian/orig-tar.sh @@ -0,0 +1,21 @@ +#!/bin/sh -e + +# called by uscan with '--upstream-version' +TAR=../apache-log4j-$2.tar.gz +DIR=jakarta-log4j-$2.orig + +# clean up the upstream tarball +mv $TAR $3 +tar zxf $3 +mv apache-log4j-$2 $DIR +GZIP=--best tar czf $3 --exclude '*jar' --exclude 'site' --exclude '*dll' $DIR +rm -rf $TAR $DIR + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $3 $origDir + echo "moved $3 to $origDir" +fi + +exit 0 --- jakarta-ecs-1.4.2.orig/debian/README.Debian-source +++ jakarta-ecs-1.4.2/debian/README.Debian-source @@ -0,0 +1,8 @@ +jakarta-log4j1.2 +---------------- + +The package includes jars and a Windows binary DLL, which are not be +included in the original tarball. The orig-tar.sh in this directory is +used to recreate a clean tarball by removing the jar and DLL. + + -- Kumar Appaiah , Wed, 26 Sep 2007 13:03:52 +0530 --- jakarta-ecs-1.4.2.orig/debian/liblog4j1.2-java-doc.doc-base +++ jakarta-ecs-1.4.2/debian/liblog4j1.2-java-doc.doc-base @@ -0,0 +1,10 @@ +Document: liblog4j1.2-java-doc +Title: Documenation for log4j 1.2 +Author: The Apache log4j team +Abstract: This is the documentation for log4j, a logging library + for java. The documentation includes the javadoc API. +Section: Programming + +Format: HTML +Index: /usr/share/doc/liblog4j1.2-java-doc/docs/api/index.html +Files: /usr/share/doc/liblog4j1.2-java-doc/docs/api/*.html --- jakarta-ecs-1.4.2.orig/debian/changelog +++ jakarta-ecs-1.4.2/debian/changelog @@ -0,0 +1,44 @@ +jakarta-ecs (1.4.2-2) unstable; urgency=low + + * Package orphaned. + + -- Kalle Kivimaa Tue, 06 Sep 2011 08:00:00 +0200 + +jakarta-ecs (1.4.2-1.2) unstable; urgency=low + + * Non-maintainer upload. + * debian/control + - Change build dependency default-jdk-builddep to default-jdk as no -gcj + package is being built. + - Change jre dependencies to -headless. Remove unnecessary dependency java-common. + - Add build and runtime dependency libregexp-java. + - Update standards version to 3.8.4. + * debian/rules + - Add ant arguments to specify source version 1.4. + - Add regexp to list of jar files for compilation classpath. + Both these changes fix FTBFS. (Closes: #562437) + + -- Onkar Shinde Sat, 30 Jan 2010 16:42:48 +0530 + +jakarta-ecs (1.4.2-1.1) unstable; urgency=low + + [ Philipp Spitzer ] + * Non-maintainer upload. + * Renamed "enum" variable to "enumerate" as "enum" became a Java keyword + (Closes: #543076). + + [ gregor herrmann ] + * debian/control: remove section from binary package, change section to java + in source package. + + -- Philipp Spitzer Fri, 27 Nov 2009 22:28:19 +0100 + +jakarta-ecs (1.4.2-1) unstable; urgency=low + + * Initial release (Closes: #503279). + * lib-dir is ignored in the build to conform with the policy. + * Binary jars and classes as well as pregenerated javadocs removed + from the orig.tar.gz. + + -- Kalle Kivimaa Fri, 24 Oct 2008 17:35:01 +0300 + --- jakarta-ecs-1.4.2.orig/debian/rules +++ jakarta-ecs-1.4.2/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +JAVA_HOME := /usr/lib/jvm/default-java +ANT_HOME := /usr/share/ant + +DEB_ANT_ARGS := -Dant.build.javac.source=1.4 -Dant.build.javac.target=1.4 +DEB_JARS := regexp +DEB_ANT_BUILDFILE := build/build-ecs.xml +DEB_ANT_BUILD_TARGET := jar + +clean:: + -$(RM) -r docs + +install/libjakarta-ecs-java:: + dh_install bin/ecs-$(DEB_UPSTREAM_VERSION).jar usr/share/java + dh_link usr/share/java/ecs-$(DEB_UPSTREAM_VERSION).jar usr/share/java/ecs.jar + +get-orig-source: + -uscan --upstream-version 0 --- jakarta-ecs-1.4.2.orig/debian/copyright +++ jakarta-ecs-1.4.2/debian/copyright @@ -0,0 +1,65 @@ +Distributed under Apache Software License, Version 1.1. + +Idea, design and code: Stephan Nagy + Jon S. Stevens + +Contributions: Vadim Tkachenko + People of the ECS mailing list + +/* + * ==================================================================== + * + * The Apache Software License, Version 1.1 + * + * Copyright (c) 1999-2003 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", "Jakarta Element Construction Set", + * "Jakarta ECS" , 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", + * "Jakarta Element Construction Set" nor "Jakarta ECS" 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. + * ==================================================================== + * + * This software consists of voluntary contributions made by many + * individuals on behalf of the Apache Software Foundation. For more + * information on the Apache Software Foundation, please see + * . + * + */ --- jakarta-ecs-1.4.2.orig/debian/liblog4j1.2-java-doc.docs +++ jakarta-ecs-1.4.2/debian/liblog4j1.2-java-doc.docs @@ -0,0 +1 @@ +docs --- jakarta-ecs-1.4.2.orig/debian/compat +++ jakarta-ecs-1.4.2/debian/compat @@ -0,0 +1 @@ +5 --- jakarta-ecs-1.4.2.orig/debian/watch +++ jakarta-ecs-1.4.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.apache.org/dist/logging/log4j/(1.2.[\d]+)/apache-log4j-(1.2.[\d]+).tar.gz debian debian/orig-tar.sh --- jakarta-ecs-1.4.2.orig/debian/README.Debian +++ jakarta-ecs-1.4.2/debian/README.Debian @@ -0,0 +1,70 @@ +jakarta-log4j1.2 for Debian +------------------------ + +This is the jakarta logging library version 1.2. If your package depends on it +please use the /usr/share/java/log4j-1.2.jar symlink. + +Some information from the INSTALL documentation: + +You can now test your installation by first compiling the following +simple program. + + import org.apache.log4j.Logger; + import org.apache.log4j.BasicConfigurator; + + public class Hello { + + static Logger logger = Logger.getLogger(Hello.class); + + public + static + void main(String argv[]) { + BasicConfigurator.configure(); + logger.debug("Hello world."); + logger.info("What a beautiful day."); + } + } + + After compilation, try it out by issuing the command + + java Hello + + You should see log statements appearing on the console. + +Refer to the javadoc documentation and the user manual on how to +include log statements in your own code. + + +================== +log4j dependencies +================== + +Log4j is based on JDK 1.1 with the following additional requirements: + + ---------------------------- + Package org.apache.log4j.xml + ---------------------------- + + The DOMConfigurator is based on the DOM Level 1 API. The + DOMConfigurator.configure(Element) method will work with any + XML parser that will pass it a DOM tree. + + The DOMConfigurator.configure(String filename) method and its variants + require a JAXP compatible XMLparser, for example the Apache Xerces + parser. Compiling the DOMConfigurator requires the presence of a + JAXP parser in the classpath. + + ------------ + SMTPAppender + ------------ + + The SMTPAppender relies on the JavaMail API. It has been tested with + JavaMail API version 1.2. The JavaMail API requires the + JavaBeans Activation Framework package. You can download the + JavaMail API at: + + http://java.sun.com/products/javamail/ + + or just apt-get install libgnumail-java in Debian :-) + + -- Benoit Joly , Sat Apr 12 18:36:10 2003 --- jakarta-ecs-1.4.2.orig/debian/control +++ jakarta-ecs-1.4.2/debian/control @@ -0,0 +1,15 @@ +Source: jakarta-ecs +Section: java +Priority: optional +Maintainer: Debian QA Group +Build-Depends: debhelper (>= 5), cdbs, default-jdk, ant, libregexp-java +Standards-Version: 3.8.4 +Homepage: http://jakarta.apache.org/ecs + +Package: libjakarta-ecs-java +Architecture: all +Depends: default-jre-headless | java2-runtime-headless, libregexp-java, ${misc:Depends} +Description: Element construction set for various markup languages + Generation API directly supports HTML 4.0 and XML, but can easily be + extended to create tags for any markup language. Documents are created + through native Java objects instead of gegnerating the markup directly. --- jakarta-ecs-1.4.2.orig/build/build-ecs.xml +++ jakarta-ecs-1.4.2/build/build-ecs.xml @@ -39,7 +39,7 @@ - + --- jakarta-ecs-1.4.2.orig/src/java/org/apache/ecs/ElementAttributes.java +++ jakarta-ecs-1.4.2/src/java/org/apache/ecs/ElementAttributes.java @@ -342,12 +342,12 @@ } out.append(getElementType()); - Enumeration enum = getElementHashEntry().keys(); + Enumeration enumerate = getElementHashEntry().keys(); String value = null; // avoid creating a new string object on each pass through the loop - while (enum.hasMoreElements()) + while (enumerate.hasMoreElements()) { - String attr = (String) enum.nextElement(); + String attr = (String) enumerate.nextElement(); if(getAttributeFilterState()) { value = getAttributeFilter().process(getElementHashEntry().get(attr).toString()); --- jakarta-ecs-1.4.2.orig/src/java/org/apache/ecs/ConcreteElement.java +++ jakarta-ecs-1.4.2/src/java/org/apache/ecs/ConcreteElement.java @@ -319,11 +319,11 @@ if(ce.getTagText() != null) out.write(ce.getTagText().getBytes(encoding)); - Enumeration enum = ce.registryList.elements(); + Enumeration enumerate = ce.registryList.elements(); - while(enum.hasMoreElements()) + while(enumerate.hasMoreElements()) { - Object obj = ce.registry.get((String)enum.nextElement()); + Object obj = ce.registry.get((String)enumerate.nextElement()); if(obj instanceof GenericElement) { Element e = (Element)obj; @@ -435,10 +435,10 @@ if(getTagText() != null) out.write(getTagText()); - Enumeration enum = registryList.elements(); - while(enum.hasMoreElements()) + Enumeration enumerate = registryList.elements(); + while(enumerate.hasMoreElements()) { - Object obj = registry.get((String)enum.nextElement()); + Object obj = registry.get((String)enumerate.nextElement()); if(obj instanceof GenericElement) { Element e = (Element)obj; --- jakarta-ecs-1.4.2.orig/src/java/org/apache/ecs/vxml/TestBed2.java +++ jakarta-ecs-1.4.2/src/java/org/apache/ecs/vxml/TestBed2.java @@ -158,12 +158,12 @@ Menu menu3 = new Menu("true"); Prompt prompt2 = new Prompt("Welcome Home"); - Enumerate enum = new Enumerate(); - enum.addElement("For "); - enum.addElement(new Value("_prompt")); - enum.addElement(", press "); - enum.addElement(new Value("_dtmf")); - prompt2.addElement(enum); + Enumerate enumerate = new Enumerate(); + enumerate.addElement("For "); + enumerate.addElement(new Value("_prompt")); + enumerate.addElement(", press "); + enumerate.addElement(new Value("_dtmf")); + prompt2.addElement(enumerate); menu3.addElement(prompt2); Choice choice1 = new Choice("http://www.sports.example/vxml/start.vxml"); Choice choice2 = new Choice("http://www.weather.example/intro.vxml"); --- jakarta-ecs-1.4.2.orig/src/java/org/apache/ecs/html/A.java +++ jakarta-ecs-1.4.2/src/java/org/apache/ecs/html/A.java @@ -462,13 +462,13 @@ */ public boolean getNeedLineBreak() { - java.util.Enumeration enum = elements(); + java.util.Enumeration enumerate = elements(); int i=0; int j=0; - while(enum.hasMoreElements()) + while(enumerate.hasMoreElements()) { j++; - Object obj = enum.nextElement(); + Object obj = enumerate.nextElement(); if( obj instanceof IMG ) i++; } --- jakarta-ecs-1.4.2.orig/src/java/org/apache/ecs/html/TD.java +++ jakarta-ecs-1.4.2/src/java/org/apache/ecs/html/TD.java @@ -468,13 +468,13 @@ */ public boolean getNeedLineBreak() { - java.util.Enumeration enum = elements(); + java.util.Enumeration enumerate = elements(); int i=0; int j=0; - while(enum.hasMoreElements()) + while(enumerate.hasMoreElements()) { j++; - Object obj = enum.nextElement(); + Object obj = enumerate.nextElement(); if( obj instanceof IMG || obj instanceof A ) i++; } --- jakarta-ecs-1.4.2.orig/src/java/org/apache/ecs/html/Select.java +++ jakarta-ecs-1.4.2/src/java/org/apache/ecs/html/Select.java @@ -219,10 +219,10 @@ public Select selectOption(int option) { - Enumeration enum = keys(); - for(int x = 0; enum.hasMoreElements(); x++) + Enumeration enumerate = keys(); + for(int x = 0; enumerate.hasMoreElements(); x++) { - ConcreteElement element = (ConcreteElement)getElement((String)enum.nextElement()); + ConcreteElement element = (ConcreteElement)getElement((String)enumerate.nextElement()); if(x == option) { ((Option)element).setSelected(true); --- jakarta-ecs-1.4.2.orig/src/java/org/apache/ecs/xml/XML.java +++ jakarta-ecs-1.4.2/src/java/org/apache/ecs/xml/XML.java @@ -193,13 +193,13 @@ public boolean getNeedLineBreak() { boolean linebreak = true; - java.util.Enumeration enum = elements(); + java.util.Enumeration enumerate = elements(); // if this tag has one child, and it's a String, then don't // do any linebreaks to preserve whitespace - while (enum.hasMoreElements()) { - Object obj = enum.nextElement(); + while (enumerate.hasMoreElements()) { + Object obj = enumerate.nextElement(); if (obj instanceof StringElement) { linebreak = false; break; --- jakarta-ecs-1.4.2.orig/src/java/org/apache/ecs/filter/RegexpFilter.java +++ jakarta-ecs-1.4.2/src/java/org/apache/ecs/filter/RegexpFilter.java @@ -118,10 +118,10 @@ } String substituteIn = to_process; - Enumeration enum = keys(); + Enumeration enumerate = keys(); - while (enum.hasMoreElements()) { - RE r = (RE)enum.nextElement(); + while (enumerate.hasMoreElements()) { + RE r = (RE)enumerate.nextElement(); String substitution = (String)get(r); substituteIn = r.subst(substituteIn, substitution); } --- jakarta-ecs-1.4.2.orig/src/java/org/apache/ecs/xhtml/a.java +++ jakarta-ecs-1.4.2/src/java/org/apache/ecs/xhtml/a.java @@ -472,13 +472,13 @@ */ public boolean getNeedLineBreak() { - java.util.Enumeration enum = elements(); + java.util.Enumeration enumerate = elements(); int i=0; int j=0; - while(enum.hasMoreElements()) + while(enumerate.hasMoreElements()) { j++; - Object obj = enum.nextElement(); + Object obj = enumerate.nextElement(); if( obj instanceof img ) i++; } --- jakarta-ecs-1.4.2.orig/src/java/org/apache/ecs/xhtml/td.java +++ jakarta-ecs-1.4.2/src/java/org/apache/ecs/xhtml/td.java @@ -466,13 +466,13 @@ */ public boolean getNeedLineBreak() { - java.util.Enumeration enum = elements(); + java.util.Enumeration enumerate = elements(); int i=0; int j=0; - while(enum.hasMoreElements()) + while(enumerate.hasMoreElements()) { j++; - Object obj = enum.nextElement(); + Object obj = enumerate.nextElement(); if( obj instanceof img || obj instanceof a ) i++; }