From owner-svn-ports-head@freebsd.org Wed May 25 10:12:52 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7FF30B49F1C; Wed, 25 May 2016 10:12:52 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A72B144F; Wed, 25 May 2016 10:12:52 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4PACpHl076379; Wed, 25 May 2016 10:12:51 GMT (envelope-from matthew@FreeBSD.org) Received: (from matthew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4PACpih076373; Wed, 25 May 2016 10:12:51 GMT (envelope-from matthew@FreeBSD.org) Message-Id: <201605251012.u4PACpih076373@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: matthew set sender to matthew@FreeBSD.org using -f From: Matthew Seaman Date: Wed, 25 May 2016 10:12:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415826 - in head/databases: . pgreplay pgreplay/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2016 10:12:52 -0000 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@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 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