Hi! Compilation of p0f-1.8.2 fails and i get this massage: Calculating dependencies ...done! >>> emerge (1 of 1) net-analyzer/p0f-1.8.2 to / >>> md5 src_uri ;-) p0f-1.8.2.tgz >>> Unpacking source... >>> Unpacking p0f-1.8.2.tgz to /var/tmp/portage/portage/p0f-1.8.2/work >>> Source unpacked. patching file Makefile gcc -O3 -Wall -DVER=\"1.8.2\" -o p0f p0f.c -lpcap p0f.c:32:21: net/bpf.h: Nie ma takiego pliku ani katalogu make: *** [p0f] Błąd 1 !!! ERROR: net-analyzer/p0f-1.8.2 failed. !!! Function src_compile, Line 18, Exitcode 2 !!! (no error message) Ok - i use polish messages and "Nie ma takiego pliku ani katalogu" means - no such file or directory and "Błąd 1" - means Error 1. Reproducible: Always Steps to Reproduce: Just emerge p0f emerge p0f-2.0.3.ebuild works fine. this is my gcc version gcc --version gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. i have preformed emerge sync today (05.05.04).
Created attachment 34087 [details, diff] Include pcap.h instead of net/bpf.h This patch makes p0f.c include <pcap.h> instead of <net/bpf.h>. It seems to fix the problem.
Fixed 1.8.2 , 2.0.2 in portage Removed 2.0.3 patch in favor of sed.