Commit Graph

529 Commits

Author SHA1 Message Date
Guy Harris 3cf92bc86c We have to add the new asn1/lte-rrc directory to the list of directories
in which to generate Makefiles.

svn path=/trunk/; revision=27015
2008-12-16 03:04:09 +00:00
Balint Reczey 99d277ae84 Fix "command not found" error in configure.
svn path=/trunk/; revision=26893
2008-12-01 18:34:14 +00:00
Stig Bjørlykke b2185260af Whops, -Wformat is already included in -Wall
svn path=/trunk/; revision=26656
2008-10-31 18:05:41 +00:00
Stig Bjørlykke 5be73bdea7 Compile with -Wformat and -Wformat-security
svn path=/trunk/; revision=26655
2008-10-31 18:03:12 +00:00
Guy Harris ce92eee853 Correctly report whether we're building with GeoIP or not - even if we
wanted GeoIP, that doesn't mean we necessarily have it, so that doesn't
mean we'll necessarily build with it.

svn path=/trunk/; revision=26639
2008-10-31 02:40:21 +00:00
Anders Broman 41671d662e From Marc Moussali:
Make it easier to add custom plugins.

svn path=/trunk/; revision=26627
2008-10-30 19:45:40 +00:00
Stephen Fisher 06c837b659 Add end of configure script summary item for GeoIP
svn path=/trunk/; revision=26614
2008-10-28 23:18:38 +00:00
Gerald Combs 1b7064bb6a Add support for the GeoIP library. Using different database files,
GeoIP can map IP addresses to Countries, Cities, AS numbers, ISPs,
etc. If any library paths are defined AND any database files are found,
corresponding columns are added to the endpoint tables in the GUI.

To do:
  - Add columns to the conversation list
  - Add GeoIP info to "-z conv,..."
  - Create a default UAT file.

svn path=/trunk/; revision=26571
2008-10-27 04:50:57 +00:00
Stephen Fisher 812ecb21c3 Tweak Mac IGE integration detection so that it can find the functions not
only in the Gtk+ OS X framework, but also in the separate igemacintegration
library.  Also add call to ite_mac_menu_set_menu_bar() to synchronize the
OS X menu bar with the Gtk menu bar in Wireshark.  The Gtk menu bar in
Wireshark will remain there.


svn path=/trunk/; revision=26560
2008-10-26 20:09:54 +00:00
Gerald Combs e8aee91bc3 Add an option to look for the presence of Imendio's Mac OS X integration
functions in GTK+.

svn path=/trunk/; revision=26539
2008-10-24 18:08:32 +00:00
Stephen Fisher 703f8b2c9a Display error messsage that Glib 2.4 or later was not found when checking
for Glib 2.4+.  The message used to say 2.0 or later was not found.


svn path=/trunk/; revision=26511
2008-10-22 05:17:02 +00:00
Anders Broman 2e68f4386c Remove kerberos
svn path=/trunk/; revision=26473
2008-10-16 06:17:03 +00:00
Anders Broman 3cbb374385 Now Kerberos compiles, a lot of work remains to get it into shape.
svn path=/trunk/; revision=26467
2008-10-15 20:08:10 +00:00
Stig Bjørlykke 3f2f2cd9b6 Added asn1/goose to configure.in
svn path=/trunk/; revision=26449
2008-10-14 12:29:57 +00:00
Gerald Combs 193ad40a59 Switch back to 1.1.2.
svn path=/trunk/; revision=26392
2008-10-09 05:07:24 +00:00
Gerald Combs 57a1c7be61 Try for another 1.1.1 development release.
svn path=/trunk/; revision=26374
2008-10-07 21:29:25 +00:00
Gerald Combs 2ed9fdf00e Switch back to normal versioning. Bump the development version to 1.1.2.
svn path=/trunk/; revision=26259
2008-09-24 03:29:21 +00:00
Jeff Morriss c08a1f420e Turn on -Werror for the top level targets, excluding text2pcap (which includes some generated code).
svn path=/trunk/; revision=26245
2008-09-21 14:59:05 +00:00
Guy Harris 74c4a0d76f Put back the "Checking whether to use the GNU ADNS library if available"
message, so that the "yes" or "no" printed when the check finishes is
associated with a "Checking..." message.

