1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/security/radiusniff/Makefile

29 lines
750 B
Makefile
Raw Normal View History

# 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
2003-07-12 10:37:02 +00:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Sniffer for RADIUS traffic
WRKSRC= ${WRKDIR}/radiusniff-0.2
2014-02-25 12:15:50 +00:00
CFLAGS+= -DOPENBSD -DCLIENTS_FILENAME=\"${DATADIR}/clients\" \
-DDICTIONARY_FILENAME=\"${DATADIR}/dictionary\"
do-build:
2014-02-25 12:15:50 +00:00
${CC} ${CFLAGS} -o ${WRKSRC}/radiusniff ${WRKSRC}/radiusniff.c \
${WRKSRC}/md5.c -lpcap
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}
.include <bsd.port.mk>