Commit Graph

130 Commits

Author SHA1 Message Date
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
Gilbert Ramirez fa924d4380 Move the comments in nsis/README into nsis/Makefile.nmake
Have automake package the nsis files into the source tarball.

svn path=/trunk/; revision=3256
2001-04-04 20:08:16 +00:00
Gilbert Ramirez d21e83b98b Move version to 0.8.16.
Fix build for splitting build dir from src dir.
Note the use of updated GTK+ release for Win32 binaries.

svn path=/trunk/; revision=3107
2001-03-05 22:53:41 +00:00
Gilbert Ramirez 8f1fff2e6a Create a more modular type system for the FT_* types. Put them
into epan/ftypes.

Re-write display filter routines using Lemon parser instead of yacc.
Besides using a different tool, the new grammar is much simpler, while
the display filter engine itself is more powerful and more easily extended.

Add dftest executable, to test display filter "bytecode" generation.
Add option to "configure" to build dftest or randpkt, both of which are not
built by default.

Implement Ed Warnicke's ideas about dranges in the new display filter and
ftype code.

Remove type FT_TEXT_ONLY in favor of FT_NONE, and have protocols registered
as FT_PROTOCOL. Thus, FT_NONE is used only for simple labels in the proto tree,
while FT_PROTOCOL is used for protocols. This was necessary for being
able to make byte slices (ranges) out of protocols, like "frame[0:3]"

Win32 Makefile.nmake's will be added tonight.

svn path=/trunk/; revision=2967
2001-02-01 20:21:25 +00:00
Guy Harris f3470d6341 Changes to look for SSL library for those who have UCD SNMP compiled
with SSL support, from Andy Hood.

svn path=/trunk/; revision=2919
2001-01-18 09:54:09 +00:00
Gilbert Ramirez 512d0d1c23 Change version numbers to 0.8.15
svn path=/trunk/; revision=2882
2001-01-12 04:06:25 +00:00
Gilbert Ramirez 038774d586 Enable the building of any combination of ethereal, tethereal, and editcap.
If GTK+ is not detected, then ethereal is not built.

svn path=/trunk/; revision=2695
2000-11-22 04:03:22 +00:00
Gilbert Ramirez 5a0e2a658a Move to version 0.8.14
svn path=/trunk/; revision=2682
2000-11-20 17:10:26 +00:00
Gilbert Ramirez 2cb9d54620 Add MGCP dissector plugin from Ed Warnicke <hagbard@physics.rutgers.edu>.
svn path=/trunk/; revision=2588
2000-11-09 10:04:48 +00:00
Gilbert Ramirez 4386002cc3 Move to version 0.8.13.
Mention IGRP dissector in NEWS.

svn path=/trunk/; revision=2539
2000-10-27 02:22:08 +00:00
Guy Harris 9760c91217 Alas, we have to set HAVE_PLUGINS in the top-level configure script as
well as in the libethereal configure script.

svn path=/trunk/; revision=2503
2000-10-17 09:21:51 +00:00
Guy Harris 65102add6c Make the top-level configure script descend into epan to run the
configure script there, now that libethereal has its own configure
script.

svn path=/trunk/; revision=2499
2000-10-16 23:50:02 +00:00
Guy Harris cba377df3c Give libethereal its own configuration file, and have that configuration
file, rather than the top-level Ethereal configuration file, check for
"inet_aton()", "inet_pton()", and "inet_ntop()".  Then make its
Makefile.am include the appropriate object files if necessary.
Otherwise, they don't get built and put into libethereal, and therefore
attempts to link with anything in libethereal that uses them fail on
platforms that lack ethem, causing the build to fail.

