Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2012 18:02:56 +0000 (UTC)
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306754 - in head/databases: . pgbadger pgbadger/files
Message-ID:  <201210311802.q9VI2uYR099990@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: girgen
Date: Wed Oct 31 18:02:55 2012
New Revision: 306754
URL: http://svn.freebsd.org/changeset/ports/306754

Log:
  Add port pgbadger. PostgreSQL log analyzer with fully detailed reports and charts.
  
  Feature safe: yes

Added:
  head/databases/pgbadger/
  head/databases/pgbadger/Makefile   (contents, props changed)
  head/databases/pgbadger/distinfo   (contents, props changed)
  head/databases/pgbadger/files/
  head/databases/pgbadger/files/patch-bzip-size   (contents, props changed)
  head/databases/pgbadger/pkg-descr   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Wed Oct 31 17:46:52 2012	(r306753)
+++ head/databases/Makefile	Wed Oct 31 18:02:55 2012	(r306754)
@@ -538,6 +538,7 @@
     SUBDIR += pgaccess
     SUBDIR += pgadmin3
     SUBDIR += pgagent
+    SUBDIR += pgbadger
     SUBDIR += pgbouncer
     SUBDIR += pgdbf
     SUBDIR += pgfouine

Added: head/databases/pgbadger/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgbadger/Makefile	Wed Oct 31 18:02:55 2012	(r306754)
@@ -0,0 +1,20 @@
+# New ports collection makefile for:    pgbadger
+# Date created:                         October 30, 2012
+# Whom:                                 Palle Girgensohn <girgen@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	pgbadger
+PORTVERSION=	2.1
+CATEGORIES=	databases
+MASTER_SITES=	http://cloud.github.com/downloads/dalibo/pgbadger/
+
+MAINTAINER=	girgen@FreeBSD.org
+COMMENT=	Very comptent log analyzer for PostgreSQL
+
+PERL_CONFIGURE= yes
+MAN1=		pgbadger.1
+PLIST_FILES=	bin/pgbadger
+
+.include <bsd.port.mk>

Added: head/databases/pgbadger/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgbadger/distinfo	Wed Oct 31 18:02:55 2012	(r306754)
@@ -0,0 +1,2 @@
+SHA256 (pgbadger-2.1.tar.gz) = eeb38ca6bf12c77be6d58247fe0937d708cc2e4c5dfbbccc635627bd4eab3184
+SIZE (pgbadger-2.1.tar.gz) = 76040

Added: head/databases/pgbadger/files/patch-bzip-size
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgbadger/files/patch-bzip-size	Wed Oct 31 18:02:55 2012	(r306754)
@@ -0,0 +1,12 @@
+--- pgbadger.orig	2012-10-12 17:00:07.000000000 +0200
++++ pgbadger	2012-10-30 11:18:40.000000000 +0100
+@@ -47,7 +50,8 @@
+ my $zcat                = 'zcat';
+ my $bzcat               = 'bzcat';
+ my $ucat                = 'unzip -p';
+-my $uncompress_size     = "gunzip -l %f | grep -E '^\\s*[0-9]+' | awk '{print \$2}'";
++#my $uncompress_size     = "gunzip -l %f | grep -E '^\\s*[0-9]+' | awk '{print \$2}'";
++my $uncompress_size     = "zcat %f | wc -c | awk '{print \$1}'";
+ my $format              = '';
+ my $outfile             = '';
+ my $outdir              = '';

Added: head/databases/pgbadger/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgbadger/pkg-descr	Wed Oct 31 18:02:55 2012	(r306754)
@@ -0,0 +1,3 @@
+PostgreSQL log analyzer with fully detailed reports and charts.
+
+WWW: http://dalibo.github.com/pgbadger/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210311802.q9VI2uYR099990>