Add lang/pyton3 recommendation to pkg-message

While here, patch pip3 warnings, which we don't use because we are a
package and we don't do things like that.

PR:		248255
Submitted by:	Alexander Moisseev <moiseev@mezonplus.ru>
This commit is contained in:
Dan Langille 2020-07-25 19:15:49 +00:00
parent dbab9cdda6
commit eb55cb33ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543428
3 changed files with 13 additions and 6 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= librenms PORTNAME= librenms
PORTVERSION= 1.65.1 PORTVERSION= 1.65.1
PORTREVISION= 1
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= net-mgmt CATEGORIES= net-mgmt
MASTER_SITES= LOCAL/dvl:vendor MASTER_SITES= LOCAL/dvl:vendor

View file

@ -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 +++ 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->checkVersion($validator, $version);
$this->checkPipVersion($validator, $version); - $this->checkPipVersion($validator, $version);
- $this->checkExtensions($validator); - $this->checkExtensions($validator);
+ # We've installed from a FreeBSD package. +# We've installed from a FreeBSD package.
+ # Wwe aren't using pip +# We aren't using pip
+ #$this->checkExtensions($validator); +# $this->checkPipVersion($validator, $version);
+# $this->checkExtensions($validator);
} }
private function checkVersion(Validator $validator, $version) private function checkVersion(Validator $validator, $version)

View file

@ -75,6 +75,8 @@ You need an APP_KEY.
After that, follow the LibreNMS documentation for configuration. After that, follow the LibreNMS documentation for configuration.
You probably want to install lang/python3 to get validate.php clean.
EOM EOM
} }
{ type: upgrade { type: upgrade
@ -102,6 +104,8 @@ Your existing crontab entries can be deleted.
For more information, see pkg info --pkg-message librenms For more information, see pkg info --pkg-message librenms
You probably want to install lang/python3 to get validate.php clean.
EOM EOM
} }
] ]