aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-11-15macOS: Add support for automatic updates using Sparkle.Gerald Combs2-0/+23
Add support for automatic updates using the Sparkle framework. Add FindSparkle.cmake and associated CMake plumbing. Add a public key and other info to Info.plist.in. Add ui/macosx/sparkle_bridge.{h,m}, which wraps the Sparkle API. Make code that's specific to WinSparkle Windows-only. Add Sparkle installation steps to the macos-setup scripts. Sparkle prints a warning if your bundle is unsigned (which is the case during development) so disable installing it by default. Updating here takes a long time. We might be able to fix that by shipping our DSYMs separately. Change-Id: I6cc6671db5657dadc514bda6bf6e1c8bbc9468a5 Reviewed-on: https://code.wireshark.org/review/35090 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-11-12Fix name of the "remove Wireshark from PATH" package.Guy Harris1-1/+1
Bug: 16200 Change-Id: I0e9ab373eb3f7f533fe1ae9bf0448b66b4cdf522 Reviewed-on: https://code.wireshark.org/review/35056 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
2019-11-06Windows: upgrade Npcap to 0.9984Pascal Quantin2-7/+12
While we are at it, let's deactivate by default the legacy loopback adapter installation Change-Id: I4950e9dc6de8a2faeda272c03165a9f305862f6b Reviewed-on: https://code.wireshark.org/review/35004 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-11-04macOS: Remove an exit code check.Gerald Combs1-1/+1
Change-Id: I2b9d576bf6d5c49dcfa716abb00f80ea067328db Reviewed-on: https://code.wireshark.org/review/34953 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-11-04macOS: Properly sign our extra packages.Gerald Combs1-2/+13
Use productsign to sign product archives. Change-Id: I40fd329e6f2b0abc49f1b4b0247eae380de8101b Reviewed-on: https://code.wireshark.org/review/34951 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-10-10Revert "CMake: Don't install HTML manuals twice"João Valverde2-38/+38
This reverts commit f1285fcf061669702ca1accd7b2c50ebc8198993. NSIS package is broken with this commit. Change-Id: Ief22a308edad188fa2d5fab79355f19493359fa6 Reviewed-on: https://code.wireshark.org/review/34758 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde <j@v6e.pt>
2019-10-09CMake: Don't install HTML manuals twiceJoão Valverde2-38/+38
HTML docs are installed to both $docdir and $pkgdatadir. Fix that to install to $docdir only. Change-Id: I115158585b6df9170d9a01249adbc8548df91f14 Reviewed-on: https://code.wireshark.org/review/34640 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde <j@v6e.pt>
2019-10-04CMake: Include glib dlls in Windows installerTomasz Moń2-12/+50
In debug builds different glib .dll files are being used than in release builds. List all .dll files in (generated) nsis all-manifest.nsh and WiX DependentComponents.wxs guarding the debug files under BUNDLE_DEBUG_DLLS ifdef. CMake generator expression is used to include /DBUNDLE_DEBUG_DLLS parameter to MakeNSIS in debug builds. Similarly, -dBUNDLE_DEBUG_DLLS is added to WiX candle in debug builds. Change-Id: Ibfe7a640d25ba25f14bb910708ab83d0634d48db Reviewed-on: https://code.wireshark.org/review/34703 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-09-26macOS: Remove no-longer-relevant documentation.Gerald Combs1-2/+0
Change-Id: I628395a761291a105fdc1ef79ce05db0b00a4ab3 Reviewed-on: https://code.wireshark.org/review/34630 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-09-26macOS: Sign our .dmg.Gerald Combs1-0/+68
Add osx-dmg.sh back and make it a simple wrapper around dmgbuild and codesign. Change-Id: I0baa21fd971aa1b06e1a6700881cd7625dffff35 Reviewed-on: https://code.wireshark.org/review/34629 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-09-25macOS: Sign our extra packages.Gerald Combs1-0/+6
Change-Id: If2e28e4708f1d71fa4e7b549a2ba021557711d4e Reviewed-on: https://code.wireshark.org/review/34627 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-09-25macOS: Increase our .dmg compression level.Gerald Combs1-1/+1
Change-Id: I273eb5174ef92146aa48eda8a2e37a13828d73f4 Reviewed-on: https://code.wireshark.org/review/34626 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-09-25macOS: Use dmgbuild to build our .dmg.Gerald Combs3-239/+147
Scripting the Finder in order to lay out our disk image assumes that we have access to the Finder. This might not be the case on our builder, and it arguably shoudn't be. Switch from using a Bash script + AppleScript to build and lay out our .dmg to using dmgbuild, which creates our .DS_Store directly using Python's ds_store module. Change-Id: I2e4a9dd89bc8297c9cbd9df7aa8d3a44447bde85 Reviewed-on: https://code.wireshark.org/review/34623 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-09-25macOS: Disable arrange_dmg.applescript.Gerald Combs1-2/+2
arrange_dmg.applescript is failing on the macOS builder, so comment it out for now. Change-Id: Ibe7bf249623832954e9f67d241513b549dff990c Reviewed-on: https://code.wireshark.org/review/34621 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-09-25macOS: Make Wireshark.app drag-installable.Gerald Combs34-812/+323
Create ChmodBPF installer and uninstaller packages using pkgbuild and productbuild. Place them in Wireshark.app/Resources/Extras. Add a path_helper installer and uninstaller which respectively add and remove /etc/*paths.d/Wireshark. Remove the PackageMaker and utility-launcher assets and build targets. Show a message in the main welcome screen if we don't have capture permissions. Add an link which launches the ChmodBPF installer. Add a "macOS Extras" item to About → Folders. Migrate "Read me first" from RTF to Asciidoctor, which lets us add links and looks like our other documentation. Rename dmg_set_style.scpt to arrange_dmg.applescript and make it plain text. Always run it in osx-dmg.sh. Bug: 6991 Bug: 12593 Bug: 11399 Ping-Bug: 16074 Change-Id: I7b6aa89aae2be522b4141b0d44e8142dec749e90 Reviewed-on: https://code.wireshark.org/review/31047 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-09-23Add RADIUS dictionary for Aptilo Access ControllersMarcus Sundberg1-0/+1
Change-Id: I058aacf1bdb2a6151ad370ed09febe79b1886701 Reviewed-on: https://code.wireshark.org/review/34594 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-09-23rpm: use python3 to fix CentOS 7 buildsPeter Wu1-3/+2
CentOS 7 (1908) started including python3 (Python 3.6), see https://wiki.centos.org/Manuals/ReleaseNotes/CentOS7.1908 Change-Id: I6418e7839f1119cf1152f445759e92acd4f39cc4 Reviewed-on: https://code.wireshark.org/review/34593 Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-09-18macOS: Don't clobber Wireshark.app during installation.Gerald Combs1-3/+6
Removing Wireshark.app during preflight is the wrong way to ensure that we uninstall old assets. Bug: 16050 Change-Id: I39a0129e29830f8b6bc7ef228f3886db51d963ec Reviewed-on: https://code.wireshark.org/review/34542 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2019-09-05Windows: upgrade Npcap to 0.9983Pascal Quantin1-1/+1
Change-Id: I05a0eb274d8890711d47c95db1b925682baa63cd Reviewed-on: https://code.wireshark.org/review/34457 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>
2019-08-20Kafka: include zstd compression in Kafka message batchesPiotr Smolinski3-4/+16
Change-Id: I1d06486ccf7b174ee9aa621fa3d8acb8b3673777 Reviewed-on: https://code.wireshark.org/review/34222 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-08-16Windows: upgrade Npcap to 0.9982, USBPcap to 1.5.3.0 and nghttp2 to 1.39.2Pascal Quantin1-2/+2
Change-Id: I9dcff1c6714c6bbe211997195ff78537c334fdbd Reviewed-on: https://code.wireshark.org/review/34303 Petri-Dish: Pascal Quantin <pascal@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal@wireshark.org>