1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name fragrouter |
---|
6 | categories security net |
---|
7 | version 1.6 |
---|
8 | platforms darwin |
---|
9 | maintainers pierre@queinnec.org |
---|
10 | description Tool for testing network IDS implementations |
---|
11 | long_description \ |
---|
12 | Fragrouter is a program for routing network traffic in such a way as \ |
---|
13 | to elude most network intrusion detection systems. \ |
---|
14 | The attacks implemented correspond to those listed in the Secure \ |
---|
15 | Networks ``Insertion, Evasion, and Denial of Service: Eluding Network \ |
---|
16 | Intrusion Detection'' paper of January, 1998. |
---|
17 | |
---|
18 | set debian_patch ${name}_${version}-2.2.diff.gz |
---|
19 | |
---|
20 | # homepage disappeared some years ago... |
---|
21 | homepage http://www.monkey.org/~dugsong/ |
---|
22 | master_sites ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles |
---|
23 | checksums ${distname}${extract.suffix} md5 73fdc73f8da0b41b995420ded00533cc \ |
---|
24 | ${debian_patch} md5 23f81f1fb63731acc96718241454afb0 |
---|
25 | |
---|
26 | patch_sites http://ftp.debian.org/debian/pool/main/f/fragrouter |
---|
27 | patchfiles ${debian_patch} |
---|
28 | patch.args -p1 |
---|
29 | |
---|
30 | depends_build port:libnet port:libpcap |
---|
31 | configure.env CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib |
---|
32 | build.env CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib |
---|
33 | # build.args -DHAVE_ETHER_HOSTTON |
---|
34 | |
---|
35 | destroot { |
---|
36 | xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin/ |
---|
37 | xinstall -m 644 -W ${worksrcpath} ${name}.8 ${destroot}${prefix}/share/man/man8/ |
---|
38 | } |
---|
39 | |
---|
40 | # should actually replace with something like `uname -p` |
---|
41 | platform darwin powerpc { |
---|
42 | configure.args --host=powerpc |
---|
43 | } |
---|
44 | |
---|
45 | # should just work, cannot test |
---|
46 | platform darwin i386 { |
---|
47 | configure.args --host=i386 |
---|
48 | } |
---|