Commit Graph

314 Commits

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