# $Id$
PortSystem 1.0
name             yersinia
version          0.7.1
revision         1
categories       net security
maintainers      gmail.com:hsivank
description	 Solid framework for analyzing and testing the deployed networks and systems.
long_description \
   Yersinia is a network tool designed to take advantage of some weakeness in different \
   network protocols. It pretends to be a solid framework for analyzing and testing the \
   deployed networks and systems. \
   Currently, there are some network protocols implemented, but others are coming \
   (tell us which one is your preferred). Attacks for the following network protocols are\
   implemented (but of course you are free for implementing new ones):\
	Spanning Tree Protocol (STP)\
	Cisco Discovery Protocol (CDP)\
	Dynamic Trunking Protocol (DTP)\
	Dynamic Host Configuration Protocol (DHCP)\
	Hot Standby Router Protocol (HSRP)\
	IEEE 802.1Q\
	IEEE 802.1X\
	Inter-Switch Link Protocol (ISL)\
	VLAN Trunking Protocol (VTP)
	
homepage         http://www.yersinia.net/
platforms        darwin freebsd

master_sites     http://www.yersinia.net/download/
checksums        md5 dd3b79a625482961fe4e8bd96edff179

patchfiles       patch-protocols.h

depends_lib      port:ncurses \
				 port:libpcap \
                 port:libnet11

configure.args   --disable-gtk \
                 --with-pcap-includes=$prefix/include

variant gtk {
    depends_lib-append    port:gtk2
    configure.args-delete --disable-gtk
    configure.args-append --enable-gtk
}