# Created by: Frederic Hardy # $FreeBSD: head/databases/mysqlsniffer/Makefile 565811 2021-02-17 22:12:48Z linimon $ PORTNAME= mysqlsniffer PORTVERSION= 1.2 CATEGORIES= databases MAINTAINER= frederic.hardy@mageekbox.net COMMENT= Tcpdump clone specifically for MySQL BROKEN_FreeBSD_13= ld: error: duplicate symbol: decoded_len BROKEN_FreeBSD_14= ld: error: duplicate symbol: decoded_len WRKSRC_SUBDIR= ${PORTNAME} PLIST_FILES= bin/mysqlsniffer USE_GITHUB= yes GH_ACCOUNT= daniel-nichter GH_PROJECT= hackmysql.com GH_TAGNAME= ddb6f92 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