diff options
author | Dan Langille <dvl@FreeBSD.org> | 2021-05-21 11:10:05 +0000 |
---|---|---|
committer | Dan Langille <dvl@FreeBSD.org> | 2021-05-21 11:12:25 +0000 |
commit | b4739d4fdd0a36f689deef8b51d8a06fa8b26ab1 (patch) | |
tree | b3a0c8cf561869f1c31b38bff22c1881563a3cc6 | |
parent | b552cfb67dd2163bafab6e4e97fcb0aee9c84a78 (diff) | |
download | ports-b4739d4fdd0a36f689deef8b51d8a06fa8b26ab1.tar.gz ports-b4739d4fdd0a36f689deef8b51d8a06fa8b26ab1.zip |
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
-rw-r--r-- | net-mgmt/librenms/Makefile | 4 | ||||
-rw-r--r-- | net-mgmt/librenms/distinfo | 10 | ||||
-rw-r--r-- | net-mgmt/librenms/files/patch-LibreNMS_Util_Version.php | 11 | ||||
-rw-r--r-- | net-mgmt/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<bofh@FreeBSD.org> 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')) { |