--- c3p0-0.9.1.2.orig/debian/rules +++ c3p0-0.9.1.2/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f +# debian/rules file for c3p0 (uses cdbs) + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk + +JAVA_HOME := /usr/lib/jvm/java-gcj +ANT_HOME := /usr/share/ant +DEB_JARS := log4j1.2 mx4j +DEB_ANT_BUILD_TARGET := jar javadocs + +clean:: + ( cd relproj ; ant clean ) + +install/libc3p0-java:: + dh_install build/c3p0*.jar /usr/share/java + dh_link /usr/share/java/c3p0-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/c3p0.jar + +get-orig-source: + -uscan --upstream-version 0 --rename --- c3p0-0.9.1.2.orig/debian/orig-tar.sh +++ c3p0-0.9.1.2/debian/orig-tar.sh @@ -0,0 +1,19 @@ +#!/bin/sh -e + +# called by uscan with '--upstream-version' +DIR=c3p0-$2.orig + +# clean up the upstream tarball +tar zxf $3 +mv c3p0-$2.src $DIR +GZIP=--best tar czf $3 -X debian/orig-tar.exclude $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 --- c3p0-0.9.1.2.orig/debian/orig-tar.exclude +++ c3p0-0.9.1.2/debian/orig-tar.exclude @@ -0,0 +1,3 @@ +*.jar +*/build/* +*/dist/* --- c3p0-0.9.1.2.orig/debian/libc3p0-java-doc.doc-base +++ c3p0-0.9.1.2/debian/libc3p0-java-doc.doc-base @@ -0,0 +1,10 @@ +Document: c3p0-doc +Title: Programmer API for c3p0 (library for JDBC connection pooling) +Author: Steve Waldman +Abstract: This is the programmer API of c3p0, a library for JDBC + connection pooling. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libc3p0-java-doc/api/index.html +Files: /usr/share/doc/libc3p0-java-doc/api/*.html --- c3p0-0.9.1.2.orig/debian/README.Debian-source +++ c3p0-0.9.1.2/debian/README.Debian-source @@ -0,0 +1,13 @@ +c3p0 +==== + +The upstream supplied source package contains binary jar files and +pre-built documentation. Currently no clean source distribution +exists. Therefore, the upstream sources were modified to comply with +the Debian Free Software Guidelines. + +Use the rules/get-orig-source target to create the orig.tar.gz. +For more details on repackaging of upstream sources please see the +debian/orig-tar.sh file. + +-- Varun Hiremath Sun, 16 Sep 2007 01:43:56 +0530 --- c3p0-0.9.1.2.orig/debian/control +++ c3p0-0.9.1.2/debian/control @@ -0,0 +1,31 @@ +Source: c3p0 +Section: java +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Arnaud Vandyck , Michael Koch , Varun Hiremath +Build-Depends: debhelper (>= 7), cdbs +Build-Depends-Indep: ant, gcj-jdk, liblog4j1.2-java, libmx4j-java +Standards-Version: 3.8.3 +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/c3p0 +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/c3p0 +Homepage: http://sourceforge.net/projects/c3p0 + +Package: libc3p0-java +Architecture: all +Depends: ${misc:Depends}, default-jre-headless | java2-runtime, liblog4j1.2-java, libmx4j-java +Description: library for JDBC connection pooling + c3p0 is an easy-to-use library for making traditional JDBC drivers + "enterprise-ready" by augmenting them with functionality defined by + the jdbc3 spec and the optional extensions to jdbc2. + +Package: libc3p0-java-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: libc3p0-java +Description: library for JDBC connection pooling (documentation) + c3p0 is an easy-to-use library for making traditional JDBC drivers + "enterprise-ready" by augmenting them with functionality defined by + the jdbc3 spec and the optional extensions to jdbc2. + . + This package includes the documentation. --- c3p0-0.9.1.2.orig/debian/compat +++ c3p0-0.9.1.2/debian/compat @@ -0,0 +1 @@ +5 --- c3p0-0.9.1.2.orig/debian/changelog +++ c3p0-0.9.1.2/debian/changelog @@ -0,0 +1,58 @@ +c3p0 (0.9.1.2-3) unstable; urgency=low + + * Build-Depend on gcj-jdk (Closes: #539177). + (Taken from Ubuntu) + * Let libc3p0-java depend on default-jre-headless instead of default-jre. + (Taken from Ubuntu) + * Updated Standards-Version to 3.8.3. + + -- Michael Koch Sun, 06 Sep 2009 22:21:29 +0200 + +c3p0 (0.9.1.2-2) unstable; urgency=low + + [ Michael Koch ] + * Use uscan sf.net helper for SourceForge. Fixes upstream checking. + * Updated Standards-Version to 3.7.3. + * Added Homepage field. + + [ Varun Hiremath ] + * Convert to default-jdk/jre (Closes: #526273) + * Bump Standards-Version to 3.8.1 + * Fix Vcs-* fileds + + -- Varun Hiremath Thu, 07 May 2009 19:04:58 -0400 + +c3p0 (0.9.1.2-1) unstable; urgency=low + + * New upstream release + * Add debian/orig-tar.sh + * debian/rules: implement get-orig-source + * move debian/README.Debian to debian/REAMDE.Debian-source and update the file. + * debian/control: + + Add Homepage and Build-Depend on debhelper (>= 5) + + Add XS-Vcs-{Svn, Browser} headers. + + Add myself to Uploaders. + * debian/compat: Bump compat to 5 + * Remove debian/libc3p0-java.* files and install and link jars in + debian/rules using DEB_UPSTREAM VERSION. + * Fix the package version, dfsg not required as the changes have been + documented in debian/README.Debian-source. + * Add debian/orig-tar.exclude and remove pre-built docs from orig.tar.gz + + -- Varun Hiremath Sun, 16 Sep 2007 13:35:34 +0530 + +c3p0 (0.9.1.1.dfsg.1-2) unstable; urgency=low + + * Upload to unstable. + * Clean out correctly. + * Moved debhelper and cdbs from Build-Depends-Indep to Build-Depends. + * Fixed address of FSF in debian/copyright. + * Added myself to Uploaders. + + -- Michael Koch Tue, 10 Jul 2007 23:27:20 +0200 + +c3p0 (0.9.1.1.dfsg.1-1) experimental; urgency=low + + * Initial Release (closes: #386100). + + -- Arnaud Vandyck Tue, 3 Apr 2007 15:06:17 +0200 --- c3p0-0.9.1.2.orig/debian/ant.properties +++ c3p0-0.9.1.2/debian/ant.properties @@ -0,0 +1,91 @@ +# >> BASICS << + +# +# You'll need to supply at least one of j2ee.classpath +# or j2ee.jar.file.base.dir. All jar files under +# ${j2ee.jar.file.base.dir} or its subdirectories +# will be added to the effective classpath of the project. +# + +#j2ee.classpath= +j2ee.jar.base.dir=/usr/share/java + +# >> DEBUGGING AND TRACING << + +# Set this to true if you want logging enabled for logging levels below INFO. +# If debug is not set, logging code for these messages will be eliminated from +# the compiled code by virtue of "if (false) { ... }" blocks. + +#c3p0-build.debug= + +# Set trace to an integer between 0 and 10 (inclusive) to control how the level +# of detail of debug logging messages. Only makes a difference if c3p0.debug is +# set to true above. Default to 5 if unset. + +#c3p0-build.trace= + +# NOTE: You must still configure your logging library to log or display these +# debug level messages if you actually want to see any change! + +#---------------------------------------------------------------------------- + +# >> OPTIONAL LIBRARY SUPPRT << + +# +# You'll only need this property if you want to +# build-in optional log4j support. +# + +log4j.jar.file=/usr/share/java/log4j-1.2.jar + +# +# You'll only need this property if you want to +# build the jar of utilities specific to the +# oracle-thin jdbc driver / dbms +# + +#oracle-thin.jdbc.jar.file= + +#---------------------------------------------------------------------------- + +# >> OPTIONAL TEST SUPPORT + +# +# this stuff is only required if you want to run +# the various tests. very optional +# + +#test.jdbc.driver.jar.file= +#test.jdbc.drivers= +#test.jdbc.url= +#test.jdbc.user= +#test.jdbc.password= + +# +# required if you want to run junit tests +# + +#junit.jar.file + +# >> VERY VERY OPTIONAL DOCS-TO-WEB SUPPORT + +# +# this stuff is only required if you want to deploy +# an ear file containing c3p0's docs to a J2EE appserver. +# via scp. Requires an available executable "scp". +# +# this is a convenience for c3p0's developer, not +# really intended for other users. just leave blank +# +# note that virtual.host modifies a jboss-web.xml file, +# will do nothing if you are deploying to some other +# app server +# + +#docwebapp.context.root= +#docwebapp.virtual.host= +#docwebear.deploy.user= +#docwebear.deploy.host= +#docwebear.deploy.path= + +build.apidocs.dir=build/api --- c3p0-0.9.1.2.orig/debian/libc3p0-java-doc.docs +++ c3p0-0.9.1.2/debian/libc3p0-java-doc.docs @@ -0,0 +1 @@ +build/api --- c3p0-0.9.1.2.orig/debian/watch +++ c3p0-0.9.1.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/c3p0/ c3p0-(.*)\.src\.tgz debian debian/orig-tar.sh --- c3p0-0.9.1.2.orig/debian/copyright +++ c3p0-0.9.1.2/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Arnaud Vandyck on 3-April-2007. +The source code was downloaded from http://sourceforge.net/projects/c3p0 + +Authors: + + Steve Waldman + +Copyright: © 2001-2007 Machinery For Change, Inc. + + This library is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License version + 2.1, as published by the Free Software Foundation. + + This software 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. + + You should have received a copy of the GNU Lesser General Public License + along with this software; see the file LICENSE. If not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301 USA. + +On Debian systems the full text of the Lesser General Public License, +LGPL, can be found at /usr/share/common-licenses/LGPL-2.1