Commit graph

624 commits

Author SHA1 Message Date
Jörg Mayer
682332dcc0 Convert asn1/dap/
svn path=/trunk/; revision=22997
2007-09-27 09:24:38 +00:00
Tomas Kukosa
6055995bf1 revert changes in config.nmake committed by mistake and commit configure.in
svn path=/trunk/; revision=22996
2007-09-27 08:33:53 +00:00
Jörg Mayer
548b224e28 Change some additional protocols to the new build system
svn path=/trunk/; revision=22958
2007-09-25 18:02:49 +00:00
Jörg Mayer
9ad70d3450 Convert acp133 to new build structure.
Update some svn:ignore files, remove no longer needed Makefiles

svn path=/trunk/; revision=22957
2007-09-25 17:09:01 +00:00
Jörg Mayer
caaaf914d3 I forgot to commit the necessary change to configure.in,
so the distcheck failed. Fix that.


svn path=/trunk/; revision=22953
2007-09-25 14:07:53 +00:00
Jörg Mayer
094e2a9a5f Get rid of the remains of NET-SNMP in the build process.
svn path=/trunk/; revision=22934
2007-09-24 06:59:40 +00:00
Stig Bjørlykke
1e0be90b3d Added test to the libsmi AM_CONDITIONAL to remove a error message in configure.
svn path=/trunk/; revision=22895
2007-09-17 22:42:15 +00:00
Martin Mathieson
0b04fe922b Build WiMAX ASN Control Plane dissector plugin
svn path=/trunk/; revision=22801
2007-09-06 10:14:49 +00:00
Gerald Combs
92802883a6 Change the "--enable-setuid-install" option to install dumpcap and TShark
setuid instead of Wireshark.  Remove the "DANGEROUS" notices, but leave it
disabled by default.  Whine if the user runs Wireshark or TShark as root.
Add a preference to disable the whining.  Add a "setuid-root" script that
can be used to switch dumpcap and TShark's setuid-ness on and off for
development and testing.  Update the release notes and README.packaging.

svn path=/trunk/; revision=22733
2007-08-30 00:24:40 +00:00
Jörg Mayer
7109b71246 libsmi: Small fix and add a comment
svn path=/trunk/; revision=22668
2007-08-26 17:58:26 +00:00
Luis Ontanon
782c19a0c5 get libsmi into the picture
svn path=/trunk/; revision=22661
2007-08-25 20:27:58 +00:00
Richard van der Hoff
e184617c04 complete the death of the h223 plugin
svn path=/trunk/; revision=22635
2007-08-24 13:44:59 +00:00
Richard van der Hoff
bea90e8c33 In keeping with all the other path variables (eg, libdir), don't resolve
plugindir at configure time. Instead leave it to be defined at make
time, which means it can then be changed by, eg, changing $prefix. This
also means moving the definition of PLUGIN_DIR from config.h to a -D in
CPPFLAGS.


svn path=/trunk/; revision=22617
2007-08-24 00:06:30 +00:00
Jeff Morriss
8aa05e0f58 Postpone checking if dumpcap is enabled until after we have checked if we have libpcap or not: if not, don't bother trying to build dumpcap.
svn path=/trunk/; revision=22592
2007-08-22 21:05:25 +00:00
Jaap Keuter
b65cc92385 Add the UNISTIM plugin to Wireshark.
svn path=/trunk/; revision=22558
2007-08-20 20:50:29 +00:00
Guy Harris
f104bfa2ad I think the intent, at least, is to allow people to build Wireshark from
a source release tarball without having Flex (think of a source release
tarball being as much a platform-independent distribution format for
people *not* interested in development, and who are on platforms for
which there aren't binary packages, as a way of getting the source to do
development).  Don't check Flex's capabilities in the configure script
(handling reentrant scanners would have to be done differently).

svn path=/trunk/; revision=22414
2007-07-27 18:52:05 +00:00
Guy Harris
96ef450636 Step 1 in adding support for reentrant Flex scanners if Flex supports
them - check whether Flex supports them.

svn path=/trunk/; revision=22410
2007-07-27 02:51:42 +00:00
Guy Harris
3242580dfa Check %l[doux] first, when looking for the format to use with 64-bit
integral data types, so we handle LP64 platforms if "gint64" is just a
"long int".

svn path=/trunk/; revision=22281
2007-07-09 20:27:38 +00:00
Sebastien Tandel
6f8bc99620 default value of --with-gcrypt must be set to yes.
svn path=/trunk/; revision=22157
2007-06-21 22:36:33 +00:00
Sebastien Tandel
adebfe60f1 Fix bug #1395
Configure options '--with-libgnutls-prefix' and '--with-libgcrypt-prefix' could
be used to indicate the path where the respective libraries had been installed.
However, these options could not be used to compile wireshark without the use
of them if installed on the system.
These two macros are not part of the wireshark project. configure.in has
therefore been modified so that wireshark can be compiled without gnutls or
gcrypt. Two configure options have been introduced : '--with-gnutls' and
'--with-gcrypt'. They take precedence on their 'prefix-specification'
counterpart or in other words, if '-with-gnutls=no' and
'--with-libgnutls-prefix' are used, wireshark will be compiled *without*
gnutls.

svn path=/trunk/; revision=22127
2007-06-18 03:03:54 +00:00
Sebastien Tandel
d3b8c062ea get rid of the "case" statement to test the value of withval.
svn path=/trunk/; revision=22126
2007-06-18 02:23:44 +00:00
Gerald Combs
ad56f2ee36 0.99.6 has been split off. Bump the trunk to 0.99.7.
svn path=/trunk/; revision=22111
2007-06-15 18:44:43 +00:00
Guy Harris
d2ac4f7133 Check for G_GINT64_MODIFIER in Wireshark as we do in Wiretap.
In all the places where a cast to "long long" or "unsigned long long"
was done, use G_GINT64_MODIFIER and get rid of the cast, as

	1) there's no guarantee that "%ll" works

