# -*- 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: Portfile 91595 2012-04-06 15:24:18Z mfeiri@macports.org $

PortSystem            1.0
PortGroup             python25 1.0

name                  scapy
version               2.2.0
categories            net security python
platforms             darwin
maintainers           mfeiri 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.

homepage              http://www.secdev.org/projects/scapy
master_sites          ${homepage}/files/

checksums             sha256  c5363b224df0efbd78d7dc4d8a518e5518b2e7affc2e5f1fcecd4efa3ab815af \
                      rmd160  0cb0e14e6e84ba6a22b0afd7f2913a98888a418e

depends_lib-append    port:py25-readline    port:py25-pylibpcap \
                      port:py25-libdnet     port:py25-crypto \
                      port:py25-gnuplot     port:py25-pyx \
                      path:bin/dot:graphviz

livecheck.type        regex
livecheck.url         http://hg.secdev.org/scapy/tags
livecheck.regex       "v(\[\\d.\]+)"
