Commit Graph

365 Commits

Author SHA1 Message Date
Gerald Combs 058b3c5582 Add Automake/Autoconf Doxygen targets.
svn path=/trunk/; revision=11128
2004-06-09 03:08:13 +00:00
Jörg Mayer ab9783d60e Make gtk2 the default. Use --disable-gtk2 to use glib1/gtk1 instead
svn path=/trunk/; revision=11010
2004-05-26 12:08:15 +00:00
Jörg Mayer 947acd5be6 Enable building dftest by default
svn path=/trunk/; revision=10977
2004-05-23 22:34:44 +00:00
Guy Harris 9d2d09c234 From Thomas Anders: fix --with-net-snmp to let it handle either the
pathname of the Net-SNMP directory or the pathname of the Net-SNMP
configure script as an argument to that option.

svn path=/trunk/; revision=10907
2004-05-15 21:56:08 +00:00
Jörg Mayer 133b458d8d Paul Smith: bugfix: make loadable module support work when cross compiling
svn path=/trunk/; revision=10882
2004-05-13 22:25:25 +00:00
Jörg Mayer 0de06c9acd Thomas Anders: fix usage of brk5_dir
svn path=/trunk/; revision=10879
2004-05-13 21:56:09 +00:00
Gerald Combs fa3bc245fd Bump the version up to 0.10.4. Preliminary updates to the NEWS file. Updates
welcome.

svn path=/trunk/; revision=10863
2004-05-13 03:34:14 +00:00
Guy Harris 15af0f656f From Lars Roland: add support for building a libethereal.dll with MSVC:
add a config.nmake option to control whether to build
	libethereal.dll or not;

	remove "./wiretap" from PATH to prevent problems due to
	wrongly-loaded files;

	build dissector.lib with MSVC;

	move "print.c" and "ps.c" to the dissector helpers, as "print.c"
	imports variables from packet-frame.c and packet-data.c, which
	are in libethereal;

	move "g711.c" out of the dissector helpers, as they're used only
	by Ethereal in a tap, not in Tethereal or in any dissector;

	add a .def file for libethereal;

	arrange to declare global variables exported from libethereal
	with "__declspec(dllimport)" when building programs that import
	those variables;

	update the NSIS installer.

Make the "configure" script define ETH_VAR_IMPORT as "extern".

svn path=/trunk/; revision=10834
2004-05-09 10:03:41 +00:00
Olivier Biot 93751c8e32 Replace the plugin linkage libs into PLUGIN_LIBS which is generated from the
top-level configure.in when running configure.

svn path=/trunk/; revision=10699
2004-04-25 21:10:20 +00:00
Olivier Biot c05bcd7c28 More correct implementation of the --disable-usr-local option.
svn path=/trunk/; revision=10661
2004-04-22 20:02:58 +00:00
Olivier Biot af4a73a523 At last compiling on CygWin works again! Added the missing PCRE and GLIB
libraries to libftypes.

Provide caching of computed configure tests.

svn path=/trunk/; revision=10600
2004-04-14 18:42:19 +00:00
Jörg Mayer 4670872d4e OK, I'm impatient. In case of problems, I'm to blame, not Olivier.
Olivier Biot:
	Merge epan/configure.in back into configure.in
	Leave epan/confiugre.in and epan/acinclude.m4 in case we need to
		undo this.

svn path=/trunk/; revision=10505
2004-03-27 11:52:51 +00:00
Guy Harris a1467c86e1 From Duncan Sargeant: Cisco SS7 RUDP, RLM, and Session Management
support.

svn path=/trunk/; revision=10480
2004-03-25 11:21:07 +00:00
Gerald Combs 4c0ecdcd9b Bump the version up to 0.10.3.
svn path=/trunk/; revision=10436
2004-03-22 17:03:30 +00:00
Jörg Mayer 9920ca9112 Experimental Heimdal Kerberos detection.
As this is experimental and does not yet work reliably this feature is
off by default. Enable it by using --with-krb5 during configure.
Please do not yet make use of this feature (i.e. please do not *use* the
defines provided by this option), until it has received further testing
and fixing.
Please run and check what the configure says.

svn path=/trunk/; revision=10395
2004-03-17 18:20:58 +00:00
Guy Harris 03d1c9e781 Get rid of an out-of-date comment.
We only appear to need autoconf 2.52, not 2.53.

svn path=/trunk/; revision=10293
2004-03-04 06:30:14 +00:00
Jörg Mayer c4884cab89 Require autoconf 2.53 and automake 1.6
svn path=/trunk/; revision=10287
2004-03-03 21:35:57 +00:00
Gerald Combs d389b5207e Bump the version to 0.10.2
svn path=/trunk/; revision=10205
2004-02-23 21:53:05 +00:00
Gerald Combs 0fca486734 Bump the version to 0.10.1.
svn path=/trunk/; revision=10100
2004-02-19 00:28:15 +00:00
Jörg Mayer 43e0297fb7 Put AM_DISABLE_STATIC into the same place as in epan and wiretap
svn path=/trunk/; revision=10005
2004-02-07 06:32:20 +00:00
Jörg Mayer 40b837c98d Add -Wstrict-prototypes to extra-gcc-checks
svn path=/trunk/; revision=9723
2004-01-18 16:24:58 +00:00
Olivier Biot 2857dfc114 Add -Wbad-function-cast to extra gcc flags.
svn path=/trunk/; revision=9639
2004-01-10 16:51:07 +00:00
Olivier Biot 1744b9d820 Get rid of rdps in CLEAN target for cygwin (EXEEXT = ".exe").
svn path=/trunk/; revision=9637
2004-01-10 16:34:27 +00:00
Guy Harris 2357e3c90c The extra flags that "net-snmp-config --cflags" might emit might cause
problems with compilation, so, if they do, the "net-snmp-config" in
question would need to be fixed; back out the previous change.

