svn commit: r543428 - in head/net-mgmt/librenms: . files

Dan Langille dvl at FreeBSD.org
Sat Jul 25 19:15:51 UTC 2020


Author: dvl
Date: Sat Jul 25 19:15:49 2020
New Revision: 543428
URL: https://svnweb.freebsd.org/changeset/ports/543428

Log:
  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 at mezonplus.ru>

Modified:
  head/net-mgmt/librenms/Makefile
  head/net-mgmt/librenms/files/patch-LibreNMS_Validations_Python.php
  head/net-mgmt/librenms/files/pkg-message.in

Modified: head/net-mgmt/librenms/Makefile
==============================================================================
--- head/net-mgmt/librenms/Makefile	Sat Jul 25 17:58:07 2020	(r543427)
+++ head/net-mgmt/librenms/Makefile	Sat Jul 25 19:15:49 2020	(r543428)
@@ -3,6 +3,7 @@
 
 PORTNAME=	librenms
 PORTVERSION=	1.65.1
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	LOCAL/dvl:vendor

Modified: head/net-mgmt/librenms/files/patch-LibreNMS_Validations_Python.php
==============================================================================
--- head/net-mgmt/librenms/files/patch-LibreNMS_Validations_Python.php	Sat Jul 25 17:58:07 2020	(r543427)
+++ head/net-mgmt/librenms/files/patch-LibreNMS_Validations_Python.php	Sat Jul 25 19:15:49 2020	(r543428)
@@ -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)

Modified: head/net-mgmt/librenms/files/pkg-message.in
==============================================================================
--- head/net-mgmt/librenms/files/pkg-message.in	Sat Jul 25 17:58:07 2020	(r543427)
+++ head/net-mgmt/librenms/files/pkg-message.in	Sat Jul 25 19:15:49 2020	(r543428)
@@ -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
@@ -101,6 +103,8 @@ see https://community.librenms.org/t/dropping-support-
 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
 }


More information about the svn-ports-all mailing list