aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/dsniff/dsniff_2.3.bb
blob: 51f211305627971d494a788e7ff99adddc8c19c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 = "r3"

# 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 glib-2.0"

SRC_URI = "\
  http://www.monkey.org/~dugsong/dsniff/dsniff-${PV}.tar.gz \
  file://configure.patch \
  file://openssl-includes.patch \
"

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_OEMAKE = "'install_prefix=${D}'"

CFLAGS =+ "-I${S}/missing"
LDFLAGS += "-lresolv -lglib-2.0 -lgthread-2.0 -lrt -pthread"

SRC_URI[md5sum] = "183e336a45e38013f3af840bddec44b4"
SRC_URI[sha256sum] = "82e492455486e655c315f027d393dbeb49ad930804acccdc51b30d57e1294ff5"