svn path=/trunk/; revision=9603
2004-01-09 00:34:20 +00:00
Guy Harris e1b4e5d968 Cope with "net-snmp-config --cflags" emitting flags that the C compiler
can use but cpp can't.

svn path=/trunk/; revision=9602
2004-01-08 22:52:22 +00:00
Jörg Mayer 3f0ed2487d Add -pedantic to --with-extra-gcc-checks
svn path=/trunk/; revision=9442
2003-12-24 14:06:36 +00:00
Guy Harris b8299f0b98 From Jan Kiszka: IrDA support.
svn path=/trunk/; revision=9345
2003-12-18 19:07:14 +00:00
Guy Harris 2df96b563e From Christoph Neusch: V5UA support.
From Anders Broman: patches to various makefiles and configure scripts
to build the V5UA dissector, and patches to make it compile.

From me: .cvsignore file, and NSIS patches.

svn path=/trunk/; revision=9311
2003-12-17 05:16:21 +00:00
Guy Harris 7d0683d44f From D. Manzella: run $NETSNMPCONFIG, not "net-snmp-config" (as long as
we've gone through the trouble of finding the path, we should use it,
and if the user explicitly said where it is, we should *definitely* use
it), and add the output of "$NETSNMPCONFIG --cflags" to CFLAGS and
CPPFLAGS before searching for Net-SNMP headers, so we check the
appropriate directory for them.

svn path=/trunk/; revision=9303
2003-12-16 23:00:33 +00:00
Gerald Combs e660fedd31 Add the help directory to the build. Bump the release version to 0.10.0a
svn path=/trunk/; revision=9276
2003-12-13 18:05:49 +00:00
Gerald Combs 9fd657a0e1 Bump the version to 0.10.0. It could be (and has been) argued that the
last release should have been 0.10.0.

svn path=/trunk/; revision=9235
2003-12-10 21:50:04 +00:00
Gilbert Ramirez 55a6251e7c From Olivier Biot
New "matches" operater in display filter language. Uses PCRE.

If a "matches" operator is found in a dfilter
while libpcre has not been used to build the binary, then an
exception is thrown after using dfilter_fail() to set an apporporiate
error message.

svn path=/trunk/; revision=9182
2003-12-06 16:35:20 +00:00
Guy Harris 240c946b82 From Olivier Biot: add a "--enable-profile-build" flag to request that
"-pg" binaries be built.

svn path=/trunk/; revision=9001
2003-11-18 08:13:10 +00:00
Guy Harris 51664ea152 From Lo�c Minier: append $(EXEEXT) to the names of binaries, so that
the configure script generates the right executable image file names on
Cygwin.

svn path=/trunk/; revision=8987
2003-11-17 22:09:16 +00:00
Guy Harris 33629cc801 From Erwin Rol: initial ENTTEC support and RDM support.
svn path=/trunk/; revision=8985
2003-11-17 20:57:14 +00:00
Gerald Combs cb452773c2 Bump the version number to 0.9.16.
svn path=/trunk/; revision=8861
2003-11-02 23:36:01 +00:00
Guy Harris 6f7c4c6836 Wrap "x$POD2MAN" in quotes, so if there are spaces in the pathname, the
configure script doesn't fail.  (The Makefile will probably fail, but
that's another matter.)

If "$POD2MAN" is empty, it could mean that pod2man is installed but the
user's path doesn't include the directory in which it's installed; fix
up the error message.

svn path=/trunk/; revision=8839
2003-10-30 22:06:07 +00:00
Guy Harris da6cf18461 If we don't have pod2man, quit - otherwise, we'd just drive on and use
the empty POD2MAN variable in commands, producing very confusing errors.

svn path=/trunk/; revision=8838
2003-10-30 20:30:19 +00:00
Guy Harris c68a7d7cb1 From Matthias Melchior: plugin to decode BER-encoded ASN.1 messages,
given a type-table from "snacc" as a protocol description.

svn path=/trunk/; revision=8799
2003-10-28 07:02:38 +00:00
Guy Harris 4fa26855a4 From Erwin Rol: ACN support.
svn path=/trunk/; revision=8686
2003-10-14 01:18:11 +00:00
Guy Harris 6670a92e85 From Brad Hards: fix two problems:
1. the --without-adns case wasn't handled correctly;

	2.  the reporting at the end of the configure didn't deal with
	the case were the configure check failed (as in my example,
	where I only had the libadns package installed, not
	libadns-devel) - it reported that ADNS would be used.

svn path=/trunk/; revision=8663
2003-10-10 10:12:18 +00:00
Guy Harris de7bbaf8da Use "pcap_findalldevs()" if present.
svn path=/trunk/; revision=8655
2003-10-10 03:04:38 +00:00
Jörg Mayer 7a0164ee7c Put the display-filter elements into it's own manpage (ethereal-filter.4)
svn path=/trunk/; revision=8577
2003-10-01 15:09:32 +00:00
Guy Harris 21fe8b2187 Put back the AM_PROG_LIBTOOL call, as some older versions of the auto*
tools and/or libtool require it.

