Bug 134553 - Maintainer update: net-mgmt/nagios-check_bacula
Summary: Maintainer update: net-mgmt/nagios-check_bacula
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-15 08:30 UTC by Anders Troback
Modified: 2009-05-15 12:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Troback 2009-05-15 08:30:01 UTC
	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!

Fix: 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.--KZE4MWIhpYUEx8GaNJJW3VJ5O6fY53EecC6J4vGRLjUdAbHT
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

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;
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2009-05-15 12:08:37 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-05-15 12:09:13 UTC
pav         2009-05-15 11:08:51 UTC

  FreeBSD ports repository

  Modified files:
    net-mgmt/nagios-check_bacula Makefile 
  Added files:
    net-mgmt/nagios-check_bacula/files 
                                       patch-src-check_bacula-authenticate.c 
  Log:
  - Fix runtime problem (obtained from vendor)
  
  PR:             ports/134553
  Submitted by:   <freebsd@troback.com> (maintainer)
  
  Revision  Changes    Path
  1.5       +1 -0      ports/net-mgmt/nagios-check_bacula/Makefile
  1.1       +20 -0     ports/net-mgmt/nagios-check_bacula/files/patch-src-check_bacula-authenticate.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"