Package: wireshark
Version: 0.97.7-1
Severity: wishlist

Hi,

Lua is disabled by default and can be enabled by editing init.lua.
Since init.lua is not treated as a configuration file, you should enable
Lua again after every upgrade of the wireshark package.

I think it would be great if init.lua were handled as a configuration
file and so reediting it after upgrades would not be necessary.

Regards,
Balint
diff -Naur wireshark-0.99.7/debian/rules wireshark-0.99.7.lua/debian/rules
--- wireshark-0.99.7/debian/rules	2008-01-02 11:11:51.000000000 +0100
+++ wireshark-0.99.7.lua/debian/rules	2008-01-02 11:11:04.000000000 +0100
@@ -92,6 +92,9 @@
 	mkdir -p `pwd`/debian/tmp/usr/lib/$(PYTHON_VERSION)/site-packages/
 	install -m 755 `pwd`/idl2deb `pwd`/debian/tmp/usr/bin/
 	install -m 755 `pwd`/asn2deb `pwd`/debian/tmp/usr/bin/
+	mkdir -p `pwd`/debian/tmp/etc/wireshark/
+	mv `pwd`/debian/tmp/usr/share/wireshark/wireshark/init.lua `pwd`/debian/tmp/etc/wireshark/
+	ln -s /etc/wireshark/init.lua `pwd`/debian/tmp/usr/share/wireshark/wireshark/init.lua
 	cp `pwd`/tools/wireshark_be.py `pwd`/tools/wireshark_gen.py \
 			`pwd`/debian/tmp/usr/lib/$(PYTHON_VERSION)/site-packages/
 	mkdir -p `pwd`/debian/tmp/usr/include/wireshark/
diff -Naur wireshark-0.99.7/debian/wireshark-common.conffiles wireshark-0.99.7.lua/debian/wireshark-common.conffiles
--- wireshark-0.99.7/debian/wireshark-common.conffiles	1970-01-01 01:00:00.000000000 +0100
+++ wireshark-0.99.7.lua/debian/wireshark-common.conffiles	2008-01-02 11:11:04.000000000 +0100
@@ -0,0 +1 @@
+/etc/wireshark/init.lua
diff -Naur wireshark-0.99.7/debian/wireshark-common.dirs wireshark-0.99.7.lua/debian/wireshark-common.dirs
--- wireshark-0.99.7/debian/wireshark-common.dirs	1970-01-01 01:00:00.000000000 +0100
+++ wireshark-0.99.7.lua/debian/wireshark-common.dirs	2008-01-02 11:11:04.000000000 +0100
@@ -0,0 +1,2 @@
+etc/wireshark
+
diff -Naur wireshark-0.99.7/debian/wireshark-common.files wireshark-0.99.7.lua/debian/wireshark-common.files
--- wireshark-0.99.7/debian/wireshark-common.files	2008-01-02 11:11:51.000000000 +0100
+++ wireshark-0.99.7.lua/debian/wireshark-common.files	2008-01-02 11:11:04.000000000 +0100
@@ -1,3 +1,4 @@
+/etc/wireshark/init.lua
 /usr/bin/dumpcap
 /usr/bin/capinfos
 /usr/bin/editcap

Reply via email to