aboutsummaryrefslogtreecommitdiffstats
path: root/security/arpCounterattack/Makefile
blob: b25eb1424eccd8fef16cc44e5fb57f50b5fb7fd9 (plain) (blame)
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
# 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>