--- libjtds-java-1.2.5+dfsg.orig/debian/watch +++ libjtds-java-1.2.5+dfsg/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="dversionmangle=s/\+dfsg//" \ +http://sf.net/jtds/jtds-(.+)-src\.zip debian debian/repack.sh --- libjtds-java-1.2.5+dfsg.orig/debian/rules +++ libjtds-java-1.2.5+dfsg/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f +# debian/rules file for libjtds-java (uses cdbs) + +include /usr/share/cdbs/1/rules/debhelper.mk +#include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/ant.mk + +DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)+dfsg.*/\1/p') + +install/libjtds-java:: + dh_install dist/jtds-$(DEB_UPSTREAM_VERSION).jar usr/share/java + dh_link usr/share/java/jtds-$(DEB_UPSTREAM_VERSION).jar \ + usr/share/java/jtds.jar + +JAVA_HOME := /usr/lib/jvm/default-java +BUILD_FILE := debian/build.xml +DEB_ANT_INVOKE := ant -f $(BUILD_FILE) -Dcurdir=$(CURDIR) +DEB_ANT_BUILD_TARGET := dist +DEB_INSTALL_CHANGELOGS_ALL := CHANGELOG --- libjtds-java-1.2.5+dfsg.orig/debian/copyright +++ libjtds-java-1.2.5+dfsg/debian/copyright @@ -0,0 +1,72 @@ +Original source can be found at http://jtds.sourceforge.net/ + +Files: debian/* +Copyright: © 2007 Martín Ferrari +License: GPL + +Files: */GeneralDigest.java, */MD[45]Digest.java +Copyright: © 2000 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) +License: MIT + Copyright (c) 2000 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) + 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, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + 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. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE. + +Files: src/main/net/sourceforge/jtds/util/DESEngine.java +Copyright: © 2003 Matt Brinkley + © 2000 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) +License: MIT + This file is a slightly modified version of + org.bouncycastle.crypto.engines.DESEngine from the Bouncy Castle project. It + lacks a copyright notice on it, and the original version does too; so I + understand this was a unintentional omission. The Bouncy Castle project states + that "Except where otherwise stated, software produced by this site is + covered by the following license." + . + Copyright (c) 2000 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) + 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, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + 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. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE. + + +Files: * +Copyright: © 2004 The jTDS Project +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. + +On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public +License can be found in `/usr/share/common-licenses/LGPL-2.1' + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in `/usr/share/common-licenses/GPL' --- libjtds-java-1.2.5+dfsg.orig/debian/repack.sh +++ libjtds-java-1.2.5+dfsg/debian/repack.sh @@ -0,0 +1,53 @@ +#!/bin/sh +# Repackage upstream source to exclude non-distributable files +# should be called as "repack.sh --upstream-source +# (for example, via uscan) + +set -e +set -u + +FILE=$3 +PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'` +VER=$2 +#VER=`dpkg-parsechangelog|grep ^Version:|sed 's/^Version: //; s/+dfsg-[^-]\+$//'` + +printf "\nRepackaging $FILE\n" + +DIR=`mktemp -d ./tmpRepackXXXXXX` +trap "rm -rf $DIR" QUIT INT EXIT + +mkdir $DIR/$PKG-$VER +unzip $FILE -d $DIR/$PKG-$VER + +REPACK=${PKG}_$VER.orig.tar.gz + +UP_DIR=$PKG-$VER + +( + set -e + set -u + + cd $DIR + + # Files without proper copyright notices and unused + rm -vrf $UP_DIR/src/SSO + rm -vrf $UP_DIR/src/XA + #rm -vrf $UP_DIR/src/tools + rm -vf $UP_DIR/src/test/net/sourceforge/jtds/test/{AsTest.java,CSUnitTest.java,DatabaseTestCase.java,JDBC3Test.java,NtlmAuthTest.java,SAfeTest.java,SanityTest.java,Tds5Test.java,TestBase.java,TimestampTest.java,UpdateTest.java} + rm -vf $UP_DIR/src/tools/net/sourceforge/jtds/tools/{PacketLogger.java,SQLProxy.java,SqlForwarder.java} + +#src/main/net/sourceforge/jtds/util/DESEngine.java + + # Third party libraries inclued without any attribution + rm -vrf $UP_DIR/lib + + REPACK_DIR="$PKG-$VER.orig" + mv $UP_DIR $REPACK_DIR + tar -c $REPACK_DIR | gzip -9 > $REPACK +) + +#mv $DIR/$REPACK $FILE +mv $DIR/$REPACK `dirname $FILE` +rm -f $FILE + +echo "*** $FILE repackaged" --- libjtds-java-1.2.5+dfsg.orig/debian/doc-base.libjtds-java-javadoc +++ libjtds-java-1.2.5+dfsg/debian/doc-base.libjtds-java-javadoc @@ -0,0 +1,9 @@ +Document: libjtds-java-javadoc +Title: API JavaDoc for libjtds-java +Author: The jTDS Project +Abstract: API documentation in JavaDoc format +Section: Programming + +Format: HTML +Index: /usr/share/doc/libjtds-java/javadoc/index.html +Files: /usr/share/doc/libjtds-java/javadoc/* --- libjtds-java-1.2.5+dfsg.orig/debian/examples +++ libjtds-java-1.2.5+dfsg/debian/examples @@ -0,0 +1,3 @@ +conf/connection.properties.tmpl +conf/jtds-ds.xml +conf/jtds-xa-ds.xml --- libjtds-java-1.2.5+dfsg.orig/debian/compat +++ libjtds-java-1.2.5+dfsg/debian/compat @@ -0,0 +1 @@ +5 --- libjtds-java-1.2.5+dfsg.orig/debian/doc-base.libjtds-java-doc +++ libjtds-java-1.2.5+dfsg/debian/doc-base.libjtds-java-doc @@ -0,0 +1,11 @@ +Document: libjtds-java-doc +Title: libjtds-java documentation +Author: The jTDS Project +Abstract: Documentation from the project's website +Section: Programming + +Format: HTML +Index: /usr/share/doc/libjtds-java/html/index.html +Files: /usr/share/doc/libjtds-java/html/*.html + + --- libjtds-java-1.2.5+dfsg.orig/debian/dirs +++ libjtds-java-1.2.5+dfsg/debian/dirs @@ -0,0 +1 @@ +usr/share/java --- libjtds-java-1.2.5+dfsg.orig/debian/control +++ libjtds-java-1.2.5+dfsg/debian/control @@ -0,0 +1,23 @@ +Source: libjtds-java +Section: java +Priority: optional +Maintainer: Martín Ferrari +Build-Depends: debhelper (>= 5), cdbs +Build-Depends-Indep: libcrimson-java, libjcifs-java, default-jdk, ant, ant-optional +Standards-Version: 3.9.2 +Homepage: http://jtds.sourceforge.net/ +Vcs-Browser: http://canterville.mine.nu/wsvn/debian/trunk/libjtds-java + +Package: libjtds-java +Architecture: all +Depends: ${misc:Depends} +Description: JDBC 3.0 driver for Microsoft SQL Server(tm) and Sybase(tm) + jTDS is an open source JDBC 3.0 Type 4 driver for Microsoft SQL Server (6.5, + 7.0, 2000 and 2005) and Sybase (10, 11, 12, 15). jTDS is the fastest JDBC + driver for MS SQL Server and is a complete implementation of the JDBC spec. + . + jTDS is the most performant JDBC driver for both Microsoft SQL Server and + Sybase. It is a complete implementation of JDBC 3.0, it passes the J2EE 1.3 + certification and Hibernate test suites and is the preferred SQL Server/Sybase + driver for JBoss, Hibernate, Atlassian JIRA and Confluence, DbVisualizer and + Compiere. --- libjtds-java-1.2.5+dfsg.orig/debian/docs +++ libjtds-java-1.2.5+dfsg/debian/docs @@ -0,0 +1,3 @@ +README.SSL +html +dist/javadoc --- libjtds-java-1.2.5+dfsg.orig/debian/changelog +++ libjtds-java-1.2.5+dfsg/debian/changelog @@ -0,0 +1,54 @@ +libjtds-java (1.2.5+dfsg-2) unstable; urgency=high + + * Use default-jdk instead of java-6-openjdk for JAVA_HOME. Closes: #642751. + * Uploading with urgency=high, as this fixes an RC bug. + * debian/control: move jdk and ant to Build-Depends-Indep, as it should be. + * debian/control: Remove run-time dependency on jre. + * debian/source/format: added. + * debian/control: Updated Standards-Version with no changes. + + -- Martín Ferrari Mon, 03 Oct 2011 03:26:01 +0000 + +libjtds-java (1.2.5+dfsg-1) unstable; urgency=low + + * New upstream release + * Removed debian/patches/00-use-new-javax-net-packages.patch: included in + upstream. + * debian/rules: removed simple-patchsys.mk. + * debian/rules, debian/control: require java 6, needed by new JDBC + requirements. + * debian/control: updated Standards-Version, no changes. + * debian/doc-base: added doc-base index. + + -- Martín Ferrari Thu, 18 Feb 2010 02:59:03 +0100 + +libjtds-java (1.2.2+dfsg-3) unstable; urgency=high + + * debian/control: fixed incorrect build-dependencies. Closes: #543062, which + is RC, so urgency=high. + * debian/control: added ${misc:Depends} to binary depends. Corrected section + to `java'. + * debian/watch: moved `-dfsg' processing to dversionmangle. + + -- Martín Ferrari Sat, 29 Aug 2009 14:57:58 +0200 + +libjtds-java (1.2.2+dfsg-2) unstable; urgency=low + + * Minor description improvements (capitalisation and trademarks). + * debian/control: ant should be Build-Depends-Indep, correct Vcs-Browser + path. Updated email address. + + -- Martín Ferrari Wed, 11 Jun 2008 22:47:51 -0300 + +libjtds-java (1.2.2+dfsg-1) unstable; urgency=low + + * Initial release. (Closes: #454564) + * Heavily repackaged to remove upstream cruft: third party libraries, code + without copyright, binaries, etc. + * Compiled with a custom-made build.xml, as upstream version is not useful + for us. + * Patched src/main/net/sourceforge/jtds/ssl/SocketFactories.java to use the + current (and vendor-neutral) javax.net packages. + * Uploaded with DM-Upload-Allowed: yes. + + -- Martín Ferrari Mon, 10 Dec 2007 15:36:35 -0300 --- libjtds-java-1.2.5+dfsg.orig/debian/build.xml +++ libjtds-java-1.2.5+dfsg/debian/build.xml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- libjtds-java-1.2.5+dfsg.orig/debian/source/format +++ libjtds-java-1.2.5+dfsg/debian/source/format @@ -0,0 +1 @@ +1.0