svn path=/trunk/; revision=8508
2003-09-20 10:06:40 +00:00
Jörg Mayer e020bc8964 Albert Chin:
- AM_PROC_LIBTOOL is just an alias for AC_PROG_LIBTOOL, which is
	  called earlier.
	- Use AM_CPPFLAGS instead of CFLAGS and CPPFLAGS to add inlude
	  directories

svn path=/trunk/; revision=8445
2003-09-10 07:17:21 +00:00
Gerald Combs f87f524260 Bump the version to 0.9.15. Update the NEWS and ChangeLog to August 27. More
updates to come.

svn path=/trunk/; revision=8410
2003-09-08 03:13:15 +00:00
Jörg Mayer 10b364c56d - Make --enable-static work again (configure.in, Makefile.am)
- get rid of ...-static.o files in the build process (now done via
  config.h instead of compiler flag)
- make packet-rtnet link statically (remove one unused function, rename
  another one)

svn path=/trunk/; revision=8389
2003-09-05 07:44:50 +00:00
Richard Sharpe 625ce0f651 Make the configure flag --with-ucd-snmp consistent with --with-net-snmp.
That is, change it from --with-ucdsnmp.

svn path=/trunk/; revision=8307
2003-08-29 04:20:22 +00:00
Guy Harris 0d12a3aec7 Fix up --with messages that include square brackets.
Put --with-plugins on the left margin, as the rest of the messages are.

Fix up the description of --with-net-snmp.

svn path=/trunk/; revision=8199
2003-08-21 07:06:48 +00:00
Guy Harris ea62b178d2 Don't do a check inside an AC_MSG_CHECKING/AC_MSG_RESULT pair - the
output looks bad if you do.  Split the check for "should I check for an
SNMP library?" into "should I check for NET-SNMP?" and "should I check
for UCD SNMP?" (which makes sense because they're controlled by
different configure script options).

svn path=/trunk/; revision=8197
2003-08-20 22:05:08 +00:00
Guy Harris ff9a155db3 LWRES support, from Oleg Terletsky.
svn path=/trunk/; revision=8133
2003-08-05 05:09:37 +00:00
Gerald Combs 9d91efb9e2 Back out the changes made earlier.
svn path=/trunk/; revision=8075
2003-07-23 20:32:37 +00:00
Gerald Combs de1990a0ab Make "--enable-usr-local" disabled by default, as suggested by Joerg Mayer.
svn path=/trunk/; revision=8073
2003-07-23 18:00:15 +00:00
Gerald Combs c6e91e0aa6 Prep for the 0.9.14 release
svn path=/trunk/; revision=8068
2003-07-23 02:06:25 +00:00
Olivier Abad 40959fdf5c Disable threads by default with gtk2.
svn path=/trunk/; revision=8054
2003-07-19 10:59:49 +00:00
Jörg Mayer 6846c011e7 -dlopen didn't work on some platforms/in some environments (for me, the
problem became evident with an update from autoconf 2.52 to 2.53).
Worked around a bug in libtool that caused -dlopen to be ignored (and
things being linked into the code instead).
Many many thanks to Dirk M�ller for providing me with the workaround!

svn path=/trunk/; revision=7991
2003-07-08 13:09:37 +00:00
Guy Harris f54e01516a From Erwin Rol: RTNET/TDMA support.
svn path=/trunk/; revision=7839
2003-06-11 09:17:03 +00:00
Gerald Combs bc8ef81903 Bump the version to 0.9.13 and otherwise prep for the next release. ETA is
Wednesday.

