# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup github 1.0 name scapy python.versions 27 python.default_version 27 categories net security python license GPL-2 platforms darwin supported_archs noarch maintainers michaelld openmaintainer description A powerful packet manipulation tool long_description \ Scapy is a powerful interactive packet manipulation program. It is \ able to forge or decode packets of a wide number of protocols, send \ them on the wire, capture them, match requests and replies, and much \ more. It can easily handle most classical tasks like scanning, \ tracerouting, probing, unit tests, attacks or network discovery (it \ can replace hping, 85% of nmap, arpspoof, arp-sk, arping, tcpdump, \ tethereal, p0f, etc.). It also performs very well at a lot of other \ specific tasks that most other tools can't handle, like sending \ invalid frames, injecting your own 802.11 frames, combining technics \ (VLAN hopping+ARP cache poisoning, VOIP decoding on WEP encrypted \ channel, ...), etc. subport ${name}-devel {} if {${subport} eq ${name}} { github.setup secdev ${name} 2.3.3 v checksums rmd160 3ff0856e3edadcba0d64ae07a0eb0910aee7491c \ sha256 52764c3860d4ec9177459ec733bee3da181eb6a726d30ea60f760b1153807363 conflicts ${name}-devel } else { github.setup secdev ${name} 620f195c650e869f7fa27a881bc52e482f8d7ce8 version 20161026 checksums rmd160 1dda47873173bc203b79709f402e2b8a676ce72f \ sha256 d0511822267742d9a1cee3b23657047ea8688aea7677cb6fa9dd415b0ffe6947 long_description ${long_description} \ This port is kept up with the ${name} GIT 'master' branch, is typically updated weekly to monthly. conflicts ${name} } homepage http://www.secdev.org/projects/${name} depends_lib-append port:py${python.version}-readline \ port:py${python.version}-pylibpcap \ port:py${python.version}-libdnet \ port:py${python.version}-crypto default_variants +gnuplot +graphviz ## http://www.secdev.org/projects/scapy/doc/installation.html#optional-software-for-special-features variant pyx description {" With PyX for creating PostScript figures"} { depends_lib-append port:py${python.version}-pyx } variant gnuplot description { "With gnuplot export" } { depends_run-append port:py${python.version}-gnuplot } variant graphviz description { "With graphviz export" } { depends_run-append path:bin/dot:graphviz port:ImageMagick } variant sox description { "With sox export for VoIP" } { depends_run-append port:sox }