tags 616927 patch
user ubuntu-de...@lists.ubuntu.com
usertags 616927 ubuntu-patch oneiric
thanks

On Mon, Mar 07, 2011 at 12:49:33AM +0000, Matthias Klose wrote:
> The package build-depends on python-central, which should be
> removed in time for the wheezy release.  dh_python2 should be used instead.
> dh_python2 installs into the same locations as pycentral, but
> avoids the creation and removal of symlinks at package installation
> and removal time, making the upgrade process more robust and faster.

Here's a patch.  However, in order to upload it, you'll also need to fix
#628332 (which I suspect is due to disabling of SSLv2).

  * Convert to dh_python2.

Index: debian/control
===================================================================
--- debian/control      (revision 506)
+++ debian/control      (working copy)
@@ -1,10 +1,10 @@
 Source: openssl-blacklist
 Section: net
-XS-Python-Version: all
+X-Python-Version: >= 2.4
 Priority: optional
 Maintainer: Kees Cook <k...@debian.org>
 Uploaders: Jamie Strandboge <ja...@ubuntu.com>, Christoph Martin 
<christoph.mar...@uni-mainz.de>
-Build-Depends: debhelper (>= 5.0.38), python-central (>= 0.5.6), openssl (>= 
0.9.8g-9)
+Build-Depends: debhelper (>= 5.0.38), python (>= 2.6.6-3~), openssl (>= 
0.9.8g-9)
 Standards-Version: 3.8.0.0
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-openssl/openssl-blacklist
 Vcs-Svn: svn://svn.debian.org/pkg-openssl/openssl-blacklist/
@@ -13,7 +13,6 @@
 Architecture: all
 Pre-Depends: dpkg (>= 1.10.24)
 Depends: ${python:Depends}, openssl (>= 0.9.8g-9)
-XB-Python-Version: ${python:Versions}
 Description: list of blacklisted OpenSSL RSA keys
  Contains the list of known-bad OpenSSL keys for openssl-vulnkey to use when
  examining suspect keys: RSA-1024, RSA-2048
@@ -22,7 +21,6 @@
 Architecture: all
 Pre-Depends: dpkg (>= 1.10.24)
 Depends: ${python:Depends}, openssl-blacklist
-XB-Python-Version: ${python:Versions}
 Description: list of non-default blacklisted OpenSSL RSA keys
  Contains the list of known-bad non-default OpenSSL keys for openssl-vulnkey to
  use when examining suspect keys: RSA-512, RSA-4096
Index: debian/rules
===================================================================
--- debian/rules        (revision 506)
+++ debian/rules        (working copy)
@@ -57,11 +57,10 @@
 #      dh_installemacsen
 #      dh_installpam
 #      dh_installmime
-#      dh_python
 #      dh_installinit
 #      dh_installcron
 #      dh_installinfo
-       dh_pycentral
+       dh_python2
        dh_installman $(CURDIR)/openssl-vulnkey.1
        dh_link
        dh_strip

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to