svn path=/trunk/; revision=7820
2003-06-10 01:47:34 +00:00
Olivier Abad c4c4bb0d1a Add a "--enable-threads" option, which allows to build the gtk+ v2
ethereal with or without threads. The default is to use threads.
(see http://www.ethereal.com/lists/ethereal-dev/200210/msg00111.html and
http://www.ethereal.com/lists/ethereal-dev/200306/msg00061.html).

svn path=/trunk/; revision=7807
2003-06-08 09:12:23 +00:00
Gerald Combs 1d9b54fc07 Add support for asynchronous DNS updates using the GNU ADNS library.
Support can be enabled at configure time by using "--with-adns=DIR".
If support is enabled, async queries happen whenever host name resolution
is enabled.  Do we need a separate preference for async queries?

Currently, only IPv4 reverse queries are supported.  I can add IPv4 forward
lookup support, but I don't have any way to test IPv6 queries.

svn path=/trunk/; revision=7640
2003-05-04 18:50:56 +00:00
Gerald Combs c5f6451d30 Bump the version number to 0.9.12. Make NEWS and ChangeLog current.
The next release will likely be tomorrow (May 1).

svn path=/trunk/; revision=7622
2003-05-01 03:09:54 +00:00
Guy Harris bbb746f9b1 From Erwin Rol: ArtNET support.
svn path=/trunk/; revision=7518
2003-04-21 21:28:39 +00:00
Guy Harris 170b802890 DATAFILE_DIR in the top-level config.h isn't used; don't bother defining
it.  (Nothing other than "get_datafile_dir()" should use it - anything
that needs to know whether the configuration files are located should
use "get_datafile_dir()".)

svn path=/trunk/; revision=7367
2003-03-25 23:35:30 +00:00
Gerald Combs 656eb2b35c Bump the version to 0.9.11. Let's hope the goat's blood and hastily carved
idol is enough for the CVS gods.

svn path=/trunk/; revision=7337
2003-03-11 00:12:39 +00:00
Guy Harris 170b5028e9 Put the code to get version numbers of various libraries with which
Ethereal/Tethereal was linked into a common routine, and use that in
both Ethereal and Tethereal.

Add to that routine code to get OS version information.

svn path=/trunk/; revision=7320
2003-03-08 07:00:48 +00:00
Gerald Combs fbd2efeccc Bump the version to 0.9.10.
svn path=/trunk/; revision=7271
2003-03-04 03:56:33 +00:00
Jörg Mayer 55291d2c0f Disable simultaneous building of static and shared binaries
svn path=/trunk/; revision=7255
2003-03-02 22:11:26 +00:00
Guy Harris 2c54a22fcc We have some SNMP if we have NET-SNMP *or* UCD SNMP, not just if we have
NET-SNMP *and* UCD SNMP.

svn path=/trunk/; revision=7229
2003-03-01 04:56:48 +00:00
Guy Harris 8959d1b66d Put out the "Checking whether to use UCD SNMP/NET-SNMP library if
available" message *after* checking for net-snmp-config - nesting
something such as AC_PATH_PROG that produces a "Checking..." message
inside another check causes the pairing of check and result messages to
be broken.

svn path=/trunk/; revision=7221
2003-02-28 06:44:57 +00:00
Guy Harris 4632490ab1 From Pavel Roskin:
Get rid of acconfig.h, as it's an archaism; put descriptions
	into AC_DEFINE instead.  That squelches some warnings from
	later versions of autoconf.

	Fix an unquoted call to AC_MSG_ERROR.

	Move the stuff to define HAVE_SOME_SNMP into configure.in.

svn path=/trunk/; revision=7203
2003-02-26 20:08:33 +00:00
Jörg Mayer 758685ca0d AC_ARG_ENABLE takes 4 argument: The 3rd specifies what to do in case a
configure option is given on the command line. The value of the arguement
is passwd in the enableval variable. The 4th argument tells what to do in
case no command line argument was given.
This causes --disable-gtk2 (which is the default) to behave differently
from the case when no option is given.
I do not really understand where the difference in the behaviour of the
generated codes comes from, but I definitely see a difference.

Fixed all occurrences where the 3rd arguement was empty.

svn path=/trunk/; revision=7044
2003-01-30 10:20:47 +00:00
Jörg Mayer 3ffd6a1365 Add a small fixme aboutn --enable-usr-local
svn path=/trunk/; revision=6957
2003-01-21 20:15:52 +00:00
Gerald Combs fe60d5b02e Bump the version to 0.9.9. Update the NEWS and ChangeLog files.
I'm shooting for a release on Wednesday evening.

svn path=/trunk/; revision=6952
2003-01-21 02:12:37 +00:00
Guy Harris a002a0fec4 From Christian Falckenberg: beginnings of a MEGACO dissector.
Move SCTP payload protocol IDs to a header file, and get the PPIDs from
that header file rather than defining them in dissectors running atop
SCTP.  Use both the old(?) and official PPID for ASAP.

svn path=/trunk/; revision=6926
2003-01-14 23:53:40 +00:00
Guy Harris 6b49b2475c Use "datafiledir" rather than "DATAFILE_DIR" as the name of the variable
in the configure script for the all-variables-expanded version of the
data file directory.

Don't AC_SUBST "DATAFILE_DIR", as it's not used.

svn path=/trunk/; revision=6888
2003-01-10 00:03:33 +00:00
Guy Harris 9e144356f8 Use "plugindir", not "PLUGIN_DIR", as the variable name in the configure
script for the plugin directory; in most Makefile.am files it's set with

	plugindir = @plugindir@

(along the lines of what's done with other variables with pathnames -
the variable name is all lower case), so the variable needs to be named
"plugindir".

Fix the DOCSIS plugins' Makefile.am to use "plugindir".

Don't bother doing "AC_SUBST(PLUGIN_DIR)", as no Makefiles use
PLUGIN_DIR as an autoconf variable.

svn path=/trunk/; revision=6887
2003-01-09 23:50:55 +00:00
Gerald Combs 3835ed4585 Bump the version to 0.9.8. Update NEWS and ChangeLog to October 24.
svn path=/trunk/; revision=6741
2002-12-04 04:26:14 +00:00
Guy Harris 4056129fef Add a "--with-extra-gcc-checks" option, which causes "-Wcast-qual
-Wcast-align" to be added to CFLAGS (except in Wiretap, where we already
do "-Wcast-qual").  We don't do them by default, as they produce some
warnings that aren't easy to eliminate; if we figure out how to
eliminate them on all platforms (or at least, on the platforms where you
*can't* eliminate them, reduce them to a low level), we can make those
options the default.

svn path=/trunk/; revision=6689
2002-11-28 04:21:31 +00:00
Olivier Abad 05ef1fc475 Merge gtk and gtk2 directories.
svn path=/trunk/; revision=6552
2002-11-03 17:38:45 +00:00
Guy Harris b3b2464202 Fix a typo and fix alignment.
svn path=/trunk/; revision=6506
2002-10-25 04:36:45 +00:00
Guy Harris cc8a765d8e From Wes Hardaker:
Define HAVE_SOME_SNMP if either HAVE_UCD_SNMP or HAVE_NET_SNMP
	is defined, and use HAVE_SOME_SNMP, rather than HAVE_UCD_SNMP,
	in most places when testing whether we have an SNMP library or
	not.

	Be more selective when including Net-SNMP header files.

Fix up {gtk,gtk2}/main.c to do the same SNMP stuff that tethereal.c
does - including the MIB stuff that gtk/main.c was doing but gtk2/main.c
wasn't doing.

Fix the copyright date in gtk/main.c.

svn path=/trunk/; revision=6483
2002-10-23 18:24:09 +00:00
Guy Harris b9e2d694c4 In the message indicating how Ethereal was configured, say "Use UCD
SNMP/NET-SNMP" rather than just "Use UCD SNMP", now that we support
both.

svn path=/trunk/; revision=6480
2002-10-23 03:54:04 +00:00
Jörg Mayer 4c80b2ac3f Wes Hardaker: Support NET-SNMP in addition to UCD-SNMP
svn path=/trunk/; revision=6475
2002-10-22 20:06:15 +00:00
Jörg Mayer 110f9caebc Support for both old and brand new libtool versions
svn path=/trunk/; revision=6389
2002-10-09 22:58:53 +00:00
Jörg Mayer b0b1414991 Change by Didier Gautheron to make automake 1.7 work.
Replaced AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET.

svn path=/trunk/; revision=6370
2002-10-06 18:08:49 +00:00
Ed Warnicke b54b76e697 Added a dissector plugin for Packet Cable Lawful Intercept.
svn path=/trunk/; revision=6366
2002-10-03 02:56:59 +00:00
Gerald Combs e23851ca23 Bump the version up to 0.9.7. The countdown begins. Too bad our
releases don't involve explosive bolts like NASA launches do.

Bring the ChangeLog and NEWS files up to date to the end of August.

svn path=/trunk/; revision=6341
2002-09-26 19:06:43 +00:00
Guy Harris adb45e4e58 Fix the test for "want_zlib" being "no" when generating the message
indicating whether we'll be building with zlib.

svn path=/trunk/; revision=6265
2002-09-11 00:02:52 +00:00
Guy Harris 9e53b6869b Check the right variable when generating the indication of whether we're
building with zlib or not.

svn path=/trunk/; revision=6262
2002-09-10 23:26:19 +00:00
Ronnie Sahlberg 159eb51139 When compiling for Gtk2, make sure we link with gthread as well.
svn path=/trunk/; revision=6181
2002-09-04 22:12:30 +00:00
Olivier Abad 6c5954dac7 GTK+ v2 port.
All the deprecated widgets have not been replaced yet :

GtkList and GtkCList ==> GtkTreeView conversion :
- color_dlg.c
- column_prefs.c
- decode_as_dlg.c : done
- dfilter_expr_dialog
- filter_prefs.c
- main.c
- plugins_dlg.c : done

GtkCTree ==> GtkTreeView  conversion : done

GtkText ==> GtkTextView conversion : done

Remaining problems :
- gtk_font_selection_dialog_set_filter doesn't exist anymore (but hasn't
  been removed from the documentation). I don't know how to filter the
  font selection dialog to get only fixed width fonts ;
