Description of problem: The file 'include/pcap-int.h' is missing from the libpcap-devel RPM. This file includes the defintiion of the 'struct pcap' structure, as well as functions such as pcap_read() which are exported in the library archive file. The libpcap-devel RPM is of little use without the 'include/pcap-int.h' file. The RPM can be fixed by adding an install command for 'pcap-int.h' to the 'install:' target of the file 'Makefile.in'. Version-Release number of selected component (if applicable): libpcap-0.9.8-2.fc9.src.rpm How reproducible: Every time on install. Steps to Reproduce: 1. Install libpcap-devel RPM 2. Look for /usr/include/pcap-int.h 3. Find that it is missing Actual results: The file '/usr/include/pcap-int.h' is missing. Expected results: The file 'pcap-int.h' should be installed into the directory '/usr/include'. Additional info: See also http://lists.apple.com/archives/darwin-dev/2004/Sep/msg00042.html
Created attachment 307379 [details] Two patchfiles for installing pcap-int.h
Comment on attachment 307379 [details] Two patchfiles for installing pcap-int.h Set MIME to correct type for .tgz file.
pcap-int.h describes internal structures that are not supposed to be visible from client applications. It can change without changing library soname, so an application using that information could fail when the package is upgraded. Other programs like tcpdump, arpwatch, wireshark build fine without it. Why exactly do you need it?
Specifically I need the function prototype for pcap_read(), which is exported to the libpcap library file. In order to use pcap_read() I also need the definition for 'struct pcap_t'.
pcap_dispatch() does the same as pcap_read() and it's exported. Please see the pcap(3) man page for more information.
sorry folks, dont have much knowledge on fedora. how can i apply that patch?