From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 29 13:00:13 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C03751065673 for ; Mon, 29 Jun 2009 13:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 922568FC19 for ; Mon, 29 Jun 2009 13:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5TD0Dm1037435 for ; Mon, 29 Jun 2009 13:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5TD0DMS037434; Mon, 29 Jun 2009 13:00:13 GMT (envelope-from gnats) Resent-Date: Mon, 29 Jun 2009 13:00:13 GMT Resent-Message-Id: <200906291300.n5TD0DMS037434@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Aurélien Ansel Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC53A1065670 for ; Mon, 29 Jun 2009 12:55:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D03AD8FC1A for ; Mon, 29 Jun 2009 12:55:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5TCtEUD087984 for ; Mon, 29 Jun 2009 12:55:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n5TCtEAI087983; Mon, 29 Jun 2009 12:55:14 GMT (envelope-from nobody) Message-Id: <200906291255.n5TCtEAI087983@www.freebsd.org> Date: Mon, 29 Jun 2009 12:55:14 GMT From: Aurélien Ansel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/136160: [net/scapy] Add config options and fix a bug with VPython X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 13:00:14 -0000 >Number: 136160 >Category: ports >Synopsis: [net/scapy] Add config options and fix a bug with VPython >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: Mon Jun 29 13:00:13 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 #11: Thu Jun 11 15:46:45 CEST 2009 root@aureliena2.netasq.com:/usr/obj/usr/src/sys/NOYAU i386 >Description: _ Add some options for 'make config' _ Fix 2 dependencies (Queso and Nmap) >How-To-Repeat: >Fix: Patch attached with submission follows: diff -rNu /usr/ports/net/scapy/Makefile port/Makefile --- /usr/ports/net/scapy/Makefile 2009-06-25 04:15:46.000000000 +0200 +++ port/Makefile 2009-06-29 12:02:19.000000000 +0200 @@ -8,6 +8,7 @@ PORTNAME= scapy PORTVERSION= 2.0.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://secdev.org/projects/scapy/files/ @@ -26,10 +27,13 @@ OPTIONS= PYX "Support for PostScript and PDF graphs drawing" off \ PYCRYPTO "Support for py-crypto for WEP decoding" off \ PYGNUPLOT "Support for py-gnuplot wrapper to plot graphs" off \ + GRAPH "Support for graph generation and visualization" off \ P0F_BASE "Support for p0f OS signatures database" off \ QUESO_BASE "Support for queso OS signatures database" off \ NMAP "Support for nmap OS signatures database" off \ - MANUF "Support for wireshark's MANUF MAC database" off + MANUF "Support for wireshark's MANUF MAC database" off \ + VPYTHON "Support for 3D representation of traceroute" off \ + SOX "Support for VoIP" off .include @@ -45,22 +49,36 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Gnuplot/__init__.py:${PORTSDIR}/math/py-gnuplot .endif +.if defined(WITH_GRAPH) +RUN_DEPENDS+= ${LOCALBASE}/bin/MagickCore-config:${PORTSDIR}/graphics/ImageMagick +RUN_DEPENDS+= ${LOCALBASE}/bin/dot:${PORTSDIR}/graphics/graphviz +.endif + .if defined(WITH_P0F_BASE) RUN_DEPENDS+= ${LOCALBASE}/etc/p0f/p0f.fp:${PORTSDIR}/net-mgmt/p0f .endif .if defined(WITH_QUESO_BASE) -RUN_DEPENDS+= ${LOCALBASE}/etc/queso.conf:${PORTSDIR}/net/queso +RUN_DEPENDS+= ${LOCALBASE}/etc/queso.conf.sample:${PORTSDIR}/net/queso .endif .if defined(WITH_NMAP) -RUN_DEPENDS+= ${LOCALBASE}/share/nmap/nmap-os-fingerprints:${PORTSDIR}/security/nmap +RUN_DEPENDS+= ${LOCALBASE}/share/nmap/nmap-os-db:${PORTSDIR}/security/nmap .endif .if defined(WITH_MANUF) RUN_DEPENDS+= ${LOCALBASE}/share/wireshark/manuf:${PORTSDIR}/net/wireshark .endif +.if defined(WITH_VPYTHON) +RUN_DEPENDS+= ${LOCALBASE}/bin/vpython:${PORTSDIR}/graphics/py-visual +.endif + +.if defined(WITH_SOX) +RUN_DEPENDS+= ${LOCALBASE}/bin/sox:${PORTSDIR}/audio/sox +.endif + + SCAPY_MODULES= nmap.py p0f.py queso.py post-patch: diff -rNu /usr/ports/net/scapy/files/patch-layers-inet.py port/files/patch-layers-inet.py --- /usr/ports/net/scapy/files/patch-layers-inet.py 1970-01-01 01:00:00.000000000 +0100 +++ port/files/patch-layers-inet.py 2009-06-29 14:38:32.000000000 +0200 @@ -0,0 +1,11 @@ +--- scapy/layers/inet.py.orig 2009-05-25 14:36:27.000000000 +0200 ++++ scapy/layers/inet.py 2009-05-25 14:36:30.000000000 +0200 +@@ -780,7 +780,7 @@ + self.label.visible ^= 1 + + visual.scene = visual.display() +- visual.scene.exit_on_close(0) ++ #visual.scene.exit_on_close(0) + start = visual.box() + rings={} + tr3d = {} >Release-Note: >Audit-Trail: >Unformatted: