summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authordrochner <drochner>2005-07-13 14:31:49 +0000
committerdrochner <drochner>2005-07-13 14:31:49 +0000
commit16142b29bd7b14de4ef146f6f75c8d46f9b9fc18 (patch)
tree599ec9e97ac4d35adb00237d089d44618cdca9a1 /net
parent7147731000ddf7c7558f33769d16ad27523a792d (diff)
downloadpkgsrc-16142b29bd7b14de4ef146f6f75c8d46f9b9fc18.tar.gz
update to 0.9.1
changes: Fixes for compiling on nearly every platform, including improved 64bit support MSDOS Support Add support for sending packets OpenBSD pf format support IrDA capture (Linux only) appearently filtering in ieee802_11_radio packets works now pkgsrc: enabled IPv6 for NetBSD too
Diffstat (limited to 'net')
-rw-r--r--net/libpcap/Makefile9
-rw-r--r--net/libpcap/distinfo10
-rw-r--r--net/libpcap/patches/patch-aa13
-rw-r--r--net/libpcap/patches/patch-ab12
4 files changed, 20 insertions, 24 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index 289d2deb1c1..db1f8d62933 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2005/05/22 20:08:25 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2005/07/13 14:31:49 drochner Exp $
-DISTNAME= libpcap-0.8.3
+DISTNAME= libpcap-0.9.1
SVR4_PKGNAME= lpcap
CATEGORIES= net
MASTER_SITES= http://www.tcpdump.org/release/
@@ -13,15 +13,12 @@ NOT_FOR_PLATFORM+= Interix-*-* # no raw interface access
PKG_INSTALLATION_TYPES= overwrite pkgviews
-# tarball contains invalid dir entry libpcap-0.8.3/.; breaks "first" extract
-EXTRACT_ELEMENTS= libpcap-0.8.3/./*
-
GNU_CONFIGURE= yes
USE_TOOLS+= bison gm4 lex
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" || ${OPSYS} == "NetBSD"
. if exists(/usr/include/netinet/ip6.h)
CONFIGURE_ARGS+= --enable-ipv6
. endif
diff --git a/net/libpcap/distinfo b/net/libpcap/distinfo
index 4f3308d0649..de27652123e 100644
--- a/net/libpcap/distinfo
+++ b/net/libpcap/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2005/05/30 16:46:21 yyamano Exp $
+$NetBSD: distinfo,v 1.8 2005/07/13 14:31:49 drochner Exp $
-SHA1 (libpcap-0.8.3.tar.gz) = 24de556bf3dc960ad6c9839ad936037a7c8045e5
-RMD160 (libpcap-0.8.3.tar.gz) = f50e9db9d648100cdc9fcbbecde14bfccac2b2b5
-Size (libpcap-0.8.3.tar.gz) = 302551 bytes
-SHA1 (patch-aa) = 4b0ac3ceb09302f3916a55c05f6dd505df6c086d
+SHA1 (libpcap-0.9.1.tar.gz) = e89b48ea8e32da72d276fdf9983ab0d92cfcb076
+RMD160 (libpcap-0.9.1.tar.gz) = 13a5fda8a92ada0697c2fe2ef28de9f4067ec430
+Size (libpcap-0.9.1.tar.gz) = 421812 bytes
+SHA1 (patch-ab) = d6769dd3b6467d20618b1dad3b6a817de19854f8
diff --git a/net/libpcap/patches/patch-aa b/net/libpcap/patches/patch-aa
deleted file mode 100644
index e1a413ceecb..00000000000
--- a/net/libpcap/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2005/05/30 16:46:21 yyamano Exp $
-
---- nametoaddr.c.orig 2003-11-20 03:13:48.000000000 +0900
-+++ nametoaddr.c
-@@ -390,7 +390,7 @@ pcap_ether_hostton(const char *name)
- * compile on one of 3.x or 4.x).
- */
- #if !defined(sgi) && !defined(__NetBSD__) && !defined(__FreeBSD__) && \
-- !defined(_UNICOSMP)
-+ !defined(_UNICOSMP) && !defined(__APPLE__)
- extern int ether_hostton(char *, struct ether_addr *);
- #endif
-
diff --git a/net/libpcap/patches/patch-ab b/net/libpcap/patches/patch-ab
new file mode 100644
index 00000000000..183ae53b9ab
--- /dev/null
+++ b/net/libpcap/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1 2005/07/13 14:31:49 drochner Exp $
+
+--- pcap-int.h.orig 2005-07-13 13:32:55.000000000 +0200
++++ pcap-int.h
+@@ -103,6 +103,7 @@ struct pcap_md {
+ * Ultrix, DEC OSF/1^H^H^H^H^H^H^H^H^HDigital UNIX^H^H^H^H^H^H^H^H^H^H^H^H
+ * Tru64 UNIX, and NetBSD pad to make everything line up on a nice boundary.
+ */
++#include <sys/param.h>
+ #if defined(ultrix) || defined(__osf__) || (defined(__NetBSD__) && __NetBSD_Version__ > 106000000)
+ #define PCAP_FDDIPAD 3
+ #endif