1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Unbreak by removing duplicate typedef that is now provided by libdnet.

Since I'm there, pet portlint.

PR:		ports/78796
Submitted by:	Johan van Selst
This commit is contained in:
Thierry Thomas 2005-03-13 22:23:36 +00:00
parent 0fc8c612fe
commit de76b197d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131135
3 changed files with 35 additions and 20 deletions

View File

@ -16,8 +16,6 @@ MASTER_SITE_SUBDIR= UNIX/security
MAINTAINER= ports@FreeBSD.org
COMMENT= A tool for intercepting, modifying and rewriting egress traffic
BROKEN= "Incompatible with (current) libdnet"
BUILD_DEPENDS= ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet \
${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent

View File

@ -0,0 +1,17 @@
Include patch below as files/patch-tun.h
--- tun.h.orig Sun Mar 13 18:32:16 2005
+++ tun.h Sun Mar 13 18:32:06 2005
@@ -9,8 +9,6 @@
#ifndef TUN_H
#define TUN_H
-typedef struct tun tun_t;
-
typedef void (*tun_handler)(void *buf, size_t len, void *arg);
tun_t *tun_open(struct addr *src, struct addr *dst, int mtu);

View File

@ -1,21 +1,21 @@
sbin/fragroute
sbin/fragtest
etc/fragroute.conf
share/fragroute/README.snort
share/fragroute/base-1
share/fragroute/frag-1
share/fragroute/frag-2
share/fragroute/frag-3
share/fragroute/frag-4
share/fragroute/frag-5
share/fragroute/frag-6
share/fragroute/frag-7-unix
share/fragroute/frag-7-win32
share/fragroute/ins-2
share/fragroute/ins-3
share/fragroute/tcbc-2
share/fragroute/tcp-3
share/fragroute/tcp-5
share/fragroute/tcp-7
share/fragroute/tcp-9
@dirrm share/fragroute
%%DATADIR%%/README.snort
%%DATADIR%%/base-1
%%DATADIR%%/frag-1
%%DATADIR%%/frag-2
%%DATADIR%%/frag-3
%%DATADIR%%/frag-4
%%DATADIR%%/frag-5
%%DATADIR%%/frag-6
%%DATADIR%%/frag-7-unix
%%DATADIR%%/frag-7-win32
%%DATADIR%%/ins-2
%%DATADIR%%/ins-3
%%DATADIR%%/tcbc-2
%%DATADIR%%/tcp-3
%%DATADIR%%/tcp-5
%%DATADIR%%/tcp-7
%%DATADIR%%/tcp-9
@dirrm %%DATADIR%%