Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] master 6e6a129: CMake: Set an output dir
For now it looks like you'll have to run the executable directly, e.g.
run/Wireshark.app/Contents/MacOS/tshark.
On 1/20/15 8:45 AM, Evan Huus wrote:
> Huh, I did not even know about the latter, but it worked, I've always
> just been running run/wireshark.
>
> What's the similar trick for tshark et al so I can fuzz with plugins enabled?
>
> On Tue, Jan 20, 2015 at 11:41 AM, Gerald Combs <gerald@xxxxxxxxxxxxx> wrote:
>> Are you running Wireshark using the symlink (run/wireshark) or via "open
>> run/Wireshark.app"? We might want to convert the symlink to a shell
>> script that runs the latter.
>>
>> On 1/20/15 8:36 AM, Evan Huus wrote:
>>> And if I manually specify WIRESHARK_RUN_FROM_BUILD_DIRECTORY then it
>>> looks for plugins in run/plugins which doesn't exist.
>>>
>>> On Tue, Jan 20, 2015 at 11:34 AM, Evan Huus <eapache@xxxxxxxxx> wrote:
>>>> They are there, but I don't think Wireshark is detecting that it's
>>>> running from a build dir at all. My "global plugins" folder is set at
>>>> /usr/local/lib/wireshark/plugins/1.99.2 according to the About
>>>> dialogue.
>>>>
>>>> On Tue, Jan 20, 2015 at 11:31 AM, Gerald Combs <gerald@xxxxxxxxxxxxx> wrote:
>>>>> Where do your plugins end up? They should be in
>>>>> run/Wireshark.app/Contents/PlugIns/wireshark assuming that
>>>>> ENABLE_APPLICATION_BUNDLE is "ON".
>>>>>
>>>>> On 1/20/15 8:21 AM, Evan Huus wrote:
>>>>>> Plugins still aren't loaded on my out-of-tree MacOSX build, but I'm
>>>>>> interested in getting this working (not that I really know how)...
>>>>>>
>>>>>> On Tue, Jan 20, 2015 at 11:12 AM, Wireshark code review
>>>>>> <code-review-do-not-reply@xxxxxxxxxxxxx> wrote:
>>>>>>> URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6e6a1291d0b36fe97d0f684e1abdfe546aaeae7f
>>>>>>> Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
>>>>>>> Changed: branch: master
>>>>>>> Repository: wireshark
>>>>>>>
>>>>>>> Commits:
>>>>>>>
>>>>>>> 6e6a129 by Gerald Combs (gerald@xxxxxxxx):
>>>>>>>
>>>>>>> CMake: Set an output directory for plugins.
>>>>>>>
>>>>>>> Redefine PLUGIN_DIR similar to DATAFILE_DIR and use it on all
>>>>>>> platforms. Add WiresharkPlugin.cmake so that we can start defining common
>>>>>>> macros for plugins/*/CMakeLists.txt. Load plugins in out-of-tree builds.
>>>>>>>
>>>>>>> Change-Id: I8c1359ed3cf8a71788b8320ff89dfe2d3969def2
>>>>>>> Reviewed-on: https://code.wireshark.org/review/6640
>>>>>>> Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
>>>>>>>
>>>>>>>
>>>>>>> Actions performed:
>>>>>>>
>>>>>>> from af3924a HTTP2: Add HPACK decode to test suite
>>>>>>> adds 6e6a129 CMake: Set an output directory for plugins.
>>>>>>>
>>>>>>>
>>>>>>> Summary of changes:
>>>>>>> CMakeLists.txt | 89 ++++++++++++++++++++---------------
>>>>>>> Makefile.am | 2 +
>>>>>>> cmake/modules/WiresharkPlugin.cmake | 61 ++++++++++++++++++++++++
>>>>>>> plugins/docsis/CMakeLists.txt | 43 ++---------------
>>>>>>> plugins/ethercat/CMakeLists.txt | 43 ++---------------
>>>>>>> plugins/gryphon/CMakeLists.txt | 43 ++---------------
>>>>>>> plugins/irda/CMakeLists.txt | 43 ++---------------
>>>>>>> plugins/m2m/CMakeLists.txt | 43 ++---------------
>>>>>>> plugins/mate/CMakeLists.txt | 43 ++---------------
>>>>>>> plugins/opcua/CMakeLists.txt | 42 ++---------------
>>>>>>> plugins/profinet/CMakeLists.txt | 43 ++---------------
>>>>>>> plugins/stats_tree/CMakeLists.txt | 47 ++----------------
>>>>>>> plugins/tpg/CMakeLists.txt | 25 +++-------
>>>>>>> plugins/unistim/CMakeLists.txt | 42 ++---------------
>>>>>>> plugins/wimax/CMakeLists.txt | 43 ++---------------
>>>>>>> plugins/wimaxasncp/CMakeLists.txt | 43 ++---------------
>>>>>>> plugins/wimaxmacphy/CMakeLists.txt | 43 ++---------------
>>>>>>> wsutil/plugins.c | 10 ++--
>>>>>>> 18 files changed, 168 insertions(+), 580 deletions(-)
>>>>>>> create mode 100644 cmake/modules/WiresharkPlugin.cmake
>>>>>>> ___________________________________________________________________________
>>>>>>> Sent via: Wireshark-commits mailing list <wireshark-commits@xxxxxxxxxxxxx>
>>>>>>> Archives: http://www.wireshark.org/lists/wireshark-commits
>>>>>>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
>>>>>>> mailto:wireshark-commits-request@xxxxxxxxxxxxx?subject=unsubscribe
>>>>>> ___________________________________________________________________________
>>>>>> Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>>>>>> Archives: http://www.wireshark.org/lists/wireshark-dev
>>>>>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>>>>> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>>>>>>
>>>>>
>>>>> ___________________________________________________________________________
>>>>> Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>>>>> Archives: http://www.wireshark.org/lists/wireshark-dev
>>>>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>>>> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>>> ___________________________________________________________________________
>>> Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>>> Archives: http://www.wireshark.org/lists/wireshark-dev
>>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>>>
>>
>> ___________________________________________________________________________
>> Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>> Archives: http://www.wireshark.org/lists/wireshark-dev
>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
> ___________________________________________________________________________
> Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives: http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>