2000-04-22 06:42:46 -04:00
|
|
|
# New ports collection makefile for: radiusniff
|
|
|
|
# Date created: 21 April 2000
|
|
|
|
# Whom: Kris Kennaway <kris@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= radiusniff
|
|
|
|
PORTVERSION= 0.2
|
2000-06-01 23:18:54 -04:00
|
|
|
CATEGORIES= security
|
2000-04-22 06:42:46 -04:00
|
|
|
MASTER_SITES= http://adm.freelsd.net/ADM/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= kris@FreeBSD.org
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/radiusniff-0.2
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${CC} ${CFLAGS} -DOPENBSD -DCLIENTS_FILENAME=\"${PREFIX}/share/radiusniff/clients\" -DDICTIONARY_FILENAME=\"${PREFIX}/share/radiusniff/dictionary\" -o radiusniff radiusniff.c md5.c -lpcap
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/radiusniff ${PREFIX}/bin
|
|
|
|
${MKDIR} ${PREFIX}/share/radiusniff/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dictionary ${PREFIX}/share/radiusniff/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/clients ${PREFIX}/share/radiusniff/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|