and

	2) there's no guarantee that "long long" works

(the latter definitely does *NOT* work with MSVC++; the former doesn't
work with regular printf in MSVC++, but it might work with the GLib
printf-based functions).

svn path=/trunk/; revision=21978
2007-05-29 06:56:07 +00:00
Gerald Combs
a491fec183 From Mike Harvey: Support for WiMAX and the WiMAX M2M encapsulation protocol.
Add support for WiMAX and M2M to various makefiles and installer files.  Add
basic support for M2M to randpkt.

svn path=/trunk/; revision=21945
2007-05-25 23:40:42 +00:00
Guy Harris
b0f2653497 Back out the previous change.
svn path=/trunk/; revision=21918
2007-05-24 12:00:55 +00:00
Guy Harris
cbd762e968 Temporarily turn on a bunch of warnings and turn off -Werror, to see
what the complete set of warnings we should either try to fix or, for
cases where it can't be fixed, turn off or or avoid -Werror for.  I'll
revert this change as soon as a complete set of buildbot builds start
with it.

svn path=/trunk/; revision=21917
2007-05-24 11:43:53 +00:00
Guy Harris
e531c23af4 If GTK+ isn't available, fail unless the user explicitly specified
"--disable-wireshark"; if they haven't explicitly said that they don't
want Wireshark, assume they do, and that they won't be happy if, when
the build finishes, they don't have Wireshark and weren't made
sufficiently aware that they wouldn't get it.

People who want to build TShark for machines that don't have GTK+
installed, but don't want to build Wireshark because they can't install
GTK+ on the build/target machine, can still do that; they just have to
explicitly specify "--disable-wireshark" to do it.

svn path=/trunk/; revision=21883
2007-05-22 07:52:11 +00:00
Sebastien Tandel
c60b0a4f3a temporarily put cast-align in extra-gcc-warnings while compilation on Solaris
slave generates 'cast increases required alignment of target type' warnings. 


svn path=/trunk/; revision=21835
2007-05-19 18:38:45 +00:00
Sebastien Tandel
93314fc852 typo fix
svn path=/trunk/; revision=21822
2007-05-18 00:15:31 +00:00
Sebastien Tandel
55a4b5ad93 temporarily disable cast-align warnings
svn path=/trunk/; revision=21821
2007-05-18 00:04:58 +00:00
Ulf Lamping
dd8feca514 from Gerhard Gappmeier (ascolab):
new dissector for OPCUA protocol

svn path=/trunk/; revision=21760
2007-05-14 13:58:54 +00:00
Ronnie Sahlberg
57f4b01fa9 there was a syntax error introduced in this file which made it
impossible to configure and build wireshark under gtk1


svn path=/trunk/; revision=21709
2007-05-07 07:23:38 +00:00
Guy Harris
0ac1bdfc22 If the user explicitly specified "--enable-wireshark", fail immediately
if the test for GTK+ fails; that lets the user insist on getting
Wireshark and gives them immediate feedback if they can't have it, so
they can either give up and just get TShark or fix the problem.

svn path=/trunk/; revision=21687
2007-05-05 00:24:53 +00:00
Guy Harris
1bc049906a Add some GCC warnings to the standard set, and add some others to the
--enable-extra-gcc-checks set.

If we turn on -pedantic, try turning on -Wno-long-long as well, so that
it's not *so* pedantic that it rejects the 64-bit integral data types
that we explicitly require.

Constify a bunch of stuff, and make some other changes, to get rid of
warnings.

Clean up some indentation.

svn path=/trunk/; revision=21526
2007-04-23 10:59:26 +00:00
Jörg Mayer
8ff9801ec1 Fix regression: Automatically disable -Werror in case of extra gcc flags.
svn path=/trunk/; revision=21513
2007-04-22 23:01:49 +00:00
Sebastien Tandel
706627f882 adding AC_(WIRESHARK|WIRETAP)_GCC_CFLAGS_OPTION macro to test whether gcc
supports the options passed as arguments. If the options are supported, they
are added to CFLAGS.


svn path=/trunk/; revision=21493
2007-04-22 09:27:21 +00:00
Guy Harris
23faf81799 Use AC_HELP_STRING for the help strings for --with and --enable flags.
Add -Wpointer-arith to the GCC -W flags by default.

Make "extra-gcc-checks" and "warnings-as-errors" --enable flags rather
than --with flags - autoconf's model is that --enable is for turning
features on or off, --with is for enabling or disabling the use of
external packages (libpcap, Net-SNMP, GNU ADNS, etc.).

When testing whether the compiler is GCC, use the same style all the
time - check whether "x$GCC" equals "xyes".  (The "x" might be overkill
- if you don't quote the arguments, it avoids a missing argument to
"test"/"[", but if you do, it might not be needed.)

svn path=/trunk/; revision=21492
2007-04-22 07:22:37 +00:00
Jeff Morriss
046cf4db31 Fix --with(out)-warnings-as-errors test so warnings-as-errors can be disabled (with gcc)
svn path=/trunk/; revision=21453
2007-04-17 10:01:39 +00:00
Jörg Mayer
6c8b972c62 Disable warnings as errors if extra gcc warnings was specified.
Change to positive logic --without-warnings-as-errors (default no)
==> --with-warnings-as-errors (default yes)

