SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
net/librenms/patches/patch-LibreNMS_Config_php
Normal file
14
net/librenms/patches/patch-LibreNMS_Config_php
Normal file
|
@ -0,0 +1,14 @@
|
|||
OpenBSD (and NetBSD) whereis don't support -b
|
||||
|
||||
Index: LibreNMS/Config.php
|
||||
--- LibreNMS/Config.php.orig
|
||||
+++ LibreNMS/Config.php
|
||||
@@ -527,7 +527,7 @@ class Config
|
||||
public static function locateBinary($binary)
|
||||
{
|
||||
if (! Str::contains($binary, '/')) {
|
||||
- $output = `whereis -b $binary`;
|
||||
+ $output = `whereis $binary`;
|
||||
$list = trim(substr($output, strpos($output, ':') + 1));
|
||||
$targets = explode(' ', $list);
|
||||
foreach ($targets as $target) {
|
Loading…
Add table
Add a link
Reference in a new issue