--- /dev/null
+--- dsniff-2.3/sshcrypto.c.orig 2010-10-11 16:38:25.000000000 +1030
++++ dsniff-2.3/sshcrypto.c 2010-10-11 16:38:30.000000000 +1030
+@@ -14,6 +14,8 @@
+
+ #include <sys/types.h>
+ #include <openssl/ssl.h>
++#include <openssl/blowfish.h>
++#include <openssl/des.h>
+
+ #include <err.h>
+ #include <stdio.h>
HOMEPAGE = "http://www.monkey.org/~dugsong/dsniff/"
AUTHOR = "Dug Song <dugsong@monkey.org>"
LICENSE = "BSD"
-PR = "r2"
+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"
+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_OEMAKE = "'install_prefix=${D}'"
CFLAGS =+ "-I${S}/missing"
-LDFLAGS += "-lresolv"
+LDFLAGS += "-lresolv -lglib-2.0 -lgthread-2.0 -lrt -pthread"
SRC_URI[md5sum] = "183e336a45e38013f3af840bddec44b4"
SRC_URI[sha256sum] = "82e492455486e655c315f027d393dbeb49ad930804acccdc51b30d57e1294ff5"