diff options
author | Philippe Audeoud <jadawin@FreeBSD.org> | 2009-07-06 14:33:06 +0000 |
---|---|---|
committer | Philippe Audeoud <jadawin@FreeBSD.org> | 2009-07-06 14:33:06 +0000 |
commit | 0daa25827c330850b03f299bcf5d0a9487d9eb47 (patch) | |
tree | 834bc92ae13305519b3dd83e205d31da08f1eebe /net/scapy | |
parent | 5ef0b61d2d19dfb04d7ca80358ce3a826cac2493 (diff) | |
download | ports-0daa25827c330850b03f299bcf5d0a9487d9eb47.tar.gz ports-0daa25827c330850b03f299bcf5d0a9487d9eb47.zip |
Notes
Diffstat (limited to 'net/scapy')
-rw-r--r-- | net/scapy/Makefile | 23 | ||||
-rw-r--r-- | net/scapy/files/patch-layers-inet.py | 11 |
2 files changed, 31 insertions, 3 deletions
diff --git a/net/scapy/Makefile b/net/scapy/Makefile index c35366dca7c4..24de010f3ef9 100644 --- a/net/scapy/Makefile +++ b/net/scapy/Makefile @@ -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 @@ USE_PYDISTUTILS=yes 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 <bsd.port.pre.mk> @@ -45,22 +49,35 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-py 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 --git a/net/scapy/files/patch-layers-inet.py b/net/scapy/files/patch-layers-inet.py new file mode 100644 index 000000000000..5d2145b5e5cc --- /dev/null +++ b/net/scapy/files/patch-layers-inet.py @@ -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 = {} |