source: trunk/dports/net/kismet/Portfile

Last change on this file was 139954, checked in by snc@…, 2 years ago

kismet: drop maintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- 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
2# $Id: Portfile 139954 2015-09-04 14:48:12Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                kismet
7version             2011-01-R1
8revision            1
9description         Wireless network detector and sniffer
10long_description    Kismet is an 802.11 layer2 wireless network detector, \
11                    sniffer, and intrusion detection system.  Kismet will work \
12                    with any wireless card which supports raw monitoring \
13                    (rfmon) mode, and can sniff 802.11b, 802.11a, 802.11n, and \
14                    802.11g traffic (devices and drivers permitting). It can \
15                    work with MacBook and MacBook Pro Atheros-based cards with \
16                    which currently KisMac is unable to. Kismet identifies \
17                    networks by passively collecting packets and detecting \
18                    standard named networks, detecting (and given time, \
19                    decloaking) hidden networks, and inferring the presence of \
20                    non-beaconing networks via data traffic.
21license             GPL
22maintainers         nomaintainer
23categories          net
24platforms           darwin
25
26homepage            http://www.kismetwireless.net/
27master_sites        ${homepage}code
28
29checksums           rmd160  5c4ab94b58c3ded97f4751fd0436c019073910d4 \
30                    sha256  99e76f8f7684199b9176a7a2f6b1bb5c637d89f6906d6de279794fb1fb22cde1
31
32depends_lib         port:libpcap port:ncurses
33
34patchfiles          patch-kis_panel_frontend.h.diff \
35                    patch-plugintracker.h.diff \
36                    patch-configure.diff
37
38pre-fetch {
39    if {${os.platform} eq "darwin" && ${os.major} > 12} {
40        return -code error "${name} is not supported on Mavericks or newer."
41    }
42}
43
44configure.cflags-append -fnested-functions
45
46# Dependency building command fails but dependecies are built nevertheless
47pre-build {
48    system "(cd ${worksrcpath} && gnumake depend ) || true"
49}
50
51build.type          gnu
52
53set docdir          ${prefix}/share/doc/${name}-${version}
54
55post-destroot {
56    xinstall -d ${destroot}${docdir}
57    xinstall -W ${worksrcpath} README ${destroot}${docdir}
58    file rename ${destroot}${prefix}/etc/kismet.conf ${destroot}${prefix}/etc/kismet.conf-dist
59}
60
61notes "
62Read ${docdir}/README and check ${prefix}/etc/kismet.conf-dist.\
63In ${prefix}/etc/kismet.conf set source=darwin,en1,airport_extreme\
64and replace your_user_here in suiduser with your username
65"
Note: See TracBrowser for help on using the repository browser.