summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-06-29 12:09:47 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-06-29 12:09:47 +0000
commite71b28f38ca9175242359b923f1e0f349fce469b (patch)
treee826431371c12e9e0cbcecbc031b2d3e8265936b
parentf14a7cc1eeb78a19a5156fff554ead68c213bf2b (diff)
dsniff 2.3 needs to link against libresolv
-rw-r--r--packages/dsniff/dsniff_2.3.bb28
1 files changed, 18 insertions, 10 deletions
diff --git a/packages/dsniff/dsniff_2.3.bb b/packages/dsniff/dsniff_2.3.bb
index 8da4ad82aa..14da908b57 100644
--- a/packages/dsniff/dsniff_2.3.bb
+++ b/packages/dsniff/dsniff_2.3.bb
@@ -1,22 +1,30 @@
-SECTION = "console/network"
DESCRIPTION = "dsniff is a collection of tools for network auditing and penetration testing."
+SECTION = "console/network"
+HOMEPAGE = "http://www.monkey.org/~dugsong/dsniff/"
+AUTHOR = "Dug Song <dugsong@monkey.org>"
LICENSE = "BSD"
-PR = "r1"
+PR = "r2"
# There is a significant API change beween 1.0.2a of libnet and
# 1.1.x, dsniff will only work with the older and there is no
# updated version of dnsniff.
DEPENDS = "virtual/db libpcap libnet-1.0 libnids openssl"
-SRC_URI = "http://www.monkey.org/~dugsong/dsniff/dsniff-${PV}.tar.gz \
- file://configure.patch;patch=1"
+SRC_URI = "\
+ http://www.monkey.org/~dugsong/dsniff/dsniff-${PV}.tar.gz \
+ file://configure.patch;patch=1 \
+"
inherit autotools
-EXTRA_OECONF = "--without-x --with-db=${STAGING_LIBDIR}/.. \
- --with-libpcap=${STAGING_LIBDIR}/.. \
- --with-libnet=${STAGING_LIBDIR}/.. \
- --with-libnids=${STAGING_LIBDIR}/.. \
- --with-openssl=${STAGING_LIBDIR}/.."
+EXTRA_OECONF = "\
+ --without-x --with-db=${STAGING_LIBDIR}/.. \
+ --with-libpcap=${STAGING_LIBDIR}/.. \
+ --with-libnet=${STAGING_LIBDIR}/.. \
+ --with-libnids=${STAGING_LIBDIR}/.. \
+ --with-openssl=${STAGING_LIBDIR}/.. \
+"
EXTRA_OEMAKE = "'install_prefix=${D}'"
-CFLAGS_prepend = " -I${S}/missing "
+
+CFLAGS =+ "-I${S}/missing"
+LDFLAGS += "-lresolv"