That means a bunch of things need to be fixed to cope with libethereal
having its own "config.h" file; this means removing the include of
"config.h" from some libethereal header files.  Move the definitions of
the path names used only by "resolv.c" to "resolv.c" from "resolv.h" (so
"resolv.h" doesn't need "config.h", define HAVE_PLUGINS in the configure
script (so we don't have to include it in "plugins.h" to check whether
HAVE_DLFCN_H is defined).

Unfortunately, stuff outside libethereal needs to know PLUGIN_DIR; for
now, define that in the top-level configuration file, and have Ethereal
and Tethereal pass it as an argument to "epan_init()" - that should be
cleaned up at some point.

Remove from the top-level configure script checks for things used only
in libethereal.

svn path=/trunk/; revision=2498
2000-10-16 23:18:05 +00:00
Gilbert Ramirez 83ec54675c First step in moving core Ethereal routines to libepan.
svn path=/trunk/; revision=2458
2000-09-27 04:55:05 +00:00
Guy Harris d0caa40dec libpcap unconditionally includes <net/if.h> on UNIX systems, as that is,
as far as I know, the only way to get IFF_UP, IFF_LOOPBACK, "struct
ifreq", and "struct ifconf" defined, and those are required in order to
get, via SIOCGIFCONF, the interface list, and to exclude interfaces that
aren't up and handle loopback interfaces differently from other
interfaces.

If we're on UNIX and have libpcap, we should do the same; that way, if
the system doesn't have <net/if.h> installed, the compile will fail with
an "I can't find <net/if.h>" error, rather than the configure indicating
that <net/if.h> can't be found, causing "util.c" not to include it,
causing it to fail with complaints about IFF_UP, IFF_LOOPBACK, and
various structures not being defined - the former tells you the root
cause, the latter doesn't.

svn path=/trunk/; revision=2442
2000-09-17 03:20:05 +00:00
Gilbert Ramirez e0ec85c1a9 Move to version 0.8.12
svn path=/trunk/; revision=2432
2000-09-14 10:03:51 +00:00
Gilbert Ramirez 52903b26a8 Move to version 0.8.11
svn path=/trunk/; revision=2196
2000-08-03 01:54:53 +00:00
Gilbert Ramirez 8ceb7d40f9 Add the re-write of the NetWare Core Protocol dissector. It's mostly
a framework for the dissector; of the more than 400 NCP packet types, only
a handful are defined. But this dissector framework is much better than
the previous one.

svn path=/trunk/; revision=2173
2000-07-28 20:03:59 +00:00
Gilbert Ramirez 25935e6b19 Don't create dfilter2pod from dfilter2pod.in just for @PERL_PATH@; it's
a waste of time. Instead, set $(PERL) to @PERL_PATH@ in the Makefile and
call dfilter2pod.pl via $(PERL) $(src_dir)/dfilter2pod.pl

svn path=/trunk/; revision=2171
2000-07-28 16:30:28 +00:00
Gerald Combs 7baf3c1730 Switch Solaris package build naming to a more generic SVR4. Add RPM and SRPM
package build targets.  Move ethereal.spec(.in) to packaging/rpm.

The spec file is different from Henri's.  We might want to switch to his
for the sake of consistency.

svn path=/trunk/; revision=2162
2000-07-26 03:39:11 +00:00
Gerald Combs 354dcbfbf5 Add support for bulding Solaris binary packages. The distribution
is installed in packaging/solaris.stage, and from there the package
is created.  The checkinstall script depends on GTK+/Glib residing
in /usr/local.

svn path=/trunk/; revision=2151
2000-07-22 04:10:23 +00:00
Guy Harris a1b0b42431 Apparently, on systems with glibc 2.2, "inet_aton()" is declared in
<arpa/inet.h>, but is, in some fashion, declared differently from the
way we declare it in "inet_v6defs.h", but "inet_ntop()" isn't defined,
so we include "inet_v6defs.h" in "inet_pton.c", which causes
"inet_pton.c" not to compile as we get a collision between the two
declarations.

Move the declaration of "inet_aton()" to "inet_aton.h", define
"NEED_INET_ATON_H" iff we didn't find "inet_aton()" in the system
libraries, and include "inet_aton.h" in the callers of "inet_aton()" iff
"NEED_INET_ATON_H" is defined, so that it doesn't get declared by us if
"inet_aton()" is defined by a system library (which hopefully means it's
declared in <arpa/inet.h> instead).

svn path=/trunk/; revision=2137
2000-07-14 07:11:53 +00:00
Uwe Girlich 96c86d737a SINIX-M systems don't know about strcasecmp(). I added the source file
from the GNU C Library 2.0.7 like I did it with strncasecmp().

svn path=/trunk/; revision=2119
2000-07-06 10:03:44 +00:00
Gilbert Ramirez 32fe73b2de Change version to 0.8.10
In gtk/Makefile.nmake, add progress_dlg.obj

svn path=/trunk/; revision=2108
2000-07-04 12:10:06 +00:00
Gilbert Ramirez f185b77167 Move to version 0.8.9
svn path=/trunk/; revision=2042
2000-06-07 02:37:06 +00:00
Gilbert Ramirez 2bb2916ef5 One more "0.8.7" --> "0.8.8"
svn path=/trunk/; revision=1926
2000-05-09 03:09:55 +00:00
Gilbert Ramirez d96ae25070 Move to version 0.8.8
svn path=/trunk/; revision=1925
2000-05-08 20:14:03 +00:00
Gilbert Ramirez 390eeb541e Move to version 0.8.7.
I'm going to go ahead and install the plugins in a "0.8.7" directory, and
continue incrementing the micro number until the minor version changes to 9.
Then for all of 0.9.x, the plugin directory will be "0.9" until the ABI
changes again. This should cause less confusion, even if it means the
plugins don't change between 0.8.6 and 0.8.7.

svn path=/trunk/; revision=1834
2000-04-12 21:02:51 +00:00
Gilbert Ramirez f20f651cd0 Move to version 0.8.6.
svn path=/trunk/; revision=1812
2000-04-07 03:18:08 +00:00
Gilbert Ramirez 963e4ce472 Plugin API is at version 0.8.5 (reflected in directory name for plugins)
svn path=/trunk/; revision=1800
2000-04-05 11:45:50 +00:00
Gilbert Ramirez a35cbd9da9 Move to version 0.8.5
svn path=/trunk/; revision=1795
2000-04-04 19:47:20 +00:00
Guy Harris 87e3becab5 Rick Jones of HP says that the "-Ae" flag to the HP ANSI C compiler
gives you everything that "-Aa" does, plus the extensions that you get
only with "-Ae", and that there's no need to specify "-Aa" if you've
specified "-Ae".  Therefore, we get rid of "-Aa".

svn path=/trunk/; revision=1769
2000-03-31 20:45:29 +00:00
Gilbert Ramirez 8baaf8f8bd Move to version 0.8.4.
svn path=/trunk/; revision=1682
2000-03-03 03:53:08 +00:00
Gilbert Ramirez a2ab3f8c5a Add Peter Kjellerstedt <peter.kjellerstedt@axis.com>'s patches
to add Axis ethernet vendor ID, use libtoolize in autogen.sh, and
provide the very dangerous option of installing ethereal setuid.

I've added a "DANGEROUS" comment to the description of the
--enable-setuid-install option which displays in "./configure --help".

Removed generated files tha old libltdl/.cvsignore brought to my
attention by Peter.

svn path=/trunk/; revision=1616
2000-02-11 03:17:58 +00:00
Gilbert Ramirez 1c751dbe7b Move to version 0.8.3.
svn path=/trunk/; revision=1591
2000-02-01 14:12:20 +00:00
Gilbert Ramirez 85a79e34eb Move version to 0.8.2, add Win32 to list of platforms in README.
svn path=/trunk/; revision=1562
2000-01-26 02:31:35 +00:00