# -*- 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 104870 2013-04-04 13:55:37Z ciserlohn@macports.org $

PortSystem              1.0
PortGroup               active_variants 1.1

name                    dsniff
conflicts               dsniff-devel
version                 2.3
revision                5
categories              net
license                 BSD ISC
maintainers             cal openmaintainer
platforms               darwin

description             network auditing and penetration testing tools

long_description        dsniff is a collection of tools for network auditing \
                        and penetration testing. dsniff, filesnarf, mailsnarf, \
                        msgsnarf, urlsnarf, and webspy passively monitor a \
                        network for interesting data (passwords, e-mail, \
                        files, etc.). arpspoof, dnsspoof, and macof facilitate \
                        the interception of network traffic normally \
                        unavailable to an attacker (e.g, due to layer-2 \
                        switching). sshmitm and webmitm implement active \
                        monkey-in-the-middle attacks against redirected SSH \
                        and HTTPS sessions by exploiting weak bindings in \
                        ad-hoc PKI.

homepage                http://monkey.org/~dugsong/dsniff/
master_sites            ${homepage}
checksums               rmd160  89dad0259e90acef30a7aa5f3471de3aaeb06147 \
                        sha256  82e492455486e655c315f027d393dbeb49ad930804acccdc51b30d57e1294ff5

depends_lib             port:libpcap \
                        port:openssl \
                        port:libnids \
                        port:xorg-libXmu

patchfiles              patch-pcaputil.c \
                        patch-sshcrypto.c

require_active_variants libnids libnet libnet11

configure.args          --mandir=${prefix}/share/man
configure.cflags-append -DBIND_8_COMPAT

use_parallel_build      no

destroot.destdir        install_prefix=${destroot}
