Ethereal-dev: [Ethereal-dev] 2 patches for idl2eth

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Frank Singleton <frank.singleton@xxxxxxxxxxxx>
Date: Wed, 05 Sep 2001 09:12:36 -0500
Hi,

Two small patches for idl2eth support.

patch1.diff - update idl2eth.pod to include $PYTHONPATH/site-packages/

patch2.diff - update Makefile.am to install idl2eth in /usr/local/bin etc.

Twas diffed against 2001-09-05 nightly tarball.

Question: What target needs updating to have "make install"
place ethereal_*.py in $PYTHONPATH/site-packages/ if it exists?

Cheers / Frank..


-- 
EUS/SV/Z Frank Singleton      ASO Americas BSS
Office : +1 972 583 3251      ECN 800 33251  
Mobile : +1 214 228 0874      Amateur Radio: VK3FCS/KM5WS   
Email : frank.singleton@xxxxxxxxxxxx

Hardware: HP Omnibook 4150 running Redhat Linux 7.1 (2.4.3-12 kernel).
--- doc/idl2eth.pod	2001/09/05 13:32:56	1.1
+++ doc/idl2eth.pod	2001/09/05 13:48:30	1.2
@@ -54,10 +54,14 @@
 
 =head1 ENVIRONMENT
 
-The B<-p ./> option passed to omniidl (inside B<idl2eth>) indicates that
-B<ethereal_be.py> and B<ethereal_gen.py> reside in the current
-directory.  This may need tweaking if you place these files somewhere
-else.
+B<idl2eth> will look for B<ethereal_be.py> and B<ethereal_gen.py> in
+B<$PYTHONPATH/site-packages/> and if not found, will try the current
+directory B<./>
+
+The B<-p > option passed to omniidl (inside B<idl2eth>) indicates where
+B<ethereal_be.py> and B<ethereal_gen.py> will be searched.This may need 
+tweaking if you place these files somewhere else.
+
 
 If it complains about being unable to find some modules (eg tempfile.py), 
 you may want to check if PYTHONPATH is set correctly.
@@ -90,6 +94,9 @@
 
 =item *
 Improve command line options.
+
+=item *
+Improve decode algorithm when we have operation name collision.
 
 =back 4
 

--- Makefile.am	2001/09/05 12:47:22	1.1
+++ Makefile.am	2001/09/05 13:13:49	1.2
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for Ethereal
 #
-# $Id: Makefile.am,v 1.1 2001/09/05 12:47:22 frank Exp $
+# $Id: Makefile.am,v 1.2 2001/09/05 13:13:49 frank Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@xxxxxxxxxxxx>
@@ -60,7 +60,7 @@
 # automake will arrange that the Makefile define it as the union of all
 # the "man{section}_MANS" variables.
 #
-bin_PROGRAMS = @ethereal_bin@ @editcap_bin@ @mergecap_bin@ @tethereal_bin@ @dftest_bin@ @randpkt_bin@ @text2pcap_bin@
+bin_PROGRAMS = @ethereal_bin@ @editcap_bin@ @mergecap_bin@ @tethereal_bin@ @dftest_bin@ @randpkt_bin@ @text2pcap_bin@ @idl2eth_bin@
 man1_MANS = @ethereal_man@ @editcap_man@ @mergecap_man@ @tethereal_man@ @text2pcap_man@ @idl2eth_man@
 man_MANS =