Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Apr 2021 15:50:58 GMT
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 80b2fa6dd425 - main - Fix the build for net-mgmt/nagios-check_bacula11
Message-ID:  <202104071550.137Fowch042580@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dvl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=80b2fa6dd4250768bc02483819e9c02f3168c7a8

commit 80b2fa6dd4250768bc02483819e9c02f3168c7a8
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2021-04-07 15:39:08 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2021-04-07 15:50:24 +0000

    Fix the build for net-mgmt/nagios-check_bacula11
    
    This patch has been committed upstream via
    
    https://www.bacula.org/git/cgit.cgi/bacula/commit/?h=Branch-11.0&id=ef3a7fe40a2aee5e7acb3bf3144bba713c9cf982
---
 .../files/patch-examples_nagios_check__bacula_check__bacula.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/sysutils/bacula11-server/files/patch-examples_nagios_check__bacula_check__bacula.c b/sysutils/bacula11-server/files/patch-examples_nagios_check__bacula_check__bacula.c
new file mode 100644
index 000000000000..835d73110d88
--- /dev/null
+++ b/sysutils/bacula11-server/files/patch-examples_nagios_check__bacula_check__bacula.c
@@ -0,0 +1,11 @@
+--- examples/nagios/check_bacula/check_bacula.c.orig	2021-04-01 12:38:35 UTC
++++ examples/nagios/check_bacula/check_bacula.c
+@@ -324,7 +324,7 @@ int docmd(monitoritem* item, const char* command, char
+             continue;
+          }
+ 
+-        if (strncmp(item->D_sock, "Events:", strlen("Events:")) == 0) {
++        if (strncmp(item->D_sock->msg, "Events:", strlen("Events:")) == 0) {
+            /* Daemons can send events to the director, ignore them here */
+            continue;
+         }



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