svn path=/trunk/; revision=26224
2008-09-17 08:09:45 +00:00
Guy Harris 96a306c764 inet_aton(), like inet_pton(), is in -lsocket in Solaris and possibly
other SVR4-flavored UN*Xes; search for it the same way we search for
inet_pton().

Note that, while that fixes the Solaris build, this probably still
wouldn't build on a platform without inet_aton() (if any such exist),
and might have problems with platforms lacking other functions (as they
handle this similarly).

svn path=/trunk/; revision=26221
2008-09-17 02:31:05 +00:00
Gerald Combs 11171da80f Move to 1.1.1.
svn path=/trunk/; revision=26199
2008-09-15 18:30:51 +00:00
Jörg Mayer e169350321 The newer autoconf version requirement is needed in
configure.in as well.

svn path=/trunk/; revision=26181
2008-09-11 21:17:17 +00:00
Gerald Combs 56c7f5b643 Move the trunk to 1.1.0. Temporarily build a non-SVN-stamped package, so
that we can build 1.1.0 packages.

svn path=/trunk/; revision=26136
2008-09-04 19:37:16 +00:00
Stig Bjørlykke e84877ca6f If using $prefix we add "$prefix/include" to the include search path
and "$prefix/lib" to the library search path.

svn path=/trunk/; revision=25969
2008-08-09 16:16:28 +00:00
Gerald Combs 9fbab46ad4 Add support for c-ares to the GNU toolchain.
svn path=/trunk/; revision=25955
2008-08-08 00:04:38 +00:00
Jeff Morriss 86e10880c9 Remove iconv/libiconv checks from *NIX builds: GLIB-2 provides iconv replacements.
svn path=/trunk/; revision=25765
2008-07-18 12:11:08 +00:00
Jeff Morriss 6be48cf5dd Don't use C-style comments in a shell script. This fixes this error:
./configure: line 21850: /bin: is a directory

when running configure.

svn path=/trunk/; revision=25757
2008-07-16 20:26:32 +00:00
Jeff Morriss e4730dce77 packet-pkcs12-template.c uses the libgcrypt symbol GCRY_CIPHER_RFC2268_40
which, according to:

http://lists.gnupg.org/pipermail/gnupg-devel/2004-February/020779.html

is new to the 1.1.92 release of libgcrypt.  Bump our required version of
libgcrypt from 1.1.42 to 1.1.92 .

svn path=/trunk/; revision=25666
2008-07-03 15:57:34 +00:00
Guy Harris 83fc9d5e09 Constify a bunch of stuff, to squelch -Wwrite-strings warnings.
epan/dissectors/packet-ncp2222.inc is a bit hard to fix, so we're not
ready to enable that warning by default yet.

