summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/librenms/Makefile1
-rw-r--r--net-mgmt/librenms/files/patch-LibreNMS_Validations_Python.php14
-rw-r--r--net-mgmt/librenms/files/pkg-message.in4
3 files changed, 13 insertions, 6 deletions
diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile
index d8d8c5d1316f..c082bbc2339e 100644
--- a/net-mgmt/librenms/Makefile
+++ b/net-mgmt/librenms/Makefile
@@ -3,6 +3,7 @@
PORTNAME= librenms
PORTVERSION= 1.65.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= LOCAL/dvl:vendor
diff --git a/net-mgmt/librenms/files/patch-LibreNMS_Validations_Python.php b/net-mgmt/librenms/files/patch-LibreNMS_Validations_Python.php
index 07798b126992..34cdfad6dc11 100644
--- a/net-mgmt/librenms/files/patch-LibreNMS_Validations_Python.php
+++ b/net-mgmt/librenms/files/patch-LibreNMS_Validations_Python.php
@@ -1,13 +1,15 @@
---- LibreNMS/Validations/Python.php.orig 2020-07-20 21:06:40 UTC
+--- LibreNMS/Validations/Python.php.orig 2020-07-10 19:56:16 UTC
+++ LibreNMS/Validations/Python.php
-@@ -51,7 +51,9 @@ class Python extends BaseValidation
+@@ -50,8 +50,10 @@ class Python extends BaseValidation
+ }
$this->checkVersion($validator, $version);
- $this->checkPipVersion($validator, $version);
+- $this->checkPipVersion($validator, $version);
- $this->checkExtensions($validator);
-+ # We've installed from a FreeBSD package.
-+ # Wwe aren't using pip
-+ #$this->checkExtensions($validator);
++# We've installed from a FreeBSD package.
++# We aren't using pip
++# $this->checkPipVersion($validator, $version);
++# $this->checkExtensions($validator);
}
private function checkVersion(Validator $validator, $version)
diff --git a/net-mgmt/librenms/files/pkg-message.in b/net-mgmt/librenms/files/pkg-message.in
index cc198cb96929..35aba0facc90 100644
--- a/net-mgmt/librenms/files/pkg-message.in
+++ b/net-mgmt/librenms/files/pkg-message.in
@@ -75,6 +75,8 @@ You need an APP_KEY.
After that, follow the LibreNMS documentation for configuration.
+You probably want to install lang/python3 to get validate.php clean.
+
EOM
}
{ type: upgrade
@@ -102,6 +104,8 @@ Your existing crontab entries can be deleted.
For more information, see pkg info --pkg-message librenms
+You probably want to install lang/python3 to get validate.php clean.
+
EOM
}
]