1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

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
PORTVERSION= 1.65.1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net-mgmt
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
@@ -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)

View File

@ -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
}
]