[trilead-ssh2] 08/10: Imported Debian patch 6401+svn158-0.1
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Fri Dec 12 11:02:38 UTC 2014
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository trilead-ssh2.
commit 58ba4014adca2c52400b1ec24e31b384a832f6f4
Merge: a50dbb9 3526a5d
Author: Miguel Landaeta <nomadium at debian.org>
Date: Fri Apr 4 17:28:51 2014 -0300
Imported Debian patch 6401+svn158-0.1
debian/README.source | 7 +
debian/changelog | 23 +
debian/compat | 2 +-
debian/control | 18 +-
debian/copyright | 225 +-
debian/libtrilead-ssh2-java.jlibs | 1 -
debian/libtrilead-ssh2-java.poms | 1 +
debian/rules | 12 +-
debian/source/format | 1 +
debian/trilead-ssh2.pom | 31 +
debian/watch | 1 +
.../java}/com/trilead/ssh2/ChannelCondition.java | 122 +-
.../java}/com/trilead/ssh2/Connection.java | 3039 +++++++++---------
.../java}/com/trilead/ssh2/ConnectionInfo.java | 106 +-
.../java}/com/trilead/ssh2/ConnectionMonitor.java | 66 +-
.../java}/com/trilead/ssh2/DHGexParameters.java | 242 +-
.../java}/com/trilead/ssh2/DebugLogger.java | 46 +-
.../java}/com/trilead/ssh2/HTTPProxyData.java | 166 +-
.../java}/com/trilead/ssh2/HTTPProxyException.java | 58 +-
.../java/com/trilead/ssh2/IOWarningException.java | 17 +
.../com/trilead/ssh2/InteractiveCallback.java | 110 +-
.../java}/com/trilead/ssh2/KnownHosts.java | 1704 +++++-----
.../java}/com/trilead/ssh2/LocalPortForwarder.java | 126 +-
.../com/trilead/ssh2/LocalStreamForwarder.java | 156 +-
.../java}/com/trilead/ssh2/ProxyData.java | 30 +-
.../java}/com/trilead/ssh2/SCPClient.java | 1458 ++++-----
.../java}/com/trilead/ssh2/SFTPException.java | 182 +-
.../java}/com/trilead/ssh2/SFTPv3Client.java | 2776 ++++++++--------
.../com/trilead/ssh2/SFTPv3DirectoryEntry.java | 76 +-
.../com/trilead/ssh2/SFTPv3FileAttributes.java | 290 +-
.../java}/com/trilead/ssh2/SFTPv3FileHandle.java | 90 +-
.../com/trilead/ssh2/ServerHostKeyVerifier.java | 62 +-
src/{ => main/java}/com/trilead/ssh2/Session.java | 958 +++---
.../java}/com/trilead/ssh2/StreamGobbler.java | 458 +--
.../java/com/trilead/ssh2/auth/AgentIdentity.java | 7 +
.../java/com/trilead/ssh2/auth/AgentProxy.java | 7 +
.../trilead/ssh2/auth/AuthenticationManager.java | 890 +++---
.../java}/com/trilead/ssh2/channel/Channel.java | 414 +--
.../trilead/ssh2/channel/ChannelInputStream.java | 172 +-
.../com/trilead/ssh2/channel/ChannelManager.java | 3358 ++++++++++----------
.../trilead/ssh2/channel/ChannelOutputStream.java | 140 +-
.../trilead/ssh2/channel/IChannelWorkerThread.java | 26 +-
.../trilead/ssh2/channel/LocalAcceptThread.java | 270 +-
.../trilead/ssh2/channel/RemoteAcceptThread.java | 206 +-
.../trilead/ssh2/channel/RemoteForwardingData.java | 34 +-
.../ssh2/channel/RemoteX11AcceptThread.java | 480 +--
.../com/trilead/ssh2/channel/StreamForwarder.java | 222 +-
.../com/trilead/ssh2/channel/X11ServerData.java | 32 +-
.../java}/com/trilead/ssh2/crypto/Base64.java | 296 +-
.../com/trilead/ssh2/crypto/CryptoWishList.java | 46 +-
.../java}/com/trilead/ssh2/crypto/KeyMaterial.java | 182 +-
.../java}/com/trilead/ssh2/crypto/PEMDecoder.java | 754 ++---
.../com/trilead/ssh2/crypto/PEMStructure.java | 32 +-
.../com/trilead/ssh2/crypto/SimpleDERReader.java | 320 +-
.../java}/com/trilead/ssh2/crypto/cipher/AES.java | 1396 ++++----
.../trilead/ssh2/crypto/cipher/BlockCipher.java | 32 +-
.../ssh2/crypto/cipher/BlockCipherFactory.java | 230 +-
.../com/trilead/ssh2/crypto/cipher/BlowFish.java | 806 ++---
.../com/trilead/ssh2/crypto/cipher/CBCMode.java | 156 +-
.../com/trilead/ssh2/crypto/cipher/CTRMode.java | 124 +-
.../ssh2/crypto/cipher/CipherInputStream.java | 288 +-
.../ssh2/crypto/cipher/CipherOutputStream.java | 284 +-
.../java}/com/trilead/ssh2/crypto/cipher/DES.java | 746 ++---
.../com/trilead/ssh2/crypto/cipher/DESede.java | 210 +-
.../com/trilead/ssh2/crypto/cipher/NullCipher.java | 70 +-
.../com/trilead/ssh2/crypto/dh/DhExchange.java | 294 +-
.../trilead/ssh2/crypto/dh/DhGroupExchange.java | 226 +-
.../com/trilead/ssh2/crypto/digest/Digest.java | 50 +-
.../java}/com/trilead/ssh2/crypto/digest/HMAC.java | 190 +-
.../ssh2/crypto/digest/HashForSSH2Types.java | 186 +-
.../java}/com/trilead/ssh2/crypto/digest/MAC.java | 176 +-
.../java}/com/trilead/ssh2/crypto/digest/MD5.java | 536 ++--
.../java}/com/trilead/ssh2/crypto/digest/SHA1.java | 1328 ++++----
.../java}/com/trilead/ssh2/log/Logger.java | 108 +-
.../packets/PacketChannelOpenConfirmation.java | 132 +-
.../ssh2/packets/PacketChannelOpenFailure.java | 132 +-
.../ssh2/packets/PacketChannelTrileadPing.java | 70 +-
.../ssh2/packets/PacketChannelWindowAdjust.java | 114 +-
.../com/trilead/ssh2/packets/PacketDisconnect.java | 114 +-
.../packets/PacketGlobalCancelForwardRequest.java | 84 +-
.../ssh2/packets/PacketGlobalForwardRequest.java | 82 +-
.../ssh2/packets/PacketGlobalTrileadPing.java | 64 +-
.../com/trilead/ssh2/packets/PacketIgnore.java | 118 +-
.../com/trilead/ssh2/packets/PacketKexDHInit.java | 66 +-
.../com/trilead/ssh2/packets/PacketKexDHReply.java | 110 +-
.../trilead/ssh2/packets/PacketKexDhGexGroup.java | 100 +-
.../trilead/ssh2/packets/PacketKexDhGexInit.java | 66 +-
.../trilead/ssh2/packets/PacketKexDhGexReply.java | 112 +-
.../ssh2/packets/PacketKexDhGexRequest.java | 78 +-
.../ssh2/packets/PacketKexDhGexRequestOld.java | 68 +-
.../com/trilead/ssh2/packets/PacketKexInit.java | 330 +-
.../com/trilead/ssh2/packets/PacketNewKeys.java | 92 +-
.../ssh2/packets/PacketOpenDirectTCPIPChannel.java | 112 +-
.../ssh2/packets/PacketOpenSessionChannel.java | 124 +-
.../trilead/ssh2/packets/PacketServiceAccept.java | 122 +-
.../trilead/ssh2/packets/PacketServiceRequest.java | 104 +-
.../ssh2/packets/PacketSessionExecCommand.java | 78 +-
.../ssh2/packets/PacketSessionPtyRequest.java | 114 +-
.../ssh2/packets/PacketSessionStartShell.java | 72 +-
.../packets/PacketSessionSubsystemRequest.java | 80 +-
.../ssh2/packets/PacketSessionX11Request.java | 106 +-
.../trilead/ssh2/packets/PacketUserauthBanner.java | 120 +-
.../ssh2/packets/PacketUserauthFailure.java | 106 +-
.../ssh2/packets/PacketUserauthInfoRequest.java | 168 +-
.../ssh2/packets/PacketUserauthInfoResponse.java | 70 +-
.../packets/PacketUserauthRequestInteractive.java | 84 +-
.../ssh2/packets/PacketUserauthRequestNone.java | 122 +-
.../packets/PacketUserauthRequestPassword.java | 134 +-
.../packets/PacketUserauthRequestPublicKey.java | 130 +-
.../java}/com/trilead/ssh2/packets/Packets.java | 298 +-
.../com/trilead/ssh2/packets/TypesReader.java | 354 +--
.../com/trilead/ssh2/packets/TypesWriter.java | 338 +-
.../java}/com/trilead/ssh2/sftp/AttrTextHints.java | 76 +-
.../java}/com/trilead/ssh2/sftp/AttribBits.java | 258 +-
.../java}/com/trilead/ssh2/sftp/AttribFlags.java | 224 +-
.../com/trilead/ssh2/sftp/AttribPermissions.java | 64 +-
.../java}/com/trilead/ssh2/sftp/AttribTypes.java | 56 +-
.../java}/com/trilead/ssh2/sftp/ErrorCodes.java | 208 +-
.../java}/com/trilead/ssh2/sftp/OpenFlags.java | 446 +--
.../java}/com/trilead/ssh2/sftp/Packet.java | 86 +-
.../com/trilead/ssh2/signature/DSAPrivateKey.java | 114 +-
.../com/trilead/ssh2/signature/DSAPublicKey.java | 88 +-
.../com/trilead/ssh2/signature/DSASHA1Verify.java | 421 +--
.../com/trilead/ssh2/signature/DSASignature.java | 62 +-
.../com/trilead/ssh2/signature/RSAPrivateKey.java | 84 +-
.../com/trilead/ssh2/signature/RSAPublicKey.java | 60 +-
.../com/trilead/ssh2/signature/RSASHA1Verify.java | 571 ++--
.../com/trilead/ssh2/signature/RSASignature.java | 52 +-
.../trilead/ssh2/transport/ClientServerHello.java | 250 +-
.../com/trilead/ssh2/transport/KexManager.java | 1258 ++++----
.../com/trilead/ssh2/transport/KexParameters.java | 48 +-
.../java}/com/trilead/ssh2/transport/KexState.java | 64 +-
.../com/trilead/ssh2/transport/MessageHandler.java | 28 +-
.../trilead/ssh2/transport/NegotiateException.java | 24 +-
.../ssh2/transport/NegotiatedParameters.java | 44 +-
.../ssh2/transport/TransportConnection.java | 568 ++--
.../trilead/ssh2/transport/TransportManager.java | 1569 ++++-----
.../com/trilead/ssh2/util/TimeoutService.java | 298 +-
.../java}/com/trilead/ssh2/util/Tokenizer.java | 102 +-
139 files changed, 20061 insertions(+), 19814 deletions(-)
diff --cc debian/README.source
index 0000000,0000000..6a4be28
new file mode 100644
--- /dev/null
+++ b/debian/README.source
@@@ -1,0 -1,0 +1,7 @@@
++trilead-ssh2 for Debian
++=======================
++
++The sources can be obtained by using the following command:
++
++svn export -r 158 http://svn.svnkit.com/repos/3rdparty/com.trilead.ssh2/trunk/trilead-ssh2
++
diff --cc debian/changelog
index 1d65963,0000000..635cabf
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,28 -1,0 +1,51 @@@
++trilead-ssh2 (6401+svn158-0.1) unstable; urgency=low
++
++ * Non-maintainer upload.
++
++ [ Markus Koschany ]
++ * Imported Upstream version 6401+svn158. (Closes: #743431)
++ * Switch to source format 3.0 (quilt)
++ * Use compat level 9 and require debhelper >= 9
++ * Remove versioned dependency on javahelper
++ * Declare compliance with Debian Policy 3.9.5.
++ * Update homepage field. Point to svn repository in the absence of better
++ alternatives.
++ * Fix typo libarary in package description (Closes: #703154)
++ * Fix options should not come before the sequence in debian/rules
++ * Add watch file
++ * Update debian/copyright to copyright format 1.0
++ * Add README.source. Explain how one can obtain the sources.
++
++ [ Miguel Landaeta ]
++ * Install Maven artifacts.
++
++ -- Miguel Landaeta <nomadium at debian.org> Fri, 04 Apr 2014 17:28:51 -0300
++
+trilead-ssh2 (6401-1) unstable; urgency=low
+
+ * Switch upstream to svnkit
+ * New upstream release
+ * Version is svn revision from svnkit
+ * Import readme, faq and examples from old upstream
+
+ -- Matthew Johnson <mjj29 at debian.org> Sat, 20 Feb 2010 13:52:54 +0000
+
+trilead-ssh2 (211-3) unstable; urgency=low
+
+ * Use javahelper rather than dh_javadoc
+
+ -- Matthew Johnson <mjj29 at debian.org> Sat, 12 Dec 2009 10:33:09 +0000
+
+trilead-ssh2 (211-2) unstable; urgency=low
+
+ * Change to debhelper 7
+ * Add build-dep on gjdoc because that's where dh_javadoc is now
+ * Change to section java
+
+ -- Matthew Johnson <mjj29 at debian.org> Thu, 13 Aug 2009 00:12:29 +0100
+
+trilead-ssh2 (211-1) unstable; urgency=low
+
+ * Initial release. (Closes: #466694)
+
+ -- Matthew Johnson <mjj29 at debian.org> Wed, 20 Feb 2008 11:41:06 +0000
diff --cc debian/compat
index 7f8f011,0000000..ec63514
mode 100644,000000..100644
--- a/debian/compat
+++ b/debian/compat
@@@ -1,1 -1,0 +1,1 @@@
- 7
++9
diff --cc debian/control
index a1ae852,0000000..6fa3d2b
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,20 -1,0 +1,26 @@@
+Source: trilead-ssh2
+Section: java
+Priority: optional
+Maintainer: Matthew Johnson <mjj29 at debian.org>
- Build-Depends: debhelper (>> 7), javahelper (>=0.25)
- Build-Depends-Indep: default-jdk
- Standards-Version: 3.7.3
- Homepage: http://svn.svnkit.com/repos/svnkit/tags/1.3.2/contrib/trilead/
++Build-Depends:
++ debhelper (>= 9),
++ javahelper,
++ maven-repo-helper
++Build-Depends-Indep:
++ default-jdk
++Standards-Version: 3.9.5
++Homepage: http://svn.svnkit.com/repos/3rdparty/com.trilead.ssh2/trunk/trilead-ssh2
+
+Package: libtrilead-ssh2-java
+Architecture: all
- Depends: ${java:Depends}, ${misc:Depends}
- Description: Java SSH libarary
++Depends:
++ ${java:Depends},
++ ${misc:Depends}
++Description: Java SSH library
+ Trilead SSH for Java is a freely available open-source library which
+ implements the SSH-2 protocol in pure Java (tested on J2SE 1.4.2 and 5.0). It
+ allows one to connect to SSH servers from within Java programs. It supports
+ SSH sessions (remote command execution and shell access), local and remote
+ port forwarding, local stream forwarding, X11 forwarding, SCP and SFTP. There
+ are no dependencies on any JCE provider, as all crypto functionality is
+ included.
diff --cc debian/copyright
index 2f12e07,0000000..5574775
mode 100644,000000..100644
--- a/debian/copyright
+++ b/debian/copyright
@@@ -1,97 -1,0 +1,128 @@@
- This package was Debianised by Matthew Johnson <mjj29 at debian.org> on Wed Feb 20 11:41:05 GMT 2008
-
- This package was originally downloaded from http://www.trilead.com/Download/Trilead-SSH-2-Java/,
- but now upstream is http://svn.svnkit.com/repos/svnkit/tags/1.3.2/contrib/trilead/
-
- Copyright (c) 2007 Trilead AG (http://www.trilead.com)
-
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- a.) Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- b.) 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.
- c.) Neither the name of Trilead nor the names of its contributors may
- be used to endorse or promote products derived from this software
- without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS 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 THE COPYRIGHT OWNER OR CONTRIBUTORS 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.
-
- Trilead SSH-2 for Java includes code that was written by Dr. Christian Plattner
- during his PhD at ETH Zurich. The license states the following:
-
- Copyright (c) 2005 - 2006 Swiss Federal Institute of Technology (ETH Zurich),
- Department of Computer Science (http://www.inf.ethz.ch),
- Christian Plattner. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- a.) Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- b.) 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.
- c.) Neither the name of ETH Zurich nor the names of its contributors may
- be used to endorse or promote products derived from this software
- without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS 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 THE COPYRIGHT OWNER OR CONTRIBUTORS 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.
-
- The Java implementations of the AES, Blowfish and 3DES ciphers have been
- taken (and slightly modified) from the cryptography package released by
- "The Legion Of The Bouncy Castle".
-
- Their license states the following:
-
- Copyright (c) 2000 - 2004 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.
-
-
- The packaging is Copyright 2008 Matthew Johnson <mjj29 at debian.org> and is licenced
- under the terms of the BSD licence. On Debian systems the BSD licence can be
- found in /usr/share/common-licenses/BSD.
++Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: Trilead SSH-2
++Source: http://svn.svnkit.com/repos/3rdparty/com.trilead.ssh2/trunk/trilead-ssh2
++
++Files: *
++Copyright: 2007, Trilead AG (http://www.trilead.com)
++ Dr. Christian Plattner
++License: Trilead-license
++Comment:
++ The Trilead license is available at http://www.svnkit.com/TRILEAD-LICENSE.txt.
++
++Files: debian/*
++Copyright: 2008-2010, Matthew Johnson <mjj29 at debian.org>
++ 2014, Markus Koschany <apo at gambaru.de>
++License: BSD-3-clause
++ 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. Neither the name of the copyright holder nor the names of its contributors
++ may be used to endorse or promote products derived from this software without
++ specific prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
++ ANY EXPRESS 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 THE COPYRIGHT HOLDER OR CONTRIBUTORS 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.
++
++License: Trilead-license
++ Copyright (c) 2007-2008 Trilead AG (http://www.trilead.com)
++ .
++ All rights reserved.
++ .
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ .
++ a.) Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ b.) 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.
++ c.) Neither the name of Trilead nor the names of its contributors may
++ be used to endorse or promote products derived from this software
++ without specific prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS 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 THE COPYRIGHT OWNER OR CONTRIBUTORS 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.
++ .
++ Trilead SSH-2 for Java includes code that was written by Dr. Christian Plattner
++ during his PhD at ETH Zurich. The license states the following:
++ .
++ Copyright (c) 2005 - 2006 Swiss Federal Institute of Technology (ETH Zurich),
++ Department of Computer Science (http://www.inf.ethz.ch),
++ Christian Plattner. All rights reserved.
++ .
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ .
++ a.) Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ b.) 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.
++ c.) Neither the name of ETH Zurich nor the names of its contributors may
++ be used to endorse or promote products derived from this software
++ without specific prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS 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 THE COPYRIGHT OWNER OR CONTRIBUTORS 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.
++ .
++ The Java implementations of the AES, Blowfish and 3DES ciphers have been
++ taken (and slightly modified) from the cryptography package released by
++ "The Legion Of The Bouncy Castle".
++ .
++ Their license states the following:
++ .
++ Copyright (c) 2000 - 2004 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.
diff --cc debian/libtrilead-ssh2-java.poms
index 0000000,0000000..5468a2d
new file mode 100644
--- /dev/null
+++ b/debian/libtrilead-ssh2-java.poms
@@@ -1,0 -1,0 +1,1 @@@
++debian/trilead-ssh2.pom
diff --cc debian/rules
index cf662bb,0000000..6c50a23
mode 100755,000000..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,10 -1,0 +1,20 @@@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export JAVA_HOME=/usr/lib/jvm/default-java
++export UVERSION := $(shell dpkg-parsechangelog | grep ^Version: | sed 's/^.*: \(.*\)-.*$$/\1/')
+
+%:
- dh --with javahelper $@
++ dh $@ --with javahelper
+
++override_dh_auto_install:
++ dh_auto_install
++ mh_installpoms -plibtrilead-ssh2-java
++ mh_installjar -plibtrilead-ssh2-java debian/trilead-ssh2.pom trilead-ssh2.jar \
++ --java-lib --usj-version=$(UVERSION)
++
++override_dh_auto_clean:
++ dh_auto_clean
++ mh_clean
diff --cc debian/source/format
index 0000000,0000000..163aaf8
new file mode 100644
--- /dev/null
+++ b/debian/source/format
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
diff --cc debian/trilead-ssh2.pom
index 0000000,0000000..c3e5630
new file mode 100644
--- /dev/null
+++ b/debian/trilead-ssh2.pom
@@@ -1,0 -1,0 +1,31 @@@
++<?xml version="1.0" encoding="UTF-8"?>
++<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
++ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
++ <modelVersion>4.0.0</modelVersion>
++ <groupId>com.trilead</groupId>
++ <artifactId>trilead-ssh2</artifactId>
++ <version>1.0.0-build217</version>
++ <name>Trilead SSH2 Library</name>
++ <description>Java SSH2 Library</description>
++ <url>http://svn.svnkit.com/repos/3rdparty/com.trilead.ssh2</url>
++ <licenses>
++ <license>
++ <name>Trilead Library License</name>
++ <url>http://www.svnkit.com/TRILEAD-LICENSE.txt</url>
++ </license>
++ </licenses>
++ <developers>
++ <developer>
++ <id>trilead</id>
++ <name>Trilead AG</name>
++ </developer>
++ <developer>
++ <id>tmate</id>
++ <name>TMate Software</name>
++ </developer>
++ </developers>
++ <scm>
++ <connection>scm:svn:http://svn.svnkit.com/repos/3rdparty/com.trilead.ssh2</connection>
++ <url>http://svn.svnkit.com/repos/3rdparty/com.trilead.ssh2</url>
++ </scm>
++</project>
diff --cc debian/watch
index 0000000,0000000..be2b69a
new file mode 100644
--- /dev/null
+++ b/debian/watch
@@@ -1,0 -1,0 +1,1 @@@
++#trilead-ssh2 is maintained in a svn repository. There is nothing to watch.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/trilead-ssh2.git
More information about the pkg-java-commits
mailing list