p0f.spec

Paweł Sikora pluto at ds14.agh.edu.pl
Mon Jan 12 10:53:09 CET 2004


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...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p0f-bpf.patch
Type: text/x-diff
Size: 220 bytes
Desc: not available
URL: </mailman/pipermail/pld-devel-pl/attachments/20040112/a6b1c7f6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p0f.spec.diff
Type: text/x-diff
Size: 443 bytes
Desc: not available
URL: </mailman/pipermail/pld-devel-pl/attachments/20040112/a6b1c7f6/attachment-0001.bin>


More information about the pld-devel-pl mailing list