All pastes #4539 Raw Edit

busted bb file

public text v1 · immutable
#4539 ·published 2005-01-21 18:43 UTC
rendered paste body
SECTION = "console/network"
DESCRIPTION = "dsniff is a collection of tools for network auditing and penetration testing."
LICENSE = "BSD"

DEPENDS = "db3 libpcap libnet libnids openssl"

SRC_URI = "http://www.monkey.org/~dugsong/dsniff/dsniff-${PV}.tar.gz \
           file://configure.patch;patch=1 \
           file://dsniff-2.3-monitor-patch.diff;patch=1 \
           file://monitor.h"

inherit autotools

do_configure_prepend() { install ${WORKDIR}/monitor.h ${S}/monitor.h}

EXTRA_OECONF = "--without-x --with-db=${STAGING_LIBDIR}/.. \
               --with-libpcap=${STAGING_LIBDIR}/.. \
               --with-libnet=${STAGING_LIBDIR}/.. \
               --with-libnids=${STAGING_LIBDIR}/.. \
               --with-openssl=${STAGING_LIBDIR}/.."
do_install() {
        install -d ${D}/${bindir}
        install -m 0755 dsniff ${D}/${bindir}/dsniff-monmode
}

EXTRA_OEMAKE = "'install_prefix=${D}'"
CFLAGS_prepend = " -I${S}/missing "