Package: ethereal-dev
Version: 0.10.10-2sarge2
Severity: wishlist
Tags: patch
See patch. Mainly '-I.' added to the idl2eth call and used
basename of IDL file for generating files.
diff -ur ethereal-0.10.11/idl2deb ethereal-0.10.11.include/idl2deb
--- ethereal-0.10.11/idl2deb 2005-06-18 19:15:50.832890168 +0000
+++ ethereal-0.10.11.include/idl2deb 2005-06-18 18:41:01.000000000 +0000
@@ -60,7 +60,7 @@
def create_files(version, deb, email, idl, name, iso, rfc):
"""Create all files for the .deb build process."""
- base = idl.lower()[:-4]
+ base = os.path.basename(idl.lower().split(".idl")[0])
create_file("Makefile.am", """#
plugindir = @plugindir@
@@ -89,7 +89,7 @@
-D__ETHEREAL_STATIC__ packet-%s.c
packet-%s.c: """ % ((base,) * 12) + idl + """
- $(IDL2ETH) $< > $@
+ $(IDL2ETH) -I. $< > $@
""")
create_file("configure.ac", """AC_INIT(%s, 1.0)
@@ -153,7 +153,7 @@
""" % (base, name, email, rfc + "\n (" + iso + ")"))
create_file("debian/copyright",
- """This package has been created automatically be idl2deb on
+ """This package has been created automatically by idl2deb on
%s for Debian GNU/Linux.
Ethereal: http://www.ethereal.com/
diff -ur ethereal-0.10.11/idl2eth.sh ethereal-0.10.11.include/idl2eth.sh
--- ethereal-0.10.11/idl2eth.sh 2005-06-18 18:43:26.000000000 +0000
+++ ethereal-0.10.11.include/idl2eth.sh 2005-06-18 19:22:18.549699208 +0000
@@ -48,5 +48,5 @@
exit 1;
fi
-omniidl -b ethereal_be $1
+omniidl -b ethereal_be $*