blob: 960bde80affe3e4b25d72ca164043005a4fbb6a8 (
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
|
# Created by: Kris Kennaway <kris@FreeBSD.org>
# $FreeBSD$
PORTNAME= radiusniff
PORTVERSION= 0.2
CATEGORIES= security
MASTER_SITES= http://adm.freelsd.net/ADM/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Sniffer for RADIUS traffic
BROKEN= unfetchable
WRKSRC= ${WRKDIR}/radiusniff-0.2
CFLAGS+= -DOPENBSD -DCLIENTS_FILENAME=\"${DATADIR}/clients\" \
-DDICTIONARY_FILENAME=\"${DATADIR}/dictionary\"
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/radiusniff ${WRKSRC}/radiusniff.c \
${WRKSRC}/md5.c -lpcap
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/radiusniff ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/dictionary ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/clients ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
|