diff options
-rw-r--r-- | databases/mysqlsniffer/Makefile | 11 | ||||
-rw-r--r-- | databases/mysqlsniffer/distinfo | 4 | ||||
-rw-r--r-- | databases/mysqlsniffer/files/patch-misc.c | 4 | ||||
-rw-r--r-- | databases/mysqlsniffer/files/patch-mysqlsniffer.c | 4 | ||||
-rw-r--r-- | databases/mysqlsniffer/files/patch-packet_handlers.c | 4 |
5 files changed, 15 insertions, 12 deletions
diff --git a/databases/mysqlsniffer/Makefile b/databases/mysqlsniffer/Makefile index 6dd1f552088b..039d65bfe83c 100644 --- a/databases/mysqlsniffer/Makefile +++ b/databases/mysqlsniffer/Makefile @@ -4,16 +4,19 @@ 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 +WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/${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 \ diff --git a/databases/mysqlsniffer/distinfo b/databases/mysqlsniffer/distinfo index 8a5a0228203f..2190f1a58163 100644 --- a/databases/mysqlsniffer/distinfo +++ b/databases/mysqlsniffer/distinfo @@ -1,2 +1,2 @@ -SHA256 (mysqlsniffer.tgz) = 7267c3babbc0cad5714c466da6cffdd0f7a5c9bd49075ad00cb62f564cff2c35 -SIZE (mysqlsniffer.tgz) = 15782 +SHA256 (daniel-nichter-hackmysql.com-1.2-ddb6f92_GH0.tar.gz) = ef8ce294e52a795388d96fb7fc8a3b1f7b90ac480b6c14683bcb8d3ce67571fb +SIZE (daniel-nichter-hackmysql.com-1.2-ddb6f92_GH0.tar.gz) = 1954606 diff --git a/databases/mysqlsniffer/files/patch-misc.c b/databases/mysqlsniffer/files/patch-misc.c index fbe10e2ec0c3..9bdd2a82795b 100644 --- a/databases/mysqlsniffer/files/patch-misc.c +++ b/databases/mysqlsniffer/files/patch-misc.c @@ -1,5 +1,5 @@ ---- misc.c.ori 2006-08-18 16:37:02.000000000 +0200 -+++ misc.c 2010-05-26 14:01:16.000000000 +0200 +--- misc.c.orig 2006-08-18 14:37:02 UTC ++++ misc.c @@ -4,6 +4,7 @@ #include <stdlib.h> #include <string.h> diff --git a/databases/mysqlsniffer/files/patch-mysqlsniffer.c b/databases/mysqlsniffer/files/patch-mysqlsniffer.c index 0de93db9e578..d233e4f6757c 100644 --- a/databases/mysqlsniffer/files/patch-mysqlsniffer.c +++ b/databases/mysqlsniffer/files/patch-mysqlsniffer.c @@ -1,5 +1,5 @@ ---- mysqlsniffer.c.ori 2006-08-18 16:52:52.000000000 +0200 -+++ mysqlsniffer.c 2010-05-26 14:01:24.000000000 +0200 +--- mysqlsniffer.c.orig 2006-08-18 14:52:52 UTC ++++ mysqlsniffer.c @@ -31,6 +31,7 @@ #include <getopt.h> #include <signal.h> diff --git a/databases/mysqlsniffer/files/patch-packet_handlers.c b/databases/mysqlsniffer/files/patch-packet_handlers.c index c26706d305eb..5d6e8f6ce526 100644 --- a/databases/mysqlsniffer/files/patch-packet_handlers.c +++ b/databases/mysqlsniffer/files/patch-packet_handlers.c @@ -1,5 +1,5 @@ ---- packet_handlers.c.ori 2006-08-18 16:37:02.000000000 +0200 -+++ packet_handlers.c 2010-05-26 14:01:30.000000000 +0200 +--- packet_handlers.c.orig 2006-08-18 14:37:02 UTC ++++ packet_handlers.c @@ -3,6 +3,7 @@ #include <stdio.h> #include <stdlib.h> |