summaryrefslogtreecommitdiff
path: root/security/fragroute/Makefile
blob: 91b39e0af5807a072a5d0fc581dbf5adb9988e57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.11 2007/02/22 19:27:07 wiz Exp $

DISTNAME=	fragroute-1.2
PKGREVISION=	4
CATEGORIES=	security net
MASTER_SITES=	http://monkey.org/~dugsong/fragroute/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.monkey.org/~dugsong/fragroute/
COMMENT=	Tool for intercepting, modifying and rewriting egress traffic


GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--with-libdnet=${BUILDLINK_PREFIX.libdnet}
CONFIGURE_ARGS+=	--with-libevent=${BUILDLINK_PREFIX.libevent}
CONFIGURE_ARGS+=	--with-pcap=${BUILDLINK_PREFIX.libpcap}

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:
	${INSTALL_DATA_DIR} ${PREFIX}/share/fragroute
.for FILE in ${SCRIPTS}
	${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} ${PREFIX}/share/fragroute
.endfor

.include "../../net/libpcap/buildlink3.mk"
.include "../../net/libdnet/buildlink3.mk"
.include "../../devel/libevent/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"