Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2009 09:26:17 +0200 (CEST)
From:      freebsd@troback.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/134553: Maintainer update: net-mgmt/nagios-check_bacula
Message-ID:  <20090515072618.0023610EC50@mail.gelita.se>
Resent-Message-ID: <200905150730.n4F7U2a5024823@freefall.freebsd.org>

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

>Number:         134553
>Category:       ports
>Synopsis:       Maintainer update: net-mgmt/nagios-check_bacula
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 15 07:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Anders Troback
>Release:        
>Organization:
>Environment:
>Description:
	Maintainer update of net-mgmt/nagios-check_bacula too fix an upstream bug. It will now work on both 2.x and 3.x clients!
>How-To-Repeat:
>Fix:

diff -ruN nagios-check_bacula.orig/Makefile nagios-check_bacula/Makefile
--- nagios-check_bacula.orig/Makefile	2009-05-13 19:31:30.000000000 +0200
+++ nagios-check_bacula/Makefile	2009-05-14 21:30:06.000000000 +0200
@@ -7,6 +7,7 @@
 
 PORTNAME=	check_bacula
 PORTVERSION=	3.0.0
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/bacula
 PKGNAMEPREFIX=	nagios-
diff -ruN nagios-check_bacula.orig/files/patch-src-check_bacula-authenticate.c nagios-check_bacula/files/patch-src-check_bacula-authenticate.c
--- nagios-check_bacula.orig/files/patch-src-check_bacula-authenticate.c	1970-01-01 01:00:00.000000000 +0100
+++ nagios-check_bacula/files/patch-src-check_bacula-authenticate.c	2009-05-14 21:25:41.000000000 +0200
@@ -0,0 +1,20 @@
+--- src/check_bacula/authenticate.c.orig	2007-11-22 12:45:01.000000000 +0100
++++ src/check_bacula/authenticate.c	2009-05-14 20:45:52.000000000 +0200
+@@ -57,7 +57,7 @@
+ /* Response from SD */
+ static char SDOKhello[]   = "3000 OK Hello\n";
+ /* Response from FD */
+-static char FDOKhello[] = "2000 OK Hello\n";
++static char FDOKhello[] = "2000 OK Hello";
+ 
+ /* Forward referenced functions */
+ 
+@@ -169,7 +169,7 @@
+    }
+    Dmsg1(110, "<stored: %s", fd->msg);
+    stop_bsock_timer(tid);
+-   if (strncmp(fd->msg, FDOKhello, sizeof(FDOKhello)) != 0) {
++   if (strncmp(fd->msg, FDOKhello, sizeof(FDOKhello)-1) != 0) {
+       return 0;
+    }
+    return 1;

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

>Release-Note:
>Audit-Trail:
>Unformatted:



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