Package: python-scapy
Version: 2.1.0-1
Severity: normal
Tags: patch

Scapy is configured to look for wireshark's manuf file in
/usr/share/wireshark/wireshark/manuf whereas it is installed in
/usr/share/wireshark/manuf in squeeze. The attached patch adjusts the
MANUFDB parameter and adjusts the function's documentation.

--- ../scapy/data.py.orig       2009-09-23 10:27:36.000000000 -0400
+++ ../scapy/data.py    2012-11-05 15:09:58.870810405 -0500
@@ -178,7 +178,7 @@
     IP_PROTOS=load_protocols("/etc/protocols")
     ETHER_TYPES=load_ethertypes("/etc/ethertypes")
     TCP_SERVICES,UDP_SERVICES=load_services("/etc/services")
-    MANUFDB = load_manuf("/usr/share/wireshark/wireshark/manuf")
+    MANUFDB = load_manuf("/usr/share/wireshark/manuf")
 
 
 
--- ../scapy/utils6.py.orig     2009-11-06 05:56:48.000000000 -0500
+++ ../scapy/utils6.py  2012-11-05 15:10:52.315432713 -0500
@@ -267,7 +267,7 @@
     Extract the MAC address from a modified EUI-64 constructed IPv6
     address provided and use the IANA oui.txt file to get the vendor.
     The database used for the conversion is the one loaded by Scapy,
-    based on Wireshark (/usr/share/wireshark/wireshark/manuf)  None
+    based on Wireshark (/usr/share/wireshark/manuf)  None
     is returned on error, "UNKNOWN" if the vendor is unknown.
     """
     mac = in6_addrtomac(addr)


-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-scapy depends on:
ii  python                  2.6.6-3+squeeze7 interactive high-level object-orie
ii  python-support          1.0.10           automated rebuilding support for P

python-scapy recommends no packages.

Versions of packages python-scapy suggests:
pn  ebtables            <none>               (no description available)
ii  graphviz            2.26.3-5             rich set of graph drawing tools
ii  gv                  1:3.7.1-1            PostScript and PDF viewer for X
pn  hexer               <none>               (no description available)
ii  imagemagick         8:6.6.0.4-3+squeeze3 image manipulation programs
ii  python-crypto       2.1.0-2+squeeze1     cryptographic algorithms and proto
ii  python-gnuplot      1.8-1.1              A Python interface to the gnuplot 
ii  python-pyx          0.10-2               Python module for generating PostS
ii  python-visual       1:5.12-1.1+b2        VPython 3D scientific visualizatio
ii  sox                 14.3.1-1+b1          Swiss army knife of sound processi
ii  tcpdump             4.1.1-1              A powerful tool for network monito
ii  tcpreplay           3.4.3-2              Tool to replay saved tcpdump files
ii  wireshark           1.2.11-6+squeeze7    network traffic analyzer - GTK+ ve
ii  xpdf                3.02-12+squeeze1     Portable Document Format (PDF) rea

-- no debconf information
--- ../scapy/data.py.orig       2009-09-23 10:27:36.000000000 -0400
+++ ../scapy/data.py    2012-11-05 15:09:58.870810405 -0500
@@ -178,7 +178,7 @@
     IP_PROTOS=load_protocols("/etc/protocols")
     ETHER_TYPES=load_ethertypes("/etc/ethertypes")
     TCP_SERVICES,UDP_SERVICES=load_services("/etc/services")
-    MANUFDB = load_manuf("/usr/share/wireshark/wireshark/manuf")
+    MANUFDB = load_manuf("/usr/share/wireshark/manuf")
 
 
 
--- ../scapy/utils6.py.orig     2009-11-06 05:56:48.000000000 -0500
+++ ../scapy/utils6.py  2012-11-05 15:10:52.315432713 -0500
@@ -267,7 +267,7 @@
     Extract the MAC address from a modified EUI-64 constructed IPv6
     address provided and use the IANA oui.txt file to get the vendor.
     The database used for the conversion is the one loaded by Scapy,
-    based on Wireshark (/usr/share/wireshark/wireshark/manuf)  None
+    based on Wireshark (/usr/share/wireshark/manuf)  None
     is returned on error, "UNKNOWN" if the vendor is unknown.
     """
     mac = in6_addrtomac(addr)

Reply via email to