svn commit: r415826 - in head/databases: . pgreplay pgreplay/files

Matthew Seaman matthew at FreeBSD.org
Wed May 25 10:12:52 UTC 2016


Author: matthew
Date: Wed May 25 10:12:50 2016
New Revision: 415826
URL: https://svnweb.freebsd.org/changeset/ports/415826

Log:
  pgreplay reads a PostgreSQL log file (*not* a WAL file), extracts the
  SQL statements and executes them in the same order and with the original
  timing against a PostgreSQL database.
  
  WWW: https://github.com/laurenz/pgreplay

Added:
  head/databases/pgreplay/
  head/databases/pgreplay/Makefile   (contents, props changed)
  head/databases/pgreplay/distinfo   (contents, props changed)
  head/databases/pgreplay/files/
  head/databases/pgreplay/files/patch-Makefile.in   (contents, props changed)
  head/databases/pgreplay/pkg-descr   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Wed May 25 08:41:14 2016	(r415825)
+++ head/databases/Makefile	Wed May 25 10:12:50 2016	(r415826)
@@ -572,6 +572,7 @@
     SUBDIR += pgpool-II-30
     SUBDIR += pgpool-II-33
     SUBDIR += pgpoolAdmin
+    SUBDIR += pgreplay
     SUBDIR += pgrouting
     SUBDIR += pgsphere
     SUBDIR += pgtcl

Added: head/databases/pgreplay/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgreplay/Makefile	Wed May 25 10:12:50 2016	(r415826)
@@ -0,0 +1,28 @@
+# Created by: Matthew Seaman
+# $FreeBSD$
+
+PORTNAME=	pgreplay
+PORTVERSION=	1.2.0
+CATEGORIES=	databases
+
+MAINTAINER=	matthew at FreeBSD.org
+COMMENT=	Replay SQL statements from a Postgresql Log
+
+LICENSE=	PostgreSQL
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	laurenz
+GH_TAGNAME=	PGREPLAY_1_2_0
+
+USES=		pgsql autoreconf
+GNU_CONFIGURE=	yes
+
+PLIST_FILES=	bin/pgreplay man/man1/pgreplay.1.gz
+
+ALL_TARGET=	${PORTNAME}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/pgreplay ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/pgreplay.1 ${STAGEDIR}${PREFIX}/man/man1
+
+.include <bsd.port.mk>

Added: head/databases/pgreplay/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgreplay/distinfo	Wed May 25 10:12:50 2016	(r415826)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1464166606
+SHA256 (laurenz-pgreplay-1.2.0-PGREPLAY_1_2_0_GH0.tar.gz) = b2443d1ccf0c0c1da2ce9d98035e42c8f6846146b804cb3bf5a8819ca6c4123d
+SIZE (laurenz-pgreplay-1.2.0-PGREPLAY_1_2_0_GH0.tar.gz) = 118585

Added: head/databases/pgreplay/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgreplay/files/patch-Makefile.in	Wed May 25 10:12:50 2016	(r415826)
@@ -0,0 +1,14 @@
+--- Makefile.in.orig	2016-05-25 09:58:50 UTC
++++ Makefile.in
+@@ -1,4 +1,5 @@
+ CFLAGS = @CFLAGS@
++CPPFLAGS= @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+ CC = @CC@
+@@ -57,4 +58,4 @@ install_html: $(EXE).html
+ 	$(INSTALL) -D -m 0644 $< $(DESTDIR)$(htmldir)/$<
+ 
+ .c.o: $(HEADERS)
+-	$(CC) -c $(CFLAGS) -DVERSION='"$(VERSION)"' $<
++	$(CC) -c $(CFLAGS) $(CPPFLAGS) -DVERSION='"$(VERSION)"' $<

Added: head/databases/pgreplay/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgreplay/pkg-descr	Wed May 25 10:12:50 2016	(r415826)
@@ -0,0 +1,5 @@
+pgreplay reads a PostgreSQL log file (*not* a WAL file), extracts the
+SQL statements and executes them in the same order and with the original
+timing against a PostgreSQL database.
+
+WWW: https://github.com/laurenz/pgreplay


More information about the svn-ports-head mailing list