This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository jakarta-ecs.
commit 03d1bbdbb5ac9db07ad1bb2831a4efb2add2cbbb Author: Emmanuel Bourg <[email protected]> Date: Thu Mar 6 17:47:07 2014 +0100 Import the debian directory from jakarta-ecs/1.4.2-2 --- debian/README.Debian | 70 ++++++++++++++++++++++++++++++++++++ debian/README.Debian-source | 8 +++++ debian/changelog | 44 +++++++++++++++++++++++ debian/compat | 1 + debian/control | 15 ++++++++ debian/copyright | 65 +++++++++++++++++++++++++++++++++ debian/dirs | 1 + debian/liblog4j1.2-java-doc.doc-base | 10 ++++++ debian/liblog4j1.2-java-doc.docs | 1 + debian/orig-tar.sh | 21 +++++++++++ debian/rules | 23 ++++++++++++ debian/watch | 2 ++ 12 files changed, 261 insertions(+) diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..2204c21 --- /dev/null +++ b/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 <[email protected]>, Sat Apr 12 18:36:10 2003 diff --git a/debian/README.Debian-source b/debian/README.Debian-source new file mode 100644 index 0000000..535d85f --- /dev/null +++ b/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 <[email protected]>, Wed, 26 Sep 2007 13:03:52 +0530 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..cf8ba1b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,44 @@ +jakarta-ecs (1.4.2-2) unstable; urgency=low + + * Package orphaned. + + -- Kalle Kivimaa <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Fri, 24 Oct 2008 17:35:01 +0300 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f8e142d --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: jakarta-ecs +Section: java +Priority: optional +Maintainer: Debian QA Group <[email protected]> +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c9e492d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,65 @@ +Distributed under Apache Software License, Version 1.1. + +Idea, design and code: Stephan Nagy <[email protected]> + Jon S. Stevens <[email protected]> + +Contributions: Vadim Tkachenko <[email protected]> + 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 [email protected]. + * + * 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 + * <http://www.apache.org/>. + * + */ diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..13c9f03 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +usr/share/java diff --git a/debian/liblog4j1.2-java-doc.doc-base b/debian/liblog4j1.2-java-doc.doc-base new file mode 100644 index 0000000..890cd0b --- /dev/null +++ b/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 diff --git a/debian/liblog4j1.2-java-doc.docs b/debian/liblog4j1.2-java-doc.docs new file mode 100644 index 0000000..d8f8d46 --- /dev/null +++ b/debian/liblog4j1.2-java-doc.docs @@ -0,0 +1 @@ +docs diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh new file mode 100644 index 0000000..dca9663 --- /dev/null +++ b/debian/orig-tar.sh @@ -0,0 +1,21 @@ +#!/bin/sh -e + +# called by uscan with '--upstream-version' <version> <file> +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 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..83a60c0 --- /dev/null +++ b/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 diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..09cca86 --- /dev/null +++ b/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 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jakarta-ecs.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

