[pkg-java] r8081 - in trunk/logback: . debian
drazzib-guest at alioth.debian.org
drazzib-guest at alioth.debian.org
Sun Mar 15 19:52:50 UTC 2009
Author: drazzib-guest
Date: 2009-03-15 19:52:50 +0000 (Sun, 15 Mar 2009)
New Revision: 8081
Added:
trunk/logback/debian/
trunk/logback/debian/TODO
trunk/logback/debian/build.xml
trunk/logback/debian/changelog
trunk/logback/debian/compat
trunk/logback/debian/control
trunk/logback/debian/copyright
trunk/logback/debian/liblogback-java-doc.doc-base
trunk/logback/debian/liblogback-java-doc.docs
trunk/logback/debian/rules
trunk/logback/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk
Property changes on: trunk/logback/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: trunk/logback/debian/TODO
===================================================================
--- trunk/logback/debian/TODO (rev 0)
+++ trunk/logback/debian/TODO 2009-03-15 19:52:50 UTC (rev 8081)
@@ -0,0 +1,3 @@
+- Build a logback-access.jar (need tomcat and jetty API)
+- Build and run unit tests
+
Added: trunk/logback/debian/build.xml
===================================================================
--- trunk/logback/debian/build.xml (rev 0)
+++ trunk/logback/debian/build.xml 2009-03-15 19:52:50 UTC (rev 8081)
@@ -0,0 +1,102 @@
+<?xml version="1.0"?>
+<project name="logback" basedir="..">
+
+<target name="init">
+ <property name="build.dir" value="build"/>
+ <property name="dist.dir" value="dist"/>
+
+ <property name="core.src.dir" value="logback-core/src/main"/>
+ <property name="core.build.dir" value="${build.dir}/core"/>
+ <property name="core.jar" value="${dist.dir}/${deb.package}-${deb.version}-core.jar"/>
+
+ <property name="classic.src.dir" value="logback-classic/src/main"/>
+ <property name="classic.build.dir" value="${build.dir}/classic"/>
+ <property name="classic.jar" value="${dist.dir}/${deb.package}-${deb.version}-classic.jar"/>
+
+ <property name="access.src.dir" value="logback-access/src/main"/>
+ <property name="access.build.dir" value="${build.dir}/access"/>
+ <property name="access.jar" value="${dist.dir}/${deb.package}-${deb.version}-access.jar"/>
+</target>
+
+<target name="compile.core" depends="init">
+ <mkdir dir="${core.build.dir}"/>
+ <javac srcdir="${core.src.dir}"
+ destdir="${core.build.dir}"
+ classpath="${fam.build.dir}"
+ source="1.5" target="1.5"
+ debug="on">
+ </javac>
+</target>
+
+<target name="compile.classic" depends="compile.core">
+ <mkdir dir="${classic.build.dir}"/>
+ <javac srcdir="${classic.src.dir}"
+ destdir="${classic.build.dir}"
+ classpath="${core.build.dir}"
+ source="1.5" target="1.5"
+ debug="on">
+ </javac>
+</target>
+
+<target name="compile.access" depends="compile.core">
+ <mkdir dir="${access.build.dir}"/>
+ <javac srcdir="${access.src.dir}"
+ destdir="${access.build.dir}"
+ classpath="${core.build.dir}"
+ source="1.5" target="1.5"
+ debug="on">
+ </javac>
+</target>
+
+<target name="jar.core" depends="compile.core">
+ <jar jarfile="${core.jar}"
+ basedir="${core.build.dir}" />
+</target>
+
+<target name="jar.classic" depends="compile.classic">
+ <jar jarfile="${classic.jar}"
+ basedir="${classic.build.dir}" />
+</target>
+
+<target name="jar.access" depends="compile.access">
+ <jar jarfile="${access.jar}"
+ basedir="${access.build.dir}" />
+</target>
+
+<target name="jar.all" depends="jar.core, jar.classic"> <!-- , jar.access -->
+</target>
+
+<target name="javadoc">
+
+ <javadoc
+ packagenames="*"
+ destdir="${dist.dir}/api"
+ access="protected"
+ old="false"
+ verbose="false"
+ version="true"
+ use="true"
+ author="true"
+ >
+ <fileset dir=".">
+ <include name="${core.src.dir}/**/*.java"/>
+ <include name="${classic.src.dir}/**/*.java"/>
+ <!--<include name="${access.src.dir}/**/*.java"/>-->
+ </fileset>
+ </javadoc>
+
+</target>
+
+
+
+<target name="clean" depends="init">
+ <delete dir="${build.dir}"/>
+ <delete dir="${dist.dir}"/>
+
+ <mkdir dir="${build.dir}"/>
+ <mkdir dir="${dist.dir}"/>
+</target>
+
+
+
+</project>
Added: trunk/logback/debian/changelog
===================================================================
--- trunk/logback/debian/changelog (rev 0)
+++ trunk/logback/debian/changelog 2009-03-15 19:52:50 UTC (rev 8081)
@@ -0,0 +1,5 @@
+logback (0.9.15-1) unstable; urgency=low
+
+ * Initial release. (Closes: #506569)
+
+ -- Damien Raude-Morvan <drazzib at drazzib.com> Sun, 15 Mar 2009 20:43:52 +0100
Added: trunk/logback/debian/compat
===================================================================
--- trunk/logback/debian/compat (rev 0)
+++ trunk/logback/debian/compat 2009-03-15 19:52:50 UTC (rev 8081)
@@ -0,0 +1 @@
+5
Added: trunk/logback/debian/control
===================================================================
--- trunk/logback/debian/control (rev 0)
+++ trunk/logback/debian/control 2009-03-15 19:52:50 UTC (rev 8081)
@@ -0,0 +1,49 @@
+Source: logback
+Maintainer: Damien Raude-Morvan <drazzib at drazzib.com>
+Standards-Version: 3.8.1
+Section: java
+Priority: optional
+Build-Depends: default-jdk-builddep, ant, debhelper (>= 5), cdbs
+Build-Depends-Indep: janino, glassfish-javaee, libslf4j-java
+Homepage: http://logback.qos.ch/
+Vcs-Svn: http://svn.drazzib.com/debian-pkg/logback/trunk
+Vcs-Browser: http://svn.drazzib.com/wsvn/Debian-Pkg/logback/trunk
+
+Package: liblogback-java
+Architecture: all
+Depends: ${misc:Depends}, default-jre-headless | java5-runtime-headless, libslf4j-java
+Suggests: glassfish-javaee, janino
+Description: flexible logging library for Java
+ Logback is a reliable, generic, fast and flexible logging library for Java.
+ It's intended as a successor to the popular log4j project.
+ .
+ The logback-core module lays the groundwork for the other two modules.
+ .
+ The logback-classic module can be assimilated to a significantly improved
+ version of log4j. Moreover, logback-classic natively implements the SLF4J API
+ so that you can readily switch back and forth between logback and other
+ logging systems such as log4j or java.util.logging (JUL).
+ .
+ The logback-access module integrates with Servlet containers, such as Tomcat
+ and Jetty, to provide HTTP-access log functionality.
+
+Package: liblogback-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: liblogback-java
+Description: flexible logging library for Java - documentation
+ Logback is a reliable, generic, fast and flexible logging library for Java.
+ It's intended as a successor to the popular log4j project.
+ .
+ The logback-core module lays the groundwork for the other two modules.
+ .
+ The logback-classic module can be assimilated to a significantly improved
+ version of log4j. Moreover, logback-classic natively implements the SLF4J API
+ so that you can readily switch back and forth between logback and other
+ logging systems such as log4j or java.util.logging (JUL).
+ .
+ The logback-access module integrates with Servlet containers, such as Tomcat
+ and Jetty, to provide HTTP-access log functionality.
+ .
+ This package provides the API documentation and manual for Logback.
Added: trunk/logback/debian/copyright
===================================================================
--- trunk/logback/debian/copyright (rev 0)
+++ trunk/logback/debian/copyright 2009-03-15 19:52:50 UTC (rev 8081)
@@ -0,0 +1,66 @@
+Format-Specification:
+ http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=238
+Upstream-Name: Logback
+Upstream-Maintainer: Logback developpers
+Upstream-Source: http://logback.qos.ch/dist/
+
+Files: *
+Copyright: Copyright 2000-2008, QOS.ch
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of the
+ License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+ .
+ On Debian systems the full text of the GNU Lesser General Public License can be found
+ in the `/usr/share/common-licenses/LGPL-2.1' file.
+
+
+Files:
+ logback-core/src/main/java/ch/qos/logback/core/joran/spi/PropertySetter.java,
+ logback-core/src/main/java/ch/qos/logback/core/util/PropertySetterException.java,
+ logback-core/src/test/java/ch/qos/logback/core/rolling/SizeBasedRollingTest.java
+Copyright: Copyright 1999-2004 The Apache Software Foundation
+License: Apache-2.0
+ On Debian systems the full text of the Apache License 2.0 can be found
+ in the `/usr/share/common-licenses/Apache-2.0' file.
+
+Files: logback-classic/src/main/java/org/slf4j/impl/StaticMarkerBinder.java
+Copyright: Copyright 2004-2005 QOS.ch
+Copyright: Copyright 2004-2005 SLF4J.ORG
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, and/or sell copies of the Software, and to permit persons
+ to whom the Software is furnished to do so, provided that the above
+ copyright notice(s) and this permission notice appear in all copies of
+ the Software and that both the above copyright notice(s) and this
+ permission notice appear in supporting documentation.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+ OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+ HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY
+ SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER
+ RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
+ CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ .
+ Except as contained in this notice, the name of a copyright holder
+ shall not be used in advertising or otherwise to promote the sale, use
+ or other dealings in this Software without prior written authorization
+ of the copyright holder.
+
+Files: debian/*
+Copyright: 2008 Damien Raude-Morvan <drazzib at drazzib.com>
+License: LGPL-2.1+
+ On Debian systems the full text of the GNU Lesser General Public License can be found
+ in the `/usr/share/common-licenses/LGPL-2.1' file.
Added: trunk/logback/debian/liblogback-java-doc.doc-base
===================================================================
--- trunk/logback/debian/liblogback-java-doc.doc-base (rev 0)
+++ trunk/logback/debian/liblogback-java-doc.doc-base 2009-03-15 19:52:50 UTC (rev 8081)
@@ -0,0 +1,9 @@
+Document: liblogback-java-doc
+Title: API Javadoc for Logback
+Author: Logback developers
+Abstract: This is the API Javadoc provided by the Logback library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/liblogback-java-doc/api/index.html
+Files: /usr/share/doc/liblogback-java-doc/api/*
Added: trunk/logback/debian/liblogback-java-doc.docs
===================================================================
--- trunk/logback/debian/liblogback-java-doc.docs (rev 0)
+++ trunk/logback/debian/liblogback-java-doc.docs 2009-03-15 19:52:50 UTC (rev 8081)
@@ -0,0 +1,2 @@
+dist/api/
+docs/manual/
Added: trunk/logback/debian/rules
===================================================================
--- trunk/logback/debian/rules (rev 0)
+++ trunk/logback/debian/rules 2009-03-15 19:52:50 UTC (rev 8081)
@@ -0,0 +1,37 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java/
+ANT_HOME := /usr/share/ant
+
+# janino glassfish-mail = core module
+# slf4j-api glassfish-javaee = classic module
+DEB_JARS := janino glassfish-mail slf4j-api glassfish-javaee
+
+DEB_ANT_BUILD_TARGET := jar.all javadoc
+DEB_ANT_CLEAN_TARGET := clean
+DEB_ANT_BUILDFILE := debian/build.xml
+DEB_ANT_ARGS := -Ddeb.package=$(DEB_SOURCE_PACKAGE) -Ddeb.version=$(DEB_UPSTREAM_VERSION)
+
+binary-post-install/liblogback-java::
+ dh_install dist/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)-core.jar usr/share/java
+ dh_install dist/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)-classic.jar usr/share/java
+ #dh_install dist/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)-access.jar usr/share/java
+ dh_link usr/share/java/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)-core.jar usr/share/java/$(DEB_SOURCE_PACKAGE)-core.jar
+ dh_link usr/share/java/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)-classic.jar usr/share/java/$(DEB_SOURCE_PACKAGE)-classic.jar
+ #dh_link usr/share/java/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)-access.jar usr/share/java/$(DEB_SOURCE_PACKAGE)-access.jar
+
+get-orig-source:
+ uscan --force-download
+ mkdir orig_tmp
+ (cd orig_tmp && \
+ tar xvzf ../../logback-${DEB_UPSTREAM_VERSION}.tar.gz && \
+ rm -rf logback-${DEB_UPSTREAM_VERSION}/*.jar && \
+ rm -rf logback-${DEB_UPSTREAM_VERSION}/docs/xref-test && \
+ rm -rf logback-${DEB_UPSTREAM_VERSION}/docs/testapidocs && \
+ rm -rf logback-${DEB_UPSTREAM_VERSION}/docs/apidocs && \
+ rm -rf logback-${DEB_UPSTREAM_VERSION}/docs/xref && \
+ tar -czf ../../logback_${DEB_UPSTREAM_VERSION}.orig.tar.gz logback-${DEB_UPSTREAM_VERSION})
+ rm -rf orig_tmp
Property changes on: trunk/logback/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/logback/debian/watch
===================================================================
--- trunk/logback/debian/watch (rev 0)
+++ trunk/logback/debian/watch 2009-03-15 19:52:50 UTC (rev 8081)
@@ -0,0 +1,3 @@
+version=3
+http://logback.qos.ch/download.html \
+dist/logback-(\d.+).tar.gz
More information about the pkg-java-commits
mailing list