tshark: initial commit of tshark, the text-based version of wireshark. closes 2283.
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>
Mon, 18 Feb 2008 00:40:37 +0000 (00:40 +0000)
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>
Mon, 18 Feb 2008 00:40:37 +0000 (00:40 +0000)
* the latest version 0.99.7 fails do_patch, so I left everything at 0.99.4

packages/wireshark/tshark_0.99.4.bb [new file with mode: 0644]

diff --git a/packages/wireshark/tshark_0.99.4.bb b/packages/wireshark/tshark_0.99.4.bb
new file mode 100644 (file)
index 0000000..4f8f678
--- /dev/null
@@ -0,0 +1,21 @@
+DESCRIPTION = "tshark is the text based verion of wireshark - a popular network protocol analyzer"
+HOMEPAGE = "http://www.ethereal.com"
+SECTION = "network"
+LICENSE = "GPL"
+DEPENDS = "perl-native gnutls libpcap pcre expat"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.bz2 \
+           file://use-our-lemon.patch;patch=1 \
+          file://no-host-includes.patch;patch=1"
+
+S=${WORKDIR}/wireshark-${PV}
+
+inherit autotools
+
+EXTRA_OECONF = "--disable-wireshark"
+
+do_compile_prepend() {
+       ${BUILD_CC} ${BUILD_CFLAGS} -o rdps rdps.c
+       oe_runmake -C tools/lemon CC="${BUILD_CC} ${BUILD_CFLAGS}" LDFLAGS="${BUILD_LDFLAGS}"
+}
+