# $Id: Portfile 81530 2011-08-01 11:27:22Z jmr@macports.org $

PortSystem          1.0

name                daemonlogger
version             1.2.1
categories          net security
platforms           darwin
maintainers         yahoo.fr:jul_bsd openmaintainer
description         Packet Logger & Soft Tap
long_description    DaemonLogger provides simple packet logging and a soft \
                    tap daemon. It has two runtime modes: \
                    1) It sniffs packets and spools them straight to the \
                    disk and can daemonize itself for background packet \
                    logging. \
                    2) It sniffs packets and rewrites them to a second \
                    interface, essentially acting as a soft tap. It can also \
                    do this in daemon mode.
license             GPL-2
homepage            http://www.snort.org/users/roesch/Site/Daemonlogger/Daemonlogger.html
master_sites        http://www.snort.org/users/roesch/code/
depends_lib         port:libdnet port:libpcap

checksums           md5     acb64aa6cd5777e297569f100b5c39ee \
                    sha1    ce0aa20b38f18eca94a6d00fe9126d441fe2818a \
                    rmd160  f379ad3fc35d22a8244a4fe2962edb3a3d30e05a

post-destroot       {
	xinstall -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} README \
		${destroot}${prefix}/share/doc/${name}
}
