Date: Wed, 15 Jul 2009 16:30:15 GMT From: Aurélien Ansel <aurelien.ansel@netasq.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/136798: Fix import of pcap files Message-ID: <200907151630.n6FGUFx8011236@www.freebsd.org> Resent-Message-ID: <200907151640.n6FGe1kL011742@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 136798 >Category: ports >Synopsis: Fix import of pcap files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 15 16:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Aurélien Ansel >Release: 7.2-STABLE >Organization: NETASQ >Environment: FreeBSD aureliena2.netasq.com 7.2-STABLE FreeBSD 7.2-STABLE #13: Thu Jul 2 18:18:32 CEST 2009 root@aureliena2.netasq.com:/usr/obj/usr/src/sys/NOYAU i386 >Description: Fix a Python import when importing of a pcap file in scapy. >How-To-Repeat: In scapy: sniff(offline="a_pcap_file.pcap") >Fix: Patch attached with submission follows: diff -rNu /usr/ports/net/scapy/Makefile /home/camu/work/scapy/port_modif/Makefile --- /usr/ports/net/scapy/Makefile 2009-07-06 16:33:06.000000000 +0200 +++ /home/camu/work/scapy/port_modif/Makefile 2009-07-15 18:20:19.000000000 +0200 @@ -8,7 +8,7 @@ PORTNAME= scapy PORTVERSION= 2.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://secdev.org/projects/scapy/files/ diff -rNu /usr/ports/net/scapy/files/patch-scapy-sendrecv.py /home/camu/work/scapy/port_modif/files/patch-scapy-sendrecv.py --- /usr/ports/net/scapy/files/patch-scapy-sendrecv.py 1970-01-01 01:00:00.000000000 +0100 +++ /home/camu/work/scapy/port_modif/files/patch-scapy-sendrecv.py 2009-07-15 18:22:54.000000000 +0200 @@ -0,0 +1,11 @@ +--- scapy/sendrecv.py.orig 2009-07-15 18:19:31.000000000 +0200 ++++ scapy/sendrecv.py 2009-07-15 18:19:46.000000000 +0200 +@@ -9,7 +9,7 @@ + from arch import * + from config import conf + from packet import Gen +-from utils import warning ++from utils import warning,PcapReader + import plist + from error import log_runtime,log_interactive + diff -rNu /usr/ports/net/scapy/patch /home/camu/work/scapy/port_modif/patch --- /usr/ports/net/scapy/patch 1970-01-01 01:00:00.000000000 +0100 +++ /home/camu/work/scapy/port_modif/patch 2009-07-15 18:27:31.000000000 +0200 @@ -0,0 +1,27 @@ +diff -rNu /usr/ports/net/scapy/Makefile /home/camu/work/scapy/port_modif/Makefile +--- /usr/ports/net/scapy/Makefile 2009-07-06 16:33:06.000000000 +0200 ++++ /home/camu/work/scapy/port_modif/Makefile 2009-07-15 18:20:19.000000000 +0200 +@@ -8,7 +8,7 @@ + + PORTNAME= scapy + PORTVERSION= 2.0.1 +-PORTREVISION= 1 ++PORTREVISION= 2 + CATEGORIES= net + MASTER_SITES= http://secdev.org/projects/scapy/files/ + +diff -rNu /usr/ports/net/scapy/files/patch-scapy-sendrecv.py /home/camu/work/scapy/port_modif/files/patch-scapy-sendrecv.py +--- /usr/ports/net/scapy/files/patch-scapy-sendrecv.py 1970-01-01 01:00:00.000000000 +0100 ++++ /home/camu/work/scapy/port_modif/files/patch-scapy-sendrecv.py 2009-07-15 18:22:54.000000000 +0200 +@@ -0,0 +1,11 @@ ++--- scapy/sendrecv.py.orig 2009-07-15 18:19:31.000000000 +0200 +++++ scapy/sendrecv.py 2009-07-15 18:19:46.000000000 +0200 ++@@ -9,7 +9,7 @@ ++ from arch import * ++ from config import conf ++ from packet import Gen ++-from utils import warning +++from utils import warning,PcapReader ++ import plist ++ from error import log_runtime,log_interactive ++ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907151630.n6FGUFx8011236>