update to libdnet-1.4, plus patch for pf_addr_wrap change in pfvar.h

note that your /usr/include/net/pfvar.h must be >= 1.68, or this will
not work -- ports-current tracks -current.

tag-team with Srebrenko Sehic <haver@insecure.dk>
This commit is contained in:
jsyn 2002-05-20 10:29:15 +00:00
parent 7273a819d5
commit b8d9e60c77
4 changed files with 27 additions and 7 deletions

View File

@ -1,16 +1,17 @@
# $OpenBSD: Makefile,v 1.2 2002/05/15 17:42:24 espie Exp $
# $OpenBSD: Makefile,v 1.3 2002/05/20 10:29:15 jsyn Exp $
COMMENT= "portable low-level networking library"
DISTNAME= libdnet-1.2
DISTNAME= libdnet-1.4
CATEGORIES= net
NEED_VERSION= 1.504
NEED_VERSION= 1.531
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libdnet/}
HOMEPAGE= http://libdnet.sourceforge.net/
MAINTAINER= Dug Song <dugsong@monkey.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes

View File

@ -1,3 +1,3 @@
MD5 (libdnet-1.2.tar.gz) = c8af9a4d61c7f6a73566dcd04a4bd30c
RMD160 (libdnet-1.2.tar.gz) = 35b7b2f7f3624ff5d2cf214a5e73dc64b8c33454
SHA1 (libdnet-1.2.tar.gz) = b736991c80083199f909bd3578e8808eca17619d
MD5 (libdnet-1.4.tar.gz) = 6bbe2c99d8e9e8e750d1b695e6096094
RMD160 (libdnet-1.4.tar.gz) = eadd8f3f4843e32a814ec370729dd6845348eef9
SHA1 (libdnet-1.4.tar.gz) = 364a8fa637086a91cae4386d5c7c28e09b54fd03

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-src_fw-pf_c,v 1.1 2002/05/20 10:29:16 jsyn Exp $
--- src/fw-pf.c.orig Sun Jan 20 13:23:28 2002
+++ src/fw-pf.c Mon May 13 23:54:30 2002
@@ -25,6 +25,11 @@
#include <unistd.h>
#include "dnet.h"
+
+#ifdef PF_RULE_LABEL_SIZE
+/* XXX */
+#define addr addr.addr
+#endif
struct fw_handle {
int fd;

View File

@ -1,17 +1,21 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/01/26 22:53:21 dugsong Exp $
@comment $OpenBSD: PLIST,v 1.2 2002/05/20 10:29:16 jsyn Exp $
bin/dnet-config
include/dnet.h
include/dnet/addr.h
include/dnet/arp.h
include/dnet/blob.h
include/dnet/eth.h
include/dnet/fw.h
include/dnet/icmp.h
include/dnet/intf.h
include/dnet/ip.h
include/dnet/os.h
include/dnet/rand.h
include/dnet/route.h
include/dnet/tcp.h
include/dnet/udp.h
lib/libdnet.a
man/man3/dnet.3
man/man8/dnet.8
sbin/dnet
@dirrm include/dnet