Index: head/security/fragroute/Makefile =================================================================== --- head/security/fragroute/Makefile (revision 529868) +++ head/security/fragroute/Makefile (revision 529869) @@ -1,36 +1,36 @@ # Created by: Dominic Marks # $FreeBSD$ PORTNAME= fragroute PORTVERSION= 1.2 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= security net MASTER_SITES= http://monkey.org/~dugsong/fragroute/ \ PACKETSTORM/UNIX/security MAINTAINER= ports@FreeBSD.org COMMENT= Tool for intercepting, modifying, and rewriting egress traffic LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c11 LIB_DEPENDS= libdnet.so:net/libdnet \ libevent.so:devel/libevent GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libdnet=${LOCALBASE} \ --with-libevent=${LOCALBASE} --with-pcap SCRIPTS= README.snort base-1 frag-1 frag-2 frag-3 frag-4 frag-5 \ frag-6 frag-7-unix frag-7-win32 ins-2 ins-3 tcbc-2 tcp-3 \ tcp-5 tcp-7 tcp-9 pre-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for FILE in ${SCRIPTS} ${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} ${STAGEDIR}${DATADIR} .endfor .include Index: head/security/fragroute/files/patch-mod.c =================================================================== --- head/security/fragroute/files/patch-mod.c (nonexistent) +++ head/security/fragroute/files/patch-mod.c (revision 529869) @@ -0,0 +1,11 @@ +--- mod.c.orig 2020-03-22 06:34:47 UTC ++++ mod.c +@@ -151,7 +151,7 @@ mod_close(void) + { + struct rule *rule; + +- TAILQ_FOREACH_REVERSE(rule, &rules, next, head) { ++ TAILQ_FOREACH_REVERSE(rule, &rules, head, next) { + if (rule->mod->close != NULL) + rule->data = rule->mod->close(rule->data); + TAILQ_REMOVE(&rules, rule, next); Property changes on: head/security/fragroute/files/patch-mod.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/fragroute/files/patch-pkt.h =================================================================== --- head/security/fragroute/files/patch-pkt.h (nonexistent) +++ head/security/fragroute/files/patch-pkt.h (revision 529869) @@ -0,0 +1,18 @@ +--- pkt.h.orig 2002-04-07 22:55:20 UTC ++++ pkt.h +@@ -9,10 +9,14 @@ + #ifndef PKT_H + #define PKT_H + ++#include + #include + #include + #include +-#include "queue.h" ++ ++#ifndef TAILQ_END ++#define TAILQ_END(head) NULL ++#endif + + #define PKT_BUF_LEN (ETH_HDR_LEN + ETH_MTU) + #define PKT_BUF_ALIGN 2 Property changes on: head/security/fragroute/files/patch-pkt.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property