- we have to remove GUI prefs which are not usefule anymore : tree line
  style and tree expander style.

svn path=/trunk/; revision=6153
2002-08-31 09:55:22 +00:00
Jörg Mayer 8874c97191 Add gtk2/glib2 handling to configure. Use --enable-gtk2 to use
gtk2 instead of gtk and glib2 instead of glib.

Right now, --enable-gtk2 will fail during compile unless
acompanied by --disable-ethereal, as ethereal does not yet
support gtk2 (but does support glib2 alone).

svn path=/trunk/; revision=6107
2002-08-28 00:37:31 +00:00
Gerald Combs 5a579fc0b5 Bump the version number to 0.9.6. Update the ChangeLog. Add rough
release notes to NEWS.

svn path=/trunk/; revision=6006
2002-08-17 17:53:33 +00:00
Jörg Mayer c8d296e8ca Add AC_LIBTOOL_DLOPEN back, because older automake/autoconf versions
don't include it automatically. This needs to go before AC_PROG_LIBTOOL
to avoid warnings with newer versions.

svn path=/trunk/; revision=5997
2002-08-15 12:10:56 +00:00
Jörg Mayer cd5eb3cb8e Replace usage of AC_PROG_RANLIB which is deprecated for newer versions
of autoconf by AM_PROG_LIBTOOL

svn path=/trunk/; revision=5992
2002-08-14 14:42:42 +00:00
Guy Harris 8a9b35cb5e From Anand V. Narwani:
DOCSIS support, including support for "Ethernet" captures where
	    the raw frame is a DOCSIS frame rather than an Ethernet
	    frame (some Cisco cable-modem head-end gear can send out a
	    trace of all traffic on an Ethernet, but what it sends are
	    the raw bytes of DOCSIS frames, not Ethernet frames)

Get rid of second AUTHORS entry for Devin Heitmueller, merging its item
into the older entry.

Clean up the order of some lists of plugin items.

svn path=/trunk/; revision=5861
2002-07-12 22:52:43 +00:00
Guy Harris 78b3b038e1 From Nix:
Don't add "-I/usr/include" to CFLAGS or CPPFLAGS; GCC 3.1 warns
	about it, and it's not necessary.

	Expand the plugin directory path used for installation at
	installation time, rather than configuration time, so the user
	can reset "prefix" at installation time.

svn path=/trunk/; revision=5828
2002-07-06 20:40:50 +00:00
Gerald Combs 1d91164b2a Bump the version up to 0.9.5.
svn path=/trunk/; revision=5779
2002-06-28 20:15:31 +00:00
Gerald Combs 5ccb03e19f Make the default SNMP build behavior "ifpresent" instead of "yes", so things
work as they should by default on systems without SNMP libraries.

