[Python-modules-commits] r15024 - in packages/python-dns/tags (15 files)
kitterman at users.alioth.debian.org
kitterman at users.alioth.debian.org
Sat Dec 4 16:16:33 UTC 2010
Date: Saturday, December 4, 2010 @ 16:16:27
Author: kitterman
Revision: 15024
Tagging 2.3.4-5.
Added:
packages/python-dns/tags/2.3.4-5/
packages/python-dns/tags/2.3.4-5/debian/
packages/python-dns/tags/2.3.4-5/debian/README.source
packages/python-dns/tags/2.3.4-5/debian/changelog
packages/python-dns/tags/2.3.4-5/debian/compat
packages/python-dns/tags/2.3.4-5/debian/control
packages/python-dns/tags/2.3.4-5/debian/copyright
packages/python-dns/tags/2.3.4-5/debian/patches/
packages/python-dns/tags/2.3.4-5/debian/patches/examples-interpreter.diff
packages/python-dns/tags/2.3.4-5/debian/patches/lazy-revlookup.diff
packages/python-dns/tags/2.3.4-5/debian/patches/series
packages/python-dns/tags/2.3.4-5/debian/python-dns.docs
packages/python-dns/tags/2.3.4-5/debian/python-dns.examples
packages/python-dns/tags/2.3.4-5/debian/rules
packages/python-dns/tags/2.3.4-5/debian/watch
Added: packages/python-dns/tags/2.3.4-5/debian/README.source
===================================================================
--- packages/python-dns/tags/2.3.4-5/debian/README.source (rev 0)
+++ packages/python-dns/tags/2.3.4-5/debian/README.source 2010-12-04 16:16:27 UTC (rev 15024)
@@ -0,0 +1,5 @@
+This package uses quilt for patches. dpkg-source -x does produce source
+ready for building with dpkg-buildpackage. It does not procude source ready
+for editing. See /usr/share/doc/quilt/README.source for information on using
+quilt.
+
Added: packages/python-dns/tags/2.3.4-5/debian/changelog
===================================================================
--- packages/python-dns/tags/2.3.4-5/debian/changelog (rev 0)
+++ packages/python-dns/tags/2.3.4-5/debian/changelog 2010-12-04 16:16:27 UTC (rev 15024)
@@ -0,0 +1,255 @@
+python-dns (2.3.4-5) experimental; urgency=low
+
+ * Rebuild in experimental for python2.7 support
+
+ -- Scott Kitterman <scott at kitterman.com> Sat, 04 Dec 2010 11:00:46 -0500
+
+python-dns (2.3.4-4) unstable; urgency=low
+
+ * Convert from CDBS to Debhelper 7
+ - Port debian/rules to DH 7 --with quilt plus overrides
+ - Drop cdbs from build-depends
+ - Add quilt to build-depends
+ - Update debian/README.source
+ - Bump debhelper version requirement
+ - Change compat to 7
+ - Remove cdbs generated pycompat
+ * Convert from python-central to dh_python2
+ - Drop build-depends on python-central
+ - Version build-depend on python (>- 2.6.5.-2~)
+ - Add --with python2 to debian/rules
+ * Improve short and long description
+ * Drop DM-Upload-Allowed
+
+ -- Scott Kitterman <scott at kitterman.com> Tue, 22 Jun 2010 12:23:24 -0400
+
+python-dns (2.3.4-3) unstable; urgency=low
+
+ * Replace debian/patches/lazy-revlookup.diff with a better patch from
+ Julian Mehnle - Thanks
+
+ -- Scott Kitterman <scott at kitterman.com> Wed, 14 Apr 2010 19:23:17 -0400
+
+python-dns (2.3.4-2) unstable; urgency=low
+
+ * Add debian/patches/lazy-revlookup.diff to fix DNS.revlookup crash when
+ the lookup returns a DNS server error
+ * Bump standards version to 3.8.4 without further change
+
+ -- Scott Kitterman <scott at kitterman.com> Sun, 04 Apr 2010 23:29:04 -0400
+
+python-dns (2.3.4-1) unstable; urgency=low
+
+ [ Sandro Tosi ]
+ * debian/control
+ - switch Vcs-Browser field to viewsvn
+
+ [ Scott Kitterman ]
+ * New upstream release
+ - Drop previous patches (obsoleted by upstream changes)
+ - Add debian/patches/examples-interpreter.diff to correct interpreter
+ locations in the example scripts
+ * Update XS/XB-Python-Version to specify supported python versions
+ * Add ${misc:Depends} to python-dns depends
+ * Bump standards version to 3.8.3 without further change
+ * Enhance long description
+
+ -- Scott Kitterman <scott at kitterman.com> Sun, 17 Jan 2010 13:12:22 -0500
+
+python-dns (2.3.3-2) unstable; urgency=medium
+
+ * Add unicode-fix.patch so unicode DNS names don't cause a crash
+ (Closes: #499277)
+
+ -- Scott Kitterman <scott at kitterman.com> Wed, 17 Sep 2008 13:13:59 -0400
+
+python-dns (2.3.3-1) unstable; urgency=low
+
+ * New upstream release (Closes: #493519)
+ - Correct regressions from CVE-2008-1447 fix (TCP queries and timeouts)
+
+ -- Scott Kitterman <scott at kitterman.com> Sat, 02 Aug 2008 17:09:19 -0400
+
+python-dns (2.3.2-1) unstable; urgency=low
+
+ * New upstream release
+ - Upstream fix for source port and TID randomization
+ - Drop debian/patches/source-tid-random.patch (upstream incorporated
+ a fix for this)
+ * Add debian/patches/ignore-ipv6-ns.patch so python-dns ignores IPv6
+ name servers and works in a mixed environment (Closes: #492996)
+ - Thanks to Julian Mehnle for the patch
+ * Added missing final newline in debian/copyright
+
+ -- Scott Kitterman <scott at kitterman.com> Wed, 30 Jul 2008 12:25:06 -0400
+
+python-dns (2.3.1-6) unstable; urgency=high
+
+ * Fix debian/patches/source-tid-random.patch so it doesn't lose socket
+ errors other than port already in use
+
+ -- Scott Kitterman <scott at kitterman.com> Sat, 26 Jul 2008 22:05:24 -0400
+
+python-dns (2.3.1-5) unstable; urgency=high
+
+ * Replace debian/patches/tid-random.patch with source-tid-random.patch
+ to fully address CVE-2008-1447 (Closes: #490217)
+ - Randomize TID (from previous patch - it works for retries too)
+ - Add source port randomization to cover all cases
+
+ -- Scott Kitterman <scott at kitterman.com> Sat, 26 Jul 2008 00:46:56 -0400
+
+python-dns (2.3.1-4) unstable; urgency=low
+
+ * Add simple-patchsys.mk to debian/rules
+ - Add README.source
+ * Remove custom clean rule no longer needed
+ * Switch to python-central (debian/rules and control)
+ - Update DEB_PYTHON_SYSTEM
+ - Update build-depends
+ - Add XS/XB-Python-Versions
+ - Remove pyversions
+ * Update standards version to 3.8.0.1
+ - Add Homepage: to debian/control
+ * Add debian/patches/tid-random.patch to partially address #490217
+ - Randomize TID for new DNS packets, but not for retries
+ - Depend on kernel for port randomization (2.6.24 i386 does this)
+ * Add DEB_COMPRESS_EXCLUDE := .py so sample scripts don't get compressed
+ * Change build dep on python-dev to python
+
+ -- Scott Kitterman <scott at kitterman.com> Fri, 11 Jul 2008 00:54:16 -0400
+
+python-dns (2.3.1-3) unstable; urgency=low
+
+ [ Piotr Ożarowski ]
+ * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
+
+ [ Scott Kitterman ]
+ * Update debian/copyright to be complete
+
+ [ Sandro Tosi ]
+ * debian/control
+ - added Vcs-Browser
+
+ [ Christoph Berg ]
+ * Remove Joerg Wendland from Uploaders.
+
+ [ Ana Beatriz Guerrero Lopez ]
+ * Add XS-DM-Upload-Allowed: yes flag for Scott Kitterman.
+ * Upload.
+
+ -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> Sun, 30 Mar 2008 00:27:17 +0100
+
+python-dns (2.3.1-2) unstable; urgency=low
+
+ * Update debian/watch to version 3 (it works now)
+
+ -- Scott Kitterman <scott at kitterman.com> Tue, 26 Jun 2007 10:55:24 -0400
+
+python-dns (2.3.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Add debian/watch
+ * Remove debian/patches and all patches (incorporated upstream)
+ * Remove debian/rules entry for patch system.
+
+ -- Scott Kitterman <scott at kitterman.com> Tue, 22 May 2007 20:59:24 -0400
+
+python-dns (2.3.0-6) unstable; urgency=low
+
+ * New maintainer
+ * Acknowledge NMU, thanks Raphael Hertzog; (closes: #373528).
+ - NMU also provided Python 2.4 packages (closes: #326155).
+ * debian/control:
+ - Add Debian Python Modules Team as uploader
+ - Update standards version to 3.7.2
+ - Update python-support build-depends to version (>= 0.3) and move from
+ Indep to build-depends
+ - Add XS-Vcs-Svn
+ - Removed XS-Python-Version and XB-Python-Version
+ * debian/pyversions and debian/pycompat added
+ * Add simple-patchsys.mk to debian/rules
+ * Bump compat to 5
+ * BTS Patches:
+ - 01resolv-conf-parse patch, thanks to Arnaud Fontaine <arnaud at andesi.org>
+ (closes: #378991)
+ * Changes from Ubuntu (SF = Sourceforge project bug #) (closes: #411138):
+ - 02utf-8 patch for files with UTF-8 content
+ - 03socket-error-trap patch, Added DNSError trap for socket.error.
+ - 04lazy-init SF 1563723 lazy should initilize defaults['server']
+ - 05addr2bin2addr SF 863364 Mac OS X, Win2000 DHCP, addr2bin and bin2addr.
+ - 06win32-fix SF 1180344 win32dns.py fails on windows server 2003
+ - 07unpacker SF 954095 Bug in DNS.Lib.Unpacker.getbyte()
+ - 08import-lib SF 658601 Missing "import Lib"; for TCP protocol
+
+ -- Scott Kitterman <scott at kitterman.com> Fri, 11 May 2007 10:29:03 -0400
+
+python-dns (2.3.0-5.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Update for new python policy. Closes: #373528
+ * Fix lintian errors:
+ - Convert changelog in UTF8.
+ - Move debhelper, cdbs and python-dev to Build-Depends as they are needed
+ for the clean target.
+
+ -- Raphael Hertzog <hertzog at debian.org> Sat, 17 Jun 2006 22:22:03 +0200
+
+python-dns (2.3.0-5) unstable; urgency=low
+
+ * debian/control:
+ Use ${python:Depends} for Depends, so that correct Depends are
+ generated by dh_python. (closes: Bug#205884)
+ * debian/python-dns.postinst
+ debian/python-dns.prerm:
+ Remove these files and let debhelper handle these issues.
+
+ -- Joerg Wendland <joergland at debian.org> Wed, 20 Aug 2003 14:25:29 +0200
+
+python-dns (2.3.0-4) unstable; urgency=low
+
+ * debian/control:
+ - Build-Dep: should list cdbs and debhelper >= 4.1 if we are
+ using CDBS.
+ - Change order of python versions in Depends.
+
+ -- Joerg Wendland <joergland at debian.org> Sat, 9 Aug 2003 17:14:53 +0200
+
+python-dns (2.3.0-3) unstable; urgency=low
+
+ * Convert package to CDBS.
+ * Update Standards-Version to 3.6.0, no changes required.
+ * python2.3 is released, yeehaa, add it as alternative to Depends.
+ * Remove #DEBHELPER from postinst because it does nothing really
+ useful for this package.
+
+ -- Joerg Wendland <joergland at debian.org> Mon, 4 Aug 2003 22:35:37 +0200
+
+python-dns (2.3.0-2) unstable; urgency=low
+
+ * Move files from /usr/lib/python2.1 to /usr/lib/site-python
+ since we do not depend on any particular version of python.
+ Depend on python | python2.2 | python2.1 for this reason.
+ (closes: Bug#159649)
+ * Build-Depend on python-dev to be buildable with any version
+ of python.
+ * Remove win32dns.py from package because Debian/Win32 is no
+ official port yet.
+ * Bump Standards-Version to 3.5.8.
+
+ -- Joerg Wendland <joergland at debian.org> Mon, 6 Jan 2003 18:20:05 +0100
+
+python-dns (2.3.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * Add python2.1-dev to Build-dep. (closes: Bug#146917)
+ * Add examples from tests/ and tools/ to docs. (closes: Bug#150362)
+ * Add Michael Ströder to upstream authors.
+
+ -- Joerg Wendland <joergland at debian.org> Sun, 7 Jul 2002 14:26:29 +0200
+
+python-dns (0.cvs+20020417-1) unstable; urgency=low
+
+ * Initial Debian release. (closes: Bug#136286)
+
+ -- Joerg Wendland <joergland at debian.org> Wed, 17 April 2002 20:10:32 +0200
Added: packages/python-dns/tags/2.3.4-5/debian/compat
===================================================================
--- packages/python-dns/tags/2.3.4-5/debian/compat (rev 0)
+++ packages/python-dns/tags/2.3.4-5/debian/compat 2010-12-04 16:16:27 UTC (rev 15024)
@@ -0,0 +1 @@
+5
Added: packages/python-dns/tags/2.3.4-5/debian/control
===================================================================
--- packages/python-dns/tags/2.3.4-5/debian/control (rev 0)
+++ packages/python-dns/tags/2.3.4-5/debian/control 2010-12-04 16:16:27 UTC (rev 15024)
@@ -0,0 +1,22 @@
+Source: python-dns
+Section: python
+Priority: optional
+Maintainer: Scott Kitterman <scott at kitterman.com>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7.3.16), python (>= 2.6.5-2~), quilt (>= 0.46-7)
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-dns/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-dns/trunk/
+Standards-Version: 3.8.4
+Homepage: http://sourceforge.net/projects/pydns/
+XS-Python-Version: >= 2.3
+
+Package: python-dns
+Architecture: all
+XB-Python-Version: >= 2.3
+Depends: ${misc:Depends}, ${python:Depends}
+Description: DNS client module for Python
+ This Python module provides an DNS API for looking up DNS entries from
+ within Python modules and applications. This module is a simple, lightweight
+ implementation. It is not as complete as python-dnspython, but is useful for
+ many common applications.
+
Added: packages/python-dns/tags/2.3.4-5/debian/copyright
===================================================================
--- packages/python-dns/tags/2.3.4-5/debian/copyright (rev 0)
+++ packages/python-dns/tags/2.3.4-5/debian/copyright 2010-12-04 16:16:27 UTC (rev 15024)
@@ -0,0 +1,157 @@
+This package was debianized by Joerg Wendland <joergland at debian.org> in April
+2002.
+
+The current Debian maintainer is Scott Kitterman <scott at kitterman.com>.
+
+It was downloaded from: http://pydns.sf.net
+
+Upstream Authors: Anthony Baxter <anthony at interlink.com.au>
+and Michael Stroder <stroeder at users.sourceforge.net>
+
+Copyright: 1995 - 2001 Corporation for National Research Initiatives;
+ All Rights Reserved
+ 2001 - 2002 Anthony Baxter and Michael Stroder
+
+win32dns.py (part of the source tarball, but not the distributed binary) is
+Copyright 2001 by Wolfgang Strobl <ws at mystrobl.de>
+
+The python-dns module is derived from (and is virtually completely rewritten)
+Guido van Rossum's dnslib.py that was licensed under the following terms:
+
+B.1. CNRI OPEN SOURCE GPL-COMPATIBLE LICENSE AGREEMENT
+
+1. This LICENSE AGREEMENT is between the Corporation for National
+Research Initiatives, having an office at 1895 Preston White Drive,
+Reston, VA 20191 ("CNRI"), and the Individual or Organization
+("Licensee") accessing and otherwise using Python 1.6.1 software in
+source or binary form and its associated documentation.
+
+2. Subject to the terms and conditions of this License Agreement, CNRI
+hereby grants Licensee a nonexclusive, royalty-free, world-wide
+license to reproduce, analyze, test, perform and/or display publicly,
+prepare derivative works, distribute, and otherwise use Python 1.6.1
+alone or in any derivative version, provided, however, that CNRI's
+License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
+1995-2001 Corporation for National Research Initiatives; All Rights
+Reserved" are retained in Python 1.6.1 alone or in any derivative
+version prepared by Licensee. Alternately, in lieu of CNRI's License
+Agreement, Licensee may substitute the following text (omitting the
+quotes): "Python 1.6.1 is made available subject to the terms and
+conditions in CNRI's License Agreement. This Agreement together with
+Python 1.6.1 may be located on the Internet using the following
+unique, persistent identifier (known as a handle): 1895.22/1013. This
+Agreement may also be obtained from a proxy server on the Internet
+using the following URL: http://hdl.handle.net/1895.22/1013".
+
+3. In the event Licensee prepares a derivative work that is based on
+or incorporates Python 1.6.1 or any part thereof, and wants to make
+the derivative work available to others as provided herein, then
+Licensee hereby agrees to include in any such work a brief summary of
+the changes made to Python 1.6.1.
+
+4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
+basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
+DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
+INFRINGE ANY THIRD PARTY RIGHTS.
+
+5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
+OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+
+6. This License Agreement will automatically terminate upon a material
+breach of its terms and conditions.
+
+7. This License Agreement shall be governed by the federal
+intellectual property law of the United States, including without
+limitation the federal copyright law, and, to the extent such
+U.S. federal law does not apply, by the law of the Commonwealth of
+Virginia, excluding Virginia's conflict of law provisions.
+Notwithstanding the foregoing, with regard to derivative works based
+on Python 1.6.1 that incorporate non-separable material that was
+previously distributed under the GNU General Public License (GPL), the
+law of the Commonwealth of Virginia shall govern this License
+Agreement only as to issues arising under or with respect to
+Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
+License Agreement shall be deemed to create any relationship of
+agency, partnership, or joint venture between CNRI and Licensee. This
+License Agreement does not grant permission to use CNRI trademarks or
+trade name in a trademark sense to endorse or promote products or
+services of Licensee, or any third party.
+
+8. By clicking on the "ACCEPT" button where indicated, or by copying,
+installing or otherwise using Python 1.6.1, Licensee agrees to be
+bound by the terms and conditions of this License Agreement.
+
+B.2. CWI PERMISSIONS STATEMENT AND DISCLAIMER
+
+Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
+The Netherlands. All rights reserved.
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation, and that the name of Stichting Mathematisch
+Centrum or CWI not be used in advertising or publicity pertaining to
+distribution of the software without specific, written prior
+permission.
+
+STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
+THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
+FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+Modifications are licensed under the Python Software Foundation License:
+
+1. This LICENSE AGREEMENT is between the Python Software Foundation
+("PSF"), and the Individual or Organization ("Licensee") accessing and
+otherwise using this software ("Python") in source or binary form and
+its associated documentation.
+
+2. Subject to the terms and conditions of this License Agreement, PSF
+hereby grants Licensee a nonexclusive, royalty-free, world-wide
+license to reproduce, analyze, test, perform and/or display publicly,
+prepare derivative works, distribute, and otherwise use Python
+alone or in any derivative version, provided, however, that PSF's
+License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
+2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights
+Reserved" are retained in Python alone or in any derivative version
+prepared by Licensee.
+
+3. In the event Licensee prepares a derivative work that is based on
+or incorporates Python or any part thereof, and wants to make
+the derivative work available to others as provided herein, then
+Licensee hereby agrees to include in any such work a brief summary of
+the changes made to Python.
+
+4. PSF is making Python available to Licensee on an "AS IS"
+basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
+DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
+INFRINGE ANY THIRD PARTY RIGHTS.
+
+5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
+OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+
+6. This License Agreement will automatically terminate upon a material
+breach of its terms and conditions.
+
+7. Nothing in this License Agreement shall be deemed to create any
+relationship of agency, partnership, or joint venture between PSF and
+Licensee. This License Agreement does not grant permission to use PSF
+trademarks or trade name in a trademark sense to endorse or promote
+products or services of Licensee, or any third party.
+
+8. By copying, installing or otherwise using Python, Licensee
+agrees to be bound by the terms and conditions of this License
+Agreement.
+
Added: packages/python-dns/tags/2.3.4-5/debian/patches/examples-interpreter.diff
===================================================================
--- packages/python-dns/tags/2.3.4-5/debian/patches/examples-interpreter.diff (rev 0)
+++ packages/python-dns/tags/2.3.4-5/debian/patches/examples-interpreter.diff 2010-12-04 16:16:27 UTC (rev 15024)
@@ -0,0 +1,42 @@
+This is a distro patch that should go upstream.
+
+Index: python-dns-2.3.4/tests/test5.py
+===================================================================
+--- python-dns-2.3.4.orig/tests/test5.py 2010-06-22 19:42:02.511828022 -0400
++++ python-dns-2.3.4/tests/test5.py 2010-06-22 19:44:04.687816864 -0400
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python/
++#!/usr/bin/python
+
+ import sys ; sys.path.insert(0, '..')
+
+Index: python-dns-2.3.4/tests/testPackers.py
+===================================================================
+--- python-dns-2.3.4.orig/tests/testPackers.py 2010-06-22 19:42:41.299817420 -0400
++++ python-dns-2.3.4/tests/testPackers.py 2010-06-22 19:44:04.691817302 -0400
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python
+
+ #
+ # Tests of the packet assembler/disassembler routines.
+Index: python-dns-2.3.4/tests/testsrv.py
+===================================================================
+--- python-dns-2.3.4.orig/tests/testsrv.py 2010-06-22 19:43:13.818817253 -0400
++++ python-dns-2.3.4/tests/testsrv.py 2010-06-22 19:44:04.691817302 -0400
+@@ -1,4 +1,4 @@
+-#!usr/bin/python
++#!/usr/bin/python
+
+ import sys ; sys.path.insert(0, '..')
+
+Index: python-dns-2.3.4/tools/named-perf.py
+===================================================================
+--- python-dns-2.3.4.orig/tools/named-perf.py 2010-06-22 19:43:34.207819339 -0400
++++ python-dns-2.3.4/tools/named-perf.py 2010-06-22 19:44:04.691817302 -0400
+@@ -1,4 +1,4 @@
+-#!/opt/python/bin/python
++#!/usr/bin/python
+
+ servers = [ "192.92.129.1",
+ "192.189.54.17", # yarrina
Added: packages/python-dns/tags/2.3.4-5/debian/patches/lazy-revlookup.diff
===================================================================
--- packages/python-dns/tags/2.3.4-5/debian/patches/lazy-revlookup.diff (rev 0)
+++ packages/python-dns/tags/2.3.4-5/debian/patches/lazy-revlookup.diff 2010-12-04 16:16:27 UTC (rev 15024)
@@ -0,0 +1,32 @@
+This is a distro patch that has been sent upstream to the pydns bug tracker on
+sourceforge.
+
+Index: python-dns-2.3.4/DNS/lazy.py
+===================================================================
+--- python-dns-2.3.4.orig/DNS/lazy.py 2010-06-22 19:45:33.246817104 -0400
++++ python-dns-2.3.4/DNS/lazy.py 2010-06-22 19:45:45.766828728 -0400
+@@ -10,6 +10,9 @@
+ import Base
+ import string
+
++class NoDataError(IndexError): pass
++class StatusError(IndexError): pass
++
+ def revlookup(name):
+ "convenience routine for doing a reverse lookup of an address"
+ if Base.defaults['server'] == []: Base.DiscoverNameServers()
+@@ -17,7 +20,13 @@
+ a.reverse()
+ b = string.join(a, '.')+'.in-addr.arpa'
+ # this will only return one of any records returned.
+- return Base.DnsRequest(b, qtype = 'ptr').req().answers[0]['data']
++ result = Base.DnsRequest(b, qtype = 'ptr').req()
++ if result.header['status'] != 'NOERROR':
++ raise StatusError("DNS query status: %s" % result.header['status'])
++ elif len(result.answers) == 0:
++ raise NoDataError("No PTR records for %s" % name)
++ else:
++ return result.answers[0]['data']
+
+ def mxlookup(name):
+ """
Added: packages/python-dns/tags/2.3.4-5/debian/patches/series
===================================================================
--- packages/python-dns/tags/2.3.4-5/debian/patches/series (rev 0)
+++ packages/python-dns/tags/2.3.4-5/debian/patches/series 2010-12-04 16:16:27 UTC (rev 15024)
@@ -0,0 +1,2 @@
+examples-interpreter.diff
+lazy-revlookup.diff
Added: packages/python-dns/tags/2.3.4-5/debian/python-dns.docs
===================================================================
--- packages/python-dns/tags/2.3.4-5/debian/python-dns.docs (rev 0)
+++ packages/python-dns/tags/2.3.4-5/debian/python-dns.docs 2010-12-04 16:16:27 UTC (rev 15024)
@@ -0,0 +1 @@
+README.txt
Added: packages/python-dns/tags/2.3.4-5/debian/python-dns.examples
===================================================================
--- packages/python-dns/tags/2.3.4-5/debian/python-dns.examples (rev 0)
+++ packages/python-dns/tags/2.3.4-5/debian/python-dns.examples 2010-12-04 16:16:27 UTC (rev 15024)
@@ -0,0 +1,8 @@
+tests/test.py
+tests/test2.py
+tests/test4.py
+tests/test5.py
+tests/testPackers.py
+tests/testsrv.py
+tools/caching.py
+tools/named-perf.py
Added: packages/python-dns/tags/2.3.4-5/debian/rules
===================================================================
--- packages/python-dns/tags/2.3.4-5/debian/rules (rev 0)
+++ packages/python-dns/tags/2.3.4-5/debian/rules 2010-12-04 16:16:27 UTC (rev 15024)
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --with quilt, --with python2
+
+override_dh_clean:
+ rm -f DNS/*.pyc
+ dh_clean
+
+override_dh_install:
+ find debian/python-dns -name win32dns.py | xargs rm -f
+ dh_install
+
Property changes on: packages/python-dns/tags/2.3.4-5/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/python-dns/tags/2.3.4-5/debian/watch
===================================================================
--- packages/python-dns/tags/2.3.4-5/debian/watch (rev 0)
+++ packages/python-dns/tags/2.3.4-5/debian/watch 2010-12-04 16:16:27 UTC (rev 15024)
@@ -0,0 +1,3 @@
+version=3
+http://sf.net/pydns/pydns-(.*).tar.gz debian uupdate
+
More information about the Python-modules-commits
mailing list