ports/120147: [PATCH] net-mgmt/nagios-plugins add support for PostgreSQL 8.3

Martin Matuska mm at FreeBSD.org
Wed Jan 30 10:40:02 UTC 2008


>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:



More information about the freebsd-ports-bugs mailing list