--- impacket-0.9.6.0.orig/debian/pyversions
+++ impacket-0.9.6.0/debian/pyversions
@@ -0,0 +1 @@
+2.3-
--- impacket-0.9.6.0.orig/debian/control
+++ impacket-0.9.6.0/debian/control
@@ -0,0 +1,39 @@
+Source: impacket
+Section: python
+Priority: optional
+Maintainer: Arnaud Fontaine <arnau@debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Build-Depends: debhelper (>= 5.0.37.2),
+ cdbs (>= 0.4.43),
+ python-dev (>= 2.3.5-11),
+ python-support (>= 0.3.2),
+ patchutils (>= 0.2.25)
+Standards-Version: 3.7.3
+Homepage: http://oss.coresecurity.com/projects/impacket.html
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/impacket/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/impacket/?op=log
+
+Package: python-impacket
+Architecture: all
+Depends: ${python:Depends}
+Recommends: python-pcapy
+Suggests: python-impacket-doc
+Description: Python module to easily build and dissect network protocols
+ Impacket is a collection of Python classes focused on providing
+ access to network packets. Impacket allows Python developers to
+ craft and decode network packets in simple and consistent manner. It
+ includes support for low-level protocols such as IP, UDP and TCP, as
+ well as higher-level protocols such as NMB and SMB.
+ .
+ Impacket is highly effective when used in conjunction with a packet
+ capture utility or package such as Pcapy. Packets can be constructed
+ From scratch, as well as parsed from raw data. Furthermore, the
+ object oriented API makes it simple to work with deep protocol
+ hierarchies.
+
+Package: python-impacket-doc
+Architecture: all
+Recommends: python-pcapy
+Section: doc
+Description: Python module to easily build and dissect network protocols
+ This package contains the documentation for Impacket.
--- impacket-0.9.6.0.orig/debian/changelog
+++ impacket-0.9.6.0/debian/changelog
@@ -0,0 +1,62 @@
+impacket (0.9.6.0-3) unstable; urgency=low
+
+ [ Arnaud Fontaine ]
+ * New email address.
+ * Remove useless debian/control.in.
+ * debian/control:
+ + Update Standards-Version to 3.7.3. No changes needed.
+ * debian/copyright:
+ + Add package license.
+
+ [ Piotr Ożarowski ]
+ * debian/control:
+ + Added Vcs-Svn, Vcs-Browser and Homepage fields.
+
+ [ Jan Michael Alonzo ]
+ * Fix watch file and updated it to version=3. Closes: #450377.
+
+ -- Arnaud Fontaine <arnau@debian.org> Sun, 09 Dec 2007 23:36:25 +0000
+
+impacket (0.9.6.0-2) unstable; urgency=low
+
+ * debian/control.in:
+ + Add missing Recommends for python-impacket-doc against python-pcapy.
+ Closes: #389657.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Wed, 27 Sep 2006 08:33:20 +0200
+
+impacket (0.9.6.0-1) unstable; urgency=low
+
+ * New upstream release.
+ + Add debian/python-impacket-doc.docs for doc/.
+ * debian/control.in:
+ + Update Standards-Version to 3.7.2. No changes needed.
+ * New Python policy changes. Closes: #373444.
+ + debian/compat:
+ - Update debhelper compatibility to 5.
+ + debian/rules:
+ - Add DEB_PYTHON_SYSTEM=pysupport.
+ + debian/control.in
+ - Clean Build-Depends and Depends, cdbs handles that
+ automatically now.
+ - XB-Python-Version and Provides for binary package.
+ + debian/postinst && debian/prerm:
+ - Remove "hand made" python-support stuff, cdbs does this.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Tue, 20 Jun 2006 00:20:32 +0200
+
+impacket (0.9.5.2-2) unstable; urgency=low
+
+ * Use python-support and then remove python2.3-impacket and
+ python2.4-impacket packages.
+ * Move all Build-Depends to Build-Depends-Indep according
+ to the debian policy.
+ * Update Standards-Version to 3.7.0 in debian/control*.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Tue, 18 Apr 2006 19:45:47 +0200
+
+impacket (0.9.5.2-1) unstable; urgency=low
+
+ * Initial release. Closes: #361966.
+
+ -- Arnaud Fontaine <arnaud@andesi.org> Tue, 11 Apr 2006 15:51:41 +0200
--- impacket-0.9.6.0.orig/debian/compat
+++ impacket-0.9.6.0/debian/compat
@@ -0,0 +1 @@
+5
--- impacket-0.9.6.0.orig/debian/watch
+++ impacket-0.9.6.0/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://oss.coresecurity.com/projects/impacket.html \
+ ../repo/Impacket-([\d.]*)\.tar\.gz
--- impacket-0.9.6.0.orig/debian/patches/00_setup.patch
+++ impacket-0.9.6.0/debian/patches/00_setup.patch
@@ -0,0 +1,10 @@
+--- setup.py.old 2006-06-20 00:36:56.000000000 +0200
++++ setup.py 2006-06-20 00:37:35.000000000 +0200
+@@ -17,7 +17,4 @@
+ maintainer = "Max Caceres",
+ maintainer_email = "max@coresecurity.com",
+ packages = ['impacket', 'impacket.dcerpc'],
+- scripts = glob.glob(os.path.join('examples', '*.py'))+glob.glob('doc/*'),
+- data_files = [(os.path.join('share', 'doc', PACKAGE_NAME),
+- ['README', 'LICENSE'])],
+ )
--- impacket-0.9.6.0.orig/debian/python-impacket-doc.docs
+++ impacket-0.9.6.0/debian/python-impacket-doc.docs
@@ -0,0 +1 @@
+doc/
--- impacket-0.9.6.0.orig/debian/copyright
+++ impacket-0.9.6.0/debian/copyright
@@ -0,0 +1,57 @@
+This package was debianized by Arnaud Fontaine <arnau@debian.org> on
+Tue, 11 Apr 2006 15:51:41 +0200.
+
+It was downloaded from http://oss.coresecurity.com/projects/impacket.html
+
+Copyright:
+
+ Copyright (c) 2000 The Apache Software Foundation. All rights
+ reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the above
+ copyright notice, this list of conditions and the following
+ disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials
+ provided with the distribution.
+
+ 3. The end-user documentation included with the redistribution,
+ if any, must include the following acknowledgment: "This
+ product includes software developed by CORE Security
+ Technologies (http://www.coresecurity.com/)." Alternately,
+ this acknowledgment may appear in the software itself, if
+ and wherever such third-party acknowledgments normally
+ appear.
+
+ 4. The names "Impacket" and "CORE Security Technologies" must
+ not be used to endorse or promote products derived from this
+ software without prior written permission. For written
+ permission, please contact oss@coresecurity.com.
+
+ 5. Products derived from this software may not be called
+ "Impacket", nor may "Impacket" appear in their name, without
+ prior written permission of CORE Security Technologies.
+
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+The Debian packaging is (C) 2006-2007, Arnaud Fontaine
+<arnau@debian.org> and is licensed under the GPL. On Debian systems,
+the complete text of the GNU General Public License can be found in
+`/usr/share/common-licenses/GPL'.
--- impacket-0.9.6.0.orig/debian/rules
+++ impacket-0.9.6.0/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+
+DEB_PYTHON_SYSTEM=pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+# Don't compress .py file
+DEB_COMPRESS_EXCLUDE := .py
+
+DEB_DESTDIR=debian/python-impacket
--- impacket-0.9.6.0.orig/debian/pycompat
+++ impacket-0.9.6.0/debian/pycompat
@@ -0,0 +1 @@
+2
--- impacket-0.9.6.0.orig/debian/python-impacket.README.Debian
+++ impacket-0.9.6.0/debian/python-impacket.README.Debian
@@ -0,0 +1,7 @@
+Please note:
+
+The examples for this package is in python-impacket-doc.
+
+When you install that package, you can find the examples
+in /usr/share/doc/python-impacket-doc.
+
--- impacket-0.9.6.0.orig/debian/python-impacket-doc.examples
+++ impacket-0.9.6.0/debian/python-impacket-doc.examples
@@ -0,0 +1 @@
+examples/*