Package: libpcap0.8
Version: 0.8.3-5+kbsd
Severity: wishlist
Tags: patch

On GNU/kFreeBSD, /dev/bpf0 is not readable by users.  This patch is in upstream
BTS.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i386)
Kernel: GNU/kFreeBSD 5.3-2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages libpcap0.8 depends on:
ii  libc0.1                     2.3-1+kbsd.8 GNU C Library: Shared libraries an

-- no debconf information
--- libpcap-2005.02.06.old/configure.in 2004-12-18 00:25:36.000000000 +0100
+++ libpcap-2005.02.06/configure.in     2005-02-06 11:19:10.000000000 +0100
@@ -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

Reply via email to