aboutsummaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2017-09-25s4: COM: Remove talloc_autofree_context() from (unused) COM code.Guy Harris1-3/+3
Pick up change from Samba: commit fe2ac3e304201d18ca15d388b622a4f15f72ad0a Author: Jeremy Allison <jra@samba.org> Date: Mon Jul 24 12:00:21 2017 -0700 s4: COM: Remove talloc_autofree_context() from (unused) COM code. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12932 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Change-Id: I44a4e3794569957c3cdf0721e78e73972ba06085 Reviewed-on: https://code.wireshark.org/review/23694 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-09-25pidl: Make static struct api_struct also constGuy Harris1-1/+1
Pick up change from Samba: commit c6c1463852533ed8234911835b8b1fce29b2d3d8 Author: Andrew Bartlett <abartlet@samba.org> Date: Mon Nov 21 11:58:07 2016 +1300 pidl: Make static struct api_struct also const This moves the table to read-only memory Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Change-Id: I2a7ce154dff4584c5db445cfd789a8c4f928a338 Reviewed-on: https://code.wireshark.org/review/23693 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-09-25pidl: Change *_get_pipe_fns() to return const struct api_struct *Guy Harris1-3/+3
Pick up change from Samba: commit d368ee2298bc472caca940a3db7a4f855df6ca21 Author: Andrew Bartlett <abartlet@samba.org> Date: Mon Nov 21 11:57:48 2016 +1300 pidl: Change *_get_pipe_fns() to return const struct api_struct * This will allow the table to be made static const in the next commit Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Change-Id: Ib8cecaf695ccf70a78f97152e3286723cbc233ec Reviewed-on: https://code.wireshark.org/review/23692 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-09-25pidl:NDR: add ReturnTypeElement() helper functionGuy Harris1-1/+20
Pick up change from Samba: commit d5e4707e98f3613acebb9d0de7e6f944f0b1efaf Author: Stefan Metzmacher <metze@samba.org> Date: Tue Sep 13 09:06:50 2016 +0200 pidl:NDR: add ReturnTypeElement() helper function Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Change-Id: I3f4c8fb9b18ee10b031d9c58209d1c6c45bbec63 Reviewed-on: https://code.wireshark.org/review/23691 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-09-25pidl:NDR: keep interface->{ORIGINAL}Guy Harris1-1/+2
Pick up change from Samba: commit 7423d8106ef08b94821f5fc666892234feff6f05 Author: Stefan Metzmacher <metze@samba.org> Date: Tue Sep 13 07:57:25 2016 +0200 pidl:NDR: keep interface->{ORIGINAL} Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Change-Id: I8f088a7bbbdbd756a0d28169f8ed00f99d9a8cc3 Reviewed-on: https://code.wireshark.org/review/23690 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-09-21cmake: look for Qt5 from Homebrew on macOSPeter Wu1-7/+0
When Qt5 is installed using Homebrew on macOS, Qt5 is not available in the default prefix. Remove the hack from macos-setup-brew.sh and adjust the search path instead. Note that is needed for development, "brew install" has already set this option in the environment. See https://github.com/Homebrew/homebrew-core/issues/8392 Change-Id: I57ea09b649a94c9a4cb18b1b2d334808e47ec27e Reviewed-on: https://code.wireshark.org/review/23232 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2017-09-20Add version.conf to git-export-release.Gerald Combs1-1/+27
Create and stash version.conf before archiving our repository. This makes git-export-release behave more like the current Autotools dist target. Make sure the `git describe` command in git-export-release and make-version.pl use the same match pattern and abbreviation length. Abbreviate to 8 characters. That's our current unique minimum according to the git-unique-abbrev script at https://blog.cuviper.com/2013/11/10/how-short-can-git-abbreviate/ : 516409 objects 4: 516194 / 65293 5: 200900 / 92205 6: 15979 / 7957 7: 1038 / 519 8: 74 / 37 9: 0 / 0 Change-Id: Id2279a59a2e24a9ecd816458f399bcd2b4c94185 Reviewed-on: https://code.wireshark.org/review/23344 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-09-09Redirect to /dev/null, not /devnull.Gerald Combs1-1/+1
Change-Id: I9d14244cc14fac4d8857177686b9fd869d8a3b3c Reviewed-on: https://code.wireshark.org/review/23441 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2017-09-06plugins: config.h must not be included by public headersJoão Valverde1-0/+2
For a sane plugin build environment. Include config.h as the first header in the .c file instead. Fix by moving required compiler attribute macros to a new "ws_attributes.h" API header. Change-Id: I34f58a927f68c1a0e59686c14d214825149749e1 Reviewed-on: https://code.wireshark.org/review/23400 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
2017-09-01Get rid of no-longer-needed patches to PortAudio.Guy Harris1-9/+0
The version of PortAudio we now specify has both of those problems fixed. Change-Id: I7364a5dfac1aac4799347a88f3e89fcb52f57d32 Reviewed-on: https://code.wireshark.org/review/23356 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-08-27Update USBPcap to 1.2.0.3Pascal Quantin1-4/+4
Change-Id: Ie5dbe818e214738ea8e82fe7d72fc8a20b30691b Reviewed-on: https://code.wireshark.org/review/23221 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2017-08-24Extract the "long name" out of the manuf file and use it for some resolutionMichael Mann1-1/+11
Some places (like MAC resolution) want to keep a fixed length, but for places that want to display "full organization name", save the long name that is treated as a comment in the manuf file. Have make-manuf convert companies with all caps to mixed case so we're not screaming the company name at the user. Convert the manuf.tmpl to be tab delimited without a comment for the "long name" so it can match the format now created by make-manuf. Remove uint_get_manuf_name as it was unnecessary. Bug: 3666 Change-Id: If2af5a1ce64e2784fe3941eeae8d8093d4f1467b Reviewed-on: https://code.wireshark.org/review/23150 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-08-23Update WinSparkle to 0.5.6.Gerald Combs1-4/+4
Change-Id: I93d95bba740bb3e0a4754ec71460f30ef1e45a9a Reviewed-on: https://code.wireshark.org/review/23178 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2017-08-21[skinny]: minor changes to xml fileDiederik de Groot2-142/+137
- Fix/syncronise spelling for similar field types - Fix cog.py script invocation Change-Id: Iab6d8ac6414c1ba9b97c49d7d0a4d2609eb1a55b Reviewed-on: https://code.wireshark.org/review/23153 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-11Tools: Check for ASan directly.Gerald Combs1-4/+5
Check for ASan by testing tshark directly instead of trying to infer it from the build environment. Change-Id: I05813161cd8c20f0c105d976706f8b62fd360cb9 Reviewed-on: https://code.wireshark.org/review/23047 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2017-08-09Handle older lz4 versions.Guy Harris1-1/+27
lz4 switched from sequentially numbered releases, named rN, to vX.Y.Z-numbered releases. The old sequentially-numbered releases were in tarballs at https://github.com/lz4/lz4/archive/rN.tar.gz, which extract into an lz4-rN directory. THe new vX.Y.Z-numbered releases are in tarballs at https://github.com/lz4/lz4/archive/vX.Y.Z.tar.gz, which extract into an lz4-X.Y.Z directory - no, not lz4-vX.Y.Z, just lz4-X.Y.Z. We expect LZ4_VERSION to be set to rN for the sequentially- numbered releases and X.Y.Z - not vX.Y.Z - for the vX.Y.Z- numbered releases. Change-Id: Icb0275aa69b96eea43bf3a8645748a86cec81c94 Reviewed-on: https://code.wireshark.org/review/23026 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-08-09debian: Add script for updating shared library package namesBalint Reczey1-0/+35
It should be run prior to major release after the new shared library versions are set for cmake. Change-Id: I5cf2a3a9121672c8be14e57a318c9eaf5105e622 Signed-off-by: Balint Reczey <balint.reczey@canonical.com> Reviewed-on: https://code.wireshark.org/review/22967 Reviewed-by: Balint Reczey <balint@balintreczey.hu> Petri-Dish: Balint Reczey <balint@balintreczey.hu> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-08checkAPIs.pl: Don't check prefs.[ch] for duplicate registered variablesAhmad Fatoum1-0/+3
Change-Id: I389aa31db4da11b2b1e8d009a4cfeca03b587f45 Reviewed-on: https://code.wireshark.org/review/23014 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Ahmad Fatoum <ahmad@a3f.at> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-08Bump versions of macOS dependenciesAhmad Fatoum1-11/+15
Versions were bumped to the newest available by Homebrew. Change-Id: I8f3f405d3644dff91035353e6f83131a507602cd Reviewed-on: https://code.wireshark.org/review/21224 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-08-07checkAPIs.pl: Detect multiple preferences with same variableAhmad Fatoum1-0/+40
Catches mistakes where the same variable is populated by multiple preferences: prefs_register_bool_preference(epl_module, "show_soc_flags", "text1", "desc1", &show_soc_flags); prefs_register_bool_preference(epl_module, "show_soa_flags", "text2", "desc2", &show_soc_flags); Change-Id: I77a9432d9b518e951166c93a890a948d3f228162 Reviewed-on: https://code.wireshark.org/review/22974 Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-08-07Fix lz4 and libssh uninstall.Guy Harris1-2/+33
We have to remove the lz4 build tree as root. We can't do "make uninstall" for libssh, so manually remove the stuff it installs. Also, remove the -done file, and remove the downloaded tarball and build tree if we're supposed to do so. Change-Id: If594ab241a9955229dfbc12e4f5e0c517add6daa Reviewed-on: https://code.wireshark.org/review/22996 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-08-07Fix SpanDSP build with older versions of Xcode.Guy Harris1-0/+6
Older versions of Xcode don't support -Wunused-but-set-variable, so remove it from the list of options with which to compile SpanDSP. Change-Id: Idd298e19eaf770980da179412480e17a00514d36 Reviewed-on: https://code.wireshark.org/review/22991 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-08-06Make the services dictionary ordering stableJoão Valverde1-1/+2
Change-Id: I1d148fc5bc58998818043885615965eecc86b3de Reviewed-on: https://code.wireshark.org/review/22965 Reviewed-by: João Valverde <j@v6e.pt>
2017-08-04Optimize the "services" dictionaryJoão Valverde3-159/+92
Remove assignee and other miscellaneous information that changes more frequently than service name and can be consulted directly in the IANA registry. Allow merging identical transports into a single line for convenience and size/speed optimization (a backward-compatible change). Remove obsolete make-services.pl. Change-Id: I3ecbd1a6a68d87c084d77498a0eeb44b7afdab67 Reviewed-on: https://code.wireshark.org/review/22872 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-08-02Distribute macos-setup-brew.sh in the source tarball.Guy Harris1-0/+1
Change-Id: I9521810d7e9d8b3b13f7949256fa409eafd1cc2c Reviewed-on: https://code.wireshark.org/review/22920 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-08-02Move macosx-setup.sh to tools and remove the "x".Guy Harris2-0/+3078
The OS is now called just macOS, and the rest of the setup scripts are in tools, so move this one there as well. Update the documentation to reflect the change. Change-Id: I4d9ebf0797ffe8862e82c4bcfdeec1d2eabae6ae Reviewed-on: https://code.wireshark.org/review/22918 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-08-01Update USBPcap to 1.2.0.2Pascal Quantin1-4/+4
Change-Id: I0f318cdd3644ef4eb2195bed3d0bd561dde7f6dc Reviewed-on: https://code.wireshark.org/review/22903 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-07-30Add G.729 decoding based on bcg729 libraryPascal Quantin1-2/+5
Bug: 13635 Change-Id: Ic22a0719a59da13e51425aeb747e88caca0d6512 Reviewed-on: https://code.wireshark.org/review/22808 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-23Put the well-known addresses into a separate file from OUIsJoão Valverde1-18/+1
Having two distinct logical concepts (OUI and Well Known Address) concatenated to a single "manuf" file is needlessly obfuscating the WKA feature. Have a distinct "wka" file instead and just skip the cat. Change-Id: I46f53b0015a37331d65f8cfac7cbbd499dd0c5b8 Reviewed-on: https://code.wireshark.org/review/22742 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-07-20Remove line numbers (locations) from .ts filesJoão Valverde1-4/+14
To make translation updates less noisy. Change-Id: I3efee819ea10bb326862e0f818bfd3cd7eff48e3 Reviewed-on: https://code.wireshark.org/review/22654 Reviewed-by: João Valverde <j@v6e.pt> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2017-07-20Update WinSparkle.Gerald Combs1-4/+4
Change-Id: Ia0b717165b258fdc891b5d876b4acd31345ec00e Reviewed-on: https://code.wireshark.org/review/22722 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2017-07-18Extend enterprises.tsv to accept spaces as separatorsJoão Valverde1-0/+3
We can do so easily because the format is so simple. This makes it more convenient for a user to hand-edit a dictionary in the personal config folder. We still use tabs in the system file for a small space gain. Also add a brief description of the format as a comment. Change-Id: If3f741bff16f1f42c8ef07d643dc6463caaad1a5 Reviewed-on: https://code.wireshark.org/review/22678 Reviewed-by: Guy Harris <guy@alum.mit.edu> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-18LPP: upgrade dissector to v14.2.0Pascal Quantin1-1/+1
Change-Id: I445c5ef34c1a688310042634eb38bed9b17cadaf Reviewed-on: https://code.wireshark.org/review/22679 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-15Rename enterprises to enterprises.tsv and ship it.Gerald Combs1-1/+1
Rename "enterprises" to "enterprises.tsv" so that its format is a bit more obvious and so that double-clicking the file might do something useful. Add it to the Windows packages. Change-Id: I5ef54a04ce1b4926aa4535e756e04b3e2a56d463 Reviewed-on: https://code.wireshark.org/review/22616 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-06-28Windows: update c-ares to v1.13.0 and zlib to v1.2.11Pascal Quantin1-8/+8
Change-Id: I17f92dd76dc53732d5d764c2a129acb7b69bbe08 Reviewed-on: https://code.wireshark.org/review/22440 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-06-26Parse enterprise-numbers at run timeJoão Valverde2-79/+29
"enterprise-numbers" is converted to tab-separated values and renamed "enterprises". Unused fields are stripped. PENs are stored in a hash table loaded at run-time. User "enterprises" file is loaded from the personal config dir. Misc make-sminmpec.pl improvements and fixes. Note: names of type "Entity (formerly ...)" have the formerly part commented out for a cleaner output. Change-Id: I60c533afbe3e399077fbf432088064471ad3e1e2 Reviewed-on: https://code.wireshark.org/review/22246 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: João Valverde <j@v6e.pt>
2017-06-20IPv4/IPv6 display filter fixes and testingSilvio Gissi1-2/+90
Removed 'len' from IPv4, not needed Added more test coverage for IPv6 in dftestlib Change-Id: I1ca80e2525f32f6095ad73352baba733f4694ced Reviewed-on: https://code.wireshark.org/review/22260 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-06-19Added IPv4 byte slicingSilvio Gissi1-0/+14
Change-Id: I3bdca418801305d71b33fa07396497d82ad06e33 Reviewed-on: https://code.wireshark.org/review/22212 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-06-09Just print the string color_filters_init() provides on an error.Guy Harris1-1/+1
It gives all the necessary details; no need to mention the name of a routine the existence of which the user is probably unaware. Change-Id: I66d372bc6650c84fbbc6be438be695eff1048413 Reviewed-on: https://code.wireshark.org/review/22055 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-05-31lemon: avoid redundant redeclaration of ‘memory_error’ [-Wredundant-decls]Alexis La Goutte1-6/+2
Change-Id: I1fbc11dc433363b659ddba9a77e52ffd4e3968d7 Reviewed-on: https://code.wireshark.org/review/21850 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-05-25Added IEEE CID support to the make-manuf script. These prefixes are ↵Brandon Enochs1-3/+32
commonly used in IEEE 802.11 MAC address randomization. Change-Id: I94ed29d31c81df0e4f514d7c354073182c116f75 Reviewed-on: https://code.wireshark.org/review/21737 Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-05-25checkAPIs.pl: Add check to make sure tvb_get_ function isn't used in ↵Michael Mann1-2/+19
proto_tree_add_xxx Check for situations for things like proto_tree_add_uint, where the "uint" passed is a call to tvb_get_ntohl(). For that, proto_tree_add_item should be used. Change-Id: Ibe14678bd66b05f612b125ca289f671c499a2990 Reviewed-on: https://code.wireshark.org/review/21685 Petri-Dish: Anders Broman <a.broman58@gmail.com> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-05-12Windows: update LZ4 to 1.7.5 and USBPcap to 1.2.0.1Pascal Quantin1-7/+7
Change-Id: I02eb4c255a0794b650f566abdadcac16e97196af Reviewed-on: https://code.wireshark.org/review/21609 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-05-12Allow proto_register_protocol_in_name_only values to be used as valid hf_ ↵Michael Mann1-1/+2
field prefixes. Change-Id: Ic9998d1f8c6719c7cba78966691295ff9ffbc12a Reviewed-on: https://code.wireshark.org/review/21612 Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-05-11Put the HAVE_REMOTE hack into wsutil/wspcap.h, and include that file.Guy Harris1-0/+13
Have a header file that defines HAVE_REMOTE if HAVE_PCAP_REMOTE is defined, and then includes pcap.h. Replace all other includes of pcap.h, and the definition of HAVE_REMOTE, with includes of that file. Check for anything other than wspcap.h including pcap.h in checkAPIs.pl. Change-Id: I3cbee8208944ad6f006f568b3fe3134e10b2a883 Reviewed-on: https://code.wireshark.org/review/21605 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-05-09debian-setup: Always install LibgcryptBjörn Ruytenberg1-2/+2
Libgcrypt is mandatory to build. Do not mark as optional. Change-Id: Iafbe1cd93f4185e2a9492bb0a21c30a26d8883ce Reviewed-on: https://code.wireshark.org/review/21575 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2017-05-05lempar: set ParseInit/ParseFinalize staticAlexis La Goutte1-2/+2
grammar.c:471:6: warning: no previous prototype for ‘DfilterInit’ [-Wmissing-prototypes] grammar.c:646:6: warning: no previous prototype for ‘DfilterFinalize’ [-Wmissing-prototypes] dtd_grammar.c:502:6: warning: no previous prototype for ‘DtdParseInit’ [-Wmissing-prototypes] dtd_grammar.c:637:6: warning: no previous prototype for ‘DtdParseFinalize’ [-Wmissing-prototypes] Change-Id: I9c43fb4d5ad50992e8e55163333793b20319aa74 Reviewed-on: https://code.wireshark.org/review/21516 Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-05-03Add terminating NULL to lists for proto_tree_add_bitmask().Guy Harris1-0/+1
Those lists require null terminators; fix the script to add them, and re-run the script (with the current tip of the master branch for xcbproto and mesa). Change-Id: I76c156521e79753f5c19cae16e9caa031abd2496 Reviewed-on: https://code.wireshark.org/review/21471 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-05-02lemon: fix no previous prototype for ‘memory_error’ [-Wmissing-prototypes]Alexis La Goutte1-1/+1
Change-Id: I5830581c843af41f48bc9645c2be7cf35fa00391 Reviewed-on: https://code.wireshark.org/review/21463 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-26Remove runlex.sh script, just run lex directlyPeter Wu2-167/+0
This removes the need for sh (and Cygwin) on Windows to build Wireshark. runlex.sh (added in commits 5be4499a and 517d6d57) was added because older flex had quirks with its options (and the --header(-file) option was not available). The minimum required flex version for reentrant scanners (2.5.6) does not have these issues though, so remove the step. Change-Id: I73c82bb329e2130481efca94809dc60b86dcbafe Reviewed-on: https://code.wireshark.org/review/21315 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Guy Harris <guy@alum.mit.edu> Reviewed-by: Peter Wu <peter@lekensteyn.nl>