Wireshark-dev: Re: [Wireshark-dev] Creating a Wireshark installer with my dissector in it

From: Brian Oleksa <oleksab@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 10 Jun 2010 15:37:18 -0400
Martin

I was able to configure a couple of things to move forward...but I get the following error....and it does not tell me
where the error is at.

make rpm-package

error: line 8: Illegal char '-' in version: Version:   1.2.3-SVN-26844
make  ***  [rpm-package] Error 1

Looks pretty easy to fix...but just not sure where to fix it.

Would anybody know what file this is being generated at..??

Thanks,
Brian



Martin Mathieson wrote:
I used it recently with good success.

You may need to set the configure options in packaging/rpm/SPECS/wireshark.spec.in <http://wireshark.spec.in>.
Martin

On Wed, Jun 9, 2010 at 11:27 PM, Jaap Keuter <jaap.keuter@xxxxxxxxx <mailto:jaap.keuter@xxxxxxxxx>> wrote:

    Hi,

    Assuming the RPM packaging software is available:
    $ make rpm-package

    Personally I don't have experience with RPM packaging, so I'm not
    aware of the
    status of RPM support. But there have not been complaints, so I
    expect it to work.

    Thanks,
    Jaap

    On 06/10/2010 12:10 AM, Brian Oleksa wrote:
    >
    > Japp
    >
    > I searched the README.plugins directory for "rpm" and did not
    find anything.
    >
    > How would one create an rpm-package..??
    >
    > Thanks,
    > Brian
    >
    >
    >
    > Jaap Keuter wrote:
    >> Hi,
    >>
    >> Depends on the kind of package you want to create.
    >> Following targets exist:
    >> rpm-package
    >> debian-package
    >>
    >> Thanks,
    >> Jaap
    >>
    >> On 06/09/2010 10:45 PM, Brian Oleksa wrote:
    >>
    >>> Gerald  /  All
    >>>
    >>> I got it to work. This is what I was missing.
    >>>
    >>>     Add
    >>>
    >>>             File "..\..\plugins\xxx\xxx.dll"
    >>>
    >>>     to the list of "File" statements in the "Dissector Plugins"
    >>>     section in packaging/nsis/wireshark.nsi.
    >>>
    >>>
    >>> *NEXT QUESTION....*
    >>> Can an installer be made for Linux as well...??
    >>>
    >>>
    >>> Thanks,
    >>> Brian
    >>>
    >>>
    >>>
    >>>
    >>> Gerald Combs wrote:
    >>>
    >>>> Brian Oleksa wrote:
    >>>>
    >>>>
    >>>>> All
    >>>>>
    >>>>> I have created a wireshark dissector and it works great.
    When I am out
    >>>>> in the field I like to use this dissector. But first I have
    to install
    >>>>> wireshark on each laptop then drop my .dll in the plugins
    directory.
    >>>>> I am just trying to cut out a step and create the installer
    with my
    >>>>> dissector in place but I cannot get it to work. I can
    successfully
    >>>>> create the installer... but my dissector is not included in it.
    >>>>>
    >>>>> I have followed the instructions on this site (section 2.2.13).
    >>>>>
    http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html
    >>>>>
>>>>> My checked out wireshark code is in: c:\wireshark\trunk and my
    >>>>> plugin is in the plugins directory with all the other plugins:
    >>>>> C:\wireshark\trunk\plugins
    >>>>>
    >>>>> When I run the following
    >>>>>
    >>>>> C:\wireshark\trunk>nmake -f Makefile.nmake packaging
    >>>>>
    >>>>> I get NO errors and it does indeed create the installer in
    the following
    >>>>> directory    C:\wireshark\trunk\packaging\nsis
    >>>>>
    >>>>> But it does NOT include my dissector when I install it.
    >>>>>
    >>>>> I have edited the Makefile.nmake in the nsis directory to
    include my
    >>>>> plugins .dll file (but that didn't work)
    >>>>>
    >>>>> I have also edited the Makefile.nmake in the plugins
    directory to
    >>>>> include my plugins .dll file (but that didn't work either).
    >>>>>
    >>>>> Does anybody know WHY this is not working..??
    >>>>>
    >>>>>
    >>>> Have you added your plugin to packaging/nsis/custom_plugins.txt?
    >>>>
    >>>>
    >>>>

    ___________________________________________________________________________
    Sent via:    Wireshark-dev mailing list
    <wireshark-dev@xxxxxxxxxxxxx <mailto:wireshark-dev@xxxxxxxxxxxxx>>
    Archives:    http://www.wireshark.org/lists/wireshark-dev
    Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
                mailto:wireshark-dev-request@xxxxxxxxxxxxx
    <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