[pkg-java] r13002 - in trunk: . apache-log4j1.2 apache-log4j1.2/debian apache-log4j1.2/debian/patches apache-log4j1.2/debian/source
Ludovic Claude
ludovicc-guest at alioth.debian.org
Tue Sep 28 21:18:31 UTC 2010
Author: ludovicc-guest
Date: 2010-09-28 21:18:24 +0000 (Tue, 28 Sep 2010)
New Revision: 13002
Added:
trunk/apache-log4j1.2/
trunk/apache-log4j1.2/debian/
trunk/apache-log4j1.2/debian/README.Debian
trunk/apache-log4j1.2/debian/README.Debian-source
trunk/apache-log4j1.2/debian/changelog
trunk/apache-log4j1.2/debian/compat
trunk/apache-log4j1.2/debian/control
trunk/apache-log4j1.2/debian/copyright
trunk/apache-log4j1.2/debian/dirs
trunk/apache-log4j1.2/debian/liblog4j1.2-java-doc.doc-base
trunk/apache-log4j1.2/debian/liblog4j1.2-java-doc.install
trunk/apache-log4j1.2/debian/liblog4j1.2-java.poms
trunk/apache-log4j1.2/debian/log4j.bnd
trunk/apache-log4j1.2/debian/maven.ignoreRules
trunk/apache-log4j1.2/debian/maven.rules
trunk/apache-log4j1.2/debian/orig-tar.sh
trunk/apache-log4j1.2/debian/patches/
trunk/apache-log4j1.2/debian/patches/build_fix.patch
trunk/apache-log4j1.2/debian/patches/series
trunk/apache-log4j1.2/debian/rules
trunk/apache-log4j1.2/debian/source/
trunk/apache-log4j1.2/debian/source/format
trunk/apache-log4j1.2/debian/watch
Log:
* Initial release
Added: trunk/apache-log4j1.2/debian/README.Debian
===================================================================
--- trunk/apache-log4j1.2/debian/README.Debian (rev 0)
+++ trunk/apache-log4j1.2/debian/README.Debian 2010-09-28 21:18:24 UTC (rev 13002)
@@ -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 <benoit at kaitain.dune.local>, Sat Apr 12 18:36:10 2003
Added: trunk/apache-log4j1.2/debian/README.Debian-source
===================================================================
--- trunk/apache-log4j1.2/debian/README.Debian-source (rev 0)
+++ trunk/apache-log4j1.2/debian/README.Debian-source 2010-09-28 21:18:24 UTC (rev 13002)
@@ -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 <akumar at ee.iitm.ac.in>, Wed, 26 Sep 2007 13:03:52 +0530
Added: trunk/apache-log4j1.2/debian/changelog
===================================================================
--- trunk/apache-log4j1.2/debian/changelog (rev 0)
+++ trunk/apache-log4j1.2/debian/changelog 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1,255 @@
+apache-log4j1.2 (1.2.16-1) experimental; urgency=low
+
+ * Add myself to uploaders
+ * Rename source package to apache-log4j1.2 (Closes: #598007)
+ * d/maven.rules: use * instead of jar to match log4j, as
+ version 1.2.16 has a pom type of 'bundle' and this
+ means that the version installed in the Maven repository
+ is 'debian' instead of '1.2.x'
+ * d/control: update Homepage to reflect the new location of log4j
+ * include OSGi metadata in the jar, add Build-Depends on bnd
+
+ -- Ludovic Claude <ludovic.claude at laposte.net> Sun, 26 Sep 2010 22:24:25 +0200
+
+jakarta-log4j (1.2.16-1) experimental; urgency=low
+
+ * New upstream release
+ * debian/control:
+ + Standards version is now 3.9.1 (No changes needed).
+ + Recommends: liblog4j1.2-java-gcj downgraded to Suggests
+ (Closes: #583260)
+ + Add Suggests on liblog4j1.2-java-doc
+ * Remove pom.xml.patch, changes applied upstream,
+ refresh build.xml.patch
+
+ -- Ludovic Claude <ludovic.claude at laposte.net> Fri, 14 May 2010 00:11:30 +0200
+
+jakarta-log4j (1.2.15-11) unstable; urgency=low
+
+ * Team upload.
+ * Move the patches to quilt, add a Build-Depends on quilt
+ * JMX package is built and patch from Thomas Koch has been applied
+ with changes (Closes: #503837)
+ * Use default-jdk-doc instead of classpath-doc/openjdk-6-doc
+ (Closes: #567275)
+ * Remove dependencies on all java runtimes and java-common
+ (Closes: #576737)
+ * Source format 3.0 (quilt)
+ - removed quilt as build dependency
+ - removed include patchsys-quilt.mk in d/rules
+
+ -- Ludovic Claude <ludovic.claude at laposte.net> Mon, 05 Apr 2010 16:30:15 +0200
+
+jakarta-log4j (1.2.15-10) unstable; urgency=low
+
+ * Fixed Maven support (Closes: #571046)
+ - d/m.ignoreRules: added JMX stuff
+ - pom.xml patch : javax.jms and java.mail set as optional
+ * Standards-Version to 3.8.4
+ * debhelper compat to 7
+
+ -- Gabriele Giacone <1o5g4r8o at gmail.com> Wed, 24 Feb 2010 02:33:46 +0100
+
+jakarta-log4j (1.2.15-9) unstable; urgency=low
+
+ * Added libjboss-jmx-java to suggests:
+
+ -- Thomas Koch <thomas.koch at ymc.ch> Thu, 14 Jan 2010 15:51:45 +0100
+
+jakarta-log4j (1.2.15-8) unstable; urgency=low
+
+ * Build with jmx support
+
+ -- Thomas Koch <thomas.koch at ymc.ch> Tue, 12 Jan 2010 11:02:21 +0100
+
+jakarta-log4j (1.2.15-7) unstable; urgency=low
+
+ * Upload to unstable
+
+ -- Torsten Werner <twerner at debian.org> 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 <twerner at debian.org> 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 <twerner at debian.org> Thu, 30 Jul 2009 18:24:10 +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 <doko at debian.org> 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 <akumar at debian.org> 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 <akumar at ee.iitm.ac.in> 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 <varunhiremath at gmail.com> 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 <konqueror at gmx.de> 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 <konqueror at gmx.de> 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 <doko at debian.org> 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 <killer at debian.org> 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 <WBaer at gmx.de> 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 <WBaer at gmx.de> 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 <killer at debian.org> 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 <killer at debian.org> 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 <killer at debian.org> 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 <killer at debian.org> 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 <killer at debian.org> 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 <benoit at debian.org> Sat, 27 Mar 2004 15:42:06 -0500
+
+jakarta-log4j1.2 (1.2.8-2) unstable; urgency=low
+
+ * New description.
+
+ -- Benoit Joly <benoit at debian.org> 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 <benoit at debian.org> Thu, 10 Apr 2003 00:03:47 -0400
Added: trunk/apache-log4j1.2/debian/compat
===================================================================
--- trunk/apache-log4j1.2/debian/compat (rev 0)
+++ trunk/apache-log4j1.2/debian/compat 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1 @@
+7
Added: trunk/apache-log4j1.2/debian/control
===================================================================
--- trunk/apache-log4j1.2/debian/control (rev 0)
+++ trunk/apache-log4j1.2/debian/control 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1,72 @@
+Source: apache-log4j1.2
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Kalle Kivimaa <killer at debian.org>, Michael Koch <konqueror at gmx.de>, Varun Hiremath <varun at debian.org>, Kumar Appaiah <akumar at debian.org>, Torsten Werner <twerner at debian.org>, Thomas Koch <thomas.koch at ymc.ch>, Ludovic Claude <ludovic.claude at laposte.net>
+Build-Depends: debhelper (>= 7), cdbs, default-jdk-builddep, ant, libgnujaf-java,
+ libgnumail-java, maven-repo-helper, default-jdk-doc, libjboss-jmx-java, bnd
+Standards-Version: 3.9.1
+Homepage: http://logging.apache.org/log4j/1.2/
+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: all
+Depends: ${misc:Depends}
+Suggests: liblog4j1.2-java-gcj, liblog4j1.2-java-doc, libgnumail-java, libjboss-jmx-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}, default-jdk-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.
Added: trunk/apache-log4j1.2/debian/copyright
===================================================================
--- trunk/apache-log4j1.2/debian/copyright (rev 0)
+++ trunk/apache-log4j1.2/debian/copyright 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1,44 @@
+This package was debianized by Benoit Joly <benoit at debian.org> 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 <benoit at debian.org>
+ (C) 2005 - 2007, Kalle Kivimaa <killer at debian.org>
+ (C) 2005 - 2007, Wolfgang Baer <WBaer at gmx.de>, Michael Koch <konqueror at gmx.de>
+ (C) 2007 Varun Hiremath <varunhiremath at gmail.com>, Kumar Appaiah <akumar at ee.iitm.ac.in>
+
+The Debian packaging of this package is licensed under the Apache
+Software License 2.0 (see above).
Added: trunk/apache-log4j1.2/debian/dirs
===================================================================
--- trunk/apache-log4j1.2/debian/dirs (rev 0)
+++ trunk/apache-log4j1.2/debian/dirs 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1 @@
+usr/share/java
Added: trunk/apache-log4j1.2/debian/liblog4j1.2-java-doc.doc-base
===================================================================
--- trunk/apache-log4j1.2/debian/liblog4j1.2-java-doc.doc-base (rev 0)
+++ trunk/apache-log4j1.2/debian/liblog4j1.2-java-doc.doc-base 2010-09-28 21:18:24 UTC (rev 13002)
@@ -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
Added: trunk/apache-log4j1.2/debian/liblog4j1.2-java-doc.install
===================================================================
--- trunk/apache-log4j1.2/debian/liblog4j1.2-java-doc.install (rev 0)
+++ trunk/apache-log4j1.2/debian/liblog4j1.2-java-doc.install 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1 @@
+docs/api usr/share/doc/liblog4j1.2-java
Added: trunk/apache-log4j1.2/debian/liblog4j1.2-java.poms
===================================================================
--- trunk/apache-log4j1.2/debian/liblog4j1.2-java.poms (rev 0)
+++ trunk/apache-log4j1.2/debian/liblog4j1.2-java.poms 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1 @@
+pom.xml
Added: trunk/apache-log4j1.2/debian/log4j.bnd
===================================================================
--- trunk/apache-log4j1.2/debian/log4j.bnd (rev 0)
+++ trunk/apache-log4j1.2/debian/log4j.bnd 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1,8 @@
+version=VERSION
+Export-Package: !org.apache.log4j.lf5.*,!org.apache.log4j.chainsaw.*,org.apache.log4j.*
+Import-Package: com.sun.jdmk.comm;resolution:=optional,javax.jms;resolution:=optional,javax.mail.*;resolution:=optional,javax.management;resolution:=optional,javax.naming;resolution:=optional,com.sun.jdmk.comm;resolution:=optional,com.ibm.uvm.tools;resolution:=optional,javax.swing.*;resolution:=optional,*
+Bundle-Version: ${version}
+Bundle-Description: Apache Log4j 1.2
+Bundle-Name: org.apache.log4j
+Bundle-DocURL: http://logging.apache.org/log4j/1.2
+Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
Added: trunk/apache-log4j1.2/debian/maven.ignoreRules
===================================================================
--- trunk/apache-log4j1.2/debian/maven.ignoreRules (rev 0)
+++ trunk/apache-log4j1.2/debian/maven.ignoreRules 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1,2 @@
+com.sun.jmx jmxri jar *
+com.sun.jdmk jmxtools jar *
Added: trunk/apache-log4j1.2/debian/maven.rules
===================================================================
--- trunk/apache-log4j1.2/debian/maven.rules (rev 0)
+++ trunk/apache-log4j1.2/debian/maven.rules 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1,2 @@
+s/ant/org.apache.ant/ * * s/.*/debian/ *
+log4j log4j * s/1\.2\..*/1.2.x/
Added: trunk/apache-log4j1.2/debian/orig-tar.sh
===================================================================
--- trunk/apache-log4j1.2/debian/orig-tar.sh (rev 0)
+++ trunk/apache-log4j1.2/debian/orig-tar.sh 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+VERSION=$2
+ORIG_TAR=$3
+TAR=../apache-log4j1.2_$VERSION.orig.tar.gz
+DIR=apache-log4j1.2-$VERSION.orig
+
+# clean up the upstream tarball
+tar xvzf $ORIG_TAR
+mv apache-log4j-$VERSION $DIR
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude 'site' --exclude '*.dll' $DIR
+rm -rf $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
Property changes on: trunk/apache-log4j1.2/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
+
Added: trunk/apache-log4j1.2/debian/patches/build_fix.patch
===================================================================
--- trunk/apache-log4j1.2/debian/patches/build_fix.patch (rev 0)
+++ trunk/apache-log4j1.2/debian/patches/build_fix.patch 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1,54 @@
+--- a/build.xml
++++ b/build.xml
+@@ -99,8 +99,8 @@
+ <!-- Directory for temporary files. -->
+ <property name="dist.tmp" value="${dist.dir}/tmp"/>
+
+- <property name="javac.source" value="1.2"/>
+- <property name="javac.target" value="1.1"/>
++ <property name="javac.source" value="1.3"/>
++ <property name="javac.target" value="1.3"/>
+
+ <!-- destination for generated documentation on Apache web host -->
+ <property name="apache.javadoc_dest" value="/www/logging.apache.org/log4j/docs"/>
+@@ -167,12 +167,12 @@
+ <and>
+ <available classname="javax.management.MBeanInfo"
+ classpath="${jmx.jar}"/>
+- <available classname="com.sun.jdmk.comm.HtmlAdaptorServer">
++ <!--available classname="com.sun.jdmk.comm.HtmlAdaptorServer">
+ <classpath>
+ <pathelement location="${jmx.jar}"/>
+ <pathelement location="${javaee-api.jar}"/>
+ </classpath>
+- </available>
++ </available-->
+ </and>
+ </condition>
+ </target>
+@@ -336,7 +336,7 @@
+ <javac srcdir="${java.source.dir}"
+ destdir="${javac.dest}"
+ includes="${stem}/jmx/*.java"
+- excludes="${stem}/jmx/T.java"
++ excludes="${stem}/jmx/T.java,${stem}/jmx/Agent.java"
+ target="${javac.target}"
+ source="${javac.source}"
+ includeAntRuntime="${javac.includeAntRuntime}"
+@@ -497,7 +497,6 @@
+ protected="true"
+ author="true"
+ use="true"
+- overview="${docs.dest}/overview.html"
+ doctitle="log4j version ${version}<br>API Specification"
+ windowtitle="Log4j Version ${version}"
+ header='<b>Log4j ${version}</b><!-- Licensed to the Apache Software Foundation (ASF) under one or more
+@@ -517,8 +516,6 @@
+ -->'
+ bottom="Copyright 2000-2007 Apache Software Foundation.">
+
+- <link href="http://java.sun.com/j2se/1.3/docs/api/"/>
+- <link href="http://java.sun.com/j2ee/sdk_1.3/techdocs/api/"/>
+ <classpath refid="compile.classpath"/>
+ </javadoc>
+
Added: trunk/apache-log4j1.2/debian/patches/series
===================================================================
--- trunk/apache-log4j1.2/debian/patches/series (rev 0)
+++ trunk/apache-log4j1.2/debian/patches/series 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1,2 @@
+build_fix.patch
+
Added: trunk/apache-log4j1.2/debian/rules
===================================================================
--- trunk/apache-log4j1.2/debian/rules (rev 0)
+++ trunk/apache-log4j1.2/debian/rules 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1,44 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.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
+DEB_ANT_ARGS := -Dversion=$(VERSION)
+
+clean::
+ -$(RM) -r docs
+ -rm -rf debian/tmp
+
+common-build-indep::
+ cat debian/log4j.bnd | sed s/VERSION/$(VERSION)/ > debian/.log4j-versioned.bnd
+ java -jar /usr/share/java/bnd.jar wrap -properties debian/.log4j-versioned.bnd dist/lib/log4j-$(VERSION).jar
+ java -jar /usr/share/java/bnd.jar wrap -properties debian/.log4j-versioned.bnd \
+ -classpath /usr/share/java/jboss-jmx.jar,/usr/share/java/gnumail.jar,/usr/share/java/activation.jar \
+ -output log4j.jar dist/lib/log4j-$(VERSION).jar
+ rm debian/.log4j-versioned.bnd dist/lib/log4j-$(VERSION).jar
+ mv log4j.jar dist/lib/log4j-$(VERSION).jar
+
+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 --download-version $(DEB_UPSTREAM_VERSION) --force-download
Property changes on: trunk/apache-log4j1.2/debian/rules
___________________________________________________________________
Added: svn:executable
+
Added: trunk/apache-log4j1.2/debian/source/format
===================================================================
--- trunk/apache-log4j1.2/debian/source/format (rev 0)
+++ trunk/apache-log4j1.2/debian/source/format 2010-09-28 21:18:24 UTC (rev 13002)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: trunk/apache-log4j1.2/debian/watch
===================================================================
--- trunk/apache-log4j1.2/debian/watch (rev 0)
+++ trunk/apache-log4j1.2/debian/watch 2010-09-28 21:18:24 UTC (rev 13002)
@@ -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
More information about the pkg-java-commits
mailing list