--- jakarta-log4j-1.2.15.orig/debian/orig-tar.sh +++ jakarta-log4j-1.2.15/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-log4j-1.2.15.orig/debian/changelog +++ jakarta-log4j-1.2.15/debian/changelog @@ -0,0 +1,231 @@ +jakarta-log4j (1.2.15-9ubuntu2) lucid; urgency=low + + * debian/control: Switch from libjboss-jmx-java (universe) to + libmx4j-java (main) to keep log4j in main (LP: #522558) + + -- Thierry Carrez Tue, 16 Feb 2010 11:54:21 +0100 + +jakarta-log4j (1.2.15-9ubuntu1) lucid; urgency=low + + * Merge with Debian; remaining changes: + + -- Matthias Klose Thu, 28 Jan 2010 10:18:53 +0100 + +jakarta-log4j (1.2.15-9) unstable; urgency=low + + * Added libjboss-jmx-java to suggests: + + -- Thomas Koch Thu, 14 Jan 2010 15:51:45 +0100 + +jakarta-log4j (1.2.15-8) unstable; urgency=low + + * Build with jmx support + + -- Thomas Koch Tue, 12 Jan 2010 11:02:21 +0100 + +jakarta-log4j (1.2.15-7ubuntu1) lucid; urgency=low + + * Merge from debian testing, remaining changes: + - debian/control: Only suggest -java-gcj on selected architectures, and + build liblog4j1.2-java architecture "any" to have it work + + -- Thierry Carrez Tue, 10 Nov 2009 11:46:42 +0100 + +jakarta-log4j (1.2.15-7) unstable; urgency=low + + * Upload to unstable + + -- Torsten Werner Sun, 09 Aug 2009 11:25:57 +0200 + +jakarta-log4j (1.2.15-6) experimental; urgency=low + + [ Ludovic Claude ] + * Add the Maven POM to the package + * Add a Build-Depends dependency on maven-repo-helper + * Move API documentation to /usr/share/doc/liblog4j1.2-java/api + + [ Torsten Werner ] + * Fix doc-base file. + + -- Torsten Werner Sun, 02 Aug 2009 21:51:13 +0200 + +jakarta-log4j (1.2.15-5) unstable; urgency=low + + * Add myself to Uploaders. + * Do no longer quote the full text of the Apache-2.0 license. + * Add missing Depends: ${misc:Depends}. + * Change Section: java. + * Update Standards-Version: 3.8.2 (no changes). + * Fix spelling api -> API. + + -- Torsten Werner Thu, 30 Jul 2009 18:24:10 +0200 + +jakarta-log4j (1.2.15-4ubuntu1) karmic; urgency=low + + * debian/control: Only suggest -java-gcj on selected architectures, and + build liblog4j1.2-java architecture "any" to have it work (LP: #386307) + + -- Thierry Carrez Fri, 24 Jul 2009 14:36:12 +0200 + +jakarta-log4j (1.2.15-4) unstable; urgency=low + + * liblog4j-java: Depend on default-jre-headless as the preferred runtime, + keep the existing alternatives for now. + + -- Matthias Klose Mon, 04 Aug 2008 23:55:26 +0200 + +jakarta-log4j (1.2.15-3) unstable; urgency=medium + + * debian/control: + + Use default-java-jdk in place of java-gcj-compat-dev. + (Closes: #477866) + + Switch to use Varun and Kumar's debian.org addresses. + + Standards version is now 3.7.3 (No changes needed). + + Use Vcs-Broswer and Vcs-Svn in place of XS-Vcs-*. + * debian/rules: + + Switch JAVA_HOME location to /usr/lib/jvm/default-java. + * debian/copright: + + Update to UTF-8, and add a copyright for the Apache Software + Foundartion. + + -- Kumar Appaiah Sun, 27 Apr 2008 17:35:01 +0530 + +jakarta-log4j (1.2.15-2) unstable; urgency=low + + [ Matthias Klose ] + * Really build the native jars, don't ship an empty package. Closes: #453941. + + -- Kumar Appaiah Sun, 02 Dec 2007 20:24:35 +0530 + +jakarta-log4j (1.2.15-1) unstable; urgency=low + + [ Kumar Appaiah ] + * New upstream release. + * debian/compat: bumped to 5. + * debian/watch: Added file. + * debian/control: + + Added Kumar Appaiah and Varun Hiremath to Uploaders. + + Moved all build dependencencies to Build-Depends. + + Depend on cdbs. + + Added Homepage, XS-Vcs-Svn and XS-Vcs-Browser fields. + * debian/liblog4j1.2-java-doc.doc-base: Specigy API doc location. + * debian/liblog4j1.2-java.links: Removed. Functionality in debian/rules. + * debian/orig-tar.sh: Added to ease repackaging. + * debian/README.Debian-source: Added to explain repackaging. + * debian/patches/01_build_fix.patch: Fix javadoc issues and compiler target versions. + * debian/rules: + + Move to cdbs. + + Ensure we build native jars. + + Ensure the generated docs are removed to prevent an FTBFS on successive builds. + + [ Varun Hiremath ] + * Ensure upstream javadocs are removed while repackaging. + + -- Varun Hiremath Fri, 28 Sep 2007 15:30:56 +0530 + +jakarta-log4j (1.2.13-5) unstable; urgency=low + + * Rename source package. Closes: #308339. + * Updated Standard-Version to 3.7.2. + + -- Michael Koch Sun, 15 Jul 2007 15:35:02 +0200 + +jakarta-log4j1.2 (1.2.13-4) unstable; urgency=low + + * Build a liblog4j1.2-java-gcj package. Closes: #427243. + * Updated package descriptions. + * Removed Wolfgang and added myself to Uploaders. + + -- Michael Koch Sat, 30 Jun 2007 10:45:43 -0100 + +jakarta-log4j1.2 (1.2.13-3) unstable; urgency=low + + * Build using java-gcj-compat-dev (merged from Ubuntu). + + -- Matthias Klose Fri, 8 Dec 2006 10:45:35 +0100 + +jakarta-log4j1.2 (1.2.13-2) unstable; urgency=low + + * Added binary-arch build target (noop) (closes: #395615) + + -- Kalle Kivimaa Sat, 28 Oct 2006 08:30:00 +0300 + +jakarta-log4j1.2 (1.2.13-1) unstable; urgency=low + + * New upstream release + * kaffe compiler transition + * Remove build dependencies on libcrimson-java, libjaxp1.2-java (not needed) + * Build javadoc from source + * Updated README.Debian to what we actually build + + -- Wolfgang Baer Wed, 18 Jan 2006 17:33:47 +0100 + +jakarta-log4j1.2 (1.2.12-1) unstable; urgency=low + + * New upstream release (closes: #328253) + + Apache License 2.0 - updated debian/copyright + * Use kaffe for building instead of jikes alone + Fixes the FTBS (closes: #334634) + * Remove useless parts from README.Debian + * Standards-Version 3.6.2 (no changes) + * Don't depend on java-common + * Remove outdated log4j 1.1 section from description + * Register manual with doc-base + * Add myself to uploaders + + -- Wolfgang Baer Fri, 28 Oct 2005 21:52:06 +0200 + +jakarta-log4j1.2 (1.2.9-1) unstable; urgency=low + + * New upstream version (differs from 1.2.8 only in that some methods + are deprecated in preparation for 1.3) + * Javadocs are now retained from the upstream distribution. + This is just a temporary measure until gjdoc works (closes: #265746) + + -- Kalle Kivimaa Sat, 13 Nov 2004 16:00:00 +0200 + +jakarta-log4j1.2 (1.2.8-7) unstable; urgency=high + + * Javadocs are now correctly generated (closes: #265746) + + -- Kalle Kivimaa Sun, 15 Aug 2004 15:00:00 +0300 + +jakarta-log4j1.2 (1.2.8-6) unstable; urgency=high + + * rules script now correctly includes log4j.dtd (closes: #265704) + * Bogus libmx4j-java classes removed from jikes classpath (closes: #265710) + + -- Kalle Kivimaa Sat, 14 Aug 2004 18:00:00 +0300 + +jakarta-log4j1.2 (1.2.8-5) unstable; urgency=low + + * rules script was missing two removes related to bug #221236. + + -- Kalle Kivimaa Fri, 13 Aug 2004 12:30:00 +0300 + +jakarta-log4j1.2 (1.2.8-4) unstable; urgency=low + + * Builds from source (closes: #221236) (removed chainsaw and lf5 + parts, these will be available in liblog4j1.2-contrib-java) + * Adopted the package to pkg-java-maintainers (closes: #263869) + + -- Kalle Kivimaa Fri, 13 Aug 2004 11:00:00 +0300 + +jakarta-log4j1.2 (1.2.8-3) unstable; urgency=low + + * Changed section from contrib to main. (closes: #237362, #230441) + * Modified depends to depend on java1-runtime or java2-runtime. + + -- Benoit Joly Sat, 27 Mar 2004 15:42:06 -0500 + +jakarta-log4j1.2 (1.2.8-2) unstable; urgency=low + + * New description. + + -- Benoit Joly Wed, 23 Apr 2003 00:14:26 -0400 + +jakarta-log4j1.2 (1.2.8-1) unstable; urgency=low + + * New package for version 1.2 of the log4j API. (closes: #188708) + + -- Benoit Joly Thu, 10 Apr 2003 00:03:47 -0400 --- jakarta-log4j-1.2.15.orig/debian/README.Debian +++ jakarta-log4j-1.2.15/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-log4j-1.2.15.orig/debian/liblog4j1.2-java-doc.install +++ jakarta-log4j-1.2.15/debian/liblog4j1.2-java-doc.install @@ -0,0 +1 @@ +docs/api usr/share/doc/liblog4j1.2-java --- jakarta-log4j-1.2.15.orig/debian/rules +++ jakarta-log4j-1.2.15/debian/rules @@ -0,0 +1,35 @@ +#!/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 + +# Decide whether we need native jars. +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) +include /usr/share/gcj/debian_defaults +ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs))) + with_gcj_native := yes +endif + +PACKAGE := $(DEB_SOURCE_PACKAGE) +VERSION := $(DEB_UPSTREAM_VERSION) +JAVA_HOME := /usr/lib/jvm/default-java +ANT_HOME := /usr/share/ant +DEB_JARS := gnumail activation +DEB_ANT_BUILD_TARGET := jar javadoc + +clean:: + -$(RM) -r docs + -rm -rf debian/tmp + +install/liblog4j1.2-java:: + mh_installpoms -pliblog4j1.2-java + mh_installjar -pliblog4j1.2-java -l --usj-name=log4j-1.2 pom.xml dist/lib/log4j-$(VERSION).jar + +ifeq ($(with_gcj_native),yes) +install/liblog4j1.2-java-gcj:: install/liblog4j1.2-java + dh_nativejava -pliblog4j1.2-java-gcj +endif + +get-orig-source: + -uscan --upstream-version 0 --- jakarta-log4j-1.2.15.orig/debian/watch +++ jakarta-log4j-1.2.15/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-log4j-1.2.15.orig/debian/copyright +++ jakarta-log4j-1.2.15/debian/copyright @@ -0,0 +1,44 @@ +This package was debianized by Benoit Joly on +Sat Apr 12 2003 18:32:20 -0400. + +It was downloaded from: + http://logging.apache.org/log4j/1.2/download.html + +Upstream Authors: + Copyright (C) 1999-2007, The Apache Software Foundation + Contributors: + Mathias Bogaert + James P. Cakalic + Paul Glezen + Ceki Gülcü + Anders Kristensen + Jim Moore + Jon Skeet + Chris Taylor + +For more details about the upstream authors, see: http://jakarta.apache.org/log4j/docs/contributors.html + +License: Apache-2.0 + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +The full text of the license can be found in +`/usr/share/common-licenses/Apache-2.0'. + +Debian packaging: (C) 2001 - 2004, Benoit Joly + (C) 2005 - 2007, Kalle Kivimaa + (C) 2005 - 2007, Wolfgang Baer , Michael Koch + (C) 2007 Varun Hiremath , Kumar Appaiah + +The Debian packaging of this package is licensed under the Apache +Software License 2.0 (see above). --- jakarta-log4j-1.2.15.orig/debian/README.Debian-source +++ jakarta-log4j-1.2.15/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-log4j-1.2.15.orig/debian/liblog4j1.2-java-doc.doc-base +++ jakarta-log4j-1.2.15/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/api/index.html +Files: /usr/share/doc/liblog4j1.2-java/api/*.html --- jakarta-log4j-1.2.15.orig/debian/dirs +++ jakarta-log4j-1.2.15/debian/dirs @@ -0,0 +1 @@ +usr/share/java --- jakarta-log4j-1.2.15.orig/debian/compat +++ jakarta-log4j-1.2.15/debian/compat @@ -0,0 +1 @@ +5 --- jakarta-log4j-1.2.15.orig/debian/maven.rules +++ jakarta-log4j-1.2.15/debian/maven.rules @@ -0,0 +1,3 @@ +s/ant/org.apache.ant/ * * s/.*/debian/ * +log4j log4j jar s/1\.2\..*/1.2.x/ + --- jakarta-log4j-1.2.15.orig/debian/liblog4j1.2-java.poms +++ jakarta-log4j-1.2.15/debian/liblog4j1.2-java.poms @@ -0,0 +1 @@ +pom.xml --- jakarta-log4j-1.2.15.orig/debian/control +++ jakarta-log4j-1.2.15/debian/control @@ -0,0 +1,74 @@ +Source: jakarta-log4j +Section: java +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Java Maintainers +Uploaders: Kalle Kivimaa , Michael Koch , Varun Hiremath , Kumar Appaiah , Torsten Werner , Thomas Koch +Build-Depends: debhelper (>= 5), cdbs, default-jdk-builddep, ant, libgnujaf-java, + libgnumail-java, maven-repo-helper, openjdk-6-doc, libmx4j-java +Standards-Version: 3.8.3 +Homepage: http://jakarta.apache.org/log4j +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/jakarta-log4j +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/jakarta-log4j + +Package: liblog4j1.2-java +Architecture: any +Depends: java-common, default-jre-headless | java2-runtime-headless | java1-runtime-headless | java2-runtime | java1-runtime, ${misc:Depends} +Recommends: liblog4j1.2-java-gcj [arm ia64 powerpc] +Suggests: liblog4j1.2-java-gcj [!arm !ia64 !powerpc], libgnumail-java, libmx4j-java +Description: Logging library for java + log4j is a tool to help the programmer output log statements to a variety of + output targets. + . + It is possible to enable logging at runtime without modifying the application + binary. The log4j package is designed so that log statements can remain in + shipped code without incurring a high performance cost. + . + One of the distinctive features of log4j is the notion of hierarchical + loggers. Using loggers it is possible to selectively control which log + statements are output at arbitrary granularity. + . + Log4j can output to: a file, a rolling file, a database with a JDBC driver, + many ouput asynchronously, a JMS Topic, a swing based logging console, + the NT event log, /dev/null, a SMTP server (using javamail), a socket server, + syslog, telnet daemon and stdout. + . + The format of the output can be defined using one of the various layout + (or user defined layout) like: simple text, html, date, pattern defined and + XML. + +Package: liblog4j1.2-java-gcj +Architecture: any +Section: libs +Depends: liblog4j1.2-java (>= ${source:Version}), ${misc:Depends}, ${shlibs:Depends} +Description: Logging library for java (native code) + log4j is a tool to help the programmer output log statements to a variety of + output targets. + . + It is possible to enable logging at runtime without modifying the application + binary. The log4j package is designed so that log statements can remain in + shipped code without incurring a high performance cost. + . + One of the distinctive features of log4j is the notion of hierarchical + loggers. Using loggers it is possible to selectively control which log + statements are output at arbitrary granularity. + . + Log4j can output to: a file, a rolling file, a database with a JDBC driver, + many ouput asynchronously, a JMS Topic, a swing based logging console, + the NT event log, /dev/null, a SMTP server (using javamail), a socket server, + syslog, telnet daemon and stdout. + . + The format of the output can be defined using one of the various layout + (or user defined layout) like: simple text, html, date, pattern defined and + XML. + . + This package contains the natively compiled code for use by gij. + +Package: liblog4j1.2-java-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, openjdk-6-doc | classpath-doc +Description: Documentation for liblog4j1.2-java + The javadoc API documentation for the logging library + from the Apache Jakarta project. The documentation is + for the version 1.2 of the log4j API. --- jakarta-log4j-1.2.15.orig/debian/patches/01_build_fix.patch +++ jakarta-log4j-1.2.15/debian/patches/01_build_fix.patch @@ -0,0 +1,55 @@ +--- jakarta-log4j-1.2.15/build.xml.orig 2010-01-07 20:14:49.000000000 +0100 ++++ jakarta-log4j-1.2.15/build.xml 2010-01-08 15:35:21.000000000 +0100 +@@ -97,8 +97,8 @@ + + + +- +- ++ ++ + + + +@@ -166,13 +166,13 @@ + + +- ++ + + + +@@ -336,7 +336,7 @@ + + +- +- + + +