tags 616929 patch
user [email protected]
usertags 616929 ubuntu-patch oneiric
thanks

On Mon, Mar 07, 2011 at 12:49:35AM +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.

  * Convert to dh_python2.

diff -Nru openvpn-blacklist-0.4/debian/control 
openvpn-blacklist-0.5/debian/control
--- openvpn-blacklist-0.4/debian/control        2009-06-08 17:19:29.000000000 
+0100
+++ openvpn-blacklist-0.5/debian/control        2011-06-23 13:51:43.000000000 
+0100
@@ -1,16 +1,15 @@
 Source: openvpn-blacklist
 Section: net
-XS-Python-Version: all
+X-Python-Version: >= 2.5
 Priority: optional
 Maintainer: Jamie Strandboge <[email protected]>
 Uploaders: Kees Cook <[email protected]>
-Build-Depends: debhelper (>= 5.0.38), python-central (>= 0.5.6)
+Build-Depends: debhelper (>= 5.0.38), python (>= 2.6.6-3~)
 Standards-Version: 3.8.1
 
 Package: openvpn-blacklist
 Architecture: all
 Depends: ${python:Depends}
-XB-Python-Version: ${python:Versions}
 Description: list of blacklisted OpenVPN RSA shared keys
  Contains the blacklist-checking tool "openvpn-vulnkey" as well as the common
  set of 2048-bit known-bad OpenVPN shared keys for openvpn-vulnkey to use
diff -Nru openvpn-blacklist-0.4/debian/rules openvpn-blacklist-0.5/debian/rules
--- openvpn-blacklist-0.4/debian/rules  2009-06-08 17:31:47.000000000 +0100
+++ openvpn-blacklist-0.5/debian/rules  2011-06-23 13:51:59.000000000 +0100
@@ -52,11 +52,10 @@
 #      dh_installemacsen
 #      dh_installpam
 #      dh_installmime
-#      dh_python
 #      dh_installinit
 #      dh_installcron
 #      dh_installinfo
-       dh_pycentral
+       dh_python2
        dh_installman $(CURDIR)/openvpn-vulnkey.1
        dh_link
        dh_strip

Thanks,

-- 
Colin Watson                                       [[email protected]]



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to