Throw in some casts to handle GLib routines that take arbitrary
non-const pointers (they can later return the pointers, and some
callers might want to modify or free up those pointers in cases where
they're known to be writable or allocated).

Use ep_tvb_memdup() rather than a combination of ep_alloc() and
tvb_memcpy().

Clean up some indentation.

svn path=/trunk/; revision=25601
2008-06-25 09:12:35 +00:00
Guy Harris 360e555826 Update a comment.
svn path=/trunk/; revision=25597
2008-06-25 03:05:53 +00:00
Guy Harris da027b4668 Make -Wwrite-strings non-default for now.
Note what files are blocking some -W flags.

svn path=/trunk/; revision=25589
2008-06-24 19:58:29 +00:00
Guy Harris a33614e485 We're not ready for -Wshadow by default yet.
svn path=/trunk/; revision=25585
2008-06-24 19:13:15 +00:00
Guy Harris 6588c21e67 Temporarily turn on some -W options, to provoke the buildbots to build
with them to check whether we've cleaned those warnings up or not.

svn path=/trunk/; revision=25578
2008-06-24 17:45:09 +00:00
Guy Harris f3b0035e0f One -Wcast-align suffices.
svn path=/trunk/; revision=25577
2008-06-24 17:43:48 +00:00
Guy Harris 3235c5b4f4 Temporarily make -Wshadow not a default.
svn path=/trunk/; revision=25550
2008-06-23 20:51:31 +00:00
Guy Harris 98a15b7e80 Add -Wshadow, so we catch cases where somebody might not be using the
variable they think they are.

svn path=/trunk/; revision=25537
2008-06-23 19:56:47 +00:00
Guy Harris c8ad5ec2ca We have to define HTML_VIEWER for the prefs.c code that sets the default
value of the Web browser preference, even though that preference won't
be offered.

svn path=/trunk/; revision=25515
2008-06-21 18:50:52 +00:00
Guy Harris 8f244766f3 If we have xdg-open, always run that to launch a Web browser, and ignore
the Web browser setting; that should honor the user's *real* preferred
Web browser setting (i.e., the one they've selected in their desktop
environment).

Don't bother defining HTML_VIEWER as "xdg-open" if we have xdg-open - we
don't need it.

svn path=/trunk/; revision=25514
2008-06-21 18:09:17 +00:00
Guy Harris 160a305efa g_ascii_strtoull() is in GLib 2.2 and later, and we require GLib 2.4 or
later, so there's no longer any need to have our own g_ascii_strtoull.

svn path=/trunk/; revision=25423
2008-06-04 01:30:40 +00:00
Gerald Combs 24ca5dbdc3 Print "POSIX capabilities" instead of "libcap".
svn path=/trunk/; revision=25390
2008-05-28 18:52:31 +00:00
Jeff Morriss 58459d3fba Create a new "Wireshark utility" library and move the mpeg-audio stuff from
wiretap to this new libwsutil.  This solves
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1677 by making libwireshark
no longer depend on libwiretap.

svn path=/trunk/; revision=25330
2008-05-20 21:51:01 +00:00
Jaap Keuter cacee64927 From Hans-Peter Bock:
Attached to this post you find a patch for integration into wireshark that adds
a dissector for SERCOS III, ethertype 0x88cd.

svn path=/trunk/; revision=25270
2008-05-10 14:44:32 +00:00
Guy Harris 31cae6e4ef Require GLib 2.4 or later.
That means that G_GINT64_MODIFIER will be defined, so don't check
whether it's defined.

We don't use the PRI[douxX]64 macros, as we use the GLib print routines
and thus use G_GINT64_MODIFIER instead.  Get rid of the checks for
whether inttypes.h defines PRI[douxX]64; just check whether it exists at
all.

That means we don't set INTTYPES_H_DEFINES_FORMATS, so don't check for
it.

svn path=/trunk/; revision=25243
2008-05-05 22:47:32 +00:00
Guy Harris f7c4c23945 Require automake 1.9 or later; earlier versions don't support the
"tar-ustar" option.

svn path=/trunk/; revision=25241
2008-05-05 21:48:32 +00:00
Gerald Combs e9a197ee94 Have autoconf generate "ustar" tar files by default. This should let us have
paths longer than 99 characters.

svn path=/trunk/; revision=25232
2008-05-05 17:03:22 +00:00
Guy Harris a6815b1070 All versions of GLib 2.x come with g_ascii_strcasecmp(), and we require
GLib 2.x; we don't have to check for its presence and supply a
replacement if it's missing.

Get rid of an unremoved reference in epan/dtd_parse.l.

svn path=/trunk/; revision=25197
2008-04-29 16:24:22 +00:00
Guy Harris d136d93252 Have the error for not finding GTK+ indicate that we require GTK+ 2.4 or
later.  Do the same for the GLib error messages, having them indicate
that we require GLib 2.x.

svn path=/trunk/; revision=25191
2008-04-29 08:30:39 +00:00
Jörg Mayer b9c33ecda9 Require at least version 2.4.0 of GTK
svn path=/trunk/; revision=25152
2008-04-23 18:19:01 +00:00
Guy Harris b2f4f0a228 If we have xdg-open, define HAVE_XDG_OPEN.
Add a routine "filemanager_open_directory()", which takes a pathname
(presumed to be UTF-8 in Windows and Mac OS X; this might need work for
other UN*Xes) and attempts to open a file manager window for it, using
ShellExecute on Windows, Launch Services on OS X, and, for now, running
xdg-open on other OSes if we have it (should we have a preference for
the file manaager, just as we have one for the Web browser?).

(For that matter, if we have xdg-open, do we need a preference for the
Web browser, or should we just have xdg-open open the Web browser?)

svn path=/trunk/; revision=25097
2008-04-17 16:14:22 +00:00
Jörg Mayer 39bcbdc87d Update the warning flags (suppress one warning that appears with -pedantic)
svn path=/trunk/; revision=25019
2008-04-14 19:27:39 +00:00