aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog225
-rw-r--r--debian/clean1
-rw-r--r--debian/compat1
-rw-r--r--debian/control69
-rw-r--r--debian/copyright25
-rw-r--r--debian/gbp.conf10
-rw-r--r--debian/paramiko-doc.doc-base9
-rw-r--r--debian/paramiko-doc.docs2
-rw-r--r--debian/paramiko-doc.examples1
-rw-r--r--debian/patches/0001-Upstream-GitHub-Pull-Request-352-to-fix-buffer-objec.patch62
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules48
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/local-options1
-rw-r--r--debian/source/options2
-rw-r--r--debian/tests/control3
-rw-r--r--debian/tests/upstream5
-rw-r--r--debian/watch2
18 files changed, 468 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..bc5d4b8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,225 @@
+paramiko (1.14.0-2) unstable; urgency=low
+
+ * Add extend-diff-ignore to debian/source/options.
+ Thanks to Thomas Goirand <zigo>
+ * Add python-ecdsa to Build-Depends (Closes: #702571)
+ * Add Python 3 support to build.
+ Thanks to Thomas Goirand <zigo> (Closes: #697600, #749512)
+ * Clean up build environment
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Tue, 27 May 2014 21:30:02 -0400
+
+paramiko (1.14.0-1) unstable; urgency=low
+
+ * Imported Upstream version 1.14.0 (Closes: #742005)
+ * Update Standards-Version to 3.9.5
+ * Fix paramiko-doc overwriting /usr/share/doc-base/python-paramiko.
+ Thanks to Felix Geyer <fgeyer@debian.org> (Closes: #718004)
+ * debian/patches/*: Removed patch applied upstream
+ * debian/control: Move VCS location
+ * debian/control: Fix type in paramiko-doc block
+ * debian/control: Removed unknown XS-Testsuite
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Sun, 11 May 2014 23:01:05 -0400
+
+paramiko (1.10.1-1) unstable; urgency=low
+
+ * Imported Upstream version 1.10.1
+ * debian/control: Revise debhelper Build-Depends entry
+ * debian/{control,watch}: Update for new maintainer and source address
+ (Closes: #690080) - thanks to Mike Gabriel <mike.gabriel@das-
+ netzwerkteam.de>
+ * debian/gbp.conf: Add standard git-buildpackage settings
+ * debian/patches/*: Removed patch included in upstream
+ * debian/patches/*: Removed hostkey patch that caused problems -
+ thanks to Lars Noschinski <lars@public.noschinski.de>
+ * debian/*: clean up build files for new version
+ * debian/control: Add Build-Depend on python-epydoc
+ * debian/patches/*: Add patch to remove upstream Makefile
+ * debian/*: Build out separate paramiko-doc package (Closes: #682255)
+ - thanks to Touko Korpela <touko.korpela@iki.fi>
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Thu, 27 Jun 2013 22:59:08 -0400
+
+paramiko (1.7.7.1-3) unstable; urgency=low
+
+ * Accept NMU uploads (Closes: #659007, #668239)
+ * Update package to clean up lintian findings
+ * debian/source/local-options: set unapply-patches option
+ * debian/watch: Don't need to use uupdate with gbp
+ * debian/control: Upgrade Debian Standard (no changes needed)
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Mon, 09 Jul 2012 11:02:38 -0400
+
+paramiko (1.7.7.1-2.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add Fix-SSHException-when-re-keying-over-a-fast-connection.patch patch.
+ Fix bug "Transfers fail after 1GB; rekeying window too small".
+ (Closes: #659007)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 07 Jul 2012 17:09:08 +0200
+
+paramiko (1.7.7.1-2.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix broken host key handling when port != 22 (Closes: 668239)
+
+ -- Luk Claes <luk@debian.org> Thu, 05 Jul 2012 00:38:56 +0000
+
+paramiko (1.7.7.1-2) unstable; urgency=low
+
+ * debian/*: Update build to use dh_python2 (Closes: #637379)
+ * Debian package build environment cleanup
+ * Acknowledge previous NMU patch that was included in upstream update
+ release Thanks Jelmer Vernooij <jelmer@debian.org> (Closes: #611361)
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Sun, 02 Oct 2011 13:46:01 -0400
+
+paramiko (1.7.7.1-1) unstable; urgency=low
+
+ * Imported Upstream version 1.7.7.1 (Closes: #627754)
+ * debian/patches: Patches included in upstream
+ * debian/control: Updated standards version (no change)
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Tue, 31 May 2011 21:23:55 -0400
+
+paramiko (1.7.6-6) unstable; urgency=low
+
+ * Add back quilt support NMU removed & update clean target
+ * Accept NMU upload. Thanks Jelmer Vernooij <jelmer@debian.org>
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Sat, 29 Jan 2011 12:02:16 -0500
+
+paramiko (1.7.6-5.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Avoid deprecated RandomPool. Patch by Gary van der Merwe. Closes:
+ #576697
+ * Try connecting to each available address family until one succeeds.
+ Patch by Andrew Bennetts. Closes: #602251
+ * Bump standards version to 3.9.1 (no changes).
+
+ -- Jelmer Vernooij <jelmer@debian.org> Fri, 28 Jan 2011 12:35:12 +0100
+
+paramiko (1.7.6-5) unstable; urgency=low
+
+ * debian/control: Fix python-crypto version dependency
+ * debian/rules: Remove simple-patchsys.mk
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Sat, 17 Jul 2010 00:00:40 -0400
+
+paramiko (1.7.6-4) unstable; urgency=low
+
+ * Update Standards-Version to 3.9.0
+ * debian/control: Add versioned dependency on python-crypto (Closes:
+ #479596)
+ * debian/control: Build-Depends python-all-dev to python-all
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Fri, 16 Jul 2010 10:54:06 -0400
+
+paramiko (1.7.6-3) unstable; urgency=medium
+
+ * Add conflict against fabric 0.9.0-1 (Closes: #563490) - thanks to
+ Chris Lamb <lamby@debian.org> for being a packaging tool
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Mon, 04 Jan 2010 10:12:32 -0500
+
+paramiko (1.7.6-2) unstable; urgency=low
+
+ * debian/control: Fix last remaining lintian warning
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Wed, 16 Dec 2009 08:15:36 -0500
+
+paramiko (1.7.6-1) unstable; urgency=low
+
+ * Imported Upstream version 1.7.6 (Closes: #543784)
+ * Fix formatting error for __all__ in paramiko/__init__.py (Closes:
+ #494836)
+ * Update debian/watch syntax
+ * Package build clean-up
+ * Include docs/ contents with build (LP: #364998)
+ * Update Build-Depends
+ * debian/control: Update Vcs-* entries
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Tue, 15 Dec 2009 09:46:29 -0500
+
+paramiko (1.7.4-0.1) unstable; urgency=medium
+
+ * NMU.
+ * New upstream version.
+ - Fix random number regression (stop using RandomPool). Closes: #490961.
+
+ -- Matthias Klose <doko@debian.org> Fri, 18 Jul 2008 14:16:08 +0200
+
+paramiko (1.7.3-1) unstable; urgency=low
+
+ * New upstream version
+ Closes: #475505.
+ * Acknowledge NMU changes
+ * Missing examples included
+ Closes: #455547.
+ * Confirmed new upstream version corrected FutureWarning
+ Closes: #405552.
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Sun, 04 May 2008 11:41:27 -0400
+
+paramiko (1.7.2-0.1) unstable; urgency=low
+
+ * Non-maintainer upload to DELAYED/14-day. (¹)
+ * New upstream release. (Closes: #415060)
+ * Drop the patch introduced in 1.6.4-1.1, as it's part of 1.7.2.
+
+ (¹) Counting since the initial 1.7.1-0.1 upload in Jan 13th.
+
+ -- Adeodato Simó <dato@net.com.org.es> Thu, 24 Jan 2008 13:54:18 +0100
+
+paramiko (1.6.4-1.1) unstable; urgency=high
+
+ * Non-maintainer upload by security team.
+ * Fix insecure use of RandomPool if paramiko is used for threads or multiple
+ forked processes. This enables one session to predict random data of
+ another session using its own random data.
+ (CVE id pending; Closes: #460706).
+
+ -- Nico Golde <nion@debian.org> Mon, 14 Jan 2008 19:36:40 +0100
+
+paramiko (1.6.4-1) unstable; urgency=low
+
+ * New upstream release (Closes: #344734, #382348).
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Tue, 26 Dec 2006 15:48:42 -0500
+
+paramiko (1.5.2-0.1) unstable; urgency=low
+
+ [ Wouter van Heyst ]
+ * Non-maintainer upload.
+ * New upstream release.
+ + Drop python_script_fix.patch and pathmangle.sh, no longer needed.
+ * Merge some ubuntu changes.
+ + Add watch file.
+ + Update copyright file.
+
+ -- Robert Collins <robertc@robertcollins.net> Fri, 28 Jul 2006 14:26:29 +1000
+
+paramiko (1.5-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix B-D-I/B-D glitches.
+ * Update package to the new python policy (Closes: #373472).
+
+ -- Pierre Habouzit <madcoder@debian.org> Thu, 29 Jun 2006 23:00:34 +0200
+
+paramiko (1.5-1) unstable; urgency=low
+
+ * New upstream release.
+ * Initial package upload (Closes: #292942).
+
+ -- Jeremy T. Bouse <jbouse@debian.org> Tue, 18 Oct 2005 14:57:46 -0700
+
+paramiko (1.1-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Guido Guenther <agx@debian.org> Mon, 31 Jan 2005 11:24:37 +0100
+
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..c7ec943
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+test.log
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b9a7aaf
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,69 @@
+Source: paramiko
+Section: python
+Priority: optional
+Maintainer: Jeremy T. Bouse <jbouse@debian.org>
+Uploaders: Guido Guenther <agx@debian.org>
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Build-Depends: debhelper (>> 9),
+ python-all (>= 2.6.6-3~),
+ python-crypto (>= 2.1.0-2),
+ python-ecdsa,
+ python-setuptools,
+ python-epydoc,
+ python3-all,
+ python3-crypto,
+ python3-ecdsa,
+ python3-setuptools
+Standards-Version: 3.9.5
+Homepage: https://github.com/paramiko/paramiko/
+Vcs-Git: https://github.com/jbouse-debian/paramiko.git
+Vcs-Browser: https://github.com/jbouse-debian/paramiko
+XS-Testsuite: autopkgtest
+
+Package: paramiko-doc
+Package-Type: deb
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Breaks: python-paramiko (<< 1.10.1-1~)
+Replaces: python-paramiko (<< 1.10.1-1~)
+Description: Make ssh v2 connections with Python (Documentation)
+ This is a library for making SSH2 connections (client or server).
+ Emphasis is on using SSH2 as an alternative to SSL for making secure
+ connections between Python scripts. All major ciphers and hash methods
+ are supported. SFTP client and server mode are both supported too.
+ .
+ This is the documentation for the package.
+
+Package: python-paramiko
+Package-Type: deb
+Architecture: all
+Depends: python-crypto (>= 2.1.0-2),
+ ${misc:Depends},
+ ${python:Depends}
+Provides: ${python:Provides}
+Conflict: python-bzrlib (<< 2.6.0)
+Description: Make ssh v2 connections with Python (Python 2)
+ This is a library for making SSH2 connections (client or server).
+ Emphasis is on using SSH2 as an alternative to SSL for making secure
+ connections between Python scripts. All major ciphers and hash methods
+ are supported. SFTP client and server mode are both supported too.
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-paramiko
+Package-Type: deb
+Architecture: all
+Depends: python3-crypto (>= 2.1.0-2),
+ ${misc:Depends},
+ ${python3:Depends}
+Provides: ${python3:Provides}
+Conflict: python-bzrlib (<< 2.6.0)
+Description: Make ssh v2 connections with Python (Python 3)
+ This is a library for making SSH2 connections (client or server).
+ Emphasis is on using SSH2 as an alternative to SSL for making secure
+ connections between Python scripts. All major ciphers and hash methods
+ are supported. SFTP client and server mode are both supported too.
+ .
+ This is the Python 3 version of the package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..70e821a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,25 @@
+This package was debianized by Guido Guenther <agx@debian.org> on
+Mon, 31 Jan 2005 11:24:37 +0100.
+
+It was downloaded from http://www.lag.net/paramiko/download/
+
+Upstream Author: Robey Pointer <robey@lag.net>
+
+Copyright 2003, 2004, 2005, 2006 Robey Pointer
+
+ Paramiko 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.
+
+ Paramiko is distrubuted 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 Paramiko; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian GNU/Linux systems, the complete text of the Lesser GNU General
+Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..c837676
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,10 @@
+[DEFAULT]
+pristine-tar = True
+
+[git-buildpackage]
+sign-tags = True
+postbuild = lintian $GBP_CHANGES_FILE
+
+[git-dch]
+meta = True
+git-author = True
diff --git a/debian/paramiko-doc.doc-base b/debian/paramiko-doc.doc-base
new file mode 100644
index 0000000..e5336d1
--- /dev/null
+++ b/debian/paramiko-doc.doc-base
@@ -0,0 +1,9 @@
+Document: python-paramiko
+Title: Paramiko
+Author: Jeff Forcier <jeff@bitprophet.org>
+Abstract: A Python interface to the paramiko SSH2 protocol library
+Section: Programming/Python
+
+Format: html
+Index: /usr/share/doc/paramiko-doc/html/index.html
+Files: /usr/share/doc/paramiko-doc/html/*.html
diff --git a/debian/paramiko-doc.docs b/debian/paramiko-doc.docs
new file mode 100644
index 0000000..e46fb13
--- /dev/null
+++ b/debian/paramiko-doc.docs
@@ -0,0 +1,2 @@
+README
+html
diff --git a/debian/paramiko-doc.examples b/debian/paramiko-doc.examples
new file mode 100644
index 0000000..dde105a
--- /dev/null
+++ b/debian/paramiko-doc.examples
@@ -0,0 +1 @@
+demos/*
diff --git a/debian/patches/0001-Upstream-GitHub-Pull-Request-352-to-fix-buffer-objec.patch b/debian/patches/0001-Upstream-GitHub-Pull-Request-352-to-fix-buffer-objec.patch
new file mode 100644
index 0000000..123f7c9
--- /dev/null
+++ b/debian/patches/0001-Upstream-GitHub-Pull-Request-352-to-fix-buffer-objec.patch
@@ -0,0 +1,62 @@
+From: "Jeremy T. Bouse" <Jeremy.Bouse@coxinc.com>
+Date: Sun, 24 Aug 2014 20:47:42 -0400
+Subject: Upstream GitHub Pull Request #352 to fix "buffer" objects
+
+Include https://github.com/paramiko/paramiko/pull/352 patch to
+resolve issue with support passing in "buffer" objects again
+where bytestrings are expected.
+---
+ paramiko/py3compat.py | 4 ++++
+ tests/test_file.py | 10 ++++++++++
+ 2 files changed, 14 insertions(+)
+
+diff --git a/paramiko/py3compat.py b/paramiko/py3compat.py
+index 8842b98..57c096b 100644
+--- a/paramiko/py3compat.py
++++ b/paramiko/py3compat.py
+@@ -39,6 +39,8 @@ if PY2:
+ return s
+ elif isinstance(s, unicode):
+ return s.encode(encoding)
++ elif isinstance(s, buffer):
++ return s
+ else:
+ raise TypeError("Expected unicode or bytes, got %r" % s)
+
+@@ -49,6 +51,8 @@ if PY2:
+ return s.decode(encoding)
+ elif isinstance(s, unicode):
+ return s
++ elif isinstance(s, buffer):
++ return s.decode(encoding)
+ else:
+ raise TypeError("Expected unicode or bytes, got %r" % s)
+
+diff --git a/tests/test_file.py b/tests/test_file.py
+index c6edd7a..22a34ac 100755
+--- a/tests/test_file.py
++++ b/tests/test_file.py
+@@ -23,6 +23,7 @@ Some unit tests for the BufferedFile abstraction.
+ import unittest
+ from paramiko.file import BufferedFile
+ from paramiko.common import linefeed_byte, crlf, cr_byte
++import sys
+
+
+ class LoopbackFile (BufferedFile):
+@@ -151,6 +152,15 @@ class BufferedFileTest (unittest.TestCase):
+ b'need to close them again.\n')
+ f.close()
+
++ def test_8_buffering(self):
++ """
++ verify that buffered objects can be written
++ """
++ if sys.version_info[0] == 2:
++ f = LoopbackFile('r+', 16)
++ f.write(buffer(b'Too small.'))
++ f.close()
++
+ if __name__ == '__main__':
+ from unittest import main
+ main()
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..14d6d51
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Upstream-GitHub-Pull-Request-352-to-fix-buffer-objec.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ff9e733
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,48 @@
+#!/usr/bin/make -f
+
+PY3VERS=$(shell py3versions -vr)
+
+%:
+ dh $@ --with python2,python3
+
+build-python%:
+ python$* setup.py build
+
+test-python%:
+ python$* setup.py test -vv
+
+install-python%:
+ python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
+
+override_dh_auto_build: $(PY3VERS:%=build-python%)
+ dh_auto_build
+
+override_dh_auto_test: $(PY3VERS:%=test-python%)
+ dh_auto_test
+
+override_dh_auto_install: $(PY3VERS:%=install-python%)
+ dh_auto_install
+
+override_dh_install:
+ dh_install "debian/tmp/usr/lib/python2*" -p python-paramiko
+ dh_install "debian/tmp/usr/lib/python3*" -p python3-paramiko
+ dh_install
+
+override_dh_installdocs:
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+ epydoc --no-private -o html/ paramiko
+endif
+ dh_installdocs
+
+override_dh_clean:
+ dh_clean
+ rm -rf build
+ rm -rf html
+
+# Commands not to run
+override_dh_installcatalogs override_dh_installcron:
+override_dh_installdebconf override_dh_installemacsen override_dh_installifupdown:
+override_dh_installinfo override_dh_installinit override_dh_installmenu override_dh_installmime:
+override_dh_installmodules override_dh_installlogcheck override_dh_installlogrotate:
+override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
+override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..4aceb10
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1 @@
+unapply-patches
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..50f396e
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1,2 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
+extend-diff-ignore = "^docs/index.html"
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..799e33c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: upstream
+Depends: @
+Restrictions: allow-stderr
diff --git a/debian/tests/upstream b/debian/tests/upstream
new file mode 100644
index 0000000..7a400be
--- /dev/null
+++ b/debian/tests/upstream
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+
+python ./test.py --verbose
+python3 ./test.py --verbose
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..de4c4b8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/paramiko/paramiko/tags .*/archive/v(\d[\d\.]*).tar.gz