Hi,
As promised, please find attached an updated patch for this bug. Changes
from the previous one are the following:
- Also fix the BPF detection in configure, so that autoconf does not
have to be rebuilt.
- Build-Conflicts with libpcap0.7-dev. As this package provides
/usr/include/net/bpf.h, the detection is false on a Linux system with
libpcap0.7-dev.
Bye,
Aurelien
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian GNU/Linux developer | Electrical Engineer
`. `' [EMAIL PROTECTED] | [EMAIL PROTECTED]
`- people.debian.org/~aurel32 | www.aurel32.net
diff -u libpcap0.8-0.8.3/debian/control libpcap0.8-0.8.3/debian/control
--- libpcap0.8-0.8.3/debian/control
+++ libpcap0.8-0.8.3/debian/control
@@ -4,6 +4,7 @@
Maintainer: Romain Francoise <[EMAIL PROTECTED]>
Uploaders: Torsten Landschoff <[EMAIL PROTECTED]>
Build-Depends: debhelper (>= 4), flex, bison, dpatch, perl
+Build-Conflicts: libpcap0.7-dev
Standards-Version: 3.6.1.0
Package: libpcap0.8-dev
only in patch2:
unchanged:
--- libpcap0.8-0.8.3.orig/configure
+++ libpcap0.8-0.8.3/configure
@@ -3811,7 +3811,7 @@
echo $ECHO_N "checking packet capture type... $ECHO_C" >&6
if test ! -z "$with_pcap" ; then
V_PCAP="$withval"
-elif test -r /dev/bpf0 ; then
+elif test -r /dev/bpf0 || test -r /usr/include/net/bpf.h ; then
V_PCAP=bpf
elif test -r /usr/include/net/pfilt.h ; then
V_PCAP=pf
only in patch2:
unchanged:
--- libpcap0.8-0.8.3.orig/configure.in
+++ libpcap0.8-0.8.3/configure.in
@@ -70,7 +70,7 @@
AC_MSG_CHECKING(packet capture type)
if test ! -z "$with_pcap" ; then
V_PCAP="$withval"
-elif test -r /dev/bpf0 ; then
+elif test -r /dev/bpf0 || test -r /usr/include/net/bpf.h ; then
V_PCAP=bpf
elif test -r /usr/include/net/pfilt.h ; then
V_PCAP=pf