forked from Lainports/freebsd-ports
30 lines
703 B
Makefile
30 lines
703 B
Makefile
# Created by: Boris Kochergin <spawk@acm.poly.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= arpCounterattack
|
|
PORTVERSION= 1.2.0
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://isis.poly.edu/~bk/${PORTNAME}/ \
|
|
http://bk.macroblock.net/${PORTNAME}/
|
|
EXTRACT_SUFX= .tbz
|
|
|
|
MAINTAINER= spawk@acm.poly.edu
|
|
COMMENT= Detects and remedies ARP attacks
|
|
|
|
LIB_DEPENDS= dnet.1:${PORTSDIR}/net/libdnet
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
@if [ ! -f ${PREFIX}/etc/${PORTNAME}/${PORTNAME}.conf ]; then \
|
|
${CP} -p ${PREFIX}/etc/${PORTNAME}/${PORTNAME}.conf.sample \
|
|
${PREFIX}/etc/${PORTNAME}/${PORTNAME}.conf ; \
|
|
fi
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|