2013-09-20 22:55:24 +00:00
|
|
|
# Created by: Kris Kennaway <kris@FreeBSD.org>
|
2000-04-22 10:42:46 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= radiusniff
|
|
|
|
PORTVERSION= 0.2
|
2000-06-02 03:18:54 +00:00
|
|
|
CATEGORIES= security
|
2000-04-22 10:42:46 +00:00
|
|
|
MASTER_SITES= http://adm.freelsd.net/ADM/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2003-07-12 10:37:02 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Sniffer for RADIUS traffic
|
2000-04-22 10:42:46 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/radiusniff-0.2
|
|
|
|
|
2014-02-25 12:15:50 +00:00
|
|
|
CFLAGS+= -DOPENBSD -DCLIENTS_FILENAME=\"${DATADIR}/clients\" \
|
|
|
|
-DDICTIONARY_FILENAME=\"${DATADIR}/dictionary\"
|
|
|
|
|
2000-04-22 10:42:46 +00:00
|
|
|
do-build:
|
2014-02-25 12:15:50 +00:00
|
|
|
${CC} ${CFLAGS} -o ${WRKSRC}/radiusniff ${WRKSRC}/radiusniff.c \
|
|
|
|
${WRKSRC}/md5.c -lpcap
|
2000-04-22 10:42:46 +00:00
|
|
|
|
|
|
|
do-install:
|
2014-02-25 12:15:50 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/radiusniff ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dictionary ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/clients ${STAGEDIR}${DATADIR}
|
2000-04-22 10:42:46 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|