Red Hat Bugzilla – Bug 218451
Development package to allow user plugin compilation
Last modified: 2010-01-15 13:10:04 EST
Description of problem:
Using distro packages, there is no way to compile a wireshark user plugin
without installing the source.
A wireshark-devel package would be helpful for those cases
The attached patch modifies the 0.99.4 RPM spec file. After applying this patch,
"rpmbuild -ba wireshark.spec" will also build a wireshark-devel package that
contains include files and a pkg-config definition for wireshark.
Created attachment 142840 [details]
RPM spec file patch to generate a wireshark-devel package
This was already discussed a long time ago on fedora-devel list. I'm not going
to create -devel package while every new version of wireshark(ethereal) brings
new ABI symbols and/or removes couple of them. The library is in my opinion not
mature enough to be in separate package.
The devel package is now in rawhide. There has been quite a lot of requests, so the split is here. See 1.2.4-3.fc13
Great ! It will really ease our private protocol dissector handling.
Thank you for you spec proposal. Please test the package, if it works for you. I've also moved idl2wrs to -devel and lua support.
I'm afraid this is not OK. Product evolution within the last 3 years required some additional include files for the devel package and gmodule-2.0 requirement in the pkgconfig file.
I've adapted your spec file to the current situation and I'm compiling wireshark with it (quite long on my rawhide virtual machine!). I'll test it in a few minutes and will post it here.
As a bonus gift, I've included an autoconf macro file... will post it here too.
Radek, if you need a source rpm for an external non-standard dissector for your tests, I have one. I can send it to you by e-mail. Just ask here.
Created attachment 379001 [details]
autoconf macros for wireshark-devel
Created attachment 379003 [details]
RPM spec file with -devel subpackage working
This is my last version of the spec file. It fixes the -devel subpackage and introduces the autoconf macros.
wireshark-1.2.5-2.fc12 has been submitted as an update for Fedora 12.
Thanks, I was too fast with the update. Rebuild for rawhide will be done soon.
Added to https://admin.fedoraproject.org/updates/wireshark-1.2.5-3.fc12