# Created by: Frederic Hardy # $FreeBSD$ PORTNAME= mysqlsniffer PORTVERSION= 1.2 CATEGORIES= databases MASTER_SITES= http://hackmysql.com/code/ DISTNAME= mysqlsniffer EXTRACT_SUFX= .tgz MAINTAINER= frederic.hardy@mageekbox.net COMMENT= Tcpdump clone specifically for MySQL NO_WRKSUBDIR= yes PLIST_FILES= bin/mysqlsniffer do-build: ${CC} ${CFLAGS} -lpcap -o ${WRKSRC}/${PORTNAME} \ ${WRKSRC}/mysqlsniffer.c ${WRKSRC}/packet_handlers.c \ ${WRKSRC}/misc.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include