|
Hi, I am trying to build a rpm for my modified wireshark source code version 1.8.0rc2. is there any steps on website where I can loop up inorder to generate rpm package? Regards, Kerol |
|
Currently I'm aware of The Developers Guide as the only source of information on it. Another source is the Fedora Core build files. I guess CentOS has something similar, I just never looked it up. |
|
Well, first you need to get a wireshark.spec file. When I went through this exercise recently I think I started with the CentOS 6 spec file (which you can get out of their SRPM--source rpm) and modified it until it could build a usable RPM with Wireshark (at the time) 1.8.0. The actual building of the RPM is done by:
Yes, it's on my list to update Wireshark's .spec file (in packaging/rpm/SPECS/) so it's easier to use or more up to date or something. (I'd give you my .spec file but it's got a lot of my private stuff in there which would probably cause more confusion than help. If I do get it cleaned up, I'll put it in Wireshark's repository.) BTW, I'd suggest not using 1.8.0rc2: that's a Release Candidate. The current version is 1.8.2. Thanks mate. I am doing for homework purpose so whichever release it is , doesnt matter that much to me. Here is what I have done for Cent OS 6.2 I found the spec file in wireshark-root-dir/packaging/rpm/SPECS/wireshark.spec modified it and installed libqt4-dev libtool openssl-devel then from wireshark-root-dir ran ./configure make rpm-package and it will build new rpm based on spec file. :)
(17 Aug '12, 11:38)
kerolkarper
|
