Hi Frederic,

As Joao noted, there are several useful Lua examples are listed on 
http://wiki.wireshark.org/Lua/Examples .

I checked the "Trivial Protocol" dissector on
http://wiki.wireshark.org/Lua/Dissectors , and it works fine with the
latest wireshark in Sid. It could be added to the package as an
example.

I attached the patch i used to enable Lua support.

Regards,
Balint
diff -Naur wireshark-0.99.7pre1.orig/debian/control wireshark-0.99.7pre1/debian/control
--- wireshark-0.99.7pre1.orig/debian/control	2007-12-06 17:48:56.000000000 +0100
+++ wireshark-0.99.7pre1/debian/control	2007-12-06 17:48:45.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Frederic Peters <[EMAIL PROTECTED]>
 Standards-Version: 3.7.2.0
-Build-Depends: libgtk2.0-dev (>=2.4.0-0), libpcap0.8-dev, flex, libz-dev, dpatch, debhelper (>= 5.0.37.2), libtool, python, automake1.9, autoconf, autotools-dev, libadns1-dev, xsltproc, docbook-xsl (>= 1.64.1.0-0), libpcre3-dev, libcap-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], bison, libgnutls-dev, python-support (>= 0.3), portaudio19-dev, libkrb5-dev
+Build-Depends: libgtk2.0-dev (>=2.4.0-0), libpcap0.8-dev, flex, libz-dev, dpatch, debhelper (>= 5.0.37.2), libtool, python, automake1.9, autoconf, autotools-dev, libadns1-dev, xsltproc, docbook-xsl (>= 1.64.1.0-0), libpcre3-dev, libcap-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], bison, libgnutls-dev, python-support (>= 0.3), portaudio19-dev, libkrb5-dev, liblua5.1-0-dev
 Build-Conflicts: libsnmp4.2-dev, libsnmp-dev
 XS-Python-Version: all
 
diff -Naur wireshark-0.99.7pre1.orig/debian/rules wireshark-0.99.7pre1/debian/rules
--- wireshark-0.99.7pre1.orig/debian/rules	2007-12-06 17:48:56.000000000 +0100
+++ wireshark-0.99.7pre1/debian/rules	2007-12-06 17:48:45.000000000 +0100
@@ -29,7 +29,7 @@
 	xsltproc --nonet --novalid $(DB2MAN) $<
 
 
-CONFIGURE_FLAGS=--prefix=/usr --sysconfdir=/usr/share/wireshark --datadir=/usr/share/wireshark --disable-static --disable-ssl --without-ucdsnmp --enable-gtk2 --libdir=/usr/lib/wireshark --enable-warnings-as-errors=no --with-plugins=/usr/lib/wireshark/plugins
+CONFIGURE_FLAGS=--prefix=/usr --sysconfdir=/usr/share/wireshark --datadir=/usr/share/wireshark --disable-static --disable-ssl --without-ucdsnmp --enable-gtk2 --libdir=/usr/lib/wireshark --enable-warnings-as-errors=no --with-plugins=/usr/lib/wireshark/plugins --with-lua=/usr/
 
 configure: configure-stamp
 configure-stamp: patch

Reply via email to