[Python-modules-commits] r2405 - in /packages/scapy/trunk: debian/changelog debian/control debian/patches/ debian/patches/debian.patch debian/rules scapy scapy.1 scapy.py setup.py

davidvilla-guest at users.alioth.debian.org davidvilla-guest at users.alioth.debian.org
Mon May 14 23:04:52 UTC 2007


Author: davidvilla-guest
Date: Mon May 14 23:04:52 2007
New Revision: 2405

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2405
Log:
Using simple-patchsys

Added:
    packages/scapy/trunk/debian/patches/
    packages/scapy/trunk/debian/patches/debian.patch
Removed:
    packages/scapy/trunk/scapy
    packages/scapy/trunk/scapy.1
    packages/scapy/trunk/scapy.py
    packages/scapy/trunk/setup.py
Modified:
    packages/scapy/trunk/debian/changelog
    packages/scapy/trunk/debian/control
    packages/scapy/trunk/debian/rules

Modified: packages/scapy/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/scapy/trunk/debian/changelog?rev=2405&op=diff
==============================================================================
--- packages/scapy/trunk/debian/changelog (original)
+++ packages/scapy/trunk/debian/changelog Mon May 14 23:04:52 2007
@@ -4,7 +4,7 @@
   * debian/control
     - Added Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
     - build-depends-indep to build-depends: python-all-dev, python-support
-    - Changed Suggest: acroread to pdf-viewer
+    - Changed Suggest: acroread to xpdf
   * debian/python-scapy.install
     - Changed to usr/lib/python2.*/site-packages/scapy.py (Closes: #421603)
   * debian/copyright:

Modified: packages/scapy/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/scapy/trunk/debian/control?rev=2405&op=diff
==============================================================================
--- packages/scapy/trunk/debian/control (original)
+++ packages/scapy/trunk/debian/control Mon May 14 23:04:52 2007
@@ -9,7 +9,7 @@
 Package: python-scapy
 Architecture: all
 Depends: ${python:Depends}
-Suggests: tcpdump, graphviz, imagemagick, python-gnuplot, python-crypto, python-pyx, ebtables, python-visual, sox, pdf-viewer, gv
+Suggests: tcpdump, graphviz, imagemagick, python-gnuplot, python-crypto, python-pyx, ebtables, python-visual, sox, xpdf, gv
 Replaces: scapy (<< 1.1.1-1)
 Conflicts: scapy (<< 1.1.1-1) 
 Description: Packet generator/sniffer and network scanner/discovery

Added: packages/scapy/trunk/debian/patches/debian.patch
URL: http://svn.debian.org/wsvn/python-modules/packages/scapy/trunk/debian/patches/debian.patch?rev=2405&op=file
==============================================================================
--- packages/scapy/trunk/debian/patches/debian.patch (added)
+++ packages/scapy/trunk/debian/patches/debian.patch Mon May 14 23:04:52 2007
@@ -1,0 +1,57 @@
+diff -Nur trunk/scapy trunk.new/scapy
+--- trunk/scapy	1970-01-01 01:00:00.000000000 +0100
++++ trunk.new/scapy	2007-05-15 00:38:15.000000000 +0200
+@@ -0,0 +1,2 @@
++#!/bin/sh
++exec /usr/bin/python /usr/share/python-support/python-scapy/scapy.py
+diff -Nur trunk/scapy.1 trunk.new/scapy.1
+--- trunk/scapy.1	2007-05-15 00:37:47.000000000 +0200
++++ trunk.new/scapy.1	2007-05-15 00:38:03.000000000 +0200
+@@ -66,7 +66,7 @@
+ .LP
+ Test the robustness of a network stack with invalid packets:
+ .nf
+-sr(IP(dst="172.16.1.1", ihl=2, options="\verb$\x02$", version=3)/ICMP())
++sr(IP(dst="172.16.1.1", ihl=2, options="0x02", version=3)/ICMP())
+ .fi
+ 
+ .LP
+diff -Nur trunk/scapy.py trunk.new/scapy.py
+--- trunk/scapy.py	2007-05-15 00:37:47.000000000 +0200
++++ trunk.new/scapy.py	2007-05-15 00:38:03.000000000 +0200
+@@ -1,4 +1,3 @@
+-#! /usr/bin/env python
+ 
+ #############################################################################
+ ##                                                                         ##
+@@ -11787,7 +11786,7 @@
+         return s[:-1]
+     
+ class ProgPath(ConfClass):
+-    pdfreader = "acroread"
++    pdfreader = "xpdf"
+     psreader = "gv"
+     dot = "dot"
+     display = "display"
+diff -Nur trunk/setup.py trunk.new/setup.py
+--- trunk/setup.py	1970-01-01 01:00:00.000000000 +0100
++++ trunk.new/setup.py	2007-05-15 00:38:03.000000000 +0200
+@@ -0,0 +1,18 @@
++from distutils.core import setup
++
++setup(name             = 'scapy',
++   version          = '1.0.5.20',
++   description      = 'Packet generator/sniffer and network scanner.',
++   url              = 'http://www.secdev.org/projects/scapy/',
++   download_url     = 'http://www.secdev.org/projects/scapy/files/scapy.py',
++   author           = 'Philippe Biondi',
++   author_email     = '<phil at secdev.org>',
++   maintainer       = 'David Villa Alises',
++   maintainer_email = 'David.Villa at uclm.es',
++   platforms        = ['GNU/Linux', 'Unix', 'OpenBSD', 'FreeBSD', 'Mac OSX'],
++   keywords         = 'network sniffer packet-forge',
++   license          = 'GPL v2',
++   data_files       = [('share/man/man1',['scapy.1'])],
++   scripts          = ['scapy'],
++   py_modules       = ['scapy'],
++   )

Modified: packages/scapy/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/scapy/trunk/debian/rules?rev=2405&op=diff
==============================================================================
--- packages/scapy/trunk/debian/rules (original)
+++ packages/scapy/trunk/debian/rules Mon May 14 23:04:52 2007
@@ -5,5 +5,6 @@
 
 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
 
 DEB_DH_INSTALL_SOURCEDIR := debian/tmp




More information about the Python-modules-commits mailing list