svn path=/trunk/; revision=21425
2007-04-14 00:35:53 +00:00
Sebastien Tandel
7098b76ee0 change the script to automatically stop on warning if compiling with gcc.
svn path=/trunk/; revision=21421
2007-04-13 22:52:33 +00:00
Guy Harris
c45434ce68 Fix a comment.
svn path=/trunk/; revision=21356
2007-04-08 20:42:08 +00:00
Guy Harris
233a8fb918 Get rid of extra white space in configure message.
Quote the message about flags added for the Apple linker, so it shows up
correctly.

svn path=/trunk/; revision=21354
2007-04-08 20:32:21 +00:00
Stephen Fisher
8fd3ee0560 Remove almost all of the casts I committed recently and in place of
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it.


svn path=/trunk/; revision=21253
2007-03-28 21:55:11 +00:00
Jeff Morriss
a2f4ee6daf Fix distcheck by removing the reference to the megaco plugin
svn path=/trunk/; revision=21209
2007-03-26 10:26:16 +00:00
Jeff Morriss
8c858b3787 Change the test for -Wdeclaration-after-statement slightly to make it work for me. Also redirect its stderr to /dev/null to avoid worrying users
svn path=/trunk/; revision=21208
2007-03-26 08:31:23 +00:00
Ronnie Sahlberg
6ecf2ccc7b older versions of gcc do not check -W parameters when only running the preprocessor.
change the test for whether -Wdeclaration-after-statement so that it also works for ancient gcc



svn path=/trunk/; revision=21205
2007-03-26 06:52:04 +00:00
Jeff Morriss
d14c5ba107 If we're using gcc, try to use -Wdeclaration-after-statement to catch more non-portable commits. I'm not sure if this is the Right Way to test to see if the compiler can handle a specific option but it's simple and efficient enough.
svn path=/trunk/; revision=21195
2007-03-26 00:32:13 +00:00
Stephen Fisher
62f88a4a04 From Sebastien Tandel:
(Temporarily disable the warnings as errors default on Unix to get
to get the buildbots and people with gcc40 going again until those
additional warnings gcc40 generates can be fixed-I'm working on it
ASAP)

   Patch for configure.in which disables by default the treatment of
warnings as errors.
It can be enabled with './configure --with-warnings-as-errors'.
The macro will test first if GCC is present. If it's the case,
HAVE_WARNINGS_AS_ERRORS is defined. All the USING_GCC have been replaced
by HAVE_WARNINGS_AS_ERRORS.
With this switch, people won't suffer from unexpected warnings when
downloading svn sources during the transition time ;)


svn path=/trunk/; revision=21153
2007-03-23 17:49:59 +00:00
Stephen Fisher
cdf47e536b Add -Werror when using GCC only to the Makefile.am of the base
directory and most of the plugins to match the same command 
put in the Makefile.nmake files for Windows compliations.  Fix
a few warnings when compiling under gcc 3.4.4 on FreeBSD.  Create
new automake file variable called USING_GCC in configure.in and
wiretap/configure.in to acomplish the above -Werror addition. 


svn path=/trunk/; revision=21127
2007-03-22 23:03:39 +00:00
Gerald Combs
9f8fa9cfe2 Bump the trunk version to 0.99.6.
svn path=/trunk/; revision=20526
2007-01-22 22:57:32 +00:00
Guy Harris
bbdb2dd733 Automake variables ending with _LDFLAGS are special:
http://sources.redhat.com/ml/automake/2001-08/msg00046.html

so call it LDFLAGS_SHAREDLIB rather than SHAREDLIB_LDFLAGS.

svn path=/trunk/; revision=20410
2007-01-12 21:04:33 +00:00
Guy Harris
405b7189a4 On Darwin, build shared libraries with -Wl,-single_module to the LDFLAGS
used with shared libraries, to fix some error that shows up in some
cases; some Apple documentation recommends it for most shared libraries.

svn path=/trunk/; revision=20312
2007-01-04 20:47:43 +00:00
Guy Harris
fb85064c5e -Wl,-single_module breaks the configure script.
svn path=/trunk/; revision=20302
2007-01-04 11:55:05 +00:00
Guy Harris
461d5cc45f Add -Wl,-single_module to the linker flags in Darwin. The page at
http://developer.apple.com/releasenotes/DeveloperTools/RN-dyld/index.html

says

	The static linker ld(1) supports building dylibs as either
	-multi_module or -single_module.  Conceptually, a multi-module
	dylib is like a group of smaller dylibs - one per source file. 
	The extra meta-data in a multi-module dylib allowed (pre-10.4)
	dyld to delay binding and running initializers on the individual
	modules.  In Mac OS X 10.4 dyld ignores all multi-module
	meta-data and completely binds and runs all initializers the
	same as if it were built single-module.  In general, building
	dylibs -single_module is preferred.  The one case where
	multi-module is still useful is it allows internal functions of
	a dylib to be interposable.  For instance, libSystem.dylib is
	built multi_module so that malloc() can be overridden and all
	uses of malloc in libSystem (e.g.  strdup) would be redirected
	to use the overridden version.

and we don't need the interposability for our dylibs, and Andreas Fink
indicates that it's necessary for the packaged Wireshark builds he's
doing.

svn path=/trunk/; revision=20301
2007-01-04 11:50:41 +00:00
Guy Harris
3c26f89630 When building for Darwin, link with -search_paths_first, so that
--with-pcap=/usr/local will, if there's only a static libpcap in
/usr/local/lib, link with that rather than the system's dynamic version.

Move the check for Cygwin that adds -no-undefined to LDFLAGS to the
section checking for linker flags to add.

