--- jsch-0.1.41.orig/debian/orig-tar.sh +++ jsch-0.1.41/debian/orig-tar.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +set -x + +# called by uscan with '--upstream-version' +package=`dpkg-parsechangelog | sed -n 's/^Source: //p'` +TAR=../"$package"_$2.orig.tar.gz +DIR=$package-$2.orig +TMP=tmp_dir + +# clean up the upstream tarball +unzip $3 -d $TMP +mkdir -p $DIR/src +unzip $TMP/ini4j-$2/ini4j-$2-sources.jar -d $DIR/src +mv $TMP/ini4j-$2/*.txt $DIR +rm -rf $DIR/src/META-INF +GZIP=--best tar -c -z -f $TAR $DIR +rm -rf $3 ./$DIR $TMP --- jsch-0.1.41.orig/debian/watch +++ jsch-0.1.41/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/ds\d$// \ + http://sf.net/jsch/jsch-(.+)\.zip --- jsch-0.1.41.orig/debian/manifest.mf +++ jsch-0.1.41/debian/manifest.mf @@ -0,0 +1,9 @@ +Bundle-ManifestVersion: 2 +Bundle-Version: 0.1.41 +Export-Package: com.jcraft.jsch, com.jcraft.jsch.jce;x-internal:=true, com.jcraft.jsch.jcraft;x-internal:=true +Bundle-SymbolicName: com.jcraft.jsch +Bundle-Name: %bundleName +Bundle-Localization: plugin +Bundle-Vendor: %venderName +Bundle-ClassPath: . +Bundle-RequiredExecutionEnvironment: J2SE-1.4 --- jsch-0.1.41.orig/debian/changelog +++ jsch-0.1.41/debian/changelog @@ -0,0 +1,110 @@ +jsch (0.1.41-0ubuntu1) karmic; urgency=low + + * New upstream version (LP: #399323) + + -- Yulia Novozhilova Mon, 06 Jul 2009 16:18:58 +0400 + +jsch (0.1.37-3ubuntu2) intrepid; urgency=low + + * Set java source version to 1.4. LP: #264808. + + -- Matthias Klose Mon, 20 Oct 2008 13:07:22 +0000 + +jsch (0.1.37-3ubuntu1) intrepid; urgency=low + + * (Build-)depend on default-jre/-jdk. + * Set Ubuntu maintainer address. + + -- Matthias Klose Thu, 31 Jul 2008 07:58:25 +0000 + +jsch (0.1.37-3) unstable; urgency=low + + * Add OSGi manifest patch. Thanks to Roberto Jimenoca. Closes: #471209. + + -- Michael Koch Fri, 21 Mar 2008 11:41:01 +0100 + +jsch (0.1.37-2) unstable; urgency=low + + * Don't install examples into libjsch-java. Closes: #463847 + + -- Michael Koch Wed, 06 Feb 2008 23:23:19 +0100 + +jsch (0.1.37-1) unstable; urgency=low + + * New upstream version. + - Removed obsoleted patch debian/patches/enable-debug.patch. + * Added link to jsch.jar for ant. Closes: #463120 + * Install examples. + + -- Michael Koch Thu, 31 Jan 2008 23:22:29 +0100 + +jsch (0.1.36-1) unstable; urgency=low + + * New upstream version. + * Added Homepage, Vcs-Svn and Vcs-Browser fields. + * Updated Standards-Version to 3.7.3. + + -- Michael Koch Sun, 06 Jan 2008 22:12:21 +0100 + +jsch (0.1.34ds1-1) unstable; urgency=low + + * Upload with real 0.1.34 sources. Closes: #440590. + * Removed old debian/libjsch-java.links file. + Closes: #441049, #441403. + * Added debian/watch file. + + -- Michael Koch Sun, 09 Sep 2007 20:32:32 +0200 + +jsch (0.1.34-1) unstable; urgency=low + + * New upstream release. Thanks to Alban Browaeys for preparing the orig + tarball. Closes: #440590. + * Removed debian/libjsch-java.links file and do linking in debian/rules. + * Get rid of UPSTREAM_VERSION variable in debian/rules and use + DEB_UPSTREAM_VERSION provided by CDBS. + + -- Michael Koch Mon, 03 Sep 2007 11:47:34 +0200 + +jsch (0.1.28-2) unstable; urgency=low + + * Upload to unstable. + * Fix typo in copyright. Closes: #391988. + + -- Matthias Klose Mon, 4 Dec 2006 03:11:50 +0100 + +jsch (0.1.28-1) experimental; urgency=low + + * New upstream release. Closes: #334719. + * Moved cdbs and debhelper to Build-Depends. + * Update Build-Depends on debhelper to >= 4.1.0. + * Updated Standards-Version to 3.7.2. + + -- Michael Koch Wed, 2 Aug 2006 15:59:28 +0000 + +jsch (0.1.19-3) unstable; urgency=low + + * debian/rules: Use /usr/share/ant instead of /usr/share/ant1.6 as ANT_HOME + (Closes: #334630). + * debian/control: Fixed all Section entries to avoid override mail from + katie. + + -- Michael Koch Wed, 19 Oct 2005 07:39:55 +0000 + +jsch (0.1.19-2) unstable; urgency=low + + * Added debian/patches/enable-debug.patch. + * Build-Depends on ant instead of libant1.6-java. + * Switch order of dependencies to 'kaffe | java-virtual-machine'. + * Updated Standards-Version to 3.6.2. + * Made the Debian Java Maintainers the maintainer of this package. + * Add Jerry and myself as Uploaders. + + * Sponsored by Petter Reinholdtsen. + + -- Michael Koch Sat, 20 Aug 2005 15:20:16 +0000 + +jsch (0.1.19-1) unstable; urgency=low + + * Initial release. + + -- Jerry Haltom Thu, 13 Jan 2005 16:07:20 -0600 --- jsch-0.1.41.orig/debian/rules +++ jsch-0.1.41/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +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 + +JAVA_HOME=/usr/lib/jvm/default-java +ANT_OPTS = -Dant.build.javac.source=1.4 + +binary-post-install/libjsch-java:: + install -m 644 -D dist/lib/jsch-*.jar debian/libjsch-java/usr/share/java/jsch-$(DEB_UPSTREAM_VERSION).jar + dh_link -plibjsch-java /usr/share/java/jsch-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jsch.jar + dh_link -plibjsch-java /usr/share/java/jsch.jar /usr/share/ant/lib/jsch.jar + +binary-post-install/libjsch-java-doc:: + install -d debian/libjsch-java-doc/usr/share/doc/libjsch-java-doc/examples + install -m 644 examples/*.java debian/libjsch-java-doc/usr/share/doc/libjsch-java-doc/examples + +VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' \ + | cut -f 2 -d ' ' | cut -f 2 -d ' '|sed 's/-[^-]*$$//') + +get-orig-source: + uscan \ + --verbose \ + --repack \ + --rename \ + --upstream-version $(VERSION) \ + --download-version $(VERSION) \ + --force-download --- jsch-0.1.41.orig/debian/copyright +++ jsch-0.1.41/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Jerry Haltom on +Thu, 13 Jan 2005 16:13:08 -0600. + +It was downloaded from http://sourceforge.net/projects/jsch + +License: + +------------------------------------------------------------------------------ +Copyright (c) 2002,2003,2004,2005,2006,2007,2008 Atsuhiko Yamanaka, JCraft,Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the distribution. + + 3. The names of the authors may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT, +INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, +OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- jsch-0.1.41.orig/debian/compat +++ jsch-0.1.41/debian/compat @@ -0,0 +1 @@ +4 --- jsch-0.1.41.orig/debian/docs +++ jsch-0.1.41/debian/docs @@ -0,0 +1,2 @@ +README +ChangeLog --- jsch-0.1.41.orig/debian/README.Debian +++ jsch-0.1.41/debian/README.Debian @@ -0,0 +1,6 @@ +JSch for Debian +----------------- + +The demos are included in the libjsch-java-doc package. + + -- Jerry Haltom Thu, 13 Jan 2005 16:17:36 -0600 --- jsch-0.1.41.orig/debian/control +++ jsch-0.1.41/debian/control @@ -0,0 +1,37 @@ +Source: jsch +Section: libs +Priority: optional +Maintainer: Ubuntu Core developers +XSBC-Original-Maintainer: Debian Java Maintainers +Uploaders: Jerry Haltom , Michael Koch +Build-Depends: debhelper (>= 4.1.0), cdbs +Build-Depends-Indep: default-jdk, ant (>= 1.6.5) +Standards-Version: 3.8.0 +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/jsch +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/jsch +Homepage: http://www.jcraft.com/jsch/ + +Package: libjsch-java +Architecture: all +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends}, + default-jre-headless | java2-runtime-headless +Description: java secure channel + JSch is a pure Java implementation of SSH2. JSch allows you to + connect to an sshd server and use port forwarding, X11 forwarding, + file transfer, etc., and you can integrate its functionality + into your own Java programs. JSch is licensed under a BSD style + license. + +Package: libjsch-java-doc +Architecture: all +Section: doc +Depends: ${misc:Depends} +Description: java secure channel examples + JSch is a pure Java implementation of SSH2. JSch allows you to + connect to an sshd server and use port forwarding, X11 forwarding, + file transfer, etc., and you can integrate its functionality + into your own Java programs. JSch is licensed under a BSD style + license. + . + This package contains the example code. --- jsch-0.1.41.orig/debian/patches/jsch-build-xml.patch +++ jsch-0.1.41/debian/patches/jsch-build-xml.patch @@ -0,0 +1,12 @@ +diff -Nur jsch-0.1.37/build.xml jsch-0.1.37.new/build.xml +--- jsch-0.1.37/build.xml 2008-01-08 19:57:25.000000000 +0100 ++++ jsch-0.1.37.new/build.xml 2008-03-21 11:38:58.000000000 +0100 +@@ -42,7 +42,7 @@ + + + +- ++ + + +