1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/security/fragroute/Makefile
Tobias Kortkamp 948b7d0f40 net/fragroute: Unbreak on CURRENT
fragtest.c:102:39: warning: implicit declaration of function 'TAILQ_END' is invalid in C99 [-Wimplicit-function-declaration]
        for (pkt = TAILQ_FIRST(pktq); pkt != TAILQ_END(pktq); pkt = next) {
                                             ^

It was accidentally using sys/queue.h (which no longer has TAILQ_END)
instead of the bundled version.  Make this explicit and add a
definition for TAILQ_END to avoid adding more patches.
2020-03-30 08:35:23 +00:00

37 lines
903 B
Makefile

# Created by: Dominic Marks <dominic.marks@btinternet.com>
# $FreeBSD$
PORTNAME= fragroute
PORTVERSION= 1.2
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 <bsd.port.mk>