Add fix_dnsclient.py.patch, we don't use autconfig.

This commit is contained in:
Timo Aaltonen
2011-10-28 15:44:52 +03:00
parent e6104fa819
commit 7992239b65
3 changed files with 24 additions and 0 deletions

1
debian/changelog vendored
View File

@@ -10,6 +10,7 @@ freeipa (2.1.3-1) UNRELEASED; urgency=low
* Migrate to source format 3.0 (quilt).
* Migrate to dh.
* Fix dependencies.
* Add fix_dnsclient.py.patch, we don't use autconfig.
-- Michele Baldessari <michele@pupazzo.org> Sat, 06 Dec 2008 21:01:24 +0100

22
debian/patches/fix_dnsclient.py.patch vendored Normal file
View File

@@ -0,0 +1,22 @@
diff --git a/ipapython/dnsclient.py b/ipapython/dnsclient.py
index 9a59d9b..857e1c7 100644
--- a/ipapython/dnsclient.py
+++ b/ipapython/dnsclient.py
@@ -18,7 +18,7 @@ import struct
import socket
import sys
-import acutil
+#import acutil
DNS_C_IN = 1
DNS_C_CS = 2
@@ -446,7 +446,7 @@ def query(query, qclass, qtype):
qdata = dnsFormatQuery(query, qclass, qtype)
if not qdata:
return []
- answer = acutil.res_send(qdata)
+ answer = none
if not answer:
return []
return dnsParseResults(answer)

View File

@@ -1,2 +1,3 @@
01_fix_init_dir.patch
#02_configure.patch
fix_dnsclient.py.patch