svn path=/trunk/; revision=5502
2002-05-18 17:17:12 +00:00
Gerald Combs 024306cdcf Increment versions to 0.9.4, get NEWS current to April 25 (more NEWS to
come).

svn path=/trunk/; revision=5500
2002-05-18 04:00:35 +00:00
Gerald Combs d0dab8abc2 Set the default for "--want_ucdsnmp" back to "yes", since overflow problems
have been fixed in recent versions.

svn path=/trunk/; revision=5493
2002-05-16 21:47:22 +00:00
Guy Harris 7b3bbbf5f6 From Joerg Mayer: get rid of "-Wno-unused".
svn path=/trunk/; revision=5392
2002-05-04 11:04:44 +00:00
Guy Harris 2ceb589445 Clean up the "Use zlib library" message.
svn path=/trunk/; revision=5116
2002-04-08 01:39:02 +00:00
Guy Harris 06adbfc556 Replace "--enable-zlib" with "--with-zlib", and have it take an optional
"=DIR" argument to specify the directory in subdirectories of which
zlib's headers and libraries can be found.

svn path=/trunk/; revision=5115
2002-04-08 01:34:39 +00:00
Gerald Combs dade8cbf56 Bump the version to 0.9.3. Update NEWS to be current to
http://www.ethereal.com/lists/ethereal-cvs/200203/msg00175.html (the
rest will be added later).

svn path=/trunk/; revision=5042
2002-03-29 03:33:59 +00:00
Guy Harris 4e576dc1f2 Default to *not* using the UCD SNMP library, as the current versions
have buffer-overflow vulnerabilities that we can't avoid.  You have to
ask for it explicitly if you want it.

svn path=/trunk/; revision=5007
2002-03-23 01:01:26 +00:00
Guy Harris 6327b456db Get rid of the "--enable-snmp" option; instead, use "--with-ucdsnmp".
Make the directory option to "--with-ucdsnmp" optional.  Handle
"--with-ucdsnmp" similar to the way "--with-pcap" is handled.

Get rid of unnecessary #defines in "packet-cops.c".

Get rid of no-longer-necessary include of "dlfcn.h" in "packet-snmp.c".

svn path=/trunk/; revision=4930
2002-03-12 10:37:04 +00:00
Guy Harris dec4861d32 In the message at the end that indicates how Ethereal was configured,
refer to "UCD SNMP" rather than just "SNMP".

svn path=/trunk/; revision=4927
2002-03-11 07:02:47 +00:00
Guy Harris d50103f67f Use the "sprint_realloc_" routines in UCD SNMP 4.2.2 and later, rather
than the "sprint_" routines in UCD and CMU SNMP; the latter routines
have no bounds checking, and if you use them you cannot protect against
buffer overflows.

As we now require UCD SNMP 4.2.2 or later:

	1) we no longer need code to support CMU SNMP;

	2) we no longer need code to work around problems with UCD SNMP
	   4.1.1;

and, as we no longer use the "sprint_" routines, we no longer need code
to work around the changed API and ABI of those routines in some
nonstandard versions of the UCD SNMP library.

svn path=/trunk/; revision=4914
2002-03-10 22:18:12 +00:00
Gerald Combs 7fef8be5ec Bump the version to 0.9.2. Update NEWS to include everything from February.
svn path=/trunk/; revision=4856
2002-03-03 23:59:29 +00:00
Gerald Combs 00c17fb92b Don't link with the SNMP library by default.
svn path=/trunk/; revision=4836
2002-03-01 03:42:13 +00:00
Guy Harris b4971b39bf From Joerg Mayer:
In the "configure.in" files, add

		-D_U_="__attribute__((unused))"

	to CFLAGS if we're using GCC, and add

		-D_U_=""

	otherwise, so _U_ can be used to mark arguments as unused.

Add -D_U_="" arguments to the Makefile.nmake files as well, so _U_ works
with Microsoft Visual C++ as well.

Add comments and RCS IDs to the Makefile.nmake files that don't already
have them.

svn path=/trunk/; revision=4824
2002-02-27 09:42:52 +00:00
Gilbert Ramirez 949e878ffb Have configure check for pod2man, thus creating a POD2MAN makefile
variable, allowing it to be overridden during make.

svn path=/trunk/; revision=4697
2002-02-05 18:39:06 +00:00
Gerald Combs fcb82bfed0 Update version to 0.9.1. Add NEWS entries for 0.9.1 changes.
svn path=/trunk/; revision=4684
2002-02-02 22:27:44 +00:00
Guy Harris d15f0203a6 From Heikki Vatiainen:
check for GNU "sed", and skip the "bad sed" checks if it's
	found;

	check for "/bin/sed" as well as "/usr/bin/sed" on Solaris;

	put the "sed" checks into a separate section of code with its
	own test for the host OS, to make it a bit cleaner to add any
	checks needed on other OSes.

svn path=/trunk/; revision=4681
2002-02-02 21:07:40 +00:00
Guy Harris f180114360 Remove the "--without-gcc" option - it doesn't work with the Sun,
Digital UNIX, and HP C compilers, and it may not work with other
compilers (due to the GLib problem mentioned in the previous checkin),
so it runs the risk of being an "attractive nuisance", i.e. users may
try it, find it doesn't work, and then send mail to various Ethereal
mailing lists asking about it.

