- update to pgcluu-3.1

- drop maintainership
This commit is contained in:
jasper 2019-11-01 20:11:57 +00:00
parent 9767765230
commit 9bfeb7062b
5 changed files with 16 additions and 19 deletions

View File

@ -1,14 +1,11 @@
# $OpenBSD: Makefile,v 1.11 2019/07/12 20:43:58 sthen Exp $ # $OpenBSD: Makefile,v 1.12 2019/11/01 20:11:57 jasper Exp $
COMMENT= PostgreSQL performances monitoring and auditing tool COMMENT= PostgreSQL performances monitoring and auditing tool
DISTNAME= pgcluu-2.7 DISTNAME= pgcluu-3.1
CATEGORIES= databases sysutils CATEGORIES= databases sysutils
REVISION= 1
HOMEPAGE= http://pgcluu.darold.net/ HOMEPAGE= https://pgcluu.darold.net/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# BSD # BSD
PERMIT_PACKAGE= Yes PERMIT_PACKAGE= Yes

View File

@ -1,2 +1,2 @@
SHA256 (pgcluu-2.7.tar.gz) = r8p25RnOkXW7M6v1C8gqrXKtq65qbcn3SnALYjBurcs= SHA256 (pgcluu-3.1.tar.gz) = ZjpVahcg33REeVJvvufikCwMY/cYz9T9iOFmmwKcmrQ=
SIZE (pgcluu-2.7.tar.gz) = 1101384 SIZE (pgcluu-3.1.tar.gz) = 1138808

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-pgcluu,v 1.6 2018/09/07 20:19:48 danj Exp $ $OpenBSD: patch-pgcluu,v 1.7 2019/11/01 20:11:57 jasper Exp $
- Set $sysinfo{"KERNEL"} and $sysinfo{"CPU"} (minus cache) values - Set $sysinfo{"KERNEL"} and $sysinfo{"CPU"} (minus cache) values
Index: pgcluu Index: pgcluu
--- pgcluu.orig --- pgcluu.orig
+++ pgcluu +++ pgcluu
@@ -9979,13 +9979,13 @@ sub read_sysinfo_file @@ -10985,13 +10985,13 @@ sub read_sysinfo_file
next; next;
} }
if ($section eq 'CPU') { if ($section eq 'CPU') {
@ -26,8 +26,8 @@ Index: pgcluu
} else { } else {
$sysinfo{$section}{$key} = $val; $sysinfo{$section}{$key} = $val;
} }
@@ -9993,8 +9993,8 @@ sub read_sysinfo_file @@ -10999,8 +10999,8 @@ sub read_sysinfo_file
if ($section eq 'KERNEL') { elsif ($section eq 'KERNEL') {
my @kinf = split(/\s+/, $l); my @kinf = split(/\s+/, $l);
$sysinfo{$section}{'hostname'} = $kinf[1]; $sysinfo{$section}{'hostname'} = $kinf[1];
- $sysinfo{$section}{'kernel'} = "$kinf[0] $kinf[2] $kinf[3] $kinf[4]"; - $sysinfo{$section}{'kernel'} = "$kinf[0] $kinf[2] $kinf[3] $kinf[4]";
@ -35,5 +35,5 @@ Index: pgcluu
+ $sysinfo{$section}{'kernel'} = "$kinf[2] $kinf[3]"; + $sysinfo{$section}{'kernel'} = "$kinf[2] $kinf[3]";
+ $sysinfo{$section}{'arch'} = "$kinf[-1]"; + $sysinfo{$section}{'arch'} = "$kinf[-1]";
} }
if ($section eq 'UPTIME') { elsif ($section eq 'UPTIME') {
$sysinfo{$section}{'all'} = $l; $sysinfo{$section}{'all'} = $l;

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-pgcluu_collectd,v 1.6 2018/09/07 20:19:48 danj Exp $ $OpenBSD: patch-pgcluu_collectd,v 1.7 2019/11/01 20:11:57 jasper Exp $
- Set $sysinfo{"RELEASE"}, $sysinfo{"CPU"} (minus cache) - Set $sysinfo{"RELEASE"}, $sysinfo{"CPU"} (minus cache)
Index: pgcluu_collectd Index: pgcluu_collectd
--- pgcluu_collectd.orig --- pgcluu_collectd.orig
+++ pgcluu_collectd +++ pgcluu_collectd
@@ -1523,9 +1523,9 @@ sub grab_os_information @@ -1678,9 +1678,9 @@ sub grab_os_information
{ my $out_dir = shift();
# Look at CPU informations # Look at CPU informations
- my $cmd = 'cat /proc/cpuinfo 2>/dev/null'; - my $cmd = 'cat /proc/cpuinfo 2>/dev/null';
@ -17,7 +17,7 @@ Index: pgcluu_collectd
# Look at kernel informations # Look at kernel informations
$cmd = 'uname -a 2>/dev/null'; $cmd = 'uname -a 2>/dev/null';
$cmd = $sshcmd . ' "' . $cmd . "\"" if ($sshcmd); $cmd = $sshcmd . ' "' . $cmd . "\"" if ($sshcmd);
@@ -1551,8 +1551,7 @@ sub grab_os_information @@ -1717,8 +1717,7 @@ sub grab_os_information
$cmd = $sshcmd . ' "' . $cmd . "\"" if ($sshcmd); $cmd = $sshcmd . ' "' . $cmd . "\"" if ($sshcmd);
my @pciinfo = `$cmd`; my @pciinfo = `$cmd`;
# Release informations # Release informations

View File

@ -1,6 +1,6 @@
@comment $OpenBSD: PLIST,v 1.4 2018/09/04 12:46:10 espie Exp $ @comment $OpenBSD: PLIST,v 1.5 2019/11/01 20:11:57 jasper Exp $
@rcscript ${RCDIR}/pgcluu_collectd @rcscript ${RCDIR}/pgcluu_collectd
bin/pgcluu bin/pgcluu
bin/pgcluu_collectd bin/pgcluu_collectd
@man man/man1/pgcluu.1 @man man/man1/pgcluu.1p
share/doc/pkg-readmes/${PKGSTEM} share/doc/pkg-readmes/${PKGSTEM}