From f1ba0dcb48491cc702926d6e2cd85ef557b26963 Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Thu, 19 Mar 2009 19:32:14 +0200 Subject: [PATCH] pgspy: Added pgspy 1.0.5 - A handy 'spying' util for PostgreSQL --- database/pgspy/pgspy.cache | 23 +++++++++++++++++++++++ database/pgspy/pgspy.conf | 22 ++++++++++++++++++++++ database/pgspy/pgspy.desc | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 database/pgspy/pgspy.cache create mode 100644 database/pgspy/pgspy.conf create mode 100644 database/pgspy/pgspy.desc diff --git a/database/pgspy/pgspy.cache b/database/pgspy/pgspy.cache new file mode 100644 index 000000000..420a63b15 --- /dev/null +++ b/database/pgspy/pgspy.cache @@ -0,0 +1,23 @@ + +[TIMESTAMP] 1237483842 Thu Mar 19 19:30:42 2009 +[BUILDTIME] 0 (5) +[SIZE] 0.19 MB, 7 files + +[DEP] bash +[DEP] binutils +[DEP] bzip2 +[DEP] coreutils +[DEP] diffutils +[DEP] fhs +[DEP] findutils +[DEP] gawk +[DEP] gcc +[DEP] glibc +[DEP] grep +[DEP] libpcap +[DEP] linux-header +[DEP] make +[DEP] runit +[DEP] sed +[DEP] sysfiles +[DEP] tar diff --git a/database/pgspy/pgspy.conf b/database/pgspy/pgspy.conf new file mode 100644 index 000000000..3d022ca28 --- /dev/null +++ b/database/pgspy/pgspy.conf @@ -0,0 +1,22 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../pgspy/pgspy.conf +# Copyright (C) 2009 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +makeinstopt= + +pgspy_inst() { + cp -fv $builddir/pgspy/pgspy $root$bindir/pgspy + } + +hook_add postmake 5 "pgspy_inst" + diff --git a/database/pgspy/pgspy.desc b/database/pgspy/pgspy.desc new file mode 100644 index 000000000..ec96b98f9 --- /dev/null +++ b/database/pgspy/pgspy.desc @@ -0,0 +1,33 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../pgspy/pgspy.desc +[COPY] Copyright (C) 2009 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A handy 'spying' util for PostgreSQL + +[T] PGSpy uses libpcap to sniff out and display the queries being sent to a +[T] database - provides functionality similar to log_statement in +[T] postgresql.conf however it is not invasive and does not clutter your logs. + +[U] http://pgfoundry.org/frs/download.php/238 + +[A] Jeff Trout +[M] Nagy Karoly Gabriel + +[C] extra/tool + +[L] BSD +[S] Stable +[V] 1.0.5 +[P] X -----5---9 800.000 + +[D] 2220615477 pgspy-1.0.5.tar.gz http://pgfoundry.org/frs/download.php/238/