freebsd-ports/security/ipguard/Makefile
Sergey Matveychuk 7de2a18811 ipguard listens network for ARP packets. All permitted MAC/IP pairs
listed in 'ethers' file. If it recieves one with MAC/IP pair, which is
not listed in 'ethers' file, it will send ARP reply with configured
fake address. This will prevent not permitted host to work properly
in this ethernet segment. Especially Windows(TM) hosts.

PR:		ports/84627, ports/85671
Submitted by:	SeaD <sead@mail.ru>
2005-09-03 18:51:19 +00:00

36 lines
847 B
Makefile

# New ports collection makefile for: ipguard
# Date created: 2 Sep 2005
# Whom: SeaD
#
# $FreeBSD$
#
PORTNAME= ipguard
PORTVERSION= 0.04
CATEGORIES= security net
MASTER_SITES= http://ipguard.deep.perm.ru/files/
MAINTAINER= sead@mail.ru
COMMENT= Tool designed to protect LAN IP adress space by ARP spoofing
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
MAN8= ipguard.8
ETHERS?= /etc/ethers
MAKE_ARGS+= ETHERS=${ETHERS}
SUB_FILES= pkg-message
SUB_LIST= ETHERS=${ETHERS}
PKGMESSAGE= ${WRKDIR}/pkg-message
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ipguard ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/doc/ipguard.8 ${MANPREFIX}/man/man8
${INSTALL_SCRIPT} ${WRKSRC}/doc/ipguard.sh.sample ${PREFIX}/etc/rc.d
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>