Skip to content

Commit

Permalink
librenms: 24.11.0 -> 24.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NetaliDev committed Dec 18, 2024
1 parent 84edf38 commit c7e87c1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
22 changes: 11 additions & 11 deletions pkgs/by-name/li/librenms/broken-binary-paths.diff
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
diff --git a/LibreNMS/Config.php b/LibreNMS/Config.php
index 5ed6b71..de7718a 100644
--- a/LibreNMS/Config.php
+++ b/LibreNMS/Config.php
@@ -460,13 +460,6 @@ class Config
self::persist('device_display_default', $display_value);
diff --git a/app/ConfigRepository.php b/app/ConfigRepository.php
index 2d73cce81..b0110540b 100644
--- a/app/ConfigRepository.php
+++ b/app/ConfigRepository.php
@@ -444,13 +444,6 @@ class ConfigRepository
$this->persist('device_display_default', $display_value);
}

- // make sure we have full path to binaries in case PATH isn't set
- foreach (['fping', 'fping6', 'snmpgetnext', 'rrdtool', 'traceroute'] as $bin) {
- if (! is_executable(self::get($bin))) {
- self::persist($bin, self::locateBinary($bin));
- if (! is_executable($this->get($bin))) {
- $this->persist($bin, $this->locateBinary($bin));
- }
- }
-
if (! self::has('rrdtool_version')) {
self::persist('rrdtool_version', Rrd::version());
if (! $this->has('rrdtool_version')) {
$this->persist('rrdtool_version', (new Version($this))->rrdtool());
}
6 changes: 3 additions & 3 deletions pkgs/by-name/li/librenms/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ let
in
phpPackage.buildComposerProject rec {
pname = "librenms";
version = "24.11.0";
version = "24.12.0";

src = fetchFromGitHub {
owner = "librenms";
repo = pname;
rev = "${version}";
sha256 = "sha256-pcUkmcqD/NNedKlpNEBFf9Pmxkq6qXVdagRj/QTePzw=";
sha256 = "sha256-/0mc4wTx9WDxgDxqq+Kut8uX/Yr+bxqZ1BeJvmFDxG8=";
};

vendorHash = "sha256-0ZMQYODlXLHOjwWYvbrY/VQ2Zm9D7r1NvXRyP0q346M=";
vendorHash = "sha256-DNiTSXt/1Qr67BdlTu3ccP4Whw5pyybeFJ045c/e8Dc=";

php = phpPackage;

Expand Down

0 comments on commit c7e87c1

Please sign in to comment.