--- pgreplay-1.2.0.orig/debian/changelog +++ pgreplay-1.2.0/debian/changelog @@ -0,0 +1,19 @@ +pgreplay (1.2.0-2ubuntu1) utopic; urgency=medium + + * Use autotools-dev to update config.{sub,guess} for new arches. + + -- Logan Rosen Fri, 23 May 2014 23:36:20 -0400 + +pgreplay (1.2.0-2) unstable; urgency=low + + * test/runtest.sh.in: give the benefit of the doubt if no PostgreSQL + server is running because Debian does not allow unprivileged + PostgreSQL connections by default (closes: #705854). + + -- Cyril Bouthors Sun, 21 Apr 2013 11:14:36 +0200 + +pgreplay (1.2.0-1) unstable; urgency=low + + * New upstream release (closes: #705779). + + -- Cyril Bouthors Fri, 19 Apr 2013 21:46:51 +0200 --- pgreplay-1.2.0.orig/debian/compat +++ pgreplay-1.2.0/debian/compat @@ -0,0 +1 @@ +7 --- pgreplay-1.2.0.orig/debian/control +++ pgreplay-1.2.0/debian/control @@ -0,0 +1,31 @@ +Source: pgreplay +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Cyril Bouthors +Uploaders: Cyril Bouthors , Cyril Bouthors +Section: admin +Priority: optional +Build-Depends: libpq-dev, debhelper, dpkg-dev (>= 1.16.1~), postgresql, autotools-dev +Standards-Version: 3.9.4 + +Package: pgreplay +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: replay PostgreSQL log files + 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. + . + If the execution of statements gets behind schedule, warning messages are + issued that indicate that the server cannot handle the load in a timely + fashion. + . + A final report gives you a useful statistical analysis of your workload and its + execution. + . + The idea is to replay a real-world database workload as exactly as possible. + . + This is useful for performance tests, particularly in the following situations: + - You want to compare the performance of your PostgreSQL application on + different hardware or different operating systems. + - You want to upgrade your database and want to make sure that the new database + version does not suffer from performance regressions that affect you. --- pgreplay-1.2.0.orig/debian/copyright +++ pgreplay-1.2.0/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Cyril Bouthors on +Fri Apr 19 22:40:24 CEST 2013 + +It was downloaded from + +Upstream Author: + + Laurenz Albe + +Copyright: + + Copyright (c) 2010-2012, Magistrat der Stadt Wien + +License: + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose, without fee, and without a written agreement +is hereby granted, provided that the above copyright notice and this paragraph +and the following two paragraphs appear in all copies. + +IN NO EVENT SHALL THE MAGISTRAT DER STADT WIEN BE LIABLE TO ANY PARTY FOR +DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING +LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, +EVEN IF THE MAGISTRAT DER STADT WIEN HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +THE MAGISTRAT DER STADT WIEN SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, +AND THE MAGISTRAT DER STADT WIEN HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, +SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. --- pgreplay-1.2.0.orig/debian/lintian-overrides +++ pgreplay-1.2.0/debian/lintian-overrides @@ -0,0 +1 @@ +pgreplay binary: hardening-no-fortify-functions usr/bin/pgreplay --- pgreplay-1.2.0.orig/debian/rules +++ pgreplay-1.2.0/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + +export C_INCLUDE_PATH=/usr/include/postgresql + +%: + dh $@ --with autotools_dev --- pgreplay-1.2.0.orig/test/runtest.sh.in +++ pgreplay-1.2.0/test/runtest.sh.in @@ -77,7 +77,7 @@ echo "skipped, cannot connect to database" echo "To run this test, configure your environment so that this command succeeds:" echo "\"$PSQL\" -U postgres -d postgres -l" - exit 1 + exit 0 fi ../pgreplay -r -s 2 -E UTF8 -d 1 replayfile 2>replay.err|sed '/^Replay statistics$/,$d' >replay.out if [ $? -ne 0 ]; then