summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/ethereal/.mtn2git_empty0
-rw-r--r--packages/ethereal/ethereal-native_0.99.0.bb23
-rw-r--r--packages/ethereal/ethereal_0.99.0.bb18
-rw-r--r--packages/ethereal/files/.mtn2git_empty0
-rw-r--r--packages/ethereal/files/use-our-lemon.patch16
5 files changed, 57 insertions, 0 deletions
diff --git a/packages/ethereal/.mtn2git_empty b/packages/ethereal/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ethereal/.mtn2git_empty
diff --git a/packages/ethereal/ethereal-native_0.99.0.bb b/packages/ethereal/ethereal-native_0.99.0.bb
new file mode 100644
index 0000000000..b5e0c589ed
--- /dev/null
+++ b/packages/ethereal/ethereal-native_0.99.0.bb
@@ -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
index 0000000000..96e121a3a7
--- /dev/null
+++ b/packages/ethereal/ethereal_0.99.0.bb
@@ -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
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ethereal/files/.mtn2git_empty
diff --git a/packages/ethereal/files/use-our-lemon.patch b/packages/ethereal/files/use-our-lemon.patch
new file mode 100644
index 0000000000..c2850807db
--- /dev/null
+++ b/packages/ethereal/files/use-our-lemon.patch
@@ -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 \