add ethereal... simply the world's most popular network protocol analyzer
authorMichael Lauer <mickey@vanille-media.de>
Wed, 10 May 2006 20:41:55 +0000 (20:41 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 10 May 2006 20:41:55 +0000 (20:41 +0000)
packages/ethereal/.mtn2git_empty [new file with mode: 0644]
packages/ethereal/ethereal-native_0.99.0.bb [new file with mode: 0644]
packages/ethereal/ethereal_0.99.0.bb [new file with mode: 0644]
packages/ethereal/files/.mtn2git_empty [new file with mode: 0644]
packages/ethereal/files/use-our-lemon.patch [new file with mode: 0644]

diff --git a/packages/ethereal/.mtn2git_empty b/packages/ethereal/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/ethereal/ethereal-native_0.99.0.bb b/packages/ethereal/ethereal-native_0.99.0.bb
new file mode 100644 (file)
index 0000000..b5e0c58
--- /dev/null
@@ -0,0 +1,23 @@
+require ethereal_${PV}.bb
+DEPENDS = "perl-native libpcap-native"
+inherit native
+
+EXTRA_OECONF = "\
+               --enable-ethereal=no \
+               --enable-tethereal=yes \
+               --enable-editcap=no \
+               --enable-dumpcap=no \
+               --enable-capinfos=no \
+               --enable-mergecap=no \
+               --enable-text2pcap=no \
+               --enable-idl2eth=no"
+
+do_stage() {
+       install -m 0755 rdps ${STAGING_BINDIR}/ethereal-rdps
+       install -m 0755 tools/lemon/lemon ${STAGING_BINDIR}/ethereal-lemon
+}
+
+do_install() {
+       :
+}
+
diff --git a/packages/ethereal/ethereal_0.99.0.bb b/packages/ethereal/ethereal_0.99.0.bb
new file mode 100644 (file)
index 0000000..96e121a
--- /dev/null
@@ -0,0 +1,18 @@
+DESCRIPTION = "Ethereal is the world's most popular network protocol analyzer"
+HOMEPAGE = "http://www.ethereal.com"
+SECTION = "x11/network"
+LICENSE = "GPL"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+
+DEPENDS = "perl-native ethereal-native gtk+ libpcap"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/ethereal/ethereal-${PV}.tar.bz2 \
+           file://use-our-lemon.patch;patch=1"
+S = "${WORKDIR}/ethereal-${PV}"
+
+inherit autotools
+
+do_compile_prepend() {
+       ln -sf ${STAGING_BINDIR}/ethereal-rdps rdps
+       ln -sf ${STAGING_BINDIR}/ethereal-lemon tools/lemon/lemon
+}
diff --git a/packages/ethereal/files/.mtn2git_empty b/packages/ethereal/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/ethereal/files/use-our-lemon.patch b/packages/ethereal/files/use-our-lemon.patch
new file mode 100644 (file)
index 0000000..c285080
--- /dev/null
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- ethereal-0.99.0/tools/Makefile.am~use-our-lemon
++++ ethereal-0.99.0/tools/Makefile.am
+@@ -21,7 +21,7 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+-SUBDIRS = lemon
++SUBDIRS = 
+ PIDL_FILES= \
+       pidl/MANIFEST                                   \