[Python-modules-commits] [python-pyftpdlib] 01/01: forgotton files from last commit, still 1.5.1-1

Wolfgang Borgert debacle at moszumanska.debian.org
Wed Oct 12 00:03:22 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to branch master
in repository python-pyftpdlib.

commit fcb49386746f6bf0de32ca60707b973c12a67634
Author: W. Martin Borgert <debacle at debian.org>
Date:   Wed Oct 12 00:01:24 2016 +0000

    forgotton files from last commit, still 1.5.1-1
---
 debian/clean                          |  1 +
 debian/patches/series                 |  1 +
 debian/patches/sslv3_deprecated.patch | 24 ++++++++++++++++++++++++
 debian/source/include-binaries        |  2 --
 4 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/debian/clean b/debian/clean
index 806d411..8a02101 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1 +1,2 @@
 pyftpdlib.egg-info/*
+dist/*
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2df9c79
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+sslv3_deprecated.patch
diff --git a/debian/patches/sslv3_deprecated.patch b/debian/patches/sslv3_deprecated.patch
new file mode 100644
index 0000000..62ff6d4
--- /dev/null
+++ b/debian/patches/sslv3_deprecated.patch
@@ -0,0 +1,24 @@
+Description: Do not use deprecated ssl.PROTOCOL_SSLv3
+Author: W. Martin Borgert <debacle at debian.org>
+Origin: vendor
+Last-Update: 2015-10-10
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/pyftpdlib/test/test_functional_ssl.py
++++ b/pyftpdlib/test/test_functional_ssl.py
+@@ -344,14 +344,12 @@
+             self.client.quit()
+ 
+     def test_ssl_version(self):
+-        protos = [ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1]
++        protos = [ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1]
+         if hasattr(ssl, "PROTOCOL_SSLv2"):
+             protos.append(ssl.PROTOCOL_SSLv2)
+             for proto in protos:
+                 self.try_protocol_combo(ssl.PROTOCOL_SSLv2, proto)
+         for proto in protos:
+-            self.try_protocol_combo(ssl.PROTOCOL_SSLv3, proto)
+-        for proto in protos:
+             self.try_protocol_combo(ssl.PROTOCOL_SSLv23, proto)
+         for proto in protos:
+             self.try_protocol_combo(ssl.PROTOCOL_TLSv1, proto)
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
deleted file mode 100644
index 57f311a..0000000
--- a/debian/source/include-binaries
+++ /dev/null
@@ -1,2 +0,0 @@
-docs/_static/favicon.ico
-docs/_static/logo.png

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pyftpdlib.git



More information about the Python-modules-commits mailing list