svn path=/trunk/; revision=20241
2006-12-30 00:13:00 +00:00
Gerald Combs
bd282b4114 Move the contents of airpdcap to epan/crypt. Try to fix the current
distcheck failure.  Move the nmake build targets for airpdcap from 
epan/dissectors to epan.  This will probably break the Windows build.

svn path=/trunk/; revision=20231
2006-12-28 17:22:12 +00:00
Gerald Combs
2437fd2e77 Prepare to move the airpdcap code to epan/crypt (SVN won't let me actually
move the files until these changes are checked in).  Add an AC_DEFINE
for airpdcap (which will be removed once the changes have settled).
Update the airpdcap code to compile on non-Windows systems.  Fix up
comments and whitespace to conform more closely to the rest of the
code base.  Verified to compile under Windows and OS X.

svn path=/trunk/; revision=20227
2006-12-27 23:05:55 +00:00
Jaap Keuter
20e6c8c66f Remove mention of UCD SNMP completely.
svn path=/trunk/; revision=20081
2006-12-09 16:37:54 +00:00
Jörg Mayer
e26860607d Get rid of UCD SNMP support (it's not longer supported and
superseeded by net-snmp). Replace some_snmp by net_snmp
where appropriate.


svn path=/trunk/; revision=20071
2006-12-08 15:05:41 +00:00
Gerald Combs
c77637f7fa Fix an inadvertent change.
svn path=/trunk/; revision=19837
2006-11-06 23:08:11 +00:00
Gerald Combs
7a6159175f Remove ACN.
svn path=/trunk/; revision=19836
2006-11-06 23:04:53 +00:00
Gerald Combs
a076a8731d Bump the version to 0.99.5.
svn path=/trunk/; revision=19781
2006-11-03 06:55:30 +00:00
Jörg Mayer
760e4dfc18 Repeat after me: Test submission before sending.
Repeat after me: Test patches before committing.

svn path=/trunk/; revision=19755
2006-10-31 14:47:34 +00:00
Jörg Mayer
63f00dfdc7 Robert Schwebel:
Fix for http://bugs.wireshark.org/bugzilla/attachment.cgi?id=419&action=view
  cross compilation fails

With the following change: Use only AC_CANONICAL_TARGET

