Merge pull request #40 from andrew-d/andrew-support-sslv2

Allow creating a Context with SSLv2_METHOD, a feature which was accidentally dropped in the Python port.
diff --git a/dapper/README.Debian b/dapper/README.Debian
deleted file mode 100644
index 884deb8..0000000
--- a/dapper/README.Debian
+++ /dev/null
@@ -1,13 +0,0 @@
-Debian notes -- pyOpenSSL
--------------------------
-
-The source package is split up over four binary packages:
-
-* python2.2-pyopenssl -- compiled for Python 2.2
-* python2.3-pyopenssl -- compiled for Python 2.3
-* python-pyopenssl    -- dummy package that depends on the default
-                         Python version (currently 2.3)
-* pyopenssl-doc       -- documentation for pyOpenSSL
-
-
-Martin Sjögren <sjogren@debian.org>
diff --git a/dapper/changelog b/dapper/changelog
deleted file mode 100644
index a9db879..0000000
--- a/dapper/changelog
+++ /dev/null
@@ -1,201 +0,0 @@
-pyopenssl (0.6-2ubuntu3) dapper; urgency=low
-
-  * Drop python2.3 package.
-
- -- Matthias Klose <doko@ubuntu.com>  Tue, 14 Feb 2006 15:32:47 +0000
-
-pyopenssl (0.6-2ubuntu2) dapper; urgency=low
-
-  * Rebuild against openssl 0.9.8.
-
- -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 30 Jan 2006 12:54:52 +0000
-
-pyopenssl (0.6-2ubuntu1) breezy; urgency=low
-
-  * Synchronize with Debian.
-
- -- Matthias Klose <doko@ubuntu.com>  Wed, 27 Jul 2005 08:52:44 +0000
-
-pyopenssl (0.6-2) unstable; urgency=low
-
-  * Add support for python 2.4. (Closes: #297870)
-  * Build-depend on v0.9.7 of openssl.
-
- -- Martin Sjogren <sjogren@debian.org>  Mon, 14 Mar 2005 08:56:27 +0100
-
-pyopenssl (0.6-1ubuntu3) hoary; urgency=low
-
-  * Drop python2.2 package.
-
- -- Matthias Klose <doko@ubuntu.com>  Mon, 24 Jan 2005 08:17:19 +0100
-
-pyopenssl (0.6-1ubuntu2) hoary; urgency=low
-
-  * Tighten build dependency on python.
-
- -- Matthias Klose <m@klose.in-berlin.de>  Thu, 16 Dec 2004 22:56:53 +0100
-
-pyopenssl (0.6-1ubuntu1) hoary; urgency=low
-
-  * Support python2.4 as default python version.
-
- -- Matthias Klose <m@klose.in-berlin.de>  Wed, 15 Dec 2004 20:59:11 +0100
-
-pyopenssl (0.6-1) unstable; urgency=low
-
-  * New upstream release, including:
-    - Add Netscape SPKI extensions. (Closes: #205132)
-    - Add X509.subject_name_hash, X509.digest. (Closes: #205136)
-    - Fix full names of exceptions. (Closes: #250342)
-    - Add SSL.Context.use_certificate_chain_file. (Closes: #260134)
-  * Docs are built upstream, so the build-deps have been trimmed.
-    This also means that HTML and text documentation are back.
-  * Bumped standards-version.
-  * Use dh_python.
-
- -- Martin Sjogren <sjogren@debian.org>  Fri, 13 Aug 2004 20:53:27 +0200
-
-pyopenssl (0.5.1-4) unstable; urgency=low
-
-  * Drop HTML and text documentation since latex2html moved to non-free.
-    This is a temporary solution, until I can hack mkhowto to use something
-    else. (Closes: #221344)
-  * Fix the copyright file to mention the copyright holder.
-
- -- Martin Sjogren <sjogren@debian.org>  Mon, 15 Dec 2003 20:16:25 +0100
-
-pyopenssl (0.5.1-3) unstable; urgency=low
-
-  * MANIFEST.in: Include the src/RATIONALE file. (Closes: #197401)
-  * doc/pyOpenSSL.tex: Fix typo. (Closes: #197435)
-  * Drop Python 1.5 and 2.1 support.
-  * Make python-pyopenssl depend on python2.3-pyopenssl, which is no longer
-    "experimental".
-
- -- Martin Sjogren <sjogren@debian.org>  Mon, 11 Aug 2003 18:37:07 +0200
-
-pyopenssl (0.5.1-2) unstable; urgency=low
-
-  * Make sure names in control and changelog match. Stupid changelogs, bleh.
-  * Change section to 'python'.
-  * Rebuild with openssl 0.9.7. (Closes: #189826)
-  * __init__.py: Import tsafe module.
-  * tsafe.py: Add some missing methods.
-  * debian/copyright: Fix Author(s) boilerplate thingy to shut lintian up.
-
- -- Martin Sjogren <sjogren@debian.org>  Sun, 20 Apr 2003 17:50:24 +0200
-
-pyopenssl (0.5.1-1) unstable; urgency=low
-
-  * New upstream version. (Closes: #159530)
-  * Added a python-pyopenssl dummy package.
-  * Added an experimental python2.3-pyopenssl package.
-
- -- Martin Sjögren <martin@strakt.com>  Sun, 25 Aug 2002 12:08:31 +0200
-
-pyopenssl (0.5-1) unstable; urgency=low
-
-  * New upstream version
-  * Support for python1.5.
-  * Fix stupid mistakes for python 1.5 and python 2.1.
-
- -- Martin Sjögren <martin@strakt.com>  Wed, 24 Jul 2002 09:05:28 +0200
-
-pyopenssl (0.4.1-8) unstable; urgency=low
-
-  * Added examples to pyopenssl-doc
-
- -- Martin Sjögren <martin@strakt.com>  Wed,  5 Jun 2002 14:58:04 +0200
-
-pyopenssl (0.4.1-7) unstable; urgency=low
-
-  * The cute arrow icons in the HTML documentation should be there now too.
-
- -- Martin Sjögren <martin@strakt.com>  Thu, 30 May 2002 00:53:44 +0200
-
-pyopenssl (0.4.1-6) unstable; urgency=low
-
-  * Commented out some unused things in debian/rules
-
- -- Martin Sjögren <martin@strakt.com>  Wed, 29 May 2002 11:20:33 +0200
-
-pyopenssl (0.4.1-5) unstable; urgency=low
-
-  * Adding to the build-depends.
-  * Initial upload (Closes: #140687)
-
- -- Martin Sjögren <martin@strakt.com>  Sat,  6 Apr 2002 14:15:49 +0200
-
-pyopenssl (0.4.1-4) unstable; urgency=low
-
-  * Fixes in packaging, it shouldn't be regarded a native package now.
-
- -- Martin Sjögren <martin@strakt.com>  Sat,  6 Apr 2002 11:26:39 +0200
-
-pyopenssl (0.4.1-3) unstable; urgency=low
-
-  * Moved from non-US to main/devel
-
- -- Martin Sjögren <martin@strakt.com>  Fri,  5 Apr 2002 22:44:10 +0200
-
-pyopenssl (0.4.1-2) unstable; urgency=low
-
-  * Fixes in the packaging, dependencies and build dependencies should be
-    all right now.
-
- -- Martin Sjögren <martin@strakt.com>  Thu, 10 Jan 2002 10:00:06 +0100
-
-pyopenssl (0.4.1-1) unstable; urgency=low
-
-  * New "upstream" release
-  * New packaging, python2.1-pyopenssl, python2.2-pyopenssl, pyopenssl-doc
-
- -- Martin Sjögren <martin@strakt.com>  Mon,  7 Jan 2002 15:38:51 +0100
-
-pyopenssl (0.4-4) unstable; urgency=low
-
-  * Grrr, this time then...
-
- -- Martin Sjögren <martin@strakt.com>  Fri, 17 Aug 2001 14:53:19 +0200
-
-pyopenssl (0.4-3) unstable; urgency=low
-
-  * Fixed a big nasty bug
-
- -- Martin Sjögren <martin@strakt.com>  Fri, 17 Aug 2001 14:33:06 +0200
-
-pyopenssl (0.4-2) unstable; urgency=low
-
-  * Fixes
-
- -- Martin Sjögren <martin@strakt.com>  Fri, 17 Aug 2001 13:53:11 +0200
-
-pyopenssl (0.4-1) unstable; urgency=low
-
-  * New "upstream" version
-
- -- Martin Sjögren <martin@strakt.com>  Thu,  9 Aug 2001 12:32:47 +0200
-
-pyopenssl (0.3-3) unstable; urgency=low
-
-  * X509 objects now has a has_expired method
-
- -- Martin Sjögren <martin@strakt.com>  Tue,  7 Aug 2001 14:16:13 +0200
-
-pyopenssl (0.3-2) unstable; urgency=low
-
-  * X509Name objects now has a compare method 
-
- -- Martin Sjögren <martin@strakt.com>  Tue,  7 Aug 2001 10:53:58 +0200
-
-pyopenssl (0.3-1) unstable; urgency=low
-
-  * New "upstream" version
-
- -- Martin Sjögren <martin@strakt.com>  Fri,  3 Aug 2001 16:36:26 +0200
-
-pyopenssl (0.1-1) unstable; urgency=low
-
-  * Initial version.
-
- -- Anders Hammarquist <iko@strakt.com>  Mon, 23 Jul 2001 15:17:38 +0200
diff --git a/dapper/control b/dapper/control
deleted file mode 100644
index 5d33a7f..0000000
--- a/dapper/control
+++ /dev/null
@@ -1,31 +0,0 @@
-Source: pyopenssl
-Section: python
-Priority: optional
-Maintainer: Martin Sjogren <sjogren@debian.org>
-Build-Depends: debhelper (>> 4.2.28), python (>= 2.4), python2.4-dev, libssl-dev (>= 0.9.7)
-Standards-Version: 3.6.1
-
-Package: python2.4-pyopenssl
-Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}
-Suggests: pyopenssl-doc
-Description: Python wrapper around the OpenSSL library, experimental!
- Includes: SSL Context objects, SSL Connection objects, using
- Python sockets as transport layer. The Connection object
- wraps all the socket methods and can therefore be used
- interchangeably.
-
-Package: python-pyopenssl
-Architecture: all
-Depends: ${python:Depends}
-Description: Python wrapper around the OpenSSL library (dummy package)
- This is a dummy package that depends on the version of pyOpenSSL
- that is compiled for the default version of Python.
-
-Package: pyopenssl-doc
-Section: doc
-Architecture: all
-Suggests: python-pyopenssl
-Description: Documentation for pyOpenSSL
- This package provides documentation for the pyOpenSSL package,
- in HTML, postscript and text formats.
diff --git a/dapper/copyright b/dapper/copyright
deleted file mode 100644
index 2705399..0000000
--- a/dapper/copyright
+++ /dev/null
@@ -1,22 +0,0 @@
-This package was debianized by Martin Sjögren <sjogren@debian.org> on
-Mon,  7 Jan 2002 16:25:58 +0100.
-
-It was downloaded from pyopenssl.sourceforge.net
-
-Upstream Author: Martin Sjögren <msjogren@gmail.com>
-
-Copyright (C) 2001-2004 AB Strakt
-
-This library 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 of the License, or (at your option) any later version.
-
-This library is distributed 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.
-
-A copy of the GNU Lesser General Public License (version 2.1)
-can be found in /usr/share/common-licenses/LGPL on Debian systems,
-or in the file COPYING in the source package.
diff --git a/dapper/pyopenssl-doc.doc-base b/dapper/pyopenssl-doc.doc-base
deleted file mode 100644
index e57eb3f..0000000
--- a/dapper/pyopenssl-doc.doc-base
+++ /dev/null
@@ -1,13 +0,0 @@
-Document: pyopenssl-manual
-Title: Python OpenSSL Manual
-Author: Martin Sjögren
-Abstract: Manual for the pyOpenSSL package.
-  This module is a rather thin wrapper around (a subset of) the
-  OpenSSL library. With thin wrapper I mean that a lot of the
-  object methods do nothing more than calling a corresponding
-  function in the OpenSSL library.
-Section: Apps/programming
-
-Format: HTML
-Index: /usr/share/doc/pyopenssl-doc/html/index.html
-Files: /usr/share/doc/pyopenssl-doc/html/*
diff --git a/dapper/pyopenssl-doc.docs b/dapper/pyopenssl-doc.docs
deleted file mode 100644
index 0149db1..0000000
--- a/dapper/pyopenssl-doc.docs
+++ /dev/null
@@ -1,4 +0,0 @@
-doc/pyOpenSSL.ps
-doc/pyOpenSSL.txt
-doc/html
-debian/README.Debian
diff --git a/dapper/pyopenssl-doc.examples b/dapper/pyopenssl-doc.examples
deleted file mode 100644
index e39721e..0000000
--- a/dapper/pyopenssl-doc.examples
+++ /dev/null
@@ -1 +0,0 @@
-examples/*
diff --git a/dapper/python-pyopenssl.docs b/dapper/python-pyopenssl.docs
deleted file mode 100644
index e174728..0000000
--- a/dapper/python-pyopenssl.docs
+++ /dev/null
@@ -1 +0,0 @@
-debian/README.Debian
diff --git a/dapper/rules b/dapper/rules
deleted file mode 100755
index 2007485..0000000
--- a/dapper/rules
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper. 
-# GNU copyright 1997 by Joey Hess.
-#
-# This version is for a hypothetical package that builds an
-# architecture-dependant package, as well as an architecture-independent
-# package.
-
-# Uncomment this to turn on verbose mode. 
-#export DH_VERBOSE=1
-
-# This is the debhelper compatability version to use.
-export DH_COMPAT=3
-
-VERSIONS = 2.3 2.4 2.5
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-
-	for ver in $(VERSIONS); do \
-	    cp debian/python-pyopenssl.docs debian/python$$ver-pyopenssl.docs; \
-	done
-
-	touch configure-stamp
-
-build: configure-stamp build-stamp
-build-stamp:
-	dh_testdir
-
-	for ver in $(VERSIONS); do \
-	    /usr/bin/python$$ver setup.py build; \
-	done
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	for ver in $(VERSIONS); do \
-	    rm -f debian/python$$ver-pyopenssl.docs; \
-	done
-	rm -rf build
-
-	dh_clean
-
-install: DH_OPTIONS=
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	for ver in $(VERSIONS); do \
-	    /usr/bin/python$$ver setup.py install --prefix=$(CURDIR)/debian/python$$ver-pyopenssl/usr; \
-	done
-
-# Build architecture-independent files here.
-# Pass -i to all debhelper commands in this target to reduce clutter.
-binary-indep: build install
-	dh_testdir -i
-	dh_testroot -i
-	dh_installdocs -i
-	dh_installexamples -i
-#	dh_installmenu -i
-#	dh_installcron -i
-#	dh_installinfo -i
-	dh_installchangelogs ChangeLog -i
-#	dh_link -i
-	dh_compress -i
-	dh_fixperms -i
-	dh_python -i
-	dh_installdeb -i
-	dh_gencontrol -i
-	dh_md5sums -i
-	dh_builddeb -i
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir -a
-	dh_testroot -a
-	dh_installdocs -a
-	dh_installexamples -a
-#	dh_installmenu -a
-#	dh_installcron -a
-#	dh_installinfo -a
-	dh_installchangelogs ChangeLog -a
-	dh_strip -a
-#	dh_link -a
-	dh_compress -a
-	dh_fixperms -a
-	dh_python -a
-	dh_makeshlibs -a
-	dh_installdeb -a
-	dh_shlibdeps -a
-	dh_gencontrol -a
-	dh_md5sums -a
-	dh_builddeb -a
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/etch/README.Debian b/etch/README.Debian
deleted file mode 100644
index 884deb8..0000000
--- a/etch/README.Debian
+++ /dev/null
@@ -1,13 +0,0 @@
-Debian notes -- pyOpenSSL
--------------------------
-
-The source package is split up over four binary packages:
-
-* python2.2-pyopenssl -- compiled for Python 2.2
-* python2.3-pyopenssl -- compiled for Python 2.3
-* python-pyopenssl    -- dummy package that depends on the default
-                         Python version (currently 2.3)
-* pyopenssl-doc       -- documentation for pyOpenSSL
-
-
-Martin Sjögren <sjogren@debian.org>
diff --git a/etch/changelog b/etch/changelog
deleted file mode 100644
index 46b8c86..0000000
--- a/etch/changelog
+++ /dev/null
@@ -1,189 +0,0 @@
-pyopenssl (0.6-2.3) unstable; urgency=low
-
-  * Non-maintainer upload.
-  * Update Package for last python policy (Closes: #373548).
-
- -- Pierre Habouzit <madcoder@debian.org>  Fri, 30 Jun 2006 13:31:10 +0200
-
-pyopenssl (0.6-2.2) unstable; urgency=low
-
-  * Non-maintainer upload.
-  * Include patch from Cyril Lacoux <clacoux@easter-eggs.com>,
-    fixing Segmentation fault when creating x509 extension.
-    (Closes: #355947)
-
- -- Julien Danjou <acid@debian.org>  Fri, 12 May 2006 16:42:47 +0200
-
-pyopenssl (0.6-2.1) unstable; urgency=low
-
-  * Non-maintainer upload.
-  * Stop building modules for python2.2. (Closes: #351133)
-  * Also rebuild module using libssl0.9.8. (Closes: #347541)
-
- -- Pierre Habouzit <madcoder@debian.org>  Sun,  9 Apr 2006 19:45:16 +0200
-
-pyopenssl (0.6-2) unstable; urgency=low
-
-  * Add support for python 2.4. (Closes: #297870)
-  * Build-depend on v0.9.7 of openssl.
-
- -- Martin Sjogren <sjogren@debian.org>  Mon, 14 Mar 2005 08:56:27 +0100
-
-pyopenssl (0.6-1) unstable; urgency=low
-
-  * New upstream release, including:
-    - Add Netscape SPKI extensions. (Closes: #205132)
-    - Add X509.subject_name_hash, X509.digest. (Closes: #205136)
-    - Fix full names of exceptions. (Closes: #250342)
-    - Add SSL.Context.use_certificate_chain_file. (Closes: #260134)
-  * Docs are built upstream, so the build-deps have been trimmed.
-    This also means that HTML and text documentation are back.
-  * Bumped standards-version.
-  * Use dh_python.
-
- -- Martin Sjogren <sjogren@debian.org>  Fri, 13 Aug 2004 20:53:27 +0200
-
-pyopenssl (0.5.1-4) unstable; urgency=low
-
-  * Drop HTML and text documentation since latex2html moved to non-free.
-    This is a temporary solution, until I can hack mkhowto to use something
-    else. (Closes: #221344)
-  * Fix the copyright file to mention the copyright holder.
-
- -- Martin Sjogren <sjogren@debian.org>  Mon, 15 Dec 2003 20:16:25 +0100
-
-pyopenssl (0.5.1-3) unstable; urgency=low
-
-  * MANIFEST.in: Include the src/RATIONALE file. (Closes: #197401)
-  * doc/pyOpenSSL.tex: Fix typo. (Closes: #197435)
-  * Drop Python 1.5 and 2.1 support.
-  * Make python-pyopenssl depend on python2.3-pyopenssl, which is no longer
-    "experimental".
-
- -- Martin Sjogren <sjogren@debian.org>  Mon, 11 Aug 2003 18:37:07 +0200
-
-pyopenssl (0.5.1-2) unstable; urgency=low
-
-  * Make sure names in control and changelog match. Stupid changelogs, bleh.
-  * Change section to 'python'.
-  * Rebuild with openssl 0.9.7. (Closes: #189826)
-  * __init__.py: Import tsafe module.
-  * tsafe.py: Add some missing methods.
-  * debian/copyright: Fix Author(s) boilerplate thingy to shut lintian up.
-
- -- Martin Sjogren <sjogren@debian.org>  Sun, 20 Apr 2003 17:50:24 +0200
-
-pyopenssl (0.5.1-1) unstable; urgency=low
-
-  * New upstream version. (Closes: #159530)
-  * Added a python-pyopenssl dummy package.
-  * Added an experimental python2.3-pyopenssl package.
-
- -- Martin Sjögren <martin@strakt.com>  Sun, 25 Aug 2002 12:08:31 +0200
-
-pyopenssl (0.5-1) unstable; urgency=low
-
-  * New upstream version
-  * Support for python1.5.
-  * Fix stupid mistakes for python 1.5 and python 2.1.
-
- -- Martin Sjögren <martin@strakt.com>  Wed, 24 Jul 2002 09:05:28 +0200
-
-pyopenssl (0.4.1-8) unstable; urgency=low
-
-  * Added examples to pyopenssl-doc
-
- -- Martin Sjögren <martin@strakt.com>  Wed,  5 Jun 2002 14:58:04 +0200
-
-pyopenssl (0.4.1-7) unstable; urgency=low
-
-  * The cute arrow icons in the HTML documentation should be there now too.
-
- -- Martin Sjögren <martin@strakt.com>  Thu, 30 May 2002 00:53:44 +0200
-
-pyopenssl (0.4.1-6) unstable; urgency=low
-
-  * Commented out some unused things in debian/rules
-
- -- Martin Sjögren <martin@strakt.com>  Wed, 29 May 2002 11:20:33 +0200
-
-pyopenssl (0.4.1-5) unstable; urgency=low
-
-  * Adding to the build-depends.
-  * Initial upload (Closes: #140687)
-
- -- Martin Sjögren <martin@strakt.com>  Sat,  6 Apr 2002 14:15:49 +0200
-
-pyopenssl (0.4.1-4) unstable; urgency=low
-
-  * Fixes in packaging, it shouldn't be regarded a native package now.
-
- -- Martin Sjögren <martin@strakt.com>  Sat,  6 Apr 2002 11:26:39 +0200
-
-pyopenssl (0.4.1-3) unstable; urgency=low
-
-  * Moved from non-US to main/devel
-
- -- Martin Sjögren <martin@strakt.com>  Fri,  5 Apr 2002 22:44:10 +0200
-
-pyopenssl (0.4.1-2) unstable; urgency=low
-
-  * Fixes in the packaging, dependencies and build dependencies should be
-    all right now.
-
- -- Martin Sjögren <martin@strakt.com>  Thu, 10 Jan 2002 10:00:06 +0100
-
-pyopenssl (0.4.1-1) unstable; urgency=low
-
-  * New "upstream" release
-  * New packaging, python2.1-pyopenssl, python2.2-pyopenssl, pyopenssl-doc
-
- -- Martin Sjögren <martin@strakt.com>  Mon,  7 Jan 2002 15:38:51 +0100
-
-pyopenssl (0.4-4) unstable; urgency=low
-
-  * Grrr, this time then...
-
- -- Martin Sjögren <martin@strakt.com>  Fri, 17 Aug 2001 14:53:19 +0200
-
-pyopenssl (0.4-3) unstable; urgency=low
-
-  * Fixed a big nasty bug
-
- -- Martin Sjögren <martin@strakt.com>  Fri, 17 Aug 2001 14:33:06 +0200
-
-pyopenssl (0.4-2) unstable; urgency=low
-
-  * Fixes
-
- -- Martin Sjögren <martin@strakt.com>  Fri, 17 Aug 2001 13:53:11 +0200
-
-pyopenssl (0.4-1) unstable; urgency=low
-
-  * New "upstream" version
-
- -- Martin Sjögren <martin@strakt.com>  Thu,  9 Aug 2001 12:32:47 +0200
-
-pyopenssl (0.3-3) unstable; urgency=low
-
-  * X509 objects now has a has_expired method
-
- -- Martin Sjögren <martin@strakt.com>  Tue,  7 Aug 2001 14:16:13 +0200
-
-pyopenssl (0.3-2) unstable; urgency=low
-
-  * X509Name objects now has a compare method 
-
- -- Martin Sjögren <martin@strakt.com>  Tue,  7 Aug 2001 10:53:58 +0200
-
-pyopenssl (0.3-1) unstable; urgency=low
-
-  * New "upstream" version
-
- -- Martin Sjögren <martin@strakt.com>  Fri,  3 Aug 2001 16:36:26 +0200
-
-pyopenssl (0.1-1) unstable; urgency=low
-
-  * Initial version.
-
- -- Anders Hammarquist <iko@strakt.com>  Mon, 23 Jul 2001 15:17:38 +0200
diff --git a/etch/control b/etch/control
deleted file mode 100644
index 4f11958..0000000
--- a/etch/control
+++ /dev/null
@@ -1,29 +0,0 @@
-Source: pyopenssl
-Section: python
-Priority: optional
-Maintainer: Martin Sjogren <sjogren@debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11),
- python-support (>= 0.3), libssl-dev (>= 0.9.8)
-Standards-Version: 3.7.2
-
-Package: python-pyopenssl
-Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}
-Provides: ${python:Provides}
-Suggests: pyopenssl-doc
-Replaces: python2-pyopenssl, python2.3-pyopenssl (<< 0.6-2.3), python2.4-pyopenssl (<< 0.6-2.3)
-Conflicts: python2-pyopenssl, python2.3-pyopenssl (<< 0.6-2.3), python2.4-pyopenssl (<< 0.6-2.3)
-XB-Python-Version: ${python:Versions}
-Description: Python wrapper around the OpenSSL library (dummy package)
- Includes: SSL Context objects, SSL Connection objects, using
- Python sockets as transport layer. The Connection object
- wraps all the socket methods and can therefore be used
- interchangeably.
-
-Package: pyopenssl-doc
-Section: doc
-Architecture: all
-Suggests: python-pyopenssl
-Description: Documentation for pyOpenSSL
- This package provides documentation for the pyOpenSSL package,
- in HTML, postscript and text formats.
diff --git a/etch/copyright b/etch/copyright
deleted file mode 100644
index 2705399..0000000
--- a/etch/copyright
+++ /dev/null
@@ -1,22 +0,0 @@
-This package was debianized by Martin Sjögren <sjogren@debian.org> on
-Mon,  7 Jan 2002 16:25:58 +0100.
-
-It was downloaded from pyopenssl.sourceforge.net
-
-Upstream Author: Martin Sjögren <msjogren@gmail.com>
-
-Copyright (C) 2001-2004 AB Strakt
-
-This library 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 of the License, or (at your option) any later version.
-
-This library is distributed 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.
-
-A copy of the GNU Lesser General Public License (version 2.1)
-can be found in /usr/share/common-licenses/LGPL on Debian systems,
-or in the file COPYING in the source package.
diff --git a/etch/pycompat b/etch/pycompat
deleted file mode 100644
index 0cfbf08..0000000
--- a/etch/pycompat
+++ /dev/null
@@ -1 +0,0 @@
-2
diff --git a/etch/pyopenssl-doc.doc-base b/etch/pyopenssl-doc.doc-base
deleted file mode 100644
index e57eb3f..0000000
--- a/etch/pyopenssl-doc.doc-base
+++ /dev/null
@@ -1,13 +0,0 @@
-Document: pyopenssl-manual
-Title: Python OpenSSL Manual
-Author: Martin Sjögren
-Abstract: Manual for the pyOpenSSL package.
-  This module is a rather thin wrapper around (a subset of) the
-  OpenSSL library. With thin wrapper I mean that a lot of the
-  object methods do nothing more than calling a corresponding
-  function in the OpenSSL library.
-Section: Apps/programming
-
-Format: HTML
-Index: /usr/share/doc/pyopenssl-doc/html/index.html
-Files: /usr/share/doc/pyopenssl-doc/html/*
diff --git a/etch/pyopenssl-doc.docs b/etch/pyopenssl-doc.docs
deleted file mode 100644
index 0149db1..0000000
--- a/etch/pyopenssl-doc.docs
+++ /dev/null
@@ -1,4 +0,0 @@
-doc/pyOpenSSL.ps
-doc/pyOpenSSL.txt
-doc/html
-debian/README.Debian
diff --git a/etch/pyopenssl-doc.examples b/etch/pyopenssl-doc.examples
deleted file mode 100644
index e39721e..0000000
--- a/etch/pyopenssl-doc.examples
+++ /dev/null
@@ -1 +0,0 @@
-examples/*
diff --git a/etch/python-pyopenssl.docs b/etch/python-pyopenssl.docs
deleted file mode 100644
index e174728..0000000
--- a/etch/python-pyopenssl.docs
+++ /dev/null
@@ -1 +0,0 @@
-debian/README.Debian
diff --git a/etch/rules b/etch/rules
deleted file mode 100644
index ef7a37e..0000000
--- a/etch/rules
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper. 
-# GNU copyright 1997 by Joey Hess.
-#
-# This version is for a hypothetical package that builds an
-# architecture-dependant package, as well as an architecture-independent
-# package.
-
-# Uncomment this to turn on verbose mode. 
-#export DH_VERBOSE=1
-
-# This is the debhelper compatability version to use.
-export DH_COMPAT=5
-
-PYVERS := $(shell pyversions -r)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	set -e; \
-	for py in $(PYVERS); do  \
-	    $$py setup.py build; \
-	done
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-
-	-for py in $(PYVERS); do \
-	    $$py setup.py clean --all; done
-	rm -rf build version.pyc
-
-	dh_clean
-
-install: DH_OPTIONS=
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	set -e; \
-	for py in $(PYVERS); do \
-	    $$py setup.py install --root=$(CURDIR)/debian/python-pyopenssl; \
-	done
-
-# Build architecture-independent files here.
-# Pass -i to all debhelper commands in this target to reduce clutter.
-binary-indep: build install
-	dh_testdir -i
-	dh_testroot -i
-	dh_installdocs -i
-	dh_installexamples -i
-#	dh_installmenu -i
-#	dh_installcron -i
-#	dh_installinfo -i
-	dh_installchangelogs ChangeLog -i
-#	dh_link -i
-	dh_compress -i
-	dh_fixperms -i
-	dh_pysupport -i
-	dh_python -i
-	dh_installdeb -i
-	dh_gencontrol -i
-	dh_md5sums -i
-	dh_builddeb -i
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir -a
-	dh_testroot -a
-	dh_installdocs -a
-	dh_installexamples -a
-#	dh_installmenu -a
-#	dh_installcron -a
-#	dh_installinfo -a
-	dh_installchangelogs ChangeLog -a
-	dh_strip -a
-#	dh_link -a
-	dh_compress -a
-	dh_fixperms -a
-	dh_pysupport -a
-	dh_python -a
-	dh_makeshlibs -a
-	dh_installdeb -a
-	dh_shlibdeps -a
-	dh_gencontrol -a
-	dh_md5sums -a
-	dh_builddeb -a
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
diff --git a/gutsy/README.Debian b/gutsy/README.Debian
deleted file mode 100644
index 884deb8..0000000
--- a/gutsy/README.Debian
+++ /dev/null
@@ -1,13 +0,0 @@
-Debian notes -- pyOpenSSL
--------------------------
-
-The source package is split up over four binary packages:
-
-* python2.2-pyopenssl -- compiled for Python 2.2
-* python2.3-pyopenssl -- compiled for Python 2.3
-* python-pyopenssl    -- dummy package that depends on the default
-                         Python version (currently 2.3)
-* pyopenssl-doc       -- documentation for pyOpenSSL
-
-
-Martin Sjögren <sjogren@debian.org>
diff --git a/gutsy/changelog b/gutsy/changelog
deleted file mode 100644
index deafcac..0000000
--- a/gutsy/changelog
+++ /dev/null
@@ -1,209 +0,0 @@
-pyopenssl (0.6-2.3ubuntu1) feisty; urgency=low
-
-  * Build a python-twisted-dbg package.
-  * Bump debhelper compatibility to v5.
-  * Set Ubuntu maintainer address.
-
- -- Matthias Klose <doko@ubuntu.com>  Sat, 17 Feb 2007 02:59:17 +0100
-
-pyopenssl (0.6-2.3build2) edgy; urgency=low
-
-  * Rebuild to add support for python2.5.
-
- -- Matthias Klose <doko@ubuntu.com>  Fri,  8 Sep 2006 13:32:22 +0000
-
-pyopenssl (0.6-2.3build1) edgy; urgency=low
-
-  * Rebuild (using new python-defaults). Ubuntu #52320.
-
- -- Matthias Klose <doko@ubuntu.com>  Sat,  8 Jul 2006 11:33:55 +0000
-
-pyopenssl (0.6-2.3) unstable; urgency=low
-
-  * Non-maintainer upload.
-  * Update Package for last python policy (Closes: #373548).
-
- -- Pierre Habouzit <madcoder@debian.org>  Fri, 30 Jun 2006 13:31:10 +0200
-
-pyopenssl (0.6-2.2) unstable; urgency=low
-
-  * Non-maintainer upload.
-  * Include patch from Cyril Lacoux <clacoux@easter-eggs.com>,
-    fixing Segmentation fault when creating x509 extension.
-    (Closes: #355947)
-
- -- Julien Danjou <acid@debian.org>  Fri, 12 May 2006 16:42:47 +0200
-
-pyopenssl (0.6-2.1) unstable; urgency=low
-
-  * Non-maintainer upload.
-  * Stop building modules for python2.2. (Closes: #351133)
-  * Also rebuild module using libssl0.9.8. (Closes: #347541)
-
- -- Pierre Habouzit <madcoder@debian.org>  Sun,  9 Apr 2006 19:45:16 +0200
-
-pyopenssl (0.6-2) unstable; urgency=low
-
-  * Add support for python 2.4. (Closes: #297870)
-  * Build-depend on v0.9.7 of openssl.
-
- -- Martin Sjogren <sjogren@debian.org>  Mon, 14 Mar 2005 08:56:27 +0100
-
-pyopenssl (0.6-1) unstable; urgency=low
-
-  * New upstream release, including:
-    - Add Netscape SPKI extensions. (Closes: #205132)
-    - Add X509.subject_name_hash, X509.digest. (Closes: #205136)
-    - Fix full names of exceptions. (Closes: #250342)
-    - Add SSL.Context.use_certificate_chain_file. (Closes: #260134)
-  * Docs are built upstream, so the build-deps have been trimmed.
-    This also means that HTML and text documentation are back.
-  * Bumped standards-version.
-  * Use dh_python.
-
- -- Martin Sjogren <sjogren@debian.org>  Fri, 13 Aug 2004 20:53:27 +0200
-
-pyopenssl (0.5.1-4) unstable; urgency=low
-
-  * Drop HTML and text documentation since latex2html moved to non-free.
-    This is a temporary solution, until I can hack mkhowto to use something
-    else. (Closes: #221344)
-  * Fix the copyright file to mention the copyright holder.
-
- -- Martin Sjogren <sjogren@debian.org>  Mon, 15 Dec 2003 20:16:25 +0100
-
-pyopenssl (0.5.1-3) unstable; urgency=low
-
-  * MANIFEST.in: Include the src/RATIONALE file. (Closes: #197401)
-  * doc/pyOpenSSL.tex: Fix typo. (Closes: #197435)
-  * Drop Python 1.5 and 2.1 support.
-  * Make python-pyopenssl depend on python2.3-pyopenssl, which is no longer
-    "experimental".
-
- -- Martin Sjogren <sjogren@debian.org>  Mon, 11 Aug 2003 18:37:07 +0200
-
-pyopenssl (0.5.1-2) unstable; urgency=low
-
-  * Make sure names in control and changelog match. Stupid changelogs, bleh.
-  * Change section to 'python'.
-  * Rebuild with openssl 0.9.7. (Closes: #189826)
-  * __init__.py: Import tsafe module.
-  * tsafe.py: Add some missing methods.
-  * debian/copyright: Fix Author(s) boilerplate thingy to shut lintian up.
-
- -- Martin Sjogren <sjogren@debian.org>  Sun, 20 Apr 2003 17:50:24 +0200
-
-pyopenssl (0.5.1-1) unstable; urgency=low
-
-  * New upstream version. (Closes: #159530)
-  * Added a python-pyopenssl dummy package.
-  * Added an experimental python2.3-pyopenssl package.
-
- -- Martin Sjögren <martin@strakt.com>  Sun, 25 Aug 2002 12:08:31 +0200
-
-pyopenssl (0.5-1) unstable; urgency=low
-
-  * New upstream version
-  * Support for python1.5.
-  * Fix stupid mistakes for python 1.5 and python 2.1.
-
- -- Martin Sjögren <martin@strakt.com>  Wed, 24 Jul 2002 09:05:28 +0200
-
-pyopenssl (0.4.1-8) unstable; urgency=low
-
-  * Added examples to pyopenssl-doc
-
- -- Martin Sjögren <martin@strakt.com>  Wed,  5 Jun 2002 14:58:04 +0200
-
-pyopenssl (0.4.1-7) unstable; urgency=low
-
-  * The cute arrow icons in the HTML documentation should be there now too.
-
- -- Martin Sjögren <martin@strakt.com>  Thu, 30 May 2002 00:53:44 +0200
-
-pyopenssl (0.4.1-6) unstable; urgency=low
-
-  * Commented out some unused things in debian/rules
-
- -- Martin Sjögren <martin@strakt.com>  Wed, 29 May 2002 11:20:33 +0200
-
-pyopenssl (0.4.1-5) unstable; urgency=low
-
-  * Adding to the build-depends.
-  * Initial upload (Closes: #140687)
-
- -- Martin Sjögren <martin@strakt.com>  Sat,  6 Apr 2002 14:15:49 +0200
-
-pyopenssl (0.4.1-4) unstable; urgency=low
-
-  * Fixes in packaging, it shouldn't be regarded a native package now.
-
- -- Martin Sjögren <martin@strakt.com>  Sat,  6 Apr 2002 11:26:39 +0200
-
-pyopenssl (0.4.1-3) unstable; urgency=low
-
-  * Moved from non-US to main/devel
-
- -- Martin Sjögren <martin@strakt.com>  Fri,  5 Apr 2002 22:44:10 +0200
-
-pyopenssl (0.4.1-2) unstable; urgency=low
-
-  * Fixes in the packaging, dependencies and build dependencies should be
-    all right now.
-
- -- Martin Sjögren <martin@strakt.com>  Thu, 10 Jan 2002 10:00:06 +0100
-
-pyopenssl (0.4.1-1) unstable; urgency=low
-
-  * New "upstream" release
-  * New packaging, python2.1-pyopenssl, python2.2-pyopenssl, pyopenssl-doc
-
- -- Martin Sjögren <martin@strakt.com>  Mon,  7 Jan 2002 15:38:51 +0100
-
-pyopenssl (0.4-4) unstable; urgency=low
-
-  * Grrr, this time then...
-
- -- Martin Sjögren <martin@strakt.com>  Fri, 17 Aug 2001 14:53:19 +0200
-
-pyopenssl (0.4-3) unstable; urgency=low
-
-  * Fixed a big nasty bug
-
- -- Martin Sjögren <martin@strakt.com>  Fri, 17 Aug 2001 14:33:06 +0200
-
-pyopenssl (0.4-2) unstable; urgency=low
-
-  * Fixes
-
- -- Martin Sjögren <martin@strakt.com>  Fri, 17 Aug 2001 13:53:11 +0200
-
-pyopenssl (0.4-1) unstable; urgency=low
-
-  * New "upstream" version
-
- -- Martin Sjögren <martin@strakt.com>  Thu,  9 Aug 2001 12:32:47 +0200
-
-pyopenssl (0.3-3) unstable; urgency=low
-
-  * X509 objects now has a has_expired method
-
- -- Martin Sjögren <martin@strakt.com>  Tue,  7 Aug 2001 14:16:13 +0200
-
-pyopenssl (0.3-2) unstable; urgency=low
-
-  * X509Name objects now has a compare method 
-
- -- Martin Sjögren <martin@strakt.com>  Tue,  7 Aug 2001 10:53:58 +0200
-
-pyopenssl (0.3-1) unstable; urgency=low
-
-  * New "upstream" version
-
- -- Martin Sjögren <martin@strakt.com>  Fri,  3 Aug 2001 16:36:26 +0200
-
-pyopenssl (0.1-1) unstable; urgency=low
-
-  * Initial version.
-
- -- Anders Hammarquist <iko@strakt.com>  Mon, 23 Jul 2001 15:17:38 +0200
diff --git a/gutsy/compat b/gutsy/compat
deleted file mode 100644
index 7ed6ff8..0000000
--- a/gutsy/compat
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/gutsy/control b/gutsy/control
deleted file mode 100644
index 02c54d7..0000000
--- a/gutsy/control
+++ /dev/null
@@ -1,40 +0,0 @@
-Source: pyopenssl
-Section: python
-Priority: optional
-Maintainer: Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com>
-XSBC-Original-Maintainer: Martin Sjogren <sjogren@debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-all-dbg (>= 2.5-0ubuntu5),
- python-support (>= 0.3), libssl-dev (>= 0.9.8)
-Standards-Version: 3.7.2
-
-Package: python-pyopenssl
-Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}
-Provides: ${python:Provides}
-Suggests: pyopenssl-doc, python-pyopenssl-dbg
-Replaces: python2-pyopenssl, python2.3-pyopenssl (<< 0.6-2.3), python2.4-pyopenssl (<< 0.6-2.3)
-Conflicts: python2-pyopenssl, python2.3-pyopenssl (<< 0.6-2.3), python2.4-pyopenssl (<< 0.6-2.3)
-XB-Python-Version: ${python:Versions}
-Description: Python wrapper around the OpenSSL library
- Includes: SSL Context objects, SSL Connection objects, using
- Python sockets as transport layer. The Connection object
- wraps all the socket methods and can therefore be used
- interchangeably.
-
-Package: python-pyopenssl-dbg
-Priority: extra
-Architecture: any
-Depends: python-pyopenssl (= ${Source-Version}), python-dbg, ${shlibs:Depends}
-Description: Python wrapper around the OpenSSL library (debug extension)
- Includes: SSL Context objects, SSL Connection objects, using
- Python sockets as transport layer. The Connection object
- wraps all the socket methods and can therefore be used
- interchangeably.
-
-Package: pyopenssl-doc
-Section: doc
-Architecture: all
-Suggests: python-pyopenssl
-Description: Documentation for pyOpenSSL
- This package provides documentation for the pyOpenSSL package,
- in HTML, postscript and text formats.
diff --git a/gutsy/copyright b/gutsy/copyright
deleted file mode 100644
index 2705399..0000000
--- a/gutsy/copyright
+++ /dev/null
@@ -1,22 +0,0 @@
-This package was debianized by Martin Sjögren <sjogren@debian.org> on
-Mon,  7 Jan 2002 16:25:58 +0100.
-
-It was downloaded from pyopenssl.sourceforge.net
-
-Upstream Author: Martin Sjögren <msjogren@gmail.com>
-
-Copyright (C) 2001-2004 AB Strakt
-
-This library 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 of the License, or (at your option) any later version.
-
-This library is distributed 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.
-
-A copy of the GNU Lesser General Public License (version 2.1)
-can be found in /usr/share/common-licenses/LGPL on Debian systems,
-or in the file COPYING in the source package.
diff --git a/gutsy/pycompat b/gutsy/pycompat
deleted file mode 100644
index 0cfbf08..0000000
--- a/gutsy/pycompat
+++ /dev/null
@@ -1 +0,0 @@
-2
diff --git a/gutsy/pyopenssl-doc.doc-base b/gutsy/pyopenssl-doc.doc-base
deleted file mode 100644
index e57eb3f..0000000
--- a/gutsy/pyopenssl-doc.doc-base
+++ /dev/null
@@ -1,13 +0,0 @@
-Document: pyopenssl-manual
-Title: Python OpenSSL Manual
-Author: Martin Sjögren
-Abstract: Manual for the pyOpenSSL package.
-  This module is a rather thin wrapper around (a subset of) the
-  OpenSSL library. With thin wrapper I mean that a lot of the
-  object methods do nothing more than calling a corresponding
-  function in the OpenSSL library.
-Section: Apps/programming
-
-Format: HTML
-Index: /usr/share/doc/pyopenssl-doc/html/index.html
-Files: /usr/share/doc/pyopenssl-doc/html/*
diff --git a/gutsy/pyopenssl-doc.docs b/gutsy/pyopenssl-doc.docs
deleted file mode 100644
index 0149db1..0000000
--- a/gutsy/pyopenssl-doc.docs
+++ /dev/null
@@ -1,4 +0,0 @@
-doc/pyOpenSSL.ps
-doc/pyOpenSSL.txt
-doc/html
-debian/README.Debian
diff --git a/gutsy/pyopenssl-doc.examples b/gutsy/pyopenssl-doc.examples
deleted file mode 100644
index e39721e..0000000
--- a/gutsy/pyopenssl-doc.examples
+++ /dev/null
@@ -1 +0,0 @@
-examples/*
diff --git a/gutsy/python-pyopenssl.docs b/gutsy/python-pyopenssl.docs
deleted file mode 100644
index e174728..0000000
--- a/gutsy/python-pyopenssl.docs
+++ /dev/null
@@ -1 +0,0 @@
-debian/README.Debian
diff --git a/gutsy/rules b/gutsy/rules
deleted file mode 100755
index e886b48..0000000
--- a/gutsy/rules
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper. 
-# GNU copyright 1997 by Joey Hess.
-#
-# This version is for a hypothetical package that builds an
-# architecture-dependant package, as well as an architecture-independent
-# package.
-
-# Uncomment this to turn on verbose mode. 
-#export DH_VERBOSE=1
-
-PYVERS := $(shell pyversions -r)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-
-	set -e; \
-	for py in $(PYVERS); do  \
-	    $$py setup.py build; \
-	    $$py-dbg setup.py build; \
-	done
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-
-	-for py in $(PYVERS); do \
-	    $$py setup.py clean --all; \
-	    $$py-dbg setup.py clean --all; \
-	done
-	rm -rf build version.pyc
-
-	dh_clean
-
-install: DH_OPTIONS=
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	set -e; \
-	for py in $(PYVERS); do \
-	    echo "installing for $$py ..."; \
-	    $$py setup.py install --root=$(CURDIR)/debian/python-pyopenssl; \
-	    echo "installing for $$py-dbg ..."; \
-	    $$py-dbg setup.py install --root=$(CURDIR)/debian/python-pyopenssl-dbg; \
-	done
-	find debian/python-pyopenssl-dbg ! -type d ! -name '*_d.so' | xargs rm -f
-	find debian/python-pyopenssl-dbg -depth -empty -exec rmdir {} \;
-
-# Build architecture-independent files here.
-# Pass -i to all debhelper commands in this target to reduce clutter.
-binary-indep: build install
-	dh_testdir -i
-	dh_testroot -i
-	dh_installdocs -i
-	dh_installexamples -i
-#	dh_installmenu -i
-#	dh_installcron -i
-#	dh_installinfo -i
-	dh_installchangelogs ChangeLog -i
-#	dh_link -i
-	dh_compress -i
-	dh_fixperms -i
-	dh_pysupport -i
-	dh_python -i
-	dh_installdeb -i
-	dh_gencontrol -i
-	dh_md5sums -i
-	dh_builddeb -i
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir -a
-	dh_testroot -a
-	dh_installdocs -a
-	dh_installexamples -a
-#	dh_installmenu -a
-#	dh_installcron -a
-#	dh_installinfo -a
-	dh_installchangelogs ChangeLog -a
-	dh_strip -ppython-pyopenssl --dbg-package=python-pyopenssl-dbg
-#	dh_link -a
-	rm -rf debian/python-pyopenssl-dbg/usr/share/doc/python-pyopenssl-dbg
-	ln -s python-pyopenssl debian/python-pyopenssl-dbg/usr/share/doc/python-pyopenssl-dbg
-	dh_compress -a
-	dh_fixperms -a
-	dh_pysupport -a
-	dh_makeshlibs -a
-	dh_installdeb -a
-	dh_shlibdeps -a
-	dh_gencontrol -a
-	dh_md5sums -a
-	dh_builddeb -a
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install