Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2008 11:32:19 +0100 (CET)
From:      Martin Matuska <mm@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/120147: [PATCH] net-mgmt/nagios-plugins add support for PostgreSQL 8.3
Message-ID:  <20080130103219.BBE31398C9@mail.vx.sk>
Resent-Message-ID: <200801301040.m0UAe18w049272@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         120147
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/nagios-plugins add support for PostgreSQL 8.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 30 10:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 7.0-RC1 i386 and amd64
>Organization:
>Environment:
System: FreeBSD 7.0-RC1 i386 and amd64
>Description:
This simple patch adds support for PostgreSQL 8.3 to nagios-plugins (check_pgsql.c)
Compatibility with earlier PostgreSQL versions remains unchanged.

Solved in debian bug #462509:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462509

Debian patch:
http://svn.debian.org/wsvn/pkg-nagios/nagios-plugins/trunk/debian/patches/28_check_pgsql_include_for_8.3.dpatch?op=file&rev=0&sc=0

>How-To-Repeat:
>Fix:
Index: ports/net-mgmt/nagios-plugins/files/patch-plugins-check_pgsql.c
===================================================================
RCS file: ports/net-mgmt/nagios-plugins/files/patch-plugins-check_pgsql.c
diff -N ports/net-mgmt/nagios-plugins/files/patch-plugins-check_pgsql.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ports/net-mgmt/nagios-plugins/files/patch-plugins-check_pgsql.c	30 Jan 2008 10:23:22 -0000
@@ -0,0 +1,10 @@
+--- plugins/check_pgsql.c.orig	2008-01-30 11:17:46.000000000 +0100
++++ plugins/check_pgsql.c	2008-01-30 11:18:00.000000000 +0100
+@@ -43,6 +43,7 @@
+ #include "utils.h"
+ 
+ #include "netutils.h"
++#include "pg_config_manual.h"
+ #include <libpq-fe.h>
+ 
+ #define DEFAULT_DB "template1"
>Release-Note:
>Audit-Trail:
>Unformatted:



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