summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2009-12-01 09:21:40 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2009-12-01 09:21:40 +0000
commitb789371b61d4334b3016cbad0a70d794e2185b1a (patch)
tree668a335a0c5651fbc72fdd96bcd0dd57201e8c94
parent2f9f45bddddf109c7be912e996e82e23c687f8b5 (diff)
downloadbcfg2-b789371b61d4334b3016cbad0a70d794e2185b1a.tar.gz
bcfg2-b789371b61d4334b3016cbad0a70d794e2185b1a.tar.bz2
bcfg2-b789371b61d4334b3016cbad0a70d794e2185b1a.zip
Don't have a better place to put python-ssl debian packaging for now.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5601 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--misc/python-ssl-1.15/debian/changelog6
-rw-r--r--misc/python-ssl-1.15/debian/compat1
-rw-r--r--misc/python-ssl-1.15/debian/control88
-rw-r--r--misc/python-ssl-1.15/debian/copyright61
-rw-r--r--misc/python-ssl-1.15/debian/python-ssl.docs1
-rw-r--r--misc/python-ssl-1.15/debian/python-ssl.preinst14
-rw-r--r--misc/python-ssl-1.15/debian/pyversions1
-rwxr-xr-xmisc/python-ssl-1.15/debian/rules27
-rw-r--r--misc/python-ssl-1.15/debian/watch4
9 files changed, 203 insertions, 0 deletions
diff --git a/misc/python-ssl-1.15/debian/changelog b/misc/python-ssl-1.15/debian/changelog
new file mode 100644
index 000000000..5667009bd
--- /dev/null
+++ b/misc/python-ssl-1.15/debian/changelog
@@ -0,0 +1,6 @@
+python-ssl (1.15-1) unstable; urgency=low
+
+ * first debian packaged release
+
+ -- Daniel Joseph Barnhart Clark <dclark@pobox.com> Wed, 25 Nov 2009 20:40:46 -0500
+
diff --git a/misc/python-ssl-1.15/debian/compat b/misc/python-ssl-1.15/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/misc/python-ssl-1.15/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/misc/python-ssl-1.15/debian/control b/misc/python-ssl-1.15/debian/control
new file mode 100644
index 000000000..5dc5b1c91
--- /dev/null
+++ b/misc/python-ssl-1.15/debian/control
@@ -0,0 +1,88 @@
+Source: python-ssl
+Section: python
+Priority: optional
+Maintainer: Daniel Joseph Barnhart Clark <dclark@pobox.com>
+Build-Depends: debhelper (>= 7.0.50~), python-setuptools, python-all-dev, libssl-dev, libbluetooth-dev
+Build-Depends-Indep: python-support (>= 0.5.3)
+Standards-Version: 3.7.2
+
+Package: python-ssl
+Architecture: any
+Depends: ${python:Depends}, ${misc:Depends}, python-pkg-resources, ${shlibs:Depends}, openssl
+Provides: ${python:Provides}
+Homepage: http://pypi.python.org/pypi/ssl/
+Description: SSL wrapper for socket objects (2.3, 2.4, 2.5 compatible)
+ .
+ The old socket.ssl() support for TLS over sockets is being
+ superseded in Python 2.6 by a new 'ssl' module. This package
+ brings that module to older Python releases, 2.3.5 and up (it may
+ also work on older versions of 2.3, but we haven't tried it).
+ .
+ It's quite similar to the 2.6 ssl module. There's no stand-alone
+ documentation for this package; instead, just use the development
+ branch documentation for the SSL module at
+ http://docs.python.org/dev/library/ssl.html.
+ .
+ Version 1.0 had a problem with Python 2.5.1 -- the structure of
+ the socket object changed from earlier versions.
+ .
+ Version 1.1 was missing various package metadata information.
+ .
+ Version 1.2 added more package metadata, and support for
+ ssl.get_server_certificate(), and the PEM-to-DER encode/decode
+ routines. Plus integrated Paul Moore's patch to setup.py for
+ Windows. Plus added support for asyncore, and asyncore HTTPS
+ server test.
+ .
+ Version 1.3 fixed a bug in the test suite.
+ .
+ Version 1.4 incorporated use of -static switch.
+ .
+ Version 1.5 fixed bug in Python version check affecting build on
+ Python 2.5.0.
+ .
+ Version 1.7 (and 1.6) fixed some bugs with asyncore support (recv and
+ send not being called on the SSLSocket class, wrong semantics for
+ sendall).
+ .
+ Version 1.8 incorporated some code from Chris Stawarz to handle
+ sockets which are set to non-blocking before negotiating the SSL
+ session.
+ .
+ Version 1.9 makes ssl.SSLError a subtype of socket.error.
+ .
+ Version 1.10 fixes a bug in sendall().
+ .
+ Version 1.11 includes the MANIFEST file, and by default will turne
+ unexpected EOFs occurring during a read into a regular EOF. It also
+ removes the code for SSLFileStream, to use the regular socket module's
+ _fileobject instead.
+ .
+ Version 1.12 fixes the bug in SSLSocket.accept() reported by Georg
+ Brandl, and adds a test case for that fix.
+ .
+ Version 1.13 fixes a bug in calling do_handshake() automatically
+ on non-blocking sockets. Thanks to Giampaolo Rodola. Now includes
+ real asyncore test case.
+ .
+ Version 1.14 incorporates some fixes to naming (rename "recv_from" to
+ "recvfrom" and "send_to" to "sendto"), and a fix to the asyncore test
+ case to unregister the connection handler when the connection is
+ closed. It also exposes the SSL shutdown via the "unwrap" method
+ on an SSLSocket. It exposes "subjectPublicKey" in the data received
+ from a peer cert.
+ .
+ Version 1.15 fixes a bug in write retries, where the output buffer has
+ changed location because of garbage collection during the interim.
+ It also provides the new flag, PROTOCOL_NOSSLv2, which selects SSL23,
+ but disallows actual use of SSL2.
+ .
+ Authorship: A cast of dozens over the years have written the Python
+ SSL support, including Marc-Alan Lemburg, Robin Dunn, GvR, Kalle
+ Svensson, Skip Montanaro, Mark Hammond, Martin von Loewis, Jeremy
+ Hylton, Andrew Kuchling, Georg Brandl, Bill Janssen, Chris Stawarz,
+ Neal Norwitz, and many others. Thanks to Paul Moore, David Bolen and
+ Mark Hammond for help with the Windows side of the house. And it's
+ all based on OpenSSL, which has its own cast of dozens!
+ .
+ .
diff --git a/misc/python-ssl-1.15/debian/copyright b/misc/python-ssl-1.15/debian/copyright
new file mode 100644
index 000000000..ef9a5c380
--- /dev/null
+++ b/misc/python-ssl-1.15/debian/copyright
@@ -0,0 +1,61 @@
+This package was debianized by Daniel Joseph Barnhart Clark
+<dclark@pobox.com>
+
+Upstream Authorship: A cast of dozens over the years have written the
+Python SSL support, including Marc-Alan Lemburg, Robin Dunn, GvR,
+Kalle Svensson, Skip Montanaro, Mark Hammond, Martin von Loewis,
+Jeremy Hylton, Andrew Kuchling, Georg Brandl, Bill Janssen, Chris
+Stawarz, Neal Norwitz, and many others. Thanks to Paul Moore, David
+Bolen and Mark Hammond for help with the Windows side of the house.
+And it's all based on OpenSSL, which has its own cast of dozens!
+
+License: Python (MIT-like) http://www.python.org/psf/license/
+
+PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
+--------------------------------------------
+
+1. This LICENSE AGREEMENT is between the Python Software Foundation
+("PSF"), and the Individual or Organization ("Licensee") accessing and
+otherwise using this software ("Python") in source or binary form and
+its associated documentation.
+
+2. Subject to the terms and conditions of this License Agreement, PSF
+hereby grants Licensee a nonexclusive, royalty-free, world-wide
+license to reproduce, analyze, test, perform and/or display publicly,
+prepare derivative works, distribute, and otherwise use Python
+alone or in any derivative version, provided, however, that PSF's
+License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
+2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights
+Reserved" are retained in Python alone or in any derivative version
+prepared by Licensee.
+
+3. In the event Licensee prepares a derivative work that is based on
+or incorporates Python or any part thereof, and wants to make
+the derivative work available to others as provided herein, then
+Licensee hereby agrees to include in any such work a brief summary of
+the changes made to Python.
+
+4. PSF is making Python available to Licensee on an "AS IS"
+basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
+DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
+INFRINGE ANY THIRD PARTY RIGHTS.
+
+5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
+OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+
+6. This License Agreement will automatically terminate upon a material
+breach of its terms and conditions.
+
+7. Nothing in this License Agreement shall be deemed to create any
+relationship of agency, partnership, or joint venture between PSF and
+Licensee. This License Agreement does not grant permission to use PSF
+trademarks or trade name in a trademark sense to endorse or promote
+products or services of Licensee, or any third party.
+
+8. By copying, installing or otherwise using Python, Licensee
+agrees to be bound by the terms and conditions of this License
+Agreement.
diff --git a/misc/python-ssl-1.15/debian/python-ssl.docs b/misc/python-ssl-1.15/debian/python-ssl.docs
new file mode 100644
index 000000000..ed0d4372e
--- /dev/null
+++ b/misc/python-ssl-1.15/debian/python-ssl.docs
@@ -0,0 +1 @@
+PKG-INFO
diff --git a/misc/python-ssl-1.15/debian/python-ssl.preinst b/misc/python-ssl-1.15/debian/python-ssl.preinst
new file mode 100644
index 000000000..f1afdfa16
--- /dev/null
+++ b/misc/python-ssl-1.15/debian/python-ssl.preinst
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+set -e
+
+# This was added by stdeb to workaround Debian #479852. In a nutshell,
+# pycentral does not remove normally remove its symlinks on an
+# upgrade. Since we're using python-support, however, those symlinks
+# will be broken. This tells python-central to clean up any symlinks.
+if [ -e /var/lib/dpkg/info/python-ssl.list ] && which pycentral >/dev/null 2>&1
+then
+ pycentral pkgremove python-ssl
+fi
+
+#DEBHELPER#
diff --git a/misc/python-ssl-1.15/debian/pyversions b/misc/python-ssl-1.15/debian/pyversions
new file mode 100644
index 000000000..03ab32ca5
--- /dev/null
+++ b/misc/python-ssl-1.15/debian/pyversions
@@ -0,0 +1 @@
+2.3,2.4,2.5
diff --git a/misc/python-ssl-1.15/debian/rules b/misc/python-ssl-1.15/debian/rules
new file mode 100755
index 000000000..a7da957ff
--- /dev/null
+++ b/misc/python-ssl-1.15/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+# Unset the environment variables set by dpkg-buildpackage. (This is
+# necessary because distutils is brittle with compiler/linker flags
+# set. Specifically, packages using f2py will break without this.)
+unexport CPPFLAGS
+unexport CFLAGS
+unexport CXXFLAGS
+unexport FFLAGS
+unexport LDFLAGS
+
+PYVERS=$(shell pyversions -vr)
+
+%:
+ dh --with python-support $@
+
+# The tests include network-based tests that fail under
+# Launchpad PPA and probably sbuild, so for now disable
+# all tests. Should figure out how to run only non-network
+# tests later.
+override_dh_auto_test:
+
+# The default auto_install target gives this error:
+# copying build/lib.linux-i686-2.5/ssl/_ssl2.so -> /usr/lib/python2.5/site-packages/ssl
+# error: could not delete '/usr/lib/python2.5/site-packages/ssl/_ssl2.so': Permission denied
+override_dh_auto_install:
+ python$* setup.py install --root $(CURDIR)/debian/python-ssl
diff --git a/misc/python-ssl-1.15/debian/watch b/misc/python-ssl-1.15/debian/watch
new file mode 100644
index 000000000..edfad21b4
--- /dev/null
+++ b/misc/python-ssl-1.15/debian/watch
@@ -0,0 +1,4 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+
+http://pypi.python.org/packages/source/s/ssl/ssl-(.*)\.tar\.gz