--- python-dpkt-1.6+svn54.orig/debian/copyright +++ python-dpkt-1.6+svn54/debian/copyright @@ -0,0 +1,42 @@ +This package was debianized by Luciano Bello on +Mon, 28 Apr 2008 18:50:19 -0300. + +It was downloaded from http://monkey.org/~dugsong/dpkt/ + +Upstream Author: + + Dug Song + the grugq + Tim Newsham + Jon Oberheide + Robert Stone + Thomas Taranowski + Tim Yardley + +Copyright: + + Copyright (c) 2004 Dug Song + +License: + + Redistribution and use in source and binary forms, with or without + modification, are permitted under the terms of the BSD License. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS 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 REGENTS OR 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. + +On Debian systems, the complete text of the BSD License can be +found in `/usr/share/common-licenses/BSD'. + + +The Debian packaging is (C) 2008, Luciano Bello and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- python-dpkt-1.6+svn54.orig/debian/control +++ python-dpkt-1.6+svn54/debian/control @@ -0,0 +1,18 @@ +Source: python-dpkt +Section: python +Priority: optional +Maintainer: Debian Python Modules Team +Uploaders: Luciano Bello +Build-Depends: debhelper (>= 5.0.38), python-all, dpatch +Build-Depends-Indep: python-support (>= 0.6.4) +Standards-Version: 3.8.2 +Homepage: http://monkey.org/~dugsong/dpkt/ +XS-Python-Version: all + +Package: python-dpkt +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +XB-Python-Version: ${python:Versions} +Description: Python packet creation / parsing module + Python module for fast, simple packet creation / parsing, with definitions for + the basic TCP/IP protocols. --- python-dpkt-1.6+svn54.orig/debian/changelog +++ python-dpkt-1.6+svn54/debian/changelog @@ -0,0 +1,5 @@ +python-dpkt (1.6+svn54-1) unstable; urgency=low + + * Initial release (Closes: #538755) + + -- Luciano Bello Mon, 27 Jul 2009 20:53:29 -0300 --- python-dpkt-1.6+svn54.orig/debian/rules +++ python-dpkt-1.6+svn54/debian/rules @@ -0,0 +1,69 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +include /usr/share/dpatch/dpatch.make + +PYVERS=$(shell pyversions -r) + +PACKAGE = python-dpkt +URL:=http://dpkt.googlecode.com/svn/trunk/ +SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p') +SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"+" '{ print $$2 }' | sed 's/svn//' ) +TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz + +build: patch-stamp + +clean: unpatch + dh_testdir + + # Add here commands to clean up after the build process. + for python in $(PYVERS); do \ + $$python setup.py clean; \ + done + + rm -f build-stamp + rm -f dpkt/*.pyc dpkt/*.pyo + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_installdirs + + for python in $(PYVERS); do \ + $$python setup.py install --root=debian/python-dpkt; \ + done + +# Build architecture-dependent files here. +binary-arch: +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGES + dh_installdocs AUTHORS HACKING + dh_installexamples examples/* + dh_pysupport + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +get-orig-source: + @@dh_testdir + @@rm -rf $(TARBALL) + @@mkdir get-orig-source + @@svn export -r $(SVN_REVISION) $(URL) \ + get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig + @@echo Cleaning up ... + @@GZIP=--best tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig + @@rm -rf get-orig-source + @@echo " "$(TARBALL)" created; move it to the right destination to build the package" + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- python-dpkt-1.6+svn54.orig/debian/compat +++ python-dpkt-1.6+svn54/debian/compat @@ -0,0 +1 @@ +5 --- python-dpkt-1.6+svn54.orig/debian/watch +++ python-dpkt-1.6+svn54/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://code.google.com/p/dpkt/downloads/list http://dpkt.googlecode.com/files/dpkt-([\d.]*)\.tar\.gz --- python-dpkt-1.6+svn54.orig/debian/patches/00list +++ python-dpkt-1.6+svn54/debian/patches/00list @@ -0,0 +1 @@ +# for future use