SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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) {