summaryrefslogtreecommitdiff
path: root/devel/libnet
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-03-25 17:52:32 +0000
committeradrianp <adrianp@pkgsrc.org>2005-03-25 17:52:32 +0000
commit11db00e14875d37dd08cbed0e730f5fadab82f7a (patch)
tree5aeb86f918cf2cacfcbff5822bf1ff0267d124ae /devel/libnet
parent9ed59b1d46d9165250845ceb18ba23e5352fb2e7 (diff)
downloadpkgsrc-11db00e14875d37dd08cbed0e730f5fadab82f7a.tar.gz
- Fix for systems where /dev/bpf is present but not /dev/bpf0
- Bumb to nb5 - Issue spotted and patch provided by Jukka Salmi in PR# 29678 Thanks for the PR and patch.
Diffstat (limited to 'devel/libnet')
-rw-r--r--devel/libnet/Makefile4
-rw-r--r--devel/libnet/distinfo3
-rw-r--r--devel/libnet/patches/patch-ac22
3 files changed, 26 insertions, 3 deletions
diff --git a/devel/libnet/Makefile b/devel/libnet/Makefile
index 2f3abbe7abc..645b16dfaec 100644
--- a/devel/libnet/Makefile
+++ b/devel/libnet/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2005/01/20 21:17:48 adrianp Exp $
+# $NetBSD: Makefile,v 1.22 2005/03/25 17:52:32 adrianp Exp $
#
DISTNAME= libnet-1.0.1b
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= devel net
MASTER_SITES= http://www.packetfactory.net/libnet/dist/
diff --git a/devel/libnet/distinfo b/devel/libnet/distinfo
index b250353908c..f98db2ef0c8 100644
--- a/devel/libnet/distinfo
+++ b/devel/libnet/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 22:24:19 agc Exp $
+$NetBSD: distinfo,v 1.5 2005/03/25 17:52:32 adrianp Exp $
SHA1 (libnet-1.0.1b.tar.gz) = 799d14bbc6ec909fb5fc9d7ac5183224f6c84ef5
RMD160 (libnet-1.0.1b.tar.gz) = f66e279ad3d700e975174f4051d109c0d7c9d574
Size (libnet-1.0.1b.tar.gz) = 233325 bytes
SHA1 (patch-aa) = 876755183045f277dd7c113cf1e8c591063058af
SHA1 (patch-ab) = 2bb117012b2a7e775b358e4dad6ae67757f5eb1f
+SHA1 (patch-ac) = b956e06d78ab77ad2ea461706daa9c42a8a9c00a
diff --git a/devel/libnet/patches/patch-ac b/devel/libnet/patches/patch-ac
new file mode 100644
index 00000000000..d9c9bcf9975
--- /dev/null
+++ b/devel/libnet/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1 2005/03/25 17:52:32 adrianp Exp $
+
+--- configure.orig 2005-03-25 17:38:37.000000000 +0000
++++ configure
+@@ -1209,7 +1209,7 @@ fi
+ echo $ac_n "checking low-level packet interface type""... $ac_c" 1>&6
+ echo "configure:1211: checking low-level packet interface type" >&5
+
+-if test -r /dev/bpf0 ; then
++if test -r /dev/bpf0 -o -r /dev/bpf ; then
+ LL_INT_TYPE=bpf
+ echo "$ac_t""found bpf" 1>&6
+ elif test -r /usr/include/net/pfilt.h ; then
+@@ -1340,7 +1340,7 @@ fi
+
+
+ fi
+-elif test -c /dev/bpf0 ; then # check again in case not readable
++elif test -c /dev/bpf0 -o -c /dev/bpf ; then # check again in case not readable
+ LL_INT_TYPE=bpf
+ echo "$ac_t""found bpf" 1>&6
+ elif test -c /dev/enet ; then # check again in case not readable