From owner-dev-commits-ports-main@freebsd.org Wed Apr 7 15:50:58 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B04E45BB269; Wed, 7 Apr 2021 15:50:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFplQ4YtGz3msx; Wed, 7 Apr 2021 15:50:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8F7DC21F85; Wed, 7 Apr 2021 15:50:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 137FowFY042581; Wed, 7 Apr 2021 15:50:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 137Fowch042580; Wed, 7 Apr 2021 15:50:58 GMT (envelope-from git) Date: Wed, 7 Apr 2021 15:50:58 GMT Message-Id: <202104071550.137Fowch042580@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: 80b2fa6dd425 - main - Fix the build for net-mgmt/nagios-check_bacula11 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 80b2fa6dd4250768bc02483819e9c02f3168c7a8 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2021 15:50:58 -0000 The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=80b2fa6dd4250768bc02483819e9c02f3168c7a8 commit 80b2fa6dd4250768bc02483819e9c02f3168c7a8 Author: Dan Langille AuthorDate: 2021-04-07 15:39:08 +0000 Commit: Dan Langille 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; + }