diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2005-03-13 22:23:36 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2005-03-13 22:23:36 +0000 |
commit | de76b197d9b9281cc13b8ca14d8d4b580d0850f8 (patch) | |
tree | 0f1b93349aa958f28f460d4bfea60e5833486223 /security/fragroute | |
parent | 0fc8c612fe5dd3dd0542b51a94d2c4ca187f8521 (diff) | |
download | ports-de76b197d9b9281cc13b8ca14d8d4b580d0850f8.tar.gz ports-de76b197d9b9281cc13b8ca14d8d4b580d0850f8.zip |
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
Notes
Notes:
svn path=/head/; revision=131135
Diffstat (limited to 'security/fragroute')
-rw-r--r-- | security/fragroute/Makefile | 2 | ||||
-rw-r--r-- | security/fragroute/files/patch-tun.h | 17 | ||||
-rw-r--r-- | security/fragroute/pkg-plist | 36 |
3 files changed, 35 insertions, 20 deletions
diff --git a/security/fragroute/Makefile b/security/fragroute/Makefile index a598db3b6b42..a6fde9e1fd0c 100644 --- a/security/fragroute/Makefile +++ b/security/fragroute/Makefile @@ -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 diff --git a/security/fragroute/files/patch-tun.h b/security/fragroute/files/patch-tun.h new file mode 100644 index 000000000000..40fa1356c4d0 --- /dev/null +++ b/security/fragroute/files/patch-tun.h @@ -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); + diff --git a/security/fragroute/pkg-plist b/security/fragroute/pkg-plist index 9602a4d4cb88..2bba997cb070 100644 --- a/security/fragroute/pkg-plist +++ b/security/fragroute/pkg-plist @@ -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%% |