From the autoconf manual:
     The user is encouraged to use either `AC_CANONICAL_BUILD', or
     `AC_CANONICAL_HOST', or `AC_CANONICAL_TARGET', depending on the
     needs.  Using `AC_CANONICAL_TARGET' is enough to run the two other
     macros.


svn path=/trunk/; revision=19753
2006-10-31 11:35:55 +00:00
Jörg Mayer
1069b24680 carsten.prescher@eads.com:
Fix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1114
@SHELL@ not replaced in idl2wrs

svn path=/trunk/; revision=19742
2006-10-30 18:17:10 +00:00
Guy Harris
9083d00ccf Line up the colons in the list of configure options.
svn path=/trunk/; revision=19637
2006-10-20 18:51:51 +00:00
Jaap Keuter
a3f017648f From Shaun Jackman
The RDM protocol has been accepted as ANSI standard E1.20-2006. The following patch updates the decoder to that spec. 
At the same time it is promoted to a build-in dissector.

svn path=/trunk/; revision=19596
2006-10-18 19:29:05 +00:00
Gerald Combs
fbc440bc8b Fix the version.
svn path=/trunk/; revision=19433
2006-10-04 20:53:18 +00:00
Gerald Combs
2649d26145 Fix WEP key bug in the AirPcap code that could cause a crash. Enable
AirPcap by default. Add initial support for the "Any" device in AirPcap
(more to come).

svn path=/trunk/; revision=19401
2006-10-02 23:44:10 +00:00
Luis Ontanon
6462d05044 Move the Lua interface into epan... (not a plugin anymore).
- Rename Tap into Listener
- add a mechanism to pass protocols' tap data to the Listener


svn path=/trunk/; revision=19319
2006-09-25 01:09:00 +00:00
Jörg Mayer
56934c59cb Use portaudio if it's there. Check that we have the right version.
Note: This check is currently carried out by checking that the include
defines PortAudioStream. If you know of any better check, please let
me know.

acinclude.m4:
	Replace sequences of 8 spaces by tab

svn path=/trunk/; revision=19131
2006-09-04 13:34:48 +00:00
Guy Harris
0ec3e5661f Move the codecs into a top-level "codecs" subdirectory; there's no
guarantee that all programs using the codecs will necessarily be using
GTK+.

svn path=/trunk/; revision=19117
2006-09-02 06:39:43 +00:00
Anders Broman
7eac3c2879 From Alejandro Vaquero:
- Change the "listen_rtp" to "rtp_player"
- Change from a plugin to be part of the core
- By default it will not compile with the rtp_player. In order to 
compile it is necessary to:
       + For windows: uncomment the line 
"PORTAUDIO_DIR=$(WIRESHARK_LIBS)\portaudio_v18_1" in config.nmake
       + For linux: using the "--with-portaudio=yes"

svn path=/trunk/; revision=19094
2006-08-30 21:51:31 +00:00
Gerald Combs
52e5d6bb19 Bump the version to 0.99.4.
svn path=/trunk/; revision=19014
2006-08-24 16:23:32 +00:00
Jörg Mayer
f311c0817e # Ugly hack, but I don't see how this problem can be solved
# properly that DATAFILE_DIR had a value starting with
# "${prefix}/" instead of e.g. "/usr/local/"

That problem occurs only with current versions of autoconf


svn path=/trunk/; revision=18814
2006-08-01 20:28:32 +00:00
Jörg Mayer
5fe867f085 Jeff Morriss:
According to this page:
	http://lists.gnupg.org/pipermail/gnupg-announce/2003q3/000155.html
	the 'gcry_cipher_hd_t' structure didn't show up until 1.1.42.

svn path=/trunk/; revision=18789
2006-07-25 05:15:00 +00:00
Ronnie Sahlberg
950bd73948 we dont need our own snprintf any more since we always use g_snprintf() instead.
svn path=/trunk/; revision=18771
2006-07-20 10:19:47 +00:00
Gerald Combs
6c787afdb4 Bump the trunk version to 0.99.3.
svn path=/trunk/; revision=18749
2006-07-17 16:05:58 +00:00
Gerald Combs
a832d689c6 Under Solaris (9, at least) the "iconv.h" header supplied with GNU libiconv
is incompatible with the iconv routines in libc.  Add an aclocal macro from
Bruno Haible that sorts everything out.

svn path=/trunk/; revision=18729
2006-07-13 18:17:32 +00:00
Jörg Mayer
5a73ccd786 Undo previous patch, it didn't help
svn path=/trunk/; revision=18721
2006-07-12 16:10:28 +00:00
Jörg Mayer
5d7aa867e4 Bugfix:
Variables should *not* be addressed as ${prefix} but as $prefix instead.
  That way they will get substituted and we will not try to open
  '${prefix}/share/wireshark/radius' which might not exist on some
  systems.

svn path=/trunk/; revision=18720
2006-07-12 15:15:21 +00:00
Gerald Combs
1f4873db0b Add the asn1 directory to the distribution.
svn path=/trunk/; revision=18676
2006-07-06 22:34:41 +00:00
Gerald Combs
f357915f4c Set the version to 0.99.2, since we're building releases from /trunk again.
svn path=/trunk/; revision=18674
2006-07-06 20:19:01 +00:00
Jaap Keuter
1205ee2a14 From Christian Durrer:
I hope this is the right place to send a patch for a new dissector
plugin. The telegram it dissects are for the communication between PLCs
(Programmable logic controller) from the company Saia Burgess Controls
Ltd. (http://www.start-controls.com, http://www.saia-burgess.com or
http://www.sbc-support.ch). The protocol is named Ether-S-Bus (the PLCs
are called PCD2, PCD3, PCD4).

svn path=/trunk/; revision=18526
2006-06-21 06:31:06 +00:00
Gerald Combs
f7e38bd5e6 Change ETH_VAR_IMPORT to WS_VAR_IMPORT. Try to fix a duplicate variable
definition in the Catapult DCT2000 code.

svn path=/trunk/; revision=18524
2006-06-20 18:30:54 +00:00
Jörg Mayer
49e50f70d0 configure.in:
Check for libgcrypt 1.1.0 (note: I don't know which version
        is required, so maybe the version number needs to be changed
        for this test to work reliably).

packet-ipsec.c:
        - Replace __USE_LIBGCRYPT__ by HAVE_LIBGCRYPT to follow
          conventions.
        - Warning fixes: signedness in sscanf (%i -> %u)
        - Warning fixes: mixed declaration and code


svn path=/trunk/; revision=18460
2006-06-14 08:04:43 +00:00
Jörg Mayer
eca3662b38 Remove some trailing whitespace
svn path=/trunk/; revision=18452
2006-06-13 15:48:35 +00:00
Michael Tüxen
df77e1f0f5 Ethereal->Wireshark
svn path=/trunk/; revision=18300
2006-06-01 10:41:29 +00:00
Gerald Combs
8d6c73e567 More ethereal -> wireshark.
svn path=/trunk/; revision=18292
2006-05-31 22:34:21 +00:00
Gerald Combs
eb71f7fb96 Rename the main executable to "wireshark", along with more conversions:
ethereal.com -> wireshark.org
  mailing lists and addresses
  ETHEREAL -> WIRESHARK
  Man pages
  Automake/Autoconf names


svn path=/trunk/; revision=18271
2006-05-31 19:12:15 +00:00
Gerald Combs
8958bab6de Tethereal/tethereal -> TShark/tshark.
svn path=/trunk/; revision=18268
2006-05-31 17:38:42 +00:00
Gerald Combs
b15974d094 libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ of
changes here.  It compiles OK on OS X, but hasn't been tested anywhere else.

svn path=/trunk/; revision=18260
2006-05-31 00:23:01 +00:00
Ronnie Sahlberg
18ffc28bb1 ethereal->wireshark
svn path=/trunk/; revision=18208
2006-05-22 09:05:24 +00:00
Gerald Combs
08dea4588e Bump the version number to 1.1. Clean up the release notes.
svn path=/trunk/; revision=18062
2006-05-01 19:21:00 +00:00
Gerald Combs
e9fb9fe971 0.10.14 -> 0.99.0.
svn path=/trunk/; revision=17849
2006-04-12 20:54:40 +00:00
Gerald Combs
f85a158981 Add guard pages to emem.c. GP memory is protected using mprotect()
under UNIX and VirtualProtect() under Windows.  This probably breaks 
compatibility with Windows 95/98/ME.

svn path=/trunk/; revision=17424
2006-02-27 20:51:53 +00:00
Guy Harris
3442ed9e32 Check for getopt in the configure script, as we do for other routines
not available on all platforms.  Include getopt.c in
EXTRA_ethereal_SOURCES and include getopt.h in EXTRA_ethereal_INCLUDES,
as we do with the other files that supply routines not available on all
platforms, rather than always including them in the source for dumpcap.

svn path=/trunk/; revision=17311
2006-02-15 19:20:36 +00:00
Jörg Mayer
e35eef9c0a Change suid to take dumpcap into account
svn path=/trunk/; revision=17299
2006-02-14 14:42:37 +00:00
Ulf Lamping
d17c135324 "default on" for dumpcap generation (it's required at least for Ethereal's capturing now)
svn path=/trunk/; revision=17265
2006-02-12 01:45:58 +00:00
Jörg Mayer
325f8b88ba lua autofoo:
- Fail if with-lua was given but liblualib is missing
- Make the test for liblualib succeed on my system
  (make sure the test gets linked with liblua and libm).

svn path=/trunk/; revision=17198
2006-02-07 09:49:38 +00:00
Guy Harris
4c4f18eb3f Add code to check whether the app was started with special privileges
(e.g., set-UID or set-GID), and don't load user plugs if it is.

svn path=/trunk/; revision=17174
2006-02-06 03:11:34 +00:00
Jörg Mayer
9ba6da080a Paolo Abeni
I have developed an external plugin to enable ssl decryption in
ethereal.

Me

- Remove unnecessary $Id$ from acinclude.m4
- Added packet-ssl-utils.h to Makefile.common
- Fixed a few warnings

TODO

- Lots of warning fixes (see separate mail)
- Reformat function headers to read like the others do
  (return value<newline>function-name...)
- Test on Windows platform
- Review the patch to packet-ssl.c and new files packet-ssl-utils.[hc]


svn path=/trunk/; revision=17156
2006-02-04 23:44:05 +00:00
Luis Ontanon
c8dd927e0c It was hard.. but at the end I won (or at least i believe so...).
After install hello_world.lua works.


svn path=/trunk/; revision=17137
2006-01-31 22:22:05 +00:00
Gerald Combs
5dd7ff581e Prep for 0.10.14.
svn path=/trunk/; revision=16872
2005-12-21 16:49:47 +00:00
Guy Harris
4e4c2942e7 Add support for building dumpcap, and fix dumpcap to build on UN*X.
svn path=/trunk/; revision=16618
2005-11-28 11:40:28 +00:00
Guy Harris
31a44d4bfc When using GCC, compile with -Wpointer-arith, to catch code that some
other C compilers can't handle.

svn path=/trunk/; revision=16431
2005-11-08 04:03:50 +00:00
Gerald Combs
f57b54eeb2 Updates for 0.10.13.
svn path=/trunk/; revision=16201
2005-10-12 16:17:03 +00:00
Anders Broman
7d2f4603c1 Build the h223 plugin
svn path=/trunk/; revision=16140
2005-10-06 06:56:08 +00:00
Guy Harris
b7b80d94be Move a pile of protocol-related headers from the top-level source
directory to the epan directory.  Some of them should perhaps ultimately
be moved to epan/dissectors, if they pertain only to stuff exported by a
particular dissector.

Fix Gerald's e-mail address in files we're moving.

svn path=/trunk/; revision=15844
2005-09-17 00:02:31 +00:00
Guy Harris
3808fc02a1 Add PRIX64, as we now use it.
svn path=/trunk/; revision=15811
2005-09-15 06:04:33 +00:00
Luis Ontanon
3dece7b495 Let's migrate the xml dissector...
svn path=/trunk/; revision=15729
2005-09-08 21:18:58 +00:00
Jörg Mayer
980b568a3d Add -Wmissing-declarations -Wwrite-strings to extra-gcc-flags
svn path=/trunk/; revision=15453
2005-08-20 02:05:02 +00:00
Gerald Combs
200ff9dc52 Pick up some fixes and enhancements from
http://cvs.fedora.redhat.com/viewcvs/rpms/ethereal/FC-4/:

In the LPD dissector, make lpd_client_code a value_string so that we
don't segfault.  Do the same for lpd_server_code, although it's not
strictly necessary.

Check to see if htmlview is installed, and use it as our HTML viewer.

The Fedora RPM has other patches, but I'm not sure if they should
be applied.


svn path=/trunk/; revision=15143
2005-07-29 21:55:45 +00:00
Gerald Combs
da94bcb0e7 Build randpkt by default.
svn path=/trunk/; revision=15099
2005-07-26 18:28:01 +00:00
Gerald Combs
7bb59ba7ed Bump the version and add a few entries to the NEWS file.
svn path=/trunk/; revision=14995
2005-07-22 16:43:05 +00:00
Gerald Combs
f2ffbf0a46 Prep for the next release. ETA Wednesday (the 4th).
svn path=/trunk/; revision=14270
2005-05-02 16:34:24 +00:00
Gerald Combs
8398cb4066 Add "plugins/profinet/Makefile" to configure.in.
svn path=/trunk/; revision=14267
2005-05-02 14:24:09 +00:00
Guy Harris
61c7ec6534 Fix the display of help information for various --with arguments (for
whatever reason, the changequote() hack doesn't seem to be working, at
least on OS X; the square brackets were simply being removed from the
messages).

Rename the "ifpresent" value for the --with variables to "ifavailable",
to match the help messages.

At least for the SNMP libraries, have the "checking" message just say
"whether to use XXX" and have the result message say "yes, if available"
if the user didn't explicitly specify "--with" or "--without", as the
default just leaves the library out if it doesn't work, but explicitly
specifying "--with" means you get an error if it doesn't work.

Make "--with-net-snmp" fail if the headers aren't present (if the user
explicitly asks for something, we should fail if we can't give it to
them, as they presumably really wanted it).

svn path=/trunk/; revision=13789
2005-03-17 05:09:42 +00:00
Guy Harris
da00482b66 Capitalize "Net-SNMP" the way the Net-SNMP project capitalizes it.
Note that the "=PATH" argument to "--with-net-snmp" is optional.

If "--with-net-snmp" is specified, give an error if Net-SNMP is found
but "--with-ssl" wasn't specified, as the user has specified that they
really want a version of Ethereal with Net-SNMP; if it's not specified,
just warn of that and drive on, as we did before.

svn path=/trunk/; revision=13786
2005-03-16 23:53:49 +00:00
Gerald Combs
f34e80a2cf Prep for 0.10.10: Update the ChangeLog and NEWS files, bump the version
number.

svn path=/trunk/; revision=13685
2005-03-09 23:49:55 +00:00
Luis Ontanon
40132d1fde Add stats_tree and xml plugins to the build process
svn path=/trunk/; revision=13629
2005-03-06 16:49:16 +00:00
Jörg Mayer
79c7325373 Search for fop, not fop.sh
svn path=/trunk/; revision=13499
2005-02-24 19:46:15 +00:00
Jörg Mayer
24eba5be0d Correct fix for distcheck this time - definitely
svn path=/trunk/; revision=13445
2005-02-20 06:42:08 +00:00
Jörg Mayer
e7063b1dbf Remove stats_tree again: It breaks distcheck
svn path=/trunk/; revision=13441
2005-02-20 05:20:42 +00:00
Jörg Mayer
6b650bc433 Beginnings of autogenerating docbook/Makefile (long way to go) so call it Makefile.auto for now
svn path=/trunk/; revision=13439
2005-02-20 05:01:46 +00:00
Jörg Mayer
794eb11464 Create stats_tree Makefile to allow manual builds
svn path=/trunk/; revision=13438
2005-02-20 04:34:03 +00:00
Guy Harris
ba7e8f3b81 From Oleg Terletsky: AgentX support.
svn path=/trunk/; revision=13372
2005-02-10 06:36:21 +00:00
Guy Harris
a9cf4fccb6 Back out the previous change - we were setting "datafiledir", not
"datafile", and code in epan/filesystem.c expectes DATAFILE_DIR to be
set to the "ethereal" subdirectory of the data directory, not to the
data directory itself.

svn path=/trunk/; revision=13322
2005-02-06 21:36:11 +00:00
Jörg Mayer
02f8788b4e Albert Chin:
>From autoconf.info:
     In order to support these features, it is essential that `datadir'
  remains being defined as `${prefix}/share' to depend upon the current
  value of `prefix'.

     A corollary is that you should not use these variables except in
  Makefiles.  For instance, instead of trying to evaluate `datadir' in
  `configure' and hard-coding it in Makefiles using e.g.,
  `AC_DEFINE_UNQUOTED(DATADIR, "$datadir")', you should add
  `-DDATADIR="$(datadir)"' to your `CPPFLAGS'.


