p0f usilnie chce inkludowac plik <net/bpf.h>, ktorego niestety nie ma.
jest za to pcap-bpf.h (automagicznie wklejany przez pcap.h).
commit please.

--- p0f.c.orig  2003-10-13 18:57:21.000000000 +0000
+++ p0f.c       2004-01-12 09:37:57.000000000 +0000
@@ -35,7 +35,6 @@
 #include <pcap.h>
 #include <signal.h>
 
-#include <net/bpf.h>
 #include <time.h>
 #include <ctype.h>


--- p0f.spec.orig       2003-11-03 19:48:37.000000000 +0000
+++ p0f.spec    2004-01-12 09:39:52.000000000 +0000
@@ -16,6 +16,7 @@
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 Patch0:                %{name}-DESTDIR.patch
+Patch1:                %{name}-bpf.patch
 URL:           http://lcamtuf.coredump.cx/p0f.shtml
 BuildRequires: libpcap-devel
 PreReq:                rc-scripts
@@ -41,6 +42,7 @@
 %prep
 %setup -q -n %{name}
 %patch0 -p0
+%patch1 -p0
 
 %build
 %{__make} %{name} -f mk/Linux \


-- 
If you think of MS-DOS as mono, and Windows as stereo,
  then Linux is Dolby Digital and all the music is free...
--- p0f.c.orig	2003-10-13 18:57:21.000000000 +0000
+++ p0f.c	2004-01-12 09:37:57.000000000 +0000
@@ -35,7 +35,6 @@
 #include <pcap.h>
 #include <signal.h>
 
-#include <net/bpf.h>
 #include <time.h>
 #include <ctype.h>
 
--- p0f.spec.orig	2003-11-03 19:48:37.000000000 +0000
+++ p0f.spec	2004-01-12 09:39:52.000000000 +0000
@@ -16,6 +16,7 @@
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
 Patch0:		%{name}-DESTDIR.patch
+Patch1:		%{name}-bpf.patch
 URL:		http://lcamtuf.coredump.cx/p0f.shtml
 BuildRequires:	libpcap-devel
 PreReq:		rc-scripts
@@ -41,6 +42,7 @@
 %prep
 %setup -q -n %{name}
 %patch0 -p0
+%patch1 -p0
 
 %build
 %{__make} %{name} -f mk/Linux \

__________________________________________________________
nie pytaj co inni zrobili dla pld, pomysl ile sam zrobiles

Odpowiedź listem elektroniczym