aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/macosx
AgeCommit message (Collapse)AuthorFilesLines
2016-12-06Add udpdump to the macOS package.Gerald Combs1-1/+7
Change-Id: I9d16a8291efdd564a905b2f8bc1ded4fa1aa718d Reviewed-on: https://code.wireshark.org/review/19118 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-11-18Create /etc/paths.d and /etc/manpaths.d if they don't exist.Guy Harris1-0/+8
Bug: 13152 Change-Id: I6ecfd1e3f7f10a3a63b44b0d8bf137f0b3450391 Reviewed-on: https://code.wireshark.org/review/18871 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-10-15Add the directory containing the executables to a file in /etc/paths.d.Guy Harris1-0/+7
Do for executables what we do for man pages. Change-Id: I066f0199fd6064cae21e6ad079a1f344e1002c66 Reviewed-on: https://code.wireshark.org/review/18205 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-10-05macOS: extend MANPATH for Wireshark.appUli Heilmeier1-0/+7
Modify postinstall.sh script to add file /etc/manpaths.d/Wireshark during installation. Content of the file is the current path of the Wireshark manpages. Bug: 12746 Change-Id: I1dc0dc9a2acf56c39c78c709294f1a6804c6ec5c Reviewed-on: https://code.wireshark.org/review/17916 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>
2016-07-11osx-app: small improvement in packaging script.Dario Lombardo1-10/+7
Change-Id: I484ab1b001f7fd578e734b4e006137f590a750a9 Reviewed-on: https://code.wireshark.org/review/16379 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-07-08Handle extcap binaries and the libssh upon which some depend.Guy Harris1-0/+8
Search the extcap binaries for shared libraries they require. Treat libssh specially - for some reason, when built by macosx-setup.sh (which just does a standard cmake build of libssh), libssh's shared library has just libssh.4.dylib, not {installation directory}/libssh.4.dylib, as its shared library ID, so we don't find its binary using otool -L. Bug: 12471 Change-Id: I3e5632d7520f1bbeca1a8faae3a012938ef9dee7 Reviewed-on: https://code.wireshark.org/review/16329 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-07-08osx-app.sh: add ciscodump.Dario Lombardo1-0/+4
Ping-Bug: 12471 Change-Id: I7326e43ce8b294c8065e09120d85b4743f1659a9 Reviewed-on: https://code.wireshark.org/review/16321 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-06-30Recompress PNGs.Gerald Combs2-0/+0
Recompress PNGs using the current versions of various compressors: optipng 0.7.6 advpng 1.20 advdef 1.20 pngcrush 1.8.1 Parallelize PNG compression. Note why we're not using a couple of other compression utilities. Change-Id: I52757d0bc2d424013e7f00b693a0f5378427cc31 Reviewed-on: https://code.wireshark.org/review/16209 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-06-14Don't register Wireshark for .pfx (IPFIX) files.Jeff Morriss1-2/+3
(As pointed out by Gerald) .pfx files are (more commonly) PKCS#12 files. People may be upset if we start grabbing them. Change-Id: Iecf857d082b7f2a0ad4fdd1a932332fc3c9d9498 Reviewed-on: https://code.wireshark.org/review/15886 Reviewed-by: Michael Mann <mmann78@netscape.net> 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>
2016-06-08Synchronize file type registrations from freedesktop to OS X.Jeff Morriss1-9/+117
... at least for files for which have file extensions, including the gzip'd versions of these files. Add .pkt (Savvius) file extensions to our freedesktop.org registrations. Change-Id: I0fb72909a1e9e3073451de06a64503fcfc6b57ed Reviewed-on: https://code.wireshark.org/review/15694 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2016-06-01Terminate last <dict> in Info.plistStig Bjørlykke1-0/+1
This bug was introduced in g162edec9. Change-Id: Ia7c6ab0ae35b9b0116c6c9396dfa6e5173967726 Reviewed-on: https://code.wireshark.org/review/15676 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2016-06-01Register a few more file extensions as belonging to Wireshark.Jeff Morriss1-1/+49
Register Wireshark for PacketLogger, ERF, IPFIX, and VWR files on freedesktop.org, OS X, and Windows (we were already registered for ERF and VWR files on Windows). Change-Id: I8105997cb15ea06e1c078489fd88763d4ce9e40c Reviewed-on: https://code.wireshark.org/review/15635 Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2016-04-28Register Wireshark as the reader of mplog files on freedesktop, OS X, and ↵Jeff Morriss1-0/+12
Windows. (Doing this for freedesktop.org-compliant systems requires adding a MIME type; yes, I just made the application/x-micropross-mplog MIME type up.) Change-Id: I11d8cc22571dd39984f8237d0ef995922bdfd15f Reviewed-on: https://code.wireshark.org/review/15012 Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2016-03-14OS X: Remove GTK+ packaging.Gerald Combs52-4029/+46
Remove the GTK+-specific bits from packaging/macosx. Change-Id: I8f7d909f971e60723e421005fdf46de967c69533 Reviewed-on: https://code.wireshark.org/review/14431 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-03-11OS X packaging: Remove some unused files.Gerald Combs4-1370/+0
Change-Id: Id01af6460828338bd3d0ac59e20000e93999ca7b Reviewed-on: https://code.wireshark.org/review/14424 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-02-15Build the extcap programs in the extcap directory.Guy Harris1-10/+49
That lets the version of Wireshark built with autotools find the extcap programs. Don't install the extcap programs under ${datadir} - that puts it under a share directory, and share directories are for platform-independent files, which executable images aren't (they're instruction-set dependent, hence platform-dependent). Change-Id: I992eeb984bdbe6b3476777f7114628c83df6080f Reviewed-on: https://code.wireshark.org/review/13943 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2016-02-11autotools: Add more silent build rulesJoão Valverde1-1/+1
Change-Id: I4abff8880d5b3ff439e6abc9cf3c2d17897501ea Reviewed-on: https://code.wireshark.org/review/13816 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>
2016-01-01Welcome in 2016, part 2Stig Bjørlykke1-2/+2
Change-Id: I75f87b78ecec0859d0ebecee39ec257374f86541 Reviewed-on: https://code.wireshark.org/review/12993 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2015-12-22extcap: add randpktdump, a random packet generator.Dario Lombardo1-0/+1
This new extcap is for testing and educational purpose. It relies on rankpkt-core functions to generate random packets. Change-Id: If6890f0673545682995a2079458108edc0913b30 Reviewed-on: https://code.wireshark.org/review/11764 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>
2015-11-21Fix OSX 10.5 autotools package for missing sshdumpGraham Bloice1-1/+5
Make sshdump addition to the package conditional depending on whether it is actually built. Change-Id: Ifeaa134fdb3dcd88e48ff0c796f0c21c804eba77 Reviewed-on: https://code.wireshark.org/review/12023 Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
2015-11-19osx: fix build when binary list is not fully compiled.Dario Lombardo1-1/+3
It can happen that the $binary_list contains apps that are not compiled (eg. for the lack of a lib). In this case the binary can't be added to the package. Fixed checking that the binary going to be signed is present. Change-Id: Iefd9438de972302523ba28596e905b11513a4fea Reviewed-on: https://code.wireshark.org/review/11968 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-11-19extcap: add sshdump.Dario Lombardo1-0/+1
sshdump is an extcap module that allows dumping from a remote host using an ssh connection. It goes with the existing extcap plugin interface. Change-Id: I8987614fdd817b8173a50130812bc643a4833bca Reviewed-on: https://code.wireshark.org/review/11402 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-11-10Apple calls it just "OS X" these days.Guy Harris4-6/+6
Change-Id: I98905988ceb394d27307d1cbe883d8fe95ac23e4 Reviewed-on: https://code.wireshark.org/review/11703 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-10-22Try to fix osx-app.sh bundle creation.Gerald Combs1-0/+1
Change-Id: I6d96974fae3956a017a007988a1ed145f08d4647 Reviewed-on: https://code.wireshark.org/review/11220 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-10-22osx-app.sh: Make sure we sign the Wireshark executable.Gerald Combs1-1/+1
Change-Id: Ib94bfd5fb8579d8bd824109806d340ee3e4f2f1c Reviewed-on: https://code.wireshark.org/review/11217 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-10-22osx-app.sh: Fix bundling.Gerald Combs1-2/+9
When creating a bundle using osx-app.sh (i.e. when we're using Autotools), make sure we copy androiddump to the extcap subdirectory. Change-Id: Iabb24ae969ae77856f15dd94120cc6e395311198 Reviewed-on: https://code.wireshark.org/review/11215 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-10-22osx-app.sh: Make sure we sign our binaries.Gerald Combs1-0/+16
Throw an error if we don't. Change-Id: I7967fe8903f989e6e1a1e8193fb65c6ce086595b Ping-Bug: 11620 Reviewed-on: https://code.wireshark.org/review/11213 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-10-22osx-app.sh fixups.Gerald Combs1-77/+129
For libraries, instead of prefixing dependent library paths with @executable_path/../Framework, prefix them with @rpath. This should let us load them from different directory depths. Remove any LC_RPATH not in an allowed list of prefixes. This should keep us from leaking paths specific to the build environment and user, and should make any portability problems more obvious. Add either @executable_path/../Frameworks or @executable_path/../../Frameworks as an LC_RPATH depending on which actually exists. This lets us place androiddump in the extcap subdirectory. Add error checking in a few places and make sure we detect failures in subshells. Add a macdeployqt buglink. Bug: 11620 Change-Id: I43ef02ecc6f741761fcb9827c0b0b7b2ef16fa9a Reviewed-on: https://code.wireshark.org/review/11205 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-10-01CMake: OS X packaging updates.Gerald Combs1-0/+1
Add a dmg_package_prep target as an alias to app_bundle. Rename the osx-dmg target to dmg_package. This matches the Windows packaging target names. In osx-app.sh, make sure we rpathify the bundle plugin directory. Change-Id: If41195c9d405ad6bff865625500a8227b77e8092 Reviewed-on: https://code.wireshark.org/review/10734 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-10-01OS X: Integrate CMake and osx-dmg.shGerald Combs2-8/+20
Change-Id: Ide608f5e73ecd40c67a6b1c0e16f11233cd49c9d Reviewed-on: https://code.wireshark.org/review/10694 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-07-13Crank down the log level for macdeployqt.Guy Harris1-1/+2
Adding the additional rpath in the build process appears to have fixed the problem I was trying to debug. Change-Id: I518deea67837f7e084e503b8e5ae7c3f188df3c8 Reviewed-on: https://code.wireshark.org/review/9628 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-07-13Don't treat Qt frameworks as dependencies.Guy Harris1-0/+5
macdeployqt will stuff them into the bundle for us; exclude anything in the Qt frameworks directory from the lists of dependencies for us to copy or munge. (We don't copy them correctly - that results in the underlying binary being copied to the Frameworks directory - and we leave it up to macdeployqt to do the munging.) Change-Id: I10cfb8dcb2abadde9d5c52252979267912710f80 Reviewed-on: https://code.wireshark.org/review/9627 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-07-13On OS X, add an rpath for the Qt frameworks, and remove it in the app bundle.Guy Harris1-0/+21
Qt 5.5 and later have @rpath-based install names for the frameworks, which means that, if they're not installed in some frameworks directory searched by default (such as /Library/Frameworks) - which is the default case with the Qt installer - they won't be found by default. Add the directory in which the frameworks exist as an rpath in the Wireshark binary, so that they'll be found, and then remove it from the Wireshark binary in the app bundle, as the directory in which the frameworks exist on the machine on which Wireshark was built is irrelevant to the machines on which it's being deployed - the frameworks are included in the bundle, and we already add an rpath to find them there. Change-Id: I54e033743e7b17eab26976064dcd7cd000f97c78 Reviewed-on: https://code.wireshark.org/review/9625 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-07-13Go back to using macdeployqt for now.Guy Harris1-121/+10
I have some other hammers to try it hit it with to get it to actually work with Qt 5.5. Change-Id: Ie20ccbcee62fa48f768ba22478d07b9dc18d0139 Reviewed-on: https://code.wireshark.org/review/9623 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-07-13Rpathify references to Qt frameworks separately from references to libraries.Guy Harris1-1/+37
We need to preserve the full path of the framework binary. Change-Id: I3a13eaffc07028a26fbd970db02cc1cce3fdcd5d Reviewed-on: https://code.wireshark.org/review/9621 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-07-13Copy over the entire framework and then clean it up.Guy Harris1-6/+11
That's easier than trying to carefully copy the relevant bits. Change-Id: I2f174a735bf91f6434929c25ca33aced03e19597 Reviewed-on: https://code.wireshark.org/review/9620 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-07-13Don't copy the entire framework.Guy Harris1-8/+11
Copy only the stuff needed at run time; don't bother with all the headers, etc.. Change-Id: Id9d2ec916b6742a6cb6e2ec3c0f7ed1a65a8a93c Reviewed-on: https://code.wireshark.org/review/9617 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-07-13Remove unintended removal of a / in a pathname.Guy Harris1-1/+1
Change-Id: Ibc951e418c497e915e4391258677366a077e5531 Reviewed-on: https://code.wireshark.org/review/9616 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-07-13Handle Qt 4 when looking for the Qt frameworks directory.Guy Harris1-1/+8
Do it in a loop, so we can change it to handle Qt 6 if, as, and when it comes out (assuming they label its packages as Qt6Package). Change-Id: I1d33d3e9726981b1940fb4409184c486628cb31b Reviewed-on: https://code.wireshark.org/review/9615 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-07-13Handle both @rpath/ and absolute paths in Qt framework install names.Guy Harris1-5/+5
When looking for Qt framework dependencies, look for dependencies that begin either with @rpath or with the Qt framework directory. Then, first transform @rpath/ to a path relative to the Qt framework directory, and then strip off everything past the framework directory, to get the absolute path of the framework directory (not of the framework binary - we want to copy the whole framework). In the loop looking for dependencies on things *other* than Qt frameworks, exclude Qt framework references with absolute paths from the dependencies we find; they get processed later. (We already excluded those with @rpath paths.) Change-Id: I1e345a5fb82c758d5c1541693b46cb36d2677fab Reviewed-on: https://code.wireshark.org/review/9614 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-07-13Make OS X .app bundling work with Qt 5.5.Guy Harris1-5/+75
macdeployqt doesn't actually seem to deploy any of Qt into the app bundle, probably because we're using it in a fashion they didn't intend (i.e., not doing everything with *their* build tools), so we just extend our dependency-binding stuff to handle the Qt libraries, and copy over the Qt plugins ourselves. We also add the rpaths to the executables and libraries as part of the app bundle building process; I thought it'd fix macdeployqt's problem, but it didn't, however, it's probably cleaner to do it there anyway. Change-Id: I134c2b1a32e168e82de67f0b674d17167481d69a Reviewed-on: https://code.wireshark.org/review/9612 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-05-21Include <sys/param.h> to get MAXPATHLEN.Guy Harris1-0/+1
Change-Id: Ibf40b75eb224262c4d5a571e56e2575bca787b91 Reviewed-on: https://code.wireshark.org/review/8565 Reviewed-by: Guy Harris <guy@alum.mit.edu> (cherry picked from commit eb93c661c5c5f368ee0288193cdf3a7ce7102bd7) Reviewed-on: https://code.wireshark.org/review/8567
2015-05-21Remove trailing whitespace.Guy Harris1-1/+1
Change-Id: Ibc6620f489ae5d956b03ee61dc6f08dfc0a93371 Reviewed-on: https://code.wireshark.org/review/8562 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-05-21Don't just blindly tell application X11 to do anything.Guy Harris1-43/+140
Determine what type of X11 (bundled from Apple, unbundled XQuartz) we should have and what type we do have. If we don't have any installed, don't tell X11 to do anything, as that just pops up a "where is X11?" dialog; that's information the user shouldn't need to tell the system if it is installed, and it's information for which the user shouldn't be asked if it's not installed - and if they're asked, they might answer incorrectly, leaving a system that doesn't properly launch X11 for Wireshark. (See various ask.wireshark.org questions about this, for example.) Pick up some changes from newer versions of Inkscape, such as using unsigned char *, not using FSSpecs, and adding some comments, while we're at it. Change-Id: Ic9a2b25938c4eec5628d1c16c7db28aa0714203e Reviewed-on: https://code.wireshark.org/review/8559 Reviewed-by: Guy Harris <guy@alum.mit.edu> Reviewed-on: https://code.wireshark.org/review/8561
2015-04-17Make androiddump loadable on OS X.Gerald Combs1-0/+1
Make sure the target location for extcap executables and extcap_dir match on OS X. Set the extcap directory to Contents/MacOS/extcap. The Mac Developer Library documentation doesn't explicitly define "Resources", but examples include data files and not executables. It does state that executables shouldn't go into PlugIns. Make sure we rpathify androiddump. Change-Id: If36c762e2a1991c26e5c01a870deaf191bcf9f94 Reviewed-on: https://code.wireshark.org/review/8093 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-04-12Fix the path for androiddump.Guy Harris1-1/+1
The androiddump binary ends up in the top-level source directory, not the extcap subdirectory. Change-Id: Ia306b35211b885b817802a6a22ed9dbbe07f2532 Reviewed-on: https://code.wireshark.org/review/8037 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-04-12Add missing androiddump stuffMichal Labedzki1-0/+1
Add missing androiddump stuff like: - release notes - documentation - Windows nmake support - running androiddump as a windows application instead of console on Windows - addition of androiddump to the Windows installer Change-Id: I3bc6cc70e4dc96c0cd776f3d965dd2aa0309995d Reviewed-on: https://code.wireshark.org/review/7981 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
2015-04-02Fixup our anonsvn URLs.Gerald Combs1-4/+1
Change-Id: Id18d392bf7ff948fc78b684d8222c5c3725d302a Reviewed-on: https://code.wireshark.org/review/7886 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-01-05Attempt to fix "make distcheck" on Ubuntu buildbotStephen Fisher1-2/+2
Change-Id: I6e7ea1e2aaf839fdb3af8a3a5a47aabbb12056ef Reviewed-on: https://code.wireshark.org/review/6326 Reviewed-by: Stephen Fisher <sfisher@sdf.org>
2015-01-05Get rid of some GNU make extensions so users can build withStephen Fisher1-1/+1
the make that comes with *BSD and other systems now. Change-Id: Ib2eee8d37e7029202675bac35839b1c0d5fc5131 Reviewed-on: https://code.wireshark.org/review/6320 Reviewed-by: Stephen Fisher <sfisher@sdf.org>