summaryrefslogtreecommitdiff
path: root/net/libdnet
diff options
context:
space:
mode:
authorpeter <peter@pkgsrc.org>2004-12-04 15:46:41 +0000
committerpeter <peter@pkgsrc.org>2004-12-04 15:46:41 +0000
commit33da0b70f0845185fc4771bf7df12aa15767c7b6 (patch)
treed48f84852e0d5960ba6e0aa5222e4b6dbeb2152a /net/libdnet
parent26905850c957f33abe51dcbde4a2f6c1f35c9a95 (diff)
downloadpkgsrc-33da0b70f0845185fc4771bf7df12aa15767c7b6.tar.gz
Update to 1.8 and include a patch to make it compile on systems with
a new pf(4) version. Approved by wiz. Changes: unknown
Diffstat (limited to 'net/libdnet')
-rw-r--r--net/libdnet/Makefile6
-rw-r--r--net/libdnet/PLIST4
-rw-r--r--net/libdnet/distinfo7
-rw-r--r--net/libdnet/patches/patch-aa15
4 files changed, 25 insertions, 7 deletions
diff --git a/net/libdnet/Makefile b/net/libdnet/Makefile
index 7bd7f68dc64..3e6b3025140 100644
--- a/net/libdnet/Makefile
+++ b/net/libdnet/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2004/11/26 22:51:50 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2004/12/04 15:46:41 peter Exp $
#
-DISTNAME= libdnet-1.7
+DISTNAME= libdnet-1.8
CATEGORIES= devel net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libdnet/}
@@ -11,6 +11,8 @@ COMMENT= C interface to several low-level networking routines
GNU_CONFIGURE= yes
USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+USE_LIBTOOL= yes
BUILD_DEFS+= USE_INET6
diff --git a/net/libdnet/PLIST b/net/libdnet/PLIST
index fa2592679e3..0f13dbb9725 100644
--- a/net/libdnet/PLIST
+++ b/net/libdnet/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2003/05/02 08:50:11 seb Exp $
+@comment $NetBSD: PLIST,v 1.3 2004/12/04 15:46:41 peter Exp $
bin/dnet-config
include/dnet.h
include/dnet/addr.h
@@ -15,7 +15,7 @@ include/dnet/rand.h
include/dnet/route.h
include/dnet/tcp.h
include/dnet/udp.h
-lib/libdnet.a
+lib/libdnet.la
man/man3/dnet.3
man/man8/dnet.8
sbin/dnet
diff --git a/net/libdnet/distinfo b/net/libdnet/distinfo
index 19adca98a89..292eb2fec8c 100644
--- a/net/libdnet/distinfo
+++ b/net/libdnet/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2003/05/02 08:50:11 seb Exp $
+$NetBSD: distinfo,v 1.3 2004/12/04 15:46:41 peter Exp $
-SHA1 (libdnet-1.7.tar.gz) = 1bb75c39eed7351144a3d3f664161d9cc7cf8283
-Size (libdnet-1.7.tar.gz) = 160062 bytes
+SHA1 (libdnet-1.8.tar.gz) = 23e6b40363064fa039c0f99f4897ed2a0080e206
+Size (libdnet-1.8.tar.gz) = 400246 bytes
+SHA1 (patch-aa) = 3aa72c1c751c9e42eb0de03d5b2ea5987a33e346
diff --git a/net/libdnet/patches/patch-aa b/net/libdnet/patches/patch-aa
new file mode 100644
index 00000000000..a4dcf173105
--- /dev/null
+++ b/net/libdnet/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2004/12/04 15:46:41 peter Exp $
+
+--- src/fw-pf.c.orig 2004-12-04 15:50:08.000000000 +0100
++++ src/fw-pf.c 2004-12-04 15:57:49.000000000 +0100
+@@ -29,8 +29,8 @@
+ /*
+ * XXX - cope with moving pf API
+ */
+-#if defined(DIOCRINABEGIN)
+-/* OpenBSD 3.3 */
++#if defined(DIOCRINABEGIN) || defined(DIOCXCOMMIT)
++/* OpenBSD 3.3 and higher */
+ /* $OpenBSD: pfvar.h,v 1.130 2003/01/09 10:40:45 cedric Exp $ */
+ /* $OpenBSD: pfvar.h,v 1.127 2003/01/05 22:14:23 dhartmei Exp $ */
+ # define PFRA_ADDR(ra) (ra)->addr.v.a.addr.v4.s_addr