aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
AgeCommit message (Collapse)AuthorFilesLines
2020-10-04Windows: fix WiX installerPascal Quantin1-1/+1
2020-10-03RTP: opus playbackLin Sun5-4/+18
It's possible to play opus payload with libopus (https://opus-codec.org/). Closes #16882. Helped-by: Pascal Quantin <pascal.quantin@gmail.com> Signed-off-by: Lin Sun <lin.sun@zoom.us> Signed-off-by: Yuanzhi Li <ryanlee@mail.ustc.edu.cn>
2020-10-02Clean up URLs.Guy Harris1-1/+1
Add ui/urls.h to define some URLs on various of our websites. Use the GitLab URL for the wiki. Add a macro to generate wiki URLs. Update wiki URLs in comments etc. Use the #defined URL for the docs page in WelcomePage::on_helpLabel_clicked; that removes the last user of topic_online_url(), so get rid of it and swallow it up into topic_action_url().
2020-09-28Add Metaswitch vendor-specific AVPs for DiameterBen Bass1-0/+1
2020-09-27Windows: upgrade Npcap to 1.00Pascal Quantin1-1/+1
2020-09-18macOS: Switch ChmodBPF to zsh.Gerald Combs1-3/+4
Switch the ChmodBPF script to /bin/zsh since it - Has known behavior, unlike /bin/sh, which execs whatever /private/var/select/sh points to. - Supports 'read -n 0' and other nice features. - Is unlikely to be deprecated, since it was made the default shell in Catalina[1]. - Exists in older macOS releases, unlike dash[2]. Closes #16826. [1]https://support.apple.com/en-us/HT208050 [2]https://scriptingosx.com/2020/06/about-bash-zsh-sh-and-dash-in-macos-catalina-and-beyond/
2020-08-26Windows: upgrade Npcap to 0.9997Pascal Quantin1-1/+1
2020-08-13Radius: include newly added dictionary filesPascal Quantin1-0/+2
Follow-up of g9fc4ac6cae Change-Id: I7c7fb388d4aac0f126a20d20230f837985a2846f Reviewed-on: https://code.wireshark.org/review/38143 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-08-09Windows: upgrade Npcap to 0.9996Pascal Quantin1-1/+1
Change-Id: Ia8f0f2ecada1a94c0bcdaaa5c560575ab945b002 Reviewed-on: https://code.wireshark.org/review/38098 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-07-25NSIS uninstaller: ensure the uninstaller runs with elevated privilegesGraham Bloice3-2/+48
The uninstaller should run with elevated privileges to allow deletion of files from protected directories. Modifying the uninstall script to require elevation then causes the uninstaller_installer that creates the uninstaller to also require elevation which happens at build time so defeat that by setting the env var __COMPAT_LAYER to "RunAsInvoker" before calling the uninstaller_installer. Achieving this from CMake requires a script to call to set the env var and then calling the executable. Change-Id: I056931bc4f9b41877b8f31d765d49fee11b54e39 Reviewed-on: https://code.wireshark.org/review/37955 Petri-Dish: Graham Bloice <graham.bloice@trihedral.com> Tested-by: Petri Dish Buildbot Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
2020-07-15Extcap: silent mode installChuck Craft1-26/+66
Extcap binaries are not part of default install. Normal (graphical) allows them to be selected for installation. Add flags to allow install when doing command line (silent) install. Ping-Bug: 16562 Change-Id: I6ce0fa3b46f9820dc7f66945cda963a3f629579b Reviewed-on: https://code.wireshark.org/review/37185 Petri-Dish: Roland Knall <rknall@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-07-15Assign access_bpf to GID less than 500Michael Schmitt1-2/+6
When installing ChmodBPF on macOS, assign the access_bpf group to the first free GID greater than 100, rather to the default which starts at 500. Using a GID less than 500 hides it in the System Preferences Users & Groups pane. Bug: 6402 Change-Id: I62ed63bc64cb2721880467ffd0dc290ea57c8461 Reviewed-on: https://code.wireshark.org/review/37676 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-07-14Windows: upgrade Npcap to 0.9995Pascal Quantin1-1/+1
Change-Id: Ib06b0bc5b51513c008bfa126c87590c6836913ff Reviewed-on: https://code.wireshark.org/review/37860 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-06-13Windows: upgrade Npcap to 0.9994Pascal Quantin1-1/+1
Change-Id: I96475046236312701bfa8e9b36dc55b2a72755c4 Reviewed-on: https://code.wireshark.org/review/37470 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-06-11NSIS: remove translations sub folder before styles parent folderPascal Quantin1-1/+2
Bug: 16601 Change-Id: I8abe331109fdf4287a6ee5a6d054e85aa710e559 Reviewed-on: https://code.wireshark.org/review/37447 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-06-08Windows: upgrade Npcap to 0.9993Pascal Quantin1-1/+1
Change-Id: Ibea3abb6e3938676ecaffa8279db22c9f78b81f8 Reviewed-on: https://code.wireshark.org/review/37408 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-06-05NSIS: Add styles/translations to uninstallationAlexis La Goutte1-0/+1
Bug:16601 Change-Id: I5a1ce4fb373f5eb3a88eedda3395dcb1599fbbe0 Reviewed-on: https://code.wireshark.org/review/37383 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-05-26NSIS: remove unused DisableSection and EnableSection macrosPeter Wu1-25/+0
These macros were added in commit 6e9e773a85fa for GTK1-related stuff and removed in commit 12ac5d685924 and serve no other purpose. Note that documentation for section flags can be found in https://nsis.sourceforge.io/Docs/Chapter4.html#sectionsetflags Change-Id: I6a24de8836e40e94c9a55706bdce6a64e1adb553 Reviewed-on: https://code.wireshark.org/review/37309 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-05-22Windows: upgrade USBPcap to 1.5.4.0Pascal Quantin1-1/+1
Change-Id: I1414b2f0550a8e498fbf8d688119ffc42837c0ee Reviewed-on: https://code.wireshark.org/review/37281 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Tomasz Moń <desowin@gmail.com> Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-05-05Windows: upgrade Npcap to 0.9991Pascal Quantin1-1/+1
Change-Id: I5c664a26ede1a5904d4f02a38c43af6c15dce5f9 Reviewed-on: https://code.wireshark.org/review/37152 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-04-06Windows: upgrade Npcap to 0.9990Pascal Quantin1-1/+1
Change-Id: I41fb7e78b688f6be0c3f93dafe3a651a41728288 Reviewed-on: https://code.wireshark.org/review/36727 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-03-19Windows: upgrade Npcap to 0.9989Pascal Quantin1-1/+1
Change-Id: I33b58029d2017cda090a55960089b048de7f9224 Reviewed-on: https://code.wireshark.org/review/36508 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-03-07Windows: upgrade Npcap to 0.9988Pascal Quantin1-1/+1
Bug: 16329 Change-Id: I3348049369c55bf84380d90fc699c8d1d8604c58 Reviewed-on: https://code.wireshark.org/review/36323 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-03-03macOS: Make the dmg_package target fail noisily.Gerald Combs1-0/+7
Change-Id: I479c9f13b9695d78d47b698a14cda0989724c639 Reviewed-on: https://code.wireshark.org/review/36270 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Dario Lombardo <lomato@gmail.com> Tested-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-02-26macOS: Fix a sanity check.Gerald Combs1-1/+1
Change-Id: I1ae61bcc70f5994661b88d6a3c1a93e038b6b6cf Reviewed-on: https://code.wireshark.org/review/36199 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-02-26macOS: Add a sanity check.Gerald Combs1-0/+7
Check the file permissions in our application bundle. Ping-Bug: 16407 Change-Id: I41c9dc903f764ea74b6f34a21ecb99d44bd1658f Reviewed-on: https://code.wireshark.org/review/36193 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-02-11Debian+RPM: Require QtSVG.Gerald Combs1-0/+2
Although we don't depend on any of Qt's SVG classes directly, we do use SVG icons in Preferences → Appearance → Language and QIcon loads its SVG engine dynamically. If it's not present Wireshark will still run, but the user won't see any flag icons. Require QtSVG in the Debian and RPM packaging. It's not that large (~ 400k here on Ubuntu 18.04) and ensures that we have a uniform user experience across platforms. In this particular case, if the user experience happens to be "Wireshark's UI is in a language I don't understand" the little flags can come in handy. Change-Id: If3c2e8a6040967353dbc462ee475ef12514b25f9 Reviewed-on: https://code.wireshark.org/review/36037 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-02-09RPM: fix missing qt5-linguist dependency, simplify installed packagesPeter Wu1-0/+2
Remove unnecessary Qt5SVG build dependency. Do not install Qt4 qt-devel. qt5-qtbase-devel is big, try to avoid pulling unnecessary deps. Change-Id: Id289bea10ea89de6b7a3ea77996d861ff7354560 Reviewed-on: https://code.wireshark.org/review/36058 Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-02-06macOS: Remove a version check from osx-app.sh.Gerald Combs1-1/+1
In osx-app.sh, $VERSION used to hold the minor version of the OS. We no longer set it and it's probably safe to assume that we're building on Lion or later, so remove it. Change-Id: I8e85cd7c2fe2162019c7c436b7865be95d4a33e2 Reviewed-on: https://code.wireshark.org/review/36039 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-02-04Windows: upgrade Npcap to 0.9987Pascal Quantin1-1/+1
Change-Id: I6f1fcbb49b0002a4273fea449cd7346f4f0f1f58 Reviewed-on: https://code.wireshark.org/review/36031 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-01-20RPM: fixed log sequenceJirka Novak1-1/+1
Change-Id: I0d244ff6950961219ea29f7b2c290c483e92bfd3 Reviewed-on: https://code.wireshark.org/review/35877 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2020-01-20macOS: Add a disk volume icon.Gerald Combs3-1/+107
Add a badge icon (custom removable disk icon) for our disk image volume. Change-Id: If2a88efb76061bbf72ddc9844435429d20da6183 Reviewed-on: https://code.wireshark.org/review/35867 Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-20RTP: decode iLBC payloadJirka Novak5-3/+17
It is possible to decode iLBC payload. It uses libilbc library (https://github.com/TimothyGu/libilbc). Bug: 16314 Change-Id: Id4cad7ae32305a0e94ef32beb24e07733d7f834e Reviewed-on: https://code.wireshark.org/review/35686 Reviewed-by: João Valverde <j@v6e.pt> Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-14macOS: Force-sign Sparkle's AutoUpdate.app.Gerald Combs1-0/+17
Sparkle's AutoUpdate.app has its own signature, which fails Apple's notarization requirements. Change-Id: I5fc5490a3e7ef63dd84fe59369ddd8cf42ddeff6 Reviewed-on: https://code.wireshark.org/review/35813 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-01-09NSIS: Fix a dangling output path.Gerald Combs1-0/+2
The updates to windeployqt-to-nsis.ps1 g7a09c78f12 added SetOutPath calls to qt-dll-manifest.nsh. This means we need to reset the output path before adding our translation files. Change-Id: I4b4ede72efa67cc4617aaae5baf8d38df6952df7 Reviewed-on: https://code.wireshark.org/review/35705 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-01-08NSIS: Make the licensing page match reality.Gerald Combs1-6/+5
The NSIS licensing page is centered around making the user agree to a EULA. We don't have one of those. Replace the "you must accept" and "I agree" text with something more neutral. We could alternatively omit with the licensing page altogether, but the GPL is an important aspect of the project and deserves some sort of mention. Bug: 1115 Change-Id: I5fd5beac2188b61a90c2842de7d7547aa815ff4f Reviewed-on: https://code.wireshark.org/review/35624 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2020-01-07NSIS: Build Unicode installers / uninstallers.Gerald Combs1-0/+2
Recent versions of NSIS have deprecated ANSI installers, so enable Unicode. Change-Id: I263568f83b7f96871e056ba590db300b23dbdc80 Reviewed-on: https://code.wireshark.org/review/35681 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-01-06NSIS: Don't package .pdb files.Gerald Combs4-11/+15
We run `windeployqt ... --pdbs` at build time, which means that we need to be careful not to include them in the NSIS package. Switch from using wildcards ("File ...\*") to using separate "File" commands for each file. Simplify the PDB Zip package command while we're here. Bug: 16307 Change-Id: Ibd9bcbdfdc216f1f6a067baf711bbc184845143f Reviewed-on: https://code.wireshark.org/review/35670 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2020-01-01Happy New Year 2020Stig Bjørlykke1-2/+2
Change-Id: Ic569e499d40def9397203510a121ff17a495ba9a Reviewed-on: https://code.wireshark.org/review/35616 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2019-12-19Windows: upgrade Npcap to 0.9986Pascal Quantin1-1/+1
Change-Id: I9ee3144416eb5564aa8974aeec0e33774edc7ed7 Reviewed-on: https://code.wireshark.org/review/35498 Reviewed-by: Pascal Quantin <pascal@wireshark.org> Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-12-18macOS: More ChmodBPF signing updates.Gerald Combs1-1/+1
Run osx-extras.sh before building the ChmodBPF installer package. Change-Id: Iec3f88da86e48b5aac385369c7e68f23babc4c34 Reviewed-on: https://code.wireshark.org/review/35491 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-12-18macOS: Sign the ChmodBPF script.Gerald Combs1-0/+85
Add macosx/osx-extras.sh, which can be used to sign the ChmodBPF script. Bug: 15782 Change-Id: I9929dd6db067f8bc1097faac28ab9467f5a89a82 Reviewed-on: https://code.wireshark.org/review/35481 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-12-10More Qt minimum version updates.Gerald Combs2-136/+71
Update the minimum version in various documents. Remove some no-longer-needed code from scripts that call windeployqt. Change-Id: I16da4bced9780c9f1b1969aae7c52e2fce1968aa Reviewed-on: https://code.wireshark.org/review/35391 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-12-02NSIS: The "Sshdump" option installs Ciscodump as well.Gerald Combs1-2/+2
Use consistent capitalization while we're here. Change-Id: I0591654b0e73d33528f9cfe990a1491ce6cccc8b Reviewed-on: https://code.wireshark.org/review/35278 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-11-26macOS: Switch ChmodBPF back from bash to sh.Gerald Combs1-5/+5
The default shell in macOS 10.15 is zsh[1]. Bash appears to be included for now, but it might be a good idea to start migrating away from it just in case it's removed at some point in the future. [1]https://support.apple.com/en-ca/HT208050 Change-Id: Ibe4338105d8fa1a590f84543489255ade71920d6 Reviewed-on: https://code.wireshark.org/review/35216 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-11-25macOS: Use the correct path when building our app bundle.Gerald Combs1-1/+1
Use the correct path to the Wireshark executable when finding dependencies and adding debugging symbols. Change-Id: Iefafa9d453ce60e77853f2d125769826b4d702c0 Reviewed-on: https://code.wireshark.org/review/35202 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-11-23Add c-ares to the required library list.Gerald Combs1-8/+3
Although c-ares support was techically optional, it was either on by default or required in all of our packaging. Go ahead and require it globally. C-ares is widely available and synchronous name resolution can easily result in a horrific user experience. Change-Id: Id67c797316ed6b8a0ab5052e55a43a1b9e2a2464 Reviewed-on: https://code.wireshark.org/review/35188 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-11-20NSIS: Don't run Wireshark from the installer.Gerald Combs1-2/+4
Remove the option to run Wireshark from the NSIS installer. As noted in bug 16195, this runs Wireshark as Administrator which is something we recommend against. Bug: 16195 Change-Id: I0692262a611d72d9e9f9c2131ce71cc62b4737b1 Reviewed-on: https://code.wireshark.org/review/35143 Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-11-15CMake: Work correctly without Sparkle.Gerald Combs1-1/+1
Set or clear SPARKLE_LIBRARIES and SPARKLE_INCLUDE_DIRS in FindSparkle.cmake, similar to what we do in other modules. Use them instead of SPARKLE_LIBRARY and SPARKLE_INCLUDE_DIR. Change-Id: I023c711edd6a44421aadf85413da3207d9b08e64 Reviewed-on: https://code.wireshark.org/review/35097 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-11-15macOS: Application bundle fixes.Gerald Combs2-2/+3
Copy Sparkle.framework correctly. Force signing so that we replace Sparkle's signature with ours. In osx-app.sh, don't sign a file or framework if it's already signed. Fix the osx-dmg.sh usage message while we're here. Change-Id: I697073d234958e1d8386650935a132237ad88f64 Reviewed-on: https://code.wireshark.org/review/35095 Reviewed-by: Gerald Combs <gerald@wireshark.org>