svn path=/trunk/; revision=13275
2005-02-04 00:29:37 +00:00
Jörg Mayer
ec6c844387 Add mate to the build process (plus a few whitespace changes)
svn path=/trunk/; revision=13051
2005-01-15 18:39:44 +00:00
Gerald Combs
9dd5452d3e Bump the version to 0.10.9.
svn path=/trunk/; revision=13049
2005-01-15 18:18:09 +00:00
Gerald Combs
8dddc0baa9 Updates for 0.10.8.
svn path=/trunk/; revision=12683
2004-12-07 22:26:10 +00:00
Ulf Lamping
0f80fa5c7d renamed capinfo to capinfos, as the former name capinfo was already used in a program called tcprelay, so that might confuse packaging managers and users. Hopefully I got all the places need to be changed.
svn path=/trunk/; revision=12358
2004-10-20 18:50:58 +00:00
Jörg Mayer
927f53301c Dectect MIT-Kerberos as well
svn path=/trunk/; revision=12302
2004-10-15 06:51:48 +00:00
Gerald Combs
5bd4eb15a8 Bump the version to 0.10.7.
svn path=/trunk/; revision=12243
2004-10-08 19:06:28 +00:00
Guy Harris
5491cfb3df Fix a typo.
svn path=/trunk/; revision=12107
2004-09-26 22:28:23 +00:00
Guy Harris
f3381337cc In the SNMP tests, we're using AC_TRY_LINK to avoid caching the results
of the test for sprint_realloc_objid() (so that a failure to find it
when we're not linking with extra libraries doesn't cause us to assume
we won't find it if we *do* link with extra libraries), so
"ac_cv_lib_snmp_sprint_realloc_objid" doesn't get set - set our own
variable for that.

Use AC_TRY_LINK rather than AC_CHECK_LIB in the Kerberos tests when
checking for krb_k5_resolve(), to avoid caching the results.

Improve the messages printed in the Kerberos tests to give more detail.

svn path=/trunk/; revision=12106
2004-09-26 20:30:44 +00:00
Guy Harris
aa580a0cca Clean up a bunch of cruft in --with-ssl; make it more resemble other
--with flags.

Report, in the messages at the end of the configure script, whether
we're building with the SSL library.

If we fail to find "sprint_realloc_objid()" when linking with a
particular library, and --with-ssl wasn't specified, try linking with
-lcrypto as well and, if that succeeds, fail with an indication that UCD
SNMP requires -lcrypto but --with-ssl wasn't specified.

svn path=/trunk/; revision=12105
2004-09-26 04:00:20 +00:00
Guy Harris
816a179311 Name the variables that have the names of ".lo" files as _LO, not _O;
put the name of the ".o" files into _O variables (I'm not sure whether
the current .am files automatically support building programs statically
linked with libethereal, as a result of using libtool; if so, the _O
versions of those variables aren't necessary, and, if not, we probably
need to use them).

Use the _LO variables in libethereal_la_LIBADD and
libethereal_la_DEPENDENCIES.

(This means that we use "g_ascii_strtoull.lo" rather than
"g_ascii_strtoull.o" to make the libethereal shared library; that's what
we need to do, but we weren't doing it.)

svn path=/trunk/; revision=11906
2004-09-05 10:38:04 +00:00
Guy Harris
dfad2b94f5 Some UN*Xes don't have any "strtou*" routine to convert a string to a
64-bit integer; use "g_ascii_strtoull()", and, in the configure script,
check whether it's available in GLib (it's not in GLib 1.2[.x]) and, if
not, supply the GLib 2.4.5 version of the routine.

For G_MAXUINT32 and G_MAXUINT64, put a "U" at the end of the constant to
explicitly flag it as unsigned.

svn path=/trunk/; revision=11889
2004-09-03 18:14:00 +00:00
Guy Harris
c4e043e39c FreeBSD 3.4 doesn't have "strtoull()", but it does have "strtouq()",
which does the same thing - check for "strtoull()" and, if it's missing,
check for "strtouq()" and, if we have it, define strtoull as strtouq.

svn path=/trunk/; revision=11798
2004-08-22 01:41:47 +00:00
Gerald Combs
ccda3658fc Bump the version to 0.10.6. Drop in a new ChangeLog, and add the beginnings
of the release announcement to NEWS.

svn path=/trunk/; revision=11611
2004-08-06 14:08:54 +00:00
Olivier Biot
cb6b29786b From Ian Schorr: capinfo - provides capture file information.
svn path=/trunk/; revision=11555
2004-07-28 20:51:29 +00:00
Guy Harris
809bd53e81 Use the GLib gint64 and guint64 types instead of u_int64_t or uint64_t,
as those are what's used in Ethereal for 64-bit integers, and as there's
no guarantee that either of them will be defined on any particular
platform.

svn path=/trunk/; revision=11513
2004-07-25 08:36:34 +00:00
Jörg Mayer
6ecefef982 Forgotten case: Make krb5 fail if it requires -lcrypto but no --with-ssl=... is not given
svn path=/trunk/; revision=11458
2004-07-21 17:45:05 +00:00
Guy Harris
6041d12dde From Laurent Rabret: OPSI support.
svn path=/trunk/; revision=11454
2004-07-21 06:31:33 +00:00
Jörg Mayer
eebd26f377 Make configure continue after disabling Net-SNMP when the openssl libs
are reuired for SNMP to link but not enabled on configure.

svn path=/trunk/; revision=11443
2004-07-20 17:42:42 +00:00
Jörg Mayer
dd99d1eb50 - Require --with-ssl=... to be explicitly set to work
around licensing problems
- Cause krb5 and snmp to fail, if ssl is required but
  not configured.

svn path=/trunk/; revision=11416
2004-07-18 20:33:54 +00:00
Gilbert Ramirez
669db206cb Move dissectors to epan/dissectors directory.
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.

Adjust #include lines in files that include packet-*.h
files.

svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00
Guy Harris
8a8b883450 Set the svn:eol-style property on all text files to "native", so that
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.

svn path=/trunk/; revision=11400
2004-07-18 00:24:25 +00:00
Gerald Combs
44f812de8e Prep for the 0.10.5 release.
svn path=/trunk/; revision=11319
2004-07-06 16:29:18 +00:00
Jörg Mayer
392a0d43c0 doxygen changes:
- moved doxygen.cfg to doxygen.cfg.in and let configure to the substitution
  on unix. Adapted the namke files accordingly.
- Don't add doxygen as a dependency for libethereal and libui: As doxygen is
  an unconditional target, this would cause the applications to be rebuild
  every time make was called, even when nothing changed in the meantime.
  This means that by now we need to do "make doxygen" manually in case we
  want updated documentation.

svn path=/trunk/; revision=11238
2004-06-25 07:10:55 +00:00
Guy Harris
fc1023772c Build and install the HTMLized man pages on UN*X.
svn path=/trunk/; revision=11217
2004-06-23 08:39:07 +00:00
Guy Harris
56833f4288 To test whether we can build with OS X frameworks, try building with
those frameworks.

svn path=/trunk/; revision=11214
2004-06-22 21:15:41 +00:00
Gerald Combs
00a2183711 Handle cases where PRI[doxu]64 is defined, but u_int64_t isn't. (Solaris 8
only defines uint64_t, for example).

