Commit Graph

169 Commits

Author SHA1 Message Date
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