svn path=/trunk/; revision=4640
2002-01-30 23:48:53 +00:00
Guy Harris 595513d5cc Add a "--without-gcc" option, similar to what tcpdump and libpcap have.
(This isn't as useful for testing purposes as it is in tcpdump and
libpcap, as GLib is configured based on the compiler used to compile it,
so you can't necessarily build an application using GLib with a compiler
different from the one used to compile GLib, but we'll add it anyway.)

svn path=/trunk/; revision=4637
2002-01-30 23:01:33 +00:00
Guy Harris 7bd0d9a4f7 Solaris's "/usr/ucb/sed" isn't good enough either.
svn path=/trunk/; revision=4628
2002-01-30 10:05:07 +00:00
Guy Harris 628ea3c84a On Solaris, check whether "sed" is "/usr/bin/sed", and fail if it is, as
Solaris's "/usr/bin/sed" is inadequate to handle, in libtool, a list of
object files as large as the list in Ethereal.

svn path=/trunk/; revision=4626
2002-01-30 08:01:15 +00:00
Guy Harris ee5ca25d31 Include files from the "epan" directory and subdirectories thereof with
"epan/..." pathnames, so as to avoid collisions with header files in any
of the directories in which we look (e.g., "proto.h", as some other
package has its own "proto.h" file which it installs in the top-level
include directory).

Don't add "-I" flags to search "epan", as that's no longer necessary
(and we want includes of "epan" headers to fail if the "epan/" is left
out, so that we don't re-introduce includes lacking "epan/").

svn path=/trunk/; revision=4586
2002-01-21 07:37:49 +00:00
Gerald Combs b11f1955e4 Revamp the RPM building process. For versions of rpm that support
"--define", we now build the RPM and SRPM packages in packages/rpm.
As a result, one need not be root to build RPM-based packages.

Move the specfile to packaging/rpm/SPECS.

Update the INSTALL document to include the various packaging makefile
targets.

svn path=/trunk/; revision=4581
2002-01-20 23:05:25 +00:00
Gilbert Ramirez 573f3fb04a Provide a --disable-usr-local flag to configure so that
-I/usr/local/include and -L/usr/local/lib aren't automatically added
to the build flags.

svn path=/trunk/; revision=4507
2002-01-09 23:21:55 +00:00
Gerald Combs 2701bbc077 Bump the version up to 0.9.0. Update the NEWS file.
svn path=/trunk/; revision=4440
2001-12-23 21:11:24 +00:00
Gerald Combs 3dedae14f9 Work around changes made to recent Red Hat ucd-snmp packages. See
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=57421

for details.

svn path=/trunk/; revision=4387
2001-12-12 05:26:53 +00:00
Guy Harris f85f8bf466 Use "-no-cpp-precomp" rather than "-traditional-cpp" on MacOS X, as per
the "The Compiler and Tools" section on

	http://fink.sourceforge.net/doc/porting/basics.php

Do so on MacOS X regardless of whether the compiler is called "gcc" or
not, as that page also indicates that the compiler is installed as "cc".

svn path=/trunk/; revision=4354
2001-12-07 22:56:58 +00:00
Guy Harris f1b98e60bc Don't assume that all UNIX platforms have <iconv.h> - explicitly check
whether it's present.

This puts HAVE_ICONV_H in the "config.h" file, so put in an entry for it
in "config.h.win32" - an entry that doesn't define it - and get rid of
the check for WIN32 in "xmlstub.h".

svn path=/trunk/; revision=4124
2001-11-02 10:01:00 +00:00
Gerald Combs 3ccc10f622 Get NEWS current up to July 31, update version to 0.8.20.
svn path=/trunk/; revision=4021
2001-10-12 17:17:05 +00:00
Olivier Abad e76642f9c7 Patches from Frank Singleton :
- update idl2eth man page , now that "unions" are implemented ;
- support for idl2eth man page installation.

svn path=/trunk/; revision=3885
2001-08-30 19:25:39 +00:00
Guy Harris 5bb08b0970 Fix AC_ETHEREAL_PCAP_CHECK so that, if a directory was specified with
"--with-pcap", it adds the "include" subdirectory of that directory to
the list of directories to search for include files, rather than adding
the directory itself.

Check whether libpcap defines "pcap_version", and define
HAVE_PCAP_VERSION if it does.  Use "pcap_version" iff HAVE_PCAP_VERSION
is defined, rather than special-casing MacOS X.

Don't #define a string for the WinPcap version; just leave
HAVE_PCAP_VERSION undefined on Windows, as WinPcap 2.2beta is out, so we
can no longer assume that the Windows version of Ethereal is using
WinPcap 2.1.

svn path=/trunk/; revision=3792
2001-07-27 07:10:13 +00:00
Guy Harris 8a9917a9a7 If GLib doesn't support loadable modules, don't let the user enable
plugins.  (This means that "--with-plugins" with no argument is useless
- if GLib supports loadable modules, plugins are enabled by default, and
if GLib doesn't support loadable modules, plugins can't be enabled - but
with an argument, it lets you specify a different directory into which
to put plugins.)

svn path=/trunk/; revision=3791
2001-07-27 06:10:26 +00:00
Guy Harris 3322b11fc2 Fix from Michael Tuexen: define PLUGIN_DIR as NULL if plugin support is
disabled, so that the code that passes it to a subroutine compiles (the
subroutine doesn't use that argument if plugin support is disabled - and
shouldn't do so).

svn path=/trunk/; revision=3790
2001-07-26 22:05:01 +00:00
Guy Harris ae251f8426 MacOS support changes, from Michael Tuexen (with some modifications):
replace "--with-plugindir" with "--with-plugins", and have the
	plugin directory optional - this allows plugins to be disabled;

	add "--traditional-cpp" on MacOS X/Darwin (Apple's "cc" compiler
	requires it, for some annoying reason, even though it is, as far
	as I know, GCC-based, and other GCC's don't require it);

	on MacOS X, don't use "pcap_version[]", as, for some annoying
	reason, libpcap on MacOS X doesn't define it.

Clean up some whitespace in the help messages for the configure script.

Move the AM_CONDITIONAL for SETUID_INSTALL after the point at which
"enable_setuid_install" is set, as it tests "enable_setuid_install".

svn path=/trunk/; revision=3788
2001-07-26 07:25:49 +00:00
Guy Harris 28ca6b4a93 GIOP CosNaming support, from Frank Singleton.
svn path=/trunk/; revision=3740
2001-07-19 21:30:17 +00:00
Jeff Foster e49b8d5da7 Updated for release 0.8.19
svn path=/trunk/; revision=3716
2001-07-13 13:54:56 +00:00
Guy Harris e9d00f4a4f Mergecap utility for merging capture files, from Scott Renfro.
svn path=/trunk/; revision=3701
2001-07-12 19:59:41 +00:00
Guy Harris c932345421 Replace "--enable-pcap" with "--with-pcap", and if an argument is
specified to "--with-pcap", add that directory to the include file and
library search paths, so that you can use "--with-pcap=DIR" to search
for libpcap in a directory other than the standard ones (either because
it was installed somewhere other than under "/usr" or "/usr/local", or
because you want to use a special version you've installed rather than
the standard one).

svn path=/trunk/; revision=3611
2001-06-27 07:47:50 +00:00
Guy Harris c6bee5f6c1 Crank up the warning level in GCC, from Joerg Mayer.
svn path=/trunk/; revision=3562
2001-06-18 02:26:00 +00:00
Guy Harris 14ab278788 Windows and the MSVC++ 6.0 library don't have "strptime()", so pull in
the glibc "strptime()" (modified so it doesn't require the rest of
glibc), set up the configure script to check for it, and set up
Makefile.am and Makefile.nmake to use it.

Get rid of NEED_MKSTEMP - nothing uses it.

svn path=/trunk/; revision=3500
2001-06-02 06:21:14 +00:00
Guy Harris 9849def895 If you call AC_MSG_CHECKING, you should always call AC_MSG_RESULT.
svn path=/trunk/; revision=3443
2001-05-24 04:04:42 +00:00
Guy Harris 0e00be5869 Cleanups to the "--with-ssl" configuration option, and changes to add
compiler flags on Solaris with GCC to cope with X11 header file
inadequacies.

svn path=/trunk/; revision=3433
2001-05-22 06:33:06 +00:00
Ashok Narayanan 2914e81177 Added 'text2pcap', a utility to convert text hexdumps into pcap
files. See text2pcap.1 (built from doc/text2pcap.pod) for details.

Changed 'tethereal -x' output to match hex dump format of text2pcap,
Ethereal and others.

svn path=/trunk/; revision=3421
2001-05-16 21:32:05 +00:00
Jeff Foster 4004d96518 Update files for release 8.18
svn path=/trunk/; revision=3415
2001-05-16 16:17:52 +00:00
Guy Harris 3331642eb6 Base HAVE_PLUGINS on whether "g_module_supported()" returns TRUE, not on
whether there's a "dlfcn.h" header file; that lets us support plugins on
HP-UX.

svn path=/trunk/; revision=3390
2001-05-01 02:44:52 +00:00
Guy Harris 47be5abbb5 If the SNMP headers were found but we failed to find "sprint_objid()" in
the SNMP library, fail rather than driving on and letting the build
fail.

svn path=/trunk/; revision=3383
2001-04-25 07:51:36 +00:00
Guy Harris b349fbcbf0 Fail if both UCD and CMU SNMP headers are found; we have no idea which
of the two libraries is installed - or, if both are installed in
different directories, or if a shared library for one and an unshared
library for another are installed in the same directory, which one we'll
get if we link with "-lsnmp" - so we have no idea whether the header
files with which we compile will match the library with which we link.

svn path=/trunk/; revision=3382
2001-04-25 07:44:04 +00:00
Guy Harris 44941f70c0 Fix up the messages printed for the SSL checks - AC_MSG_CHECKING without
AC_MSG_RESULT is an error (it produces a message without a newline at
the end, as AC_MSG_RESULT is supposed to finish the message with the
result of the test), and, according to the autoconf documentation,
you're not supposed to use AC_MSG_RESULT without AC_MSG_CHECKING,
either.

svn path=/trunk/; revision=3332
2001-04-19 01:08:16 +00:00
Guy Harris ce9898341b Fix up the alignment of some of the "configure --help" messages.
Print the right error message for "--without-plugindir".

svn path=/trunk/; revision=3295
2001-04-11 23:52:50 +00:00
Guy Harris f2881ddcac Set PLUGIN_DIR to a value that depends on "VERSION", rather than
hardcoding the version number into it; this means you don't have to
remember to change the version number in two places when you change the
version.

(If, as, and when the plugin ABI stabilizes enough that we don't change
the plugin directory in every release, we can set it based on, say, some
"PLUGIN_ABI_VERSION" variable.)

svn path=/trunk/; revision=3294
2001-04-11 23:49:44 +00:00
Guy Harris 11f785aa1c Update the other occurrence of the version number.
svn path=/trunk/; revision=3290
2001-04-11 18:38:19 +00:00
Jeff Foster 4004075d48 Updated for release 0.8.17
svn path=/trunk/; revision=3289
2001-04-11 16:35:02 +00:00