aboutsummaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2019-05-05make-regs.py: assume source files to be UTF-8Peter Wu1-1/+1
packet-sysex.c contains UTF-8 characters which breaks builds that do not have a UTF-8 locale. Reproduce with Python 3.6 or older using LANG=C ninja epan/dissectors/dissectors.c Change-Id: Iaa98756ee80384f415c58aef23560210e500df2f Reviewed-on: https://code.wireshark.org/review/33087 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-05-05commit-msg: Place Ping-Bug before Change-IdTomasz Moń1-1/+1
Change-Id: I8fa8609e372304370ab3bcee1c79feb883e3eff5 Reviewed-on: https://code.wireshark.org/review/33086 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-05-03CMake: Remove wsutil pcap dependencyJoão Valverde1-2/+2
Change-Id: Ic5a3653cb8bcc33e0be108c8b201567e7090f9f5 Reviewed-on: https://code.wireshark.org/review/33043 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: João Valverde <j@v6e.pt>
2019-04-30Windows: add brotli and vcpkg-export to cleanup itemsPascal Quantin1-0/+2
Change-Id: I61daf05559b1d33bea117ac6d54f16b71a224e36 Reviewed-on: https://code.wireshark.org/review/33018 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-04-23plugins: Make build status output less redundantJoão Valverde1-1/+1
Instead of repeated lines of [1771/2272] Generating plugin.c Updating plugin.c actually output the name of the target plugin. Change-Id: Iacabd5a1ddaf2820276355bf3c7a9357652e8f3d Reviewed-on: https://code.wireshark.org/review/32951 Reviewed-by: João Valverde <j@v6e.pt> Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-04-22Tools: Make a couple of scripts Python 3-only.Gerald Combs2-19/+15
Remove Python 2 support from make-services.py and update-tools-help.py. Change-Id: I1304038ca07d1d7354795f7b7faacd3747313653 Reviewed-on: https://code.wireshark.org/review/32943 Reviewed-by: Guy Harris <guy@alum.mit.edu> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-04-22Add brotli decompression support for HTTP and HTTP2 dissectors.Dániel Bakai5-1/+88
Change-Id: I9c09f55673187f6fee723fcd72798fb6b9958b03 Reviewed-on: https://code.wireshark.org/review/32745 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-04-22rpm: update rpm package dependencies and spec to work on current os versionsDániel Bakai1-3/+18
Change-Id: Iaa0bd9513869e65b96b6014d66ca3cfd917dbe64 Reviewed-on: https://code.wireshark.org/review/32938 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-04-21Update email address for Kaz Kylheku and URL for Kazlib.Guy Harris1-2/+2
Change-Id: I9365cda23e9edece327e04afc882158b87a9f273 Reviewed-on: https://code.wireshark.org/review/32920 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-04-19checkAPIs: Check for non-UTF-8 instead of non-ASCII.Gerald Combs1-2/+5
Replace our check for non-ASCII characters with one that checks for a proper UTF-8 encoding. Change-Id: I8386f5d4376b05bc10358c0d2849a214d8ff00a0 Reviewed-on: https://code.wireshark.org/review/32866 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-04-19travis: update to Qt 5.12.3 to fix Windows buildsPeter Wu2-4/+5
The Qt installer always seems to install the latest version while the version was assumed to be fixed. This configuration will likely break again with the next Qt update, but it fixes the current Windows builds. Change-Id: Icf4a8fdf10c15e6f6a6eb0451ff30662da613567 Reviewed-on: https://code.wireshark.org/review/32893 Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-04-15make-usb.py: use HTTPS URLPeter Wu1-3/+3
The linux-usb.org website seems maintained by Stephen J. Gowdy as linked from the bottom of the website, use the https version. Change-Id: Id50694735d1078df5845ae8d1ec32523d2216c68 Reviewed-on: https://code.wireshark.org/review/32856 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-04-14make-usb.py: use octal escape sequencesPeter Wu1-4/+10
Fixes errors like: epan/dissectors/usb.c:15220:42: error: hex escape sequence out of range { 0x0cad9001, "PowerPad Pocket PC\xc2\xa0Device" }, Change-Id: I8c120892c0d52aceb3f6767401e7944353495825 Fixes: v3.1.0rc0-524-g6f57aa72a8 ("Make a couple of scripts Python 3 only.") Reviewed-on: https://code.wireshark.org/review/32854 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-04-12Make a couple of scripts Python 3 only.Gerald Combs2-40/+34
Remove Python 2 support from tools/make-manuf.py and tools/make-usb.py. Don't double-escape UTF-8 sequences in make-usb.py so that we generate { 0x045e000e, "SideWinder\xc2\xae Freestyle Pro" }, instead of { 0x045e000e, "SideWinder\\xc2\\xae Freestyle Pro" }, Change-Id: I918f854ccba868a122fd7b138c1654b2c7615f94 Reviewed-on: https://code.wireshark.org/review/32839 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-04-09Windows: Use an lz4 DLL built with vcpkg.Gerald Combs1-4/+4
Update the Windows build environment to use lz4 packages built from a VS 2017 command prompt with set LZ4_VERSION=1.8.3 vcpkg remove lz4:x86-windows lz4:x64-windows vcpkg install lz4:x86-windows lz4:x64-windows vcpkg export lz4:x86-windows --output=lz4-%LZ4_VERSION%-win32ws --zip vcpkg export lz4:x64-windows --output=lz4-%LZ4_VERSION%-win64ws --zip The packages also include a PDB, so copy it to the build directory and add it to the PDB .zip. Change-Id: Icea512405d2085e5b271fa4a3ba8c0fe318b8cb5 Reviewed-on: https://code.wireshark.org/review/32785 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-04-05Gen-bugnote: Replace multiple instances where needed.Gerald Combs1-4/+4
Change-Id: Ic0d8ec3604ce6a31b68ef265cd5337b0565b8a24 Reviewed-on: https://code.wireshark.org/review/32740 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-04-04asn2wrs: Improve filtername of named bits.Anders Broman1-2/+7
Change-Id: Ie22137e95c8752a0783e3e9ff99b45c0b79b0d4a Reviewed-on: https://code.wireshark.org/review/32714 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-04-04PER: Use proto_tree_add_bitmask... () for named bits.Anders Broman1-3/+3
Change-Id: I2f4258e2f4fd11c26bdc101e1375d0b5708610b7 Reviewed-on: https://code.wireshark.org/review/32713 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-04-04epan: Convert our PROTO_ITEM_ macros to inline functions.Gerald Combs2-2/+2
Convert our various PROTO_ITEM_ macros to inline functions and document them. Change-Id: I070b15d4f70d2189217a177ee8ba2740be36327c Reviewed-on: https://code.wireshark.org/review/32706 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-04-03Quiet output of make-version.plMoshe Kaplan1-9/+17
Change-Id: Iefd53ad630f1dabc154c5b5a940e58288a91aa6e Reviewed-on: https://code.wireshark.org/review/32623 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-04-03ASN.1: Use proto_tree_add_bitmask... () for named bits.Anders Broman1-13/+31
Change-Id: Ied0c91ea070ee76603e7ecb29d874e0c1a65892e Reviewed-on: https://code.wireshark.org/review/32684 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-04-02Windows: upgrade USBPcap to 1.3.0.0 and Npcap to 0.992Pascal Quantin1-6/+6
Change-Id: Ie27c2cb36dc90a20851f1e2c53c1af2220465a39 Reviewed-on: https://code.wireshark.org/review/32678 Reviewed-by: Pascal Quantin <pascal@wireshark.org> Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-03-31travis: fix missing msbuild output on WindowsPeter Wu1-32/+56
For some reason the CMake output to Python is missing, no matter how hard I try. Use an alternative approach instead where Python executes CMake and filters the output without relying on pipes in Bash. Change-Id: I21b8b709c3a944fbd3b07e7fac59702735dd83a4 Reviewed-on: https://code.wireshark.org/review/32628 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-03-18Windows: Switch to Npcap 0.991.Gerald Combs1-2/+2
Change-Id: I4f5d82bf0d205b9410db2098abe64dde1a33b21d Reviewed-on: https://code.wireshark.org/review/32473 Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-03-18Windows: Start using a `vcpkg export` bundle.Gerald Combs1-8/+4
Create a library bundle using `vcpkg export ... --zip` as described at https://vcpkg.readthedocs.io/en/latest/users/integration/#export-command. The bundle includes the following packages: gettext 0.19-8 glib 2.52.3-13 libffi 3.1-4 libiconv 1.15-5 liblzma 5.2.4 libxml2 2.9.9-4 pcre 8.41-1 zlib 1.2.11-5 It also includes a CMake toolchain file which we might want to make use of in the future. This means we no longer compile Zlib locally. Update the CMake environment accordingly and remove zlib from win-setup.ps1. It includes PDBs, so add them to the PDB .zip. Change-Id: I0a94904a86d836e990019dab62af506573be1f35 Reviewed-on: https://code.wireshark.org/review/31377 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-03-14Add -G Ninja to macos-setup.shJim Young1-1/+2
Let's suggest using cmake's Ninja generator if we're going to suggest using ninja. Change-Id: Ibc48bf0e2039c2bbc0d11d7b194bc7094c1e0ebf Reviewed-on: https://code.wireshark.org/review/32399 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-02-25macos-setup: Update our GMP build flags.Gerald Combs1-1/+2
Configure GMP with --enable-fat. Neither --with-libgcrypt nor --without-p11-kit appear to be supported, so don't pass those flags. Change-Id: Ib96e805064b95be72d5fa3bd28057a5092064d8a Reviewed-on: https://code.wireshark.org/review/32190 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-02-23Fix liblzma, liblz4, and libssh builds with minimum deployment version and SDK.Guy Harris1-4/+14
liblzma is used by libxml2, which is used by libwireshark, so we need it. It's build by xz, so we need to do the xz build with the minimum-version and SDK flags. liblz4 does its builds in its own unique way; it appears we need to set MOREFLAGS to include the relevant flas. libssh is built with CMake, so you have to do special magic to set the SDK path; do it by running cmake with the MACOSX_DEPLOYMENT_TARGET and SDKROOT environment variables. Change-Id: Ia588632e5047c4a8a22fe6ef3a0844cfe7722df2 Reviewed-on: https://code.wireshark.org/review/32171 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-22Install Qt 5.12.1 by default.Michael Tuexen1-2/+2
Change-Id: I0d6462e6e9593198a77ccaeb6db630dffa0ae625 Reviewed-on: https://code.wireshark.org/review/32164 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-22Add -D_FORTIFY_SOURCE=0 for C++ if we're using it for C.Guy Harris1-4/+4
Change-Id: Ideaba2faaa7b968947f7af90b41c40a8edb4d3c2 Reviewed-on: https://code.wireshark.org/review/32160 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-22Set CXXFLAGS and LDFLAGS for all libraries.Guy Harris1-9/+9
If a minimum version number is specified, we need them all built with that and with the selected SDK. Change-Id: I84b98c67c64da12d3a3b234a41991675a71aeb82 Reviewed-on: https://code.wireshark.org/review/32156 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-22Get rid of extra space between environment variable settings.Guy Harris1-2/+2
Change-Id: Ie200d728f4c98f37ad71a62218b82767cef660b2 Reviewed-on: https://code.wireshark.org/review/32152 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-22Get rid of duplicate setting of CFLAGS.Guy Harris1-1/+1
Change-Id: I6f46f6827d66fec58d43195a95888c9d8adf245a Reviewed-on: https://code.wireshark.org/review/32146 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-02-16ASN1: Also show root node for exports.Martin Mathieson1-4/+11
For now, only apply to nr-rrc. Change-Id: I9be4bc5c3af33acad76c0a24ac04547e5f302c73 Reviewed-on: https://code.wireshark.org/review/32058 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2019-02-15html2text: Fix our footnotes.Gerald Combs1-1/+1
Print <number>: <url> instead of <number>: <number>. Change-Id: I55fd668c8d5870dbd43868e91f9299d5d5580b3f Reviewed-on: https://code.wireshark.org/review/32048 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-02-15travis: fold msbuild output to remain below the 10k line limitPeter Wu1-0/+41
Fold messages by overwriting the same line via a carriage return), similar to Ninja. The full log will still contain all messages. Change-Id: I89cc7d10147ebd21f22d40c8d2c4481b1dd2ab56 Reviewed-on: https://code.wireshark.org/review/32024 Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-02-15travis: improve cache handling on WindowsPeter Wu1-0/+86
The Travis casher Bash implementation for Windows has bugs. The workarounds only slow down the build further. Given the lack of feedback on the casher bugs from Travis CI, let's try to improve it. Hopefully this will avoid stalls during the cache step. The "cd .." and "cd build" hack is required due to an annoying bug: https://travis-ci.community/t/caching-is-broken-after-directory-changes/2279 Change-Id: Iae62aa7e9ef78815d240b91199acfe21549c1af7 Reviewed-on: https://code.wireshark.org/review/32023 Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-02-15travis: avoid aborting the build on slow Qt installationsPeter Wu2-0/+73
Periodically report the installation status to avoid aborting the installation on slow Qt installations (possibly due to slow network?). Change-Id: I6b8b8db49f2268d557a5ca2e7b1f08b6ea801fd9 Reviewed-on: https://code.wireshark.org/review/32022 Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-02-15Rename our .asciidoc files to .adocGerald Combs1-3/+3
As noted in "AsciiDoc Recommended Practices" at https://asciidoctor.org/docs/asciidoc-recommended-practices/, the AsciiDoc/Asciidoctor community seems to have settled on ".adoc" as a file extension and that's the one preferred by the Asciidoctor project. Update our filenames to match. Change-Id: I2d352623d42d65d950b64310c3655b0fd177ee8c Reviewed-on: https://code.wireshark.org/review/32037 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-02-08Windows: Upgrade Kerberos to 1.17-1.Gerald Combs1-7/+6
Rebuild with NODEBUG=1. Bug: 15491 Change-Id: I58764c40557c3b148c928d0460cb5d458147f52c Reviewed-on: https://code.wireshark.org/review/31936 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-02-06Windows: Upgrade Kerberos to 1.17.Gerald Combs1-4/+4
Recent versions of Kerberos are much easier to compile on Windows. Switch to version 1.17, compiled with Visual Studio 2017 and linked with the Universal CRT. Change-Id: I393d51666cd13255ee1419f2164d7fa59fe1c5cb Reviewed-on: https://code.wireshark.org/review/31919 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-02-04make-version.pl: Fix version variable checks.Gerald Combs1-3/+3
Use "defined" instead of checking the variable's value (which might be zero). Change-Id: Id24aa25971f73526761c9821846ac0abcf252978 Reviewed-on: https://code.wireshark.org/review/31882 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-02-04For ASN.1-based protocols, make sure protocol filter will match.Martin Mathieson1-1/+11
This is optional, and enabled by setting PROTO_ROOT_NAME to the name of the item in the OPT section of the .cnf file. For now, setting only in nr-rrc. Change-Id: Ibe96c7de982af0346af90bc0e095f20d1a7ac506 Reviewed-on: https://code.wireshark.org/review/31876 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2019-01-23Windows: upgrade Npcap to 0.99-r9Pascal Quantin1-4/+4
Change-Id: Ie2b90a448415d7b8637aac03cee07fa9e5ab217f Reviewed-on: https://code.wireshark.org/review/31691 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2019-01-18Windows: upgrade libxml2 to 2.9.9Pascal Quantin1-5/+5
Change-Id: I0496974b09e9183879e2f1421e69aab06040d23a Reviewed-on: https://code.wireshark.org/review/31585 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2019-01-18macos-setup.sh: Bump our libxml2 version.Gerald Combs1-1/+1
Libxml2 2.9.9 was recently released and fixes a couple of security flaws. Change-Id: I59865a35c97e05d7bf41ca9b7688c3dd89507a66 Reviewed-on: https://code.wireshark.org/review/31578 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-17make-version.pl: Add a comment about version.h.Gerald Combs1-0/+3
Note that we might want to give CMakeLists.txt the ability to generate version.h independently. Change-Id: I4864504790aee4c40805f5ae3584db027a2762f5 Reviewed-on: https://code.wireshark.org/review/31569 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-01-15make-version.pl updates.Gerald Combs1-152/+185
Read our major, minor, and micro versions from CMakeLists.txt. Add the ability to set our extra version information differently if our Git commit is tagged or untagged. Change our extra version placeholder from "%#" to "{vcsinfo}". Add --tagged-version-extra (-t) and --untagged-version-extra (-u) arguments for specifying the tagged and untagged extra formats. Add --force-extra (-f) so that we can force one format or the other. Require the major.minor.micro version to be specified when using --set-version (-v). Update appveyor.yml and the Developer's Guide to match the new behavior. Change-Id: I6e5d55470aff7e7c61e75f208e24c4105276905a Reviewed-on: https://code.wireshark.org/review/31479 Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-01-14Windows: Use a c-ares DLL built with vcpkg.Gerald Combs1-4/+4
Update the Windows build environment to use c-ares packages built from a VS 2017 command prompt with set CARES_VERSION=1.15.0 vcpkg install c-ares:x86-windows c-ares:x64-windows vcpkg export c-ares:x86-windows --output=c-ares-%CARES_VERSION%-win32ws --zip vcpkg export c-ares:x64-windows --output=c-ares-%CARES_VERSION%-win64ws --zip The packages also include a PDB, so copy it to the build directory and add it to the PDB .zip. Change-Id: I1887ca89d897bea184144315219b366096519961 Reviewed-on: https://code.wireshark.org/review/31376 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-01-14RPM: remove dependency on the which utilityPeter Wu1-6/+8
It is not necessary to know the full path to a program. Instead use the 'type' shell builtin (part of POSIX) to detect availability. Change-Id: Id68b298625d389a1f7843f52f56312bf81d97b80 Reviewed-on: https://code.wireshark.org/review/31540 Reviewed-by: Peter Wu <peter@lekensteyn.nl>