svn path=/trunk/; revision=11212
2004-06-22 15:18:45 +00:00
Guy Harris
9bb3e4cf9e On Mac OS X, use Launch Services to start a Web browser with a given URL.
svn path=/trunk/; revision=11208
2004-06-22 00:40:03 +00:00
Guy Harris
7c1556c1fe If the user hasn't explicitly said they want to build with Heimdal,
don't *require* them to have "krb5.h" - if they don't have it, don't
build with Heimdal.

svn path=/trunk/; revision=11184
2004-06-19 04:12:56 +00:00
Guy Harris
7002776572 Pick up the stuff I did for tcpdump to figure out the right strings to
use to format 64-bit integers.

Fix the RSVP dissector to use that rather than hardcoding "%ll" in.

Remove the "only if G_HAVE_GINT64 is defined" bit from the discussion of
64-bit integers - we're too dependent on having them to support
compilers that don't have a 64-bit integral data type.  Do, however,
note that neither "long" nor "long long" are acceptable, and also note
that you shouldn't assume "%ll" does the trick for printing them.

svn path=/trunk/; revision=11182
2004-06-19 00:07:23 +00:00
Jörg Mayer
d69ae05d29 Turn on kerberos by default if it is present
svn path=/trunk/; revision=11165
2004-06-17 14:37:43 +00:00
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