Ticket #41101: Portfile

File Portfile, 1.5 KB (added by agm650, 11 years ago)

Modified Portfile for tcpreplay

Line 
1# $Id: Portfile 103986 2013-03-12 00:13:16Z jmr@macports.org $
2
3PortSystem          1.0
4
5name                tcpreplay
6categories          net security
7license             BSD ISC
8version             3.4.4
9platforms           darwin
10maintainers         pmq openmaintainer
11
12description         Replay pcap files at arbitrary speeds onto the network
13long_description    \
14    Tcpreplay is a suite of BSD licensed tools written by Aaron Turner for \
15    *NIX operating systems which gives you the ability to use previously \
16    captured traffic in libpcap format to test a variety of network devices. \
17    It allows you to classify traffic as client or server, rewrite Layer 2, 3 \
18    and 4 headers and finally replay the traffic back onto the network and \
19    through other devices such as switches, routers, firewalls, NIDS and \
20    IPS's. Tcpreplay supports both single and dual NIC modes for testing both \
21    sniffing and inline devices.
22
23homepage            http://tcpreplay.synfin.net
24master_sites        sourceforge
25checksums           md5 22725feb9b2590809f9350308ec65180 \
26                    sha1 9e4cca81cfbfb919f8759e1a27ce1b3b963ff3b8 \
27                    rmd160 672812755ff39b284044b08cba32c574ab2b7e70
28
29# TODO use libpcapnav
30# libdnet is required for fragroute support
31depends_lib         port:libpcap port:tcpdump port:libdnet
32
33configure.args      --with-libpcap=${prefix} \
34                    --with-tcpdump=${prefix}/sbin/tcpdump
35
36configure.cflags-append -D_FORTIFY_SOURCE=0
37