summaryrefslogtreecommitdiff
path: root/packages/dsniff
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dsniff')
-rw-r--r--packages/dsniff/.mtn2git_empty0
-rw-r--r--packages/dsniff/dsniff-2.3/.mtn2git_empty0
-rw-r--r--packages/dsniff/dsniff-2.3/configure.patch37
-rw-r--r--packages/dsniff/dsniff_2.3.bb18
4 files changed, 55 insertions, 0 deletions
diff --git a/packages/dsniff/.mtn2git_empty b/packages/dsniff/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/dsniff/.mtn2git_empty
diff --git a/packages/dsniff/dsniff-2.3/.mtn2git_empty b/packages/dsniff/dsniff-2.3/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/dsniff/dsniff-2.3/.mtn2git_empty
diff --git a/packages/dsniff/dsniff-2.3/configure.patch b/packages/dsniff/dsniff-2.3/configure.patch
index e69de29bb2..34101bb2dd 100644
--- a/packages/dsniff/dsniff-2.3/configure.patch
+++ b/packages/dsniff/dsniff-2.3/configure.patch
@@ -0,0 +1,37 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- dsniff-2.3/configure.in~configure
++++ dsniff-2.3/configure.in
+@@ -42,7 +42,7 @@
+ AC_CHECK_TYPE(u_int32_t, uint32_t)
+ AC_CHECK_TYPE(u_int64_t, uint64_t)
+ dnl XXX - Linux sux.
+-AC_CHECK_TYPE(in_addr_t, u_int32_t)
++dnl AC_CHECK_TYPE(in_addr_t, u_int32_t)
+ CFLAGS="$CFLAGS -D_BSD_SOURCE"
+
+ dnl Checks for library functions.
+@@ -61,17 +61,17 @@
+ needmd5=no
+ AC_CHECK_FUNCS(MD5Update, , [needmd5=yes])
+ if test $needmd5 = yes; then
+- LIBOBJS="$LIBOBJS md5.o"
++ AC_LIBOBJ([md5])
+ fi
+ neederr=no
+ AC_CHECK_FUNCS(warnx, , [neederr=yes])
+ if test $neederr = yes; then
+- LIBOBJS="$LIBOBJS err.o"
++ AC_LIBOBJ([err])
+ fi
+ needethers=no
+ AC_CHECK_FUNCS(ether_ntoa, , [needethers=yes])
+ if test $needethers = yes; then
+- LIBOBJS="$LIBOBJS ethers.o"
++ AC_LIBOBJ([ethers])
+ fi
+
+ dnl Checks for BSD tunnel device
diff --git a/packages/dsniff/dsniff_2.3.bb b/packages/dsniff/dsniff_2.3.bb
index e69de29bb2..fb820d7940 100644
--- a/packages/dsniff/dsniff_2.3.bb
+++ b/packages/dsniff/dsniff_2.3.bb
@@ -0,0 +1,18 @@
+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"
+
+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_prepend = " -I${S}/missing "