[Python-modules-commits] r11192 - in packages/python-dns/trunk/debian/patches (3 files)

kitterma-guest at users.alioth.debian.org kitterma-guest at users.alioth.debian.org
Sun Jan 17 19:10:27 UTC 2010


    Date: Sunday, January 17, 2010 @ 19:10:26
  Author: kitterma-guest
Revision: 11192

Add/remove the patch files.

Added:
  packages/python-dns/trunk/debian/patches/examples-interpreter.diff
Deleted:
  packages/python-dns/trunk/debian/patches/ignore-ipv6-ns.patch
  packages/python-dns/trunk/debian/patches/unicode-fix.patch

Added: packages/python-dns/trunk/debian/patches/examples-interpreter.diff
===================================================================
--- packages/python-dns/trunk/debian/patches/examples-interpreter.diff	                        (rev 0)
+++ packages/python-dns/trunk/debian/patches/examples-interpreter.diff	2010-01-17 19:10:26 UTC (rev 11192)
@@ -0,0 +1,36 @@
+diff -Nur -x '*.orig' -x '*~' python-dns-2.3.4/tests/test5.py python-dns-2.3.4.new/tests/test5.py
+--- python-dns-2.3.4/tests/test5.py	2007-05-22 16:25:53.000000000 -0400
++++ python-dns-2.3.4.new/tests/test5.py	2010-01-17 14:00:30.000000000 -0500
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python/
++#!/usr/bin/python
+ 
+ import sys ; sys.path.insert(0, '..')
+ 
+diff -Nur -x '*.orig' -x '*~' python-dns-2.3.4/tests/testPackers.py python-dns-2.3.4.new/tests/testPackers.py
+--- python-dns-2.3.4/tests/testPackers.py	2002-03-19 07:40:58.000000000 -0500
++++ python-dns-2.3.4.new/tests/testPackers.py	2010-01-17 14:00:18.000000000 -0500
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python
+ 
+ #
+ # Tests of the packet assembler/disassembler routines.
+diff -Nur -x '*.orig' -x '*~' python-dns-2.3.4/tests/testsrv.py python-dns-2.3.4.new/tests/testsrv.py
+--- python-dns-2.3.4/tests/testsrv.py	2007-05-22 16:25:53.000000000 -0400
++++ python-dns-2.3.4.new/tests/testsrv.py	2010-01-17 14:00:18.000000000 -0500
+@@ -1,4 +1,4 @@
+-#!usr/bin/python
++#!/usr/bin/python
+ 
+ import sys ; sys.path.insert(0, '..')
+ 
+diff -Nur -x '*.orig' -x '*~' python-dns-2.3.4/tools/named-perf.py python-dns-2.3.4.new/tools/named-perf.py
+--- python-dns-2.3.4/tools/named-perf.py	2001-07-19 02:43:15.000000000 -0400
++++ python-dns-2.3.4.new/tools/named-perf.py	2010-01-17 14:00:18.000000000 -0500
+@@ -1,4 +1,4 @@
+-#!/opt/python/bin/python
++#!/usr/bin/python
+ 
+ servers = [ "192.92.129.1",
+ 	"192.189.54.17", # yarrina

Deleted: packages/python-dns/trunk/debian/patches/ignore-ipv6-ns.patch
===================================================================
--- packages/python-dns/trunk/debian/patches/ignore-ipv6-ns.patch	2010-01-17 19:09:17 UTC (rev 11191)
+++ packages/python-dns/trunk/debian/patches/ignore-ipv6-ns.patch	2010-01-17 19:10:26 UTC (rev 11192)
@@ -1,16 +0,0 @@
-diff -Nur -x '*.orig' -x '*~' python-dns-2.3.2/DNS/Base.py python-dns-2.3.2.new/DNS/Base.py
---- python-dns-2.3.2/DNS/Base.py	2008-07-27 21:27:00.000000000 -0400
-+++ python-dns-2.3.2.new/DNS/Base.py	2008-07-30 12:21:44.000000000 -0400
-@@ -55,7 +55,11 @@
-         if fields[0]=='sortlist':
-             pass
-         if fields[0]=='nameserver':
--            defaults['server'].append(fields[1])
-+            if fields[1].count(':'):
-+                """ Ignore IPv6 nameservers as we currently do not support querying them. """
-+                pass
-+            else:
-+                defaults['server'].append(fields[1])
- 
- def DiscoverNameServers():
-     import sys

Deleted: packages/python-dns/trunk/debian/patches/unicode-fix.patch
===================================================================
--- packages/python-dns/trunk/debian/patches/unicode-fix.patch	2010-01-17 19:09:17 UTC (rev 11191)
+++ packages/python-dns/trunk/debian/patches/unicode-fix.patch	2010-01-17 19:10:26 UTC (rev 11192)
@@ -1,11 +0,0 @@
-diff -Nur -x '*.orig' -x '*~' python-dns-2.3.3/DNS/Lib.py python-dns-2.3.3.new/DNS/Lib.py
---- python-dns-2.3.3/DNS/Lib.py	2007-05-22 16:27:40.000000000 -0400
-+++ python-dns-2.3.3.new/DNS/Lib.py	2008-09-17 13:13:25.000000000 -0400
-@@ -94,6 +94,7 @@
-         list = []
-         for label in string.splitfields(name, '.'):
-             if label:
-+                label = label.encode('utf8')
-                 if len(label) > 63:
-                     raise PackError, 'label too long'
-                 list.append(label)




More information about the Python-modules-commits mailing list