[Python-modules-commits] r15784 - in packages/py3dns/trunk (12 files)

kitterman at users.alioth.debian.org kitterman at users.alioth.debian.org
Fri Feb 18 23:20:04 UTC 2011


    Date: Friday, February 18, 2011 @ 23:19:59
  Author: kitterman
Revision: 15784

Remove upstream stuff inadvertently injected.

Deleted:
  packages/py3dns/trunk/CREDITS.txt
  packages/py3dns/trunk/DNS/
  packages/py3dns/trunk/MANIFEST.in
  packages/py3dns/trunk/PKG-INFO
  packages/py3dns/trunk/README-guido.txt
  packages/py3dns/trunk/README.txt
  packages/py3dns/trunk/pydns.spec
  packages/py3dns/trunk/python-pydns.spec
  packages/py3dns/trunk/setup.cfg
  packages/py3dns/trunk/setup.py
  packages/py3dns/trunk/tests/
  packages/py3dns/trunk/tools/

Deleted: packages/py3dns/trunk/CREDITS.txt
===================================================================
--- packages/py3dns/trunk/CREDITS.txt	2011-02-18 23:17:32 UTC (rev 15783)
+++ packages/py3dns/trunk/CREDITS.txt	2011-02-18 23:19:59 UTC (rev 15784)
@@ -1,17 +0,0 @@
-This code was originally based on the DNS library created 
-by Guido van Rossum somewhere near the dawn of time. 
-
-Since then, as well as myself (Anthony), I have had contributions
-by:
-
- Michael Ströder
- Bastian Kleineidam
- Timothy J. Miller
- Wolfgang Strobl
- Arnaud Fontaine
- Scott Kitterman
- Stuart Gathman
-
-It's possible there's other people - the old RCS logs for my
-code were lost some time ago. The list above is almost certainly
-incomplete - let me know if I've forgotten you...

Deleted: packages/py3dns/trunk/MANIFEST.in
===================================================================
--- packages/py3dns/trunk/MANIFEST.in	2011-02-18 23:17:32 UTC (rev 15783)
+++ packages/py3dns/trunk/MANIFEST.in	2011-02-18 23:19:59 UTC (rev 15784)
@@ -1,6 +0,0 @@
-recursive-include DNS *.py
-recursive-include tools *.py
-recursive-include tests *.py
-include *.txt
-include setup.*
-include *.spec

Deleted: packages/py3dns/trunk/PKG-INFO
===================================================================
--- packages/py3dns/trunk/PKG-INFO	2011-02-18 23:17:32 UTC (rev 15783)
+++ packages/py3dns/trunk/PKG-INFO	2011-02-18 23:19:59 UTC (rev 15784)
@@ -1,21 +0,0 @@
-Metadata-Version: 1.1
-Name: pydns
-Version: 3.0.0
-Author: Stuart D. Gathman
-Author-email: stuart at bmsi com
-Home-page: http://pydns.sourceforge.net/
-Download-url: UNKNOWN
-Summary: Python DNS library
-License: Python License
-Description: Python DNS library:
-Keywords: DNS
-Platform: UNKNOWN
-Classifier: Development Status :: 5 - Production/Stable
-Classifier: Environment :: No Input/Output (Daemon)
-Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: Python License (CNRI Python License)
-Classifier: Natural Language :: English
-Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python
-Classifier: Topic :: Internet :: Name Service (DNS)
-Classifier: Topic :: Software Development :: Libraries :: Python Modules

Deleted: packages/py3dns/trunk/README-guido.txt
===================================================================
--- packages/py3dns/trunk/README-guido.txt	2011-02-18 23:17:32 UTC (rev 15783)
+++ packages/py3dns/trunk/README-guido.txt	2011-02-18 23:19:59 UTC (rev 15784)
@@ -1,12 +0,0 @@
-This directory contains a module (dnslib) that implements a DNS
-(Domain Name Server) client, plus additional modules that define some
-symbolic constants used by DNS (dnstype, dnsclass, dnsopcode).
-
-Type "python dnslib.py -/" for a usage message.
-
-You can also import dnslib and write your own, more sophisticated
-client code; use the test program as an example (there is currently no
-documentation :-).
-
---Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum at cwi.nl>
-URL:  <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>

