aboutsummaryrefslogtreecommitdiffstats
path: root/security/arpCounterattack/Makefile
blob: 3a3afed2da70d43770b3f9f3e0426a42d31fc228 (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
PORTREVISION=   8
CATEGORIES= security
MASTER_SITES=   http://isis.poly.edu/~bk/${PORTNAME}/ \
        http://bk.macroblock.net/${PORTNAME}/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Detects and remedies ARP attacks

LIB_DEPENDS=    libdnet.so:net/libdnet \
        libpcap.so:net/libpcap

USES=       compiler:c++11-lib tar:tbz
USE_CSTD=   c++11
USE_RC_SUBR=    ${PORTNAME}

SUB_FILES=  pkg-message

do-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/etc/arpCounterattack
    ${INSTALL_PROGRAM} ${WRKSRC}/arpCounterattack \
        ${STAGEDIR}${PREFIX}/sbin
    ${INSTALL_DATA} ${WRKSRC}/arpCounterattack.conf.sample \
        ${WRKSRC}/oui.txt ${STAGEDIR}${PREFIX}/etc/arpCounterattack

.include <bsd.port.mk>