From owner-dev-commits-ports-all@freebsd.org Fri May 21 11:13:28 2021 Return-Path: Delivered-To: dev-commits-ports-all@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 E444B65768C; Fri, 21 May 2021 11:13:28 +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 4FmkVw5tgYz4j8M; Fri, 21 May 2021 11:13:28 +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 B1E6310563; Fri, 21 May 2021 11:13:28 +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 14LBDS0G017300; Fri, 21 May 2021 11:13:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14LBDSE5017299; Fri, 21 May 2021 11:13:28 GMT (envelope-from git) Date: Fri, 21 May 2021 11:13:28 GMT Message-Id: <202105211113.14LBDSE5017299@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: b4739d4fdd0a - main - net-mgmt/librenms: Update to 21.5.1 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: b4739d4fdd0a36f689deef8b51d8a06fa8b26ab1 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2021 11:13:29 -0000 The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=b4739d4fdd0a36f689deef8b51d8a06fa8b26ab1 commit b4739d4fdd0a36f689deef8b51d8a06fa8b26ab1 Author: Dan Langille AuthorDate: 2021-05-21 11:10:05 +0000 Commit: Dan Langille CommitDate: 2021-05-21 11:12:25 +0000 net-mgmt/librenms: Update to 21.5.1 21.5.0 was skipped, for no reason * https://github.com/librenms/librenms/releases/tag/21.5.1 * https://github.com/librenms/librenms/releases/tag/21.5.0 --- net-mgmt/librenms/Makefile | 4 ++-- net-mgmt/librenms/distinfo | 10 +++++----- net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php | 11 +++++++++++ .../librenms/files/patch-LibreNMS_Validations_Programs.php | 11 +++++++++++ 4 files changed, 29 insertions(+), 7 deletions(-) diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile index 9706fe5adbc4..539e1ced07f7 100644 --- a/net-mgmt/librenms/Makefile +++ b/net-mgmt/librenms/Makefile @@ -1,7 +1,7 @@ # Created by: Muhammad Moinur Rahman PORTNAME= librenms -PORTVERSION= 21.4.0 +PORTVERSION= 21.5.1 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net-mgmt @@ -18,7 +18,7 @@ USES= shebangfix python php # RELEASE_TIMESTAMP is used for a patch inside the vendor code # it represents the release date via: git show --pretty='%H|%ct' -s 1.42.01 # It sits here so you remember to update it with each release -RELEASE_TIMESTAMP= 1618718707 +RELEASE_TIMESTAMP= 1621427246 # perhaps we also need python-memcache python-mysqldb RUN_DEPENDS+= rrdtool:databases/rrdtool \ diff --git a/net-mgmt/librenms/distinfo b/net-mgmt/librenms/distinfo index b7d7de5a4479..6c271717904b 100644 --- a/net-mgmt/librenms/distinfo +++ b/net-mgmt/librenms/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1619467734 -SHA256 (librenms-vendor-21.4.0.tar.gz) = 6124a4d1e085492408a5db029c9a2aa7cddd4af9a58c39af9593dbc8f1419faf -SIZE (librenms-vendor-21.4.0.tar.gz) = 28394137 -SHA256 (librenms-librenms-21.4.0_GH0.tar.gz) = 65dd589fbead15b0fbb190f2686919b427914dbd380bd676ada601b95d47d643 -SIZE (librenms-librenms-21.4.0_GH0.tar.gz) = 49797892 +TIMESTAMP = 1621543700 +SHA256 (librenms-vendor-21.5.1.tar.gz) = 746a0ffd58a0f9d7428283c9b3b706e514b405781a5fc4c2685492479bad2580 +SIZE (librenms-vendor-21.5.1.tar.gz) = 28282743 +SHA256 (librenms-librenms-21.5.1_GH0.tar.gz) = 4baa930bb0c884b2d596047a01f79d717992dafefb5e744b1b5438f5570dbb8b +SIZE (librenms-librenms-21.5.1_GH0.tar.gz) = 50159109 diff --git a/net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php b/net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php new file mode 100644 index 000000000000..d9b75a45c9df --- /dev/null +++ b/net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php @@ -0,0 +1,11 @@ +--- LibreNMS/Util/Version.php.orig 2021-05-21 10:09:00 UTC ++++ LibreNMS/Util/Version.php +@@ -92,7 +92,7 @@ class Version + + public static function python() + { +- $proc = new Process(['python3', '--version']); ++ $proc = new Process(['/usr/local/bin/python3', '--version']); + $proc->run(); + + if ($proc->getExitCode() !== 0) { diff --git a/net-mgmt/librenms/files/patch-LibreNMS_Validations_Programs.php b/net-mgmt/librenms/files/patch-LibreNMS_Validations_Programs.php new file mode 100644 index 000000000000..61030bfbdbc1 --- /dev/null +++ b/net-mgmt/librenms/files/patch-LibreNMS_Validations_Programs.php @@ -0,0 +1,11 @@ +--- LibreNMS/Validations/Programs.php.orig 2021-05-21 10:48:49 UTC ++++ LibreNMS/Validations/Programs.php +@@ -99,7 +99,7 @@ class Programs extends BaseValidation + { + $validator->info('fping FAILURES can be ignored if running LibreNMS in a jail without ::1. You may want to test it manually: fping ::1'); + $validator->fail( +- "$cmd could not be executed. $cmd must have CAP_NET_RAW capability (getcap) or suid. Selinux exclusions may be required.\n ($output)" ++ "$cmd could not be executed. $cmd must have CAP_NET_RAW capability (getcap) or suid. Selinux exclusions may be required.\n ($output). If there is no IPv6 address on your host, this is expected." + ); + + if ($getcap = $this->findExecutable('getcap')) {