Deleted: packages/py3dns/trunk/README.txt
===================================================================
--- packages/py3dns/trunk/README.txt	2011-02-18 23:17:32 UTC (rev 15783)
+++ packages/py3dns/trunk/README.txt	2011-02-18 23:19:59 UTC (rev 15784)
@@ -1,104 +0,0 @@
-Release 3.0 Wed Feb  9 23:35:22 EST 2011
-
-Ported to Python3 by Scott Kitterman <scott at kitterman.com>.  This is mostly a
-minimal port to work with Python3 (tested with python3.2) plus addition of
-some of the patches that people have submitted on Sourceforge.  It should be
-fully API compatible with 2.3.
-
-Release 2.3 Mon May  6 16:18:02 EST 2002
-
-This is a another release of the pydns code, as originally written by 
-Guido van Rossum, and with a hopefully nicer API bolted over the
-top of it by Anthony Baxter <anthony at interlink.com.au>. 
-
-This code is released under a Python-style license. 
-
-I'm making this release because there hasn't been a release in a 
-heck of a long time, and it probably deserves one. I'd also like to
-do a substantial refactor of some of the guts of the code, and this
-is likely to break any code that uses the existing interface. So
-this will be a release for people who are using the existing API...
-
-There are several known bugs/unfinished bits
-
-- processing of AXFR results is not done yet.
-- doesn't do IPv6 DNS requests (type AAAA) 
-- docs, aside from this file
-- all sorts of other stuff that I've probably forgotten.
-- MacOS support for discovering nameservers
-- the API that I evolved some time ago is pretty ugly. I'm going
-  to re-do it, designed this time.
-
-Stuff it _does_ do:
-- processes /etc/resolv.conf - at least as far as nameserver directives go.
-- tries multiple nameservers.
-- nicer API - see below.
-- returns results in more useful format.
-- optional timing of requests.
-- default 'show' behaviour emulates 'dig' pretty closely.
-  
-
-To use:
-
-import DNS
-reqobj=DNS.Request(args)
-reqobj.req(args)
-
-args can be a name, in which case it takes that as the query, and/or a series
-of keyword/value args. (see below for a list of args)
-
-when calling the 'req()' method, it reuses the options specified in the
-DNS.Request() call as defaults.
-
-options are applied in the following order:
-  those specified in the req() call
-  or, if not specified there,
-  those specified in the creation of the Request() object
-  or, if not specified there,
-  those specified in the DNS.defaults dictionary
-
-name servers can be specified in the following ways:
-- by calling DNS.DiscoverNameServers(), which will load the DNS servers
-    from the system's /etc/resolv.conf file on Unix, or from the Registry
-    on windows.
-- by specifying it as an option to the request
-- by manually setting DNS.defaults['server'] to a list of server IP
-    addresses to try
-- XXXX It should be possible to load the DNS servers on a mac os machine, 
-    from where-ever they've squirrelled them away
-
-name="host.do.main"   # the object being looked up
-qtype="SOA"           # the query type, eg SOA, A, MX, CNAME, ANY
-protocol="udp"        # "udp" or "tcp" - usually you want "udp"
-server="nameserver"   # the name of the nameserver. Note that you might
-                      # want to use an IP address here
-rd=1                  # "recursion desired" - defaults to 1.
-other: opcode, port, ...
-
-There's also some convenience functions, for the lazy:
-
-to do a reverse lookup:
->>> print DNS.revlookup("192.189.54.17")    
-yarrina.connect.com.au
-
-to look up all MX records for an entry:
->>> print DNS.mxlookup("connect.com.au")
-[(10, 'yarrina.connect.com.au'), (100, 'warrane.connect.com.au')]
-
-Documentation of the rest of the interface will have to wait for a 
-later date. Note that the DnsAsyncRequest stuff is currently not
-working - I haven't looked too closely at why, yet.
-
-There's some examples in the tests/ directory - including test5.py,
-which is even vaguely useful. It looks for the SOA for a domain, checks
-that the primary NS is authoritative, then checks the nameservers
-that it believes are NSs for the domain and checks that they're
-authoritative, and that the zone serial numbers match.
-
-see also README.guido for the original docs.
-
-comments to me, anthony at interlink.com.au, or to the mailing list,
-pydns-developer at lists.sourceforge.net.
-
-bugs/patches to the tracker on SF - 
-               http://sourceforge.net/tracker/?group_id=31674

