1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Update pgbadger to version 2.2

Feature safe: yes
This commit is contained in:
Palle Girgensohn 2012-11-14 16:05:06 +00:00
parent 1f596030f0
commit 3fc668d2a5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307422
3 changed files with 4 additions and 16 deletions

View File

@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= pgbadger
PORTVERSION= 2.1
PORTREVISION= 1
PORTVERSION= 2.2
CATEGORIES= databases
MASTER_SITES= http://cloud.github.com/downloads/dalibo/pgbadger/
DISTFILES= ${DISTNAME}-1${EXTRACT_SUFX}
MAINTAINER= girgen@FreeBSD.org
COMMENT= Very comptent log analyzer for PostgreSQL

View File

@ -1,2 +1,2 @@
SHA256 (pgbadger-2.1.tar.gz) = eeb38ca6bf12c77be6d58247fe0937d708cc2e4c5dfbbccc635627bd4eab3184
SIZE (pgbadger-2.1.tar.gz) = 76040
SHA256 (pgbadger-2.2-1.tar.gz) = c79247314adbbdadc2f59f054e96080e33e0166f926fb01a93eb16060a246d6e
SIZE (pgbadger-2.2-1.tar.gz) = 79363

View File

@ -1,12 +0,0 @@
--- 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 = '';