git: 35b83a6466ad - main - net-mgmt/librenms: Update to 24.11.0

From: Dan Langille <dvl_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 00:39:11 UTC
The branch main has been updated by dvl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=35b83a6466ad025b563ce774d87b06aa949f70fb

commit 35b83a6466ad025b563ce774d87b06aa949f70fb
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2024-11-21 00:37:26 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2024-11-21 00:39:07 +0000

    net-mgmt/librenms: Update to 24.11.0
    
    re: https://github.com/librenms/librenms/releases/tag/24.11.0
    
    NOTE: `lnms migrate` is required after installing this update
---
 net-mgmt/librenms/Makefile             |  4 ++--
 net-mgmt/librenms/distinfo             | 10 +++++-----
 net-mgmt/librenms/files/patch-daily.sh |  8 +++++---
 3 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile
index 89266de59e40..4d8eb30ab1a2 100644
--- a/net-mgmt/librenms/Makefile
+++ b/net-mgmt/librenms/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	librenms
-PORTVERSION=	24.10.1
+PORTVERSION=	24.11.0
 PORTEPOCH=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	LOCAL/dvl:vendor
@@ -128,7 +128,7 @@ _SCRIPT_FILES=		daily.sh lnms
 # _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=	1730905440
+_RELEASE_TIMESTAMP=	1732114734
 _ROOT_DIRS=		LibreNMS app bootstrap config database doc html \
 			includes lang licenses mibs misc resources routes \
 			scripts tests
diff --git a/net-mgmt/librenms/distinfo b/net-mgmt/librenms/distinfo
index 8886403bf35e..bfd6e01422f8 100644
--- a/net-mgmt/librenms/distinfo
+++ b/net-mgmt/librenms/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1730906267
-SHA256 (librenms-vendor-24.10.1.tar.gz) = 86671d55e9f8f6079d64f28fc89716174018603cb62f6b680e432ef2e6f76594
-SIZE (librenms-vendor-24.10.1.tar.gz) = 28763335
-SHA256 (librenms-librenms-24.10.1_GH0.tar.gz) = 69f831145f54326619636dfa2469e116a1b524ac4fc36aea0f418bdd0ee1246f
-SIZE (librenms-librenms-24.10.1_GH0.tar.gz) = 64313543
+TIMESTAMP = 1732119849
+SHA256 (librenms-vendor-24.11.0.tar.gz) = 1014e59cd1a70a908307d72bd4ed54a6cb9a59bd37195199bd67e76290ec7fa6
+SIZE (librenms-vendor-24.11.0.tar.gz) = 28809754
+SHA256 (librenms-librenms-24.11.0_GH0.tar.gz) = de8f81f244852dabc82dc31a01509d5cc2a05486965007ba19d1dcf55e06e2c6
+SIZE (librenms-librenms-24.11.0_GH0.tar.gz) = 64503103
diff --git a/net-mgmt/librenms/files/patch-daily.sh b/net-mgmt/librenms/files/patch-daily.sh
index 90e5b2f4a48e..635c298b1e85 100644
--- a/net-mgmt/librenms/files/patch-daily.sh
+++ b/net-mgmt/librenms/files/patch-daily.sh
@@ -1,4 +1,4 @@
---- daily.sh.orig	2024-07-09 01:33:51 UTC
+--- daily.sh.orig	2024-11-20 22:56:30 UTC
 +++ daily.sh
 @@ -23,11 +23,11 @@ LIBRENMS_DIR=$(dirname "$DAILY_SCRIPT")
  # define DAILY_SCRIPT as the full path to this script and LIBRENMS_DIR as the directory this script is in
@@ -50,7 +50,7 @@
  }
  
  #######################################
-@@ -135,10 +135,10 @@ check_dependencies() {
+@@ -135,11 +135,11 @@ check_dependencies() {
      branch=$(git rev-parse --abbrev-ref HEAD)
      scripts/check_requirements.py > /dev/null 2>&1 || pip3 install -r requirements.txt > /dev/null 2>&1
  
@@ -58,14 +58,16 @@
 -    ver_72=$(php -r "echo (int)version_compare(PHP_VERSION, '7.2.5', '<');")
 -    ver_73=$(php -r "echo (int)version_compare(PHP_VERSION, '7.3', '<');")
 -    ver_81=$(php -r "echo (int)version_compare(PHP_VERSION, '8.1', '<');")
+-    ver_82=$(php -r "echo (int)version_compare(PHP_VERSION, '8.2', '<');")
 +    ver_71=$(%%LOCALBASE%%/bin/php -r "echo (int)version_compare(PHP_VERSION, '7.1.3', '<');")
 +    ver_72=$(%%LOCALBASE%%/bin/php -r "echo (int)version_compare(PHP_VERSION, '7.2.5', '<');")
 +    ver_73=$(%%LOCALBASE%%/bin/php -r "echo (int)version_compare(PHP_VERSION, '7.3', '<');")
 +    ver_81=$(%%LOCALBASE%%/bin/php -r "echo (int)version_compare(PHP_VERSION, '8.1', '<');")
++    ver_82=$(%%LOCALBASE%%/bin/php -r "echo (int)version_compare(PHP_VERSION, '8.2', '<');")
      python3=$(python3 -c "import sys;print(int(sys.version_info < (3, 4)))" 2> /dev/null)
      python_deps=$("${LIBRENMS_DIR}/scripts/check_requirements.py" > /dev/null 2>&1; echo $?)
      phpver="master"
-@@ -276,7 +276,7 @@ main () {
+@@ -282,7 +282,7 @@ main () {
      fi
  
      if [[ -z "$arg" ]]; then