1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/databases/mysqlsniffer/Makefile
Martin Wilke 8715b1f933 mysqlsniffer is a tcpdump clone specifically for dumping/sniffing/watching MySQL
network protocol traffic over TCP/IP networks.
mysqlsniffer is coded in C using the pcap library and works with MySQL version
4.0 and newer. mysqlsniffer is the only MySQL-specific network sniffer.

WWW: http://hackmysql.com/mysqlsniffer

PR:		ports/147079
Submitted by:	Frederic Hardy <frederic.hardy at mageekbox.net>
2010-06-03 17:07:57 +00:00

28 lines
647 B
Makefile

# New ports collection makefile for: mysqlsniffer
# Date created: 26 May 2010
# Whom: Frederic Hardy <frederic.hardy@mageekbox.net>
#
# $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} -lpcap -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/mysqlsniffer.c ${WRKSRC}/packet_handlers.c ${WRKSRC}/misc.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>