2007-09-15 19:29:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2007/09/15 23:30:01 merdely Exp $
|
2000-04-13 17:16:52 -04:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= radius sniffer
|
2001-05-05 23:45:31 -04:00
|
|
|
|
2000-04-13 17:16:52 -04:00
|
|
|
DISTNAME= radiusniff-0.2
|
|
|
|
CATEGORIES= security
|
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= not specified, vague license
|
2000-04-13 17:16:52 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2007-09-15 19:29:57 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= not specified, vague license
|
2000-04-13 17:16:52 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-27 08:28:33 -05:00
|
|
|
WANTLIB= c pcap
|
2000-04-13 17:16:52 -04:00
|
|
|
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MASTER_SITES= http://adm.freelsd.net/ADM/
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/radiusniff-0.2
|
|
|
|
|
2002-10-28 12:35:01 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2000-04-13 17:16:52 -04:00
|
|
|
do-build:
|
2001-07-28 16:13:08 -04:00
|
|
|
cd ${WRKSRC} && ${CC} -DOPENBSD \
|
|
|
|
-DDICTIONARY_FILENAME=\"${PREFIX}/share/radiusniff/dictionary\" \
|
|
|
|
-DCLIENTS_FILENAME=\"${PREFIX}/share/radiusniff/clients\" \
|
|
|
|
-I${LOCALBASE}/include -L${LOCALBASE}/lib -o radiusniff \
|
2005-12-19 07:53:51 -05:00
|
|
|
radiusniff.c md5.c -lpcap
|
2000-04-13 17:16:52 -04:00
|
|
|
|
|
|
|
do-install:
|
2001-07-28 16:13:08 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/radiusniff ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/radiusniff/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/{dictionary,clients} ${PREFIX}/share/radiusniff
|
2000-04-13 17:16:52 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|