Deleted: packages/py3dns/trunk/pydns.spec
===================================================================
--- packages/py3dns/trunk/pydns.spec	2011-02-18 23:17:32 UTC (rev 15783)
+++ packages/py3dns/trunk/pydns.spec	2011-02-18 23:19:59 UTC (rev 15784)
@@ -1,59 +0,0 @@
-%define name py3dns
-%define version 3.0.0
-%define release 3.0
-
-Summary: Python DNS library
-Name: %{name}
-Version: %{version}
-Release: %{release}
-Source0: %{name}-%{version}.tar.gz
-License: Python license
-Group: Development/Libraries
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-Prefix: %{_prefix}
-BuildArch: noarch
-Vendor: Anthony Baxter and others <pydns-developer at lists.sourceforge.net>
-Packager: Stuart D. Gathman <stuart at bmsi.com>
-Url: http://pydns.sourceforge.net/
-
-%description
-Python3 DNS library
-
-%prep
-%setup
-
-%build
-python3 setup.py build
-
-%install
-python3 setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files -f INSTALLED_FILES
-%defattr(-,root,root)
-
-%changelog
-* Tue Jun 09 2009 Stuart Gathman <stuart at bmsi.com> 2.3.4-1
-- Support IDNA label encoding
-- Optionally support M$ compatible UTF-8 label encoding.
-* Fri Aug 01 2008 Stuart Gathman <stuart at bmsi.com> 2.3.3-1
-- Support IPv6 nameservers
-* Thu Jul 24 2008 Stuart Gathman <stuart at bmsi.com> 2.3.2-2
-- Fix tcp timeout
-* Thu Jul 24 2008 Stuart Gathman <stuart at bmsi.com> 2.3.2-1
-- Randomize TID and source port
-* Tue May 22 2007 Stuart Gathman <stuart at bmsi.com> 2.3.1-1
-- Bug fix release
-- 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

Deleted: packages/py3dns/trunk/python-pydns.spec
===================================================================
--- packages/py3dns/trunk/python-pydns.spec	2011-02-18 23:17:32 UTC (rev 15783)
+++ packages/py3dns/trunk/python-pydns.spec	2011-02-18 23:19:59 UTC (rev 15784)
@@ -1,79 +0,0 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
-Name:           python3-pydns
-Version:        3.0.0
-Release:        1%{?dist}
-Summary:        Python module for DNS (Domain Name Service).
-
-Group:          Development/Languages
-License:        Python Software Foundation License
-URL:            http://pydns.sourceforge.net/
-Source0:        pydns-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildArch:      noarch
-
-%description
-This is a another release of the pydns code, as originally written by
-Guido van Rossum, and with a hopefully nicer API bolted over the
-top of it by Anthony Baxter <anthony at interlink.com.au>.
-
-This package contains a module (dnslib) that implements a DNS
-(Domain Name Server) client, plus additional modules that define some
-symbolic constants used by DNS (dnstype, dnsclass, dnsopcode).
-
-This version was ported to Python3 by Scott Kitterman <scott at kitterman.com>
-
-%define namewithoutpythonprefix %(echo %{name} | sed 's/^python-//')
-%prep
-%setup -q -n %{namewithoutpythonprefix}-%{version}
-#patch -p1 -b .sdg
-
-%build
-%{__python} setup.py build
-
-
-%install
-rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
-%files
-%defattr(-,root,root,-)
-%doc CREDITS.txt PKG-INFO README-guido.txt README.txt
-%{python_sitelib}/DNS/*.py*
-%{python_sitelib}/pydns-2.3.3-py2.5.egg-info
-
-%changelog
-* Tue Jun 09 2009 Stuart Gathman <stuart at bmsi.com> 2.3.4-1
-- Support IDNA label encoding
-- Optionally support M$ compatible UTF-8 label encoding.
-* Thu Sep 25 2008 Stuart Gathman <stuart at bmsi.com> 2.3.3-3
-- Accept unicode names, encode to ascii with exception if non-ascii
-* Thu Sep 25 2008 Stuart Gathman <stuart at bmsi.com> 2.3.3-2
-- Support IPv6 queries
-* Fri Aug 01 2008 Stuart Gathman <stuart at bmsi.com> 2.3.3-1
-- Support IPv6 nameservers
-* Thu Jul 24 2008 Stuart Gathman <stuart at bmsi.com> 2.3.2-2
-- Fix tcp timeout
-* Thu Jul 24 2008 Stuart Gathman <stuart at bmsi.com> 2.3.2-1
-- Randomize TID and source port, CVE-2008-4099 CVE-2008-4126
-* Tue May 22 2007 Stuart Gathman <stuart at bmsi.com> 2.3.1-1
-- Bug fix release
-- 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
-* Tue Aug 29 2006 Sean Reifschneider <jafo at tummy.com> 2.3.0-1
-- Initial RPM spec file.

Deleted: packages/py3dns/trunk/setup.cfg
===================================================================
--- packages/py3dns/trunk/setup.cfg	2011-02-18 23:17:32 UTC (rev 15783)
+++ packages/py3dns/trunk/setup.cfg	2011-02-18 23:19:59 UTC (rev 15784)
@@ -1,7 +0,0 @@
-[install]
-compile = 1
-optimize = 1
-
-[bdist_rpm]
-python=python3
-group = Development/Libraries

Deleted: packages/py3dns/trunk/setup.py
===================================================================
--- packages/py3dns/trunk/setup.py	2011-02-18 23:17:32 UTC (rev 15783)
+++ packages/py3dns/trunk/setup.py	2011-02-18 23:19:59 UTC (rev 15784)
@@ -1,64 +0,0 @@
-#! /usr/bin/python3
-# 
-# $Id: setup.py,v 1.4.2.3 2008/08/01 04:01:25 customdesigned Exp $
-#
-
-import sys,os
-
-sys.path.insert(0,os.getcwd())
-
-from distutils.core import setup
-
-import DNS
-
-setup(
-        #-- Package description
-        name = 'pydns',
-        license = 'Python License',
-        version = DNS.__version__,
-        description = 'Python DNS library',
-        long_description = """Python DNS library:
-""",
-        author = 'Anthony Baxter and others', 
-        author_email = 'pydns-developer at lists.sourceforge.net',
-      maintainer="Stuart D. Gathman",
-      maintainer_email="stuart at bmsi.com",
-      url = 'http://pydns.sourceforge.net/',
-      packages = ['DNS'], keywords = ['DNS'],
-      classifiers = [
-        'Development Status :: 5 - Production/Stable',
-        'Environment :: No Input/Output (Daemon)',
-        'Intended Audience :: Developers',
-        'License :: OSI Approved :: Python License (CNRI Python License)',
-        'Natural Language :: English',
-        'Operating System :: OS Independent',
-        'Programming Language :: Python',
-        'Topic :: Internet :: Name Service (DNS)',
-        'Topic :: Software Development :: Libraries :: Python Modules'
-      ]
-)
-
-#
-# $Log: setup.py,v $
-# Revision 1.4.2.3  2008/08/01 04:01:25  customdesigned
-# Release 2.3.3
-#
-# Revision 1.4.2.2  2008/08/01 03:58:03  customdesigned
-# Don't try to close socket when never opened.
-#
-# Revision 1.4.2.1  2008/07/28 19:54:13  customdesigned
-# Add pypi metadata to setup.py
-#
-# Revision 1.4  2002/05/06 06:32:07  anthonybaxter
-# filled in a blank
-#
-# Revision 1.3  2001/11/23 19:43:57  stroeder
-# Prepend current directory to sys.path to enable import of DNS.
-#
-# Revision 1.2  2001/11/23 19:36:35  stroeder
-# Use DNS.__version__ as package version and corrected name
-#
-# Revision 1.1  2001/08/09 13:42:38  anthonybaxter
-# initial setup.py. That was easy. :)
-#
-#




More information about the Python-modules-commits mailing list