Ticket #12890: Portfile

File Portfile, 2.0 KB (added by sava.chankov@…, 17 years ago)
Line 
1PortSystem              1.0
2
3name                    kismet
4version                 2007-10-R1
5description             Wireless network detector and sniffer
6long_description        Kismet is an 802.11 layer2 wireless network detector, sniffer, and \
7                        intrusion detection system.  Kismet will work with any wireless card which \
8                        supports raw monitoring (rfmon) mode, and can sniff 802.11b, 802.11a, \
9                        802.11n, and 802.11g traffic (devices and drivers permitting). It can work \
10                        with MacBook and MacBookPro Atheros based cards with which currently KisMac is unable to.\
11                        Kismet identifies networks by passively collecting packets and detecting \
12                        standard named networks, detecting (and given time, decloaking) hidden \
13                        networks, and inferring the presence of non-beaconing networks via data traffic.
14
15maintainers             sava.chankov@gmail.com
16categories              net
17
18homepage                http://www.kismetwireless.net/
19master_sites            http://www.kismetwireless.net/code
20
21checksums               md5 2100c667e69db0cde35fa2d06c8516e2
22
23depends_lib             port:libpcap
24
25# Dependency building command fails but dependecies are built nevertheless
26pre-build               {system "(cd ${workpath}/${worksrcdir} && gnumake depend ) || true"}
27
28build.type              gnu
29post-destroot           { 
30                           system "mkdir -p  ${destroot}/${prefix}/share/doc/kismet/"
31                           system "cp ${workpath}/${worksrcdir}/README ${destroot}/${prefix}/share/doc/kismet/"
32                        }
33post-install            {
34                          ui_msg "Read ${prefix}/share/doc/kismet/README and edit ${prefix}/etc/kismet.conf"
35                          ui_msg "In ${prefix}/etc/kismet.con set sources=darwin,en1,airport_extreme"
36                          ui_msg "and replace your_user_here in suiduser with your username"
37                        }