Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2019 21:48:15 +0000 (UTC)
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493899 - in head/net-mgmt/librenms: . files
Message-ID:  <201902252148.x1PLmFgo026258@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dvl
Date: Mon Feb 25 21:48:14 2019
New Revision: 493899
URL: https://svnweb.freebsd.org/changeset/ports/493899

Log:
  Upgrade to 1.48.1
  Take over as maintainer
  in pkg-message:
  * Correct the .env.example
  * Add ./validate
  
  1.48 was skipped because of time issue
  
  Release notes:
  1.48.1  Fix for some OS loading issues.
          https://github.com/librenms/librenms/releases/tag/1.48.1
  1.48    https://github.com/librenms/librenms/releases/tag/1.48
  
  PR:		235537
  Submitted by:	Laszlo Danielisz <lacibsd@gmail.com>
  Approved by:	bofh@FreeBSD.org (maintainer)

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

Modified: head/net-mgmt/librenms/Makefile
==============================================================================
--- head/net-mgmt/librenms/Makefile	Mon Feb 25 21:27:09 2019	(r493898)
+++ head/net-mgmt/librenms/Makefile	Mon Feb 25 21:48:14 2019	(r493899)
@@ -2,13 +2,13 @@
 # $FreeBSD$
 
 PORTNAME=	librenms
-PORTVERSION=	1.47
+PORTVERSION=	1.48.1
 PORTEPOCH=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	LOCAL/dvl:vendor
 DISTFILES=	${PORTNAME}-vendor-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX}:vendor
 
-MAINTAINER=	bofh@FreeBSD.org
+MAINTAINER=	dvl@FreeBSD.org
 COMMENT=	Autodiscovering PHP/MySQL/SNMP based network monitoring
 
 LICENSE=	GPLv3
@@ -18,7 +18,7 @@ USES=		python${PY_MYSQL} shebangfix
 # RELEASE_TIMESTAMP is used for a patch inside the vendor code
 # it represents the release date via: git show --pretty='%H|%ct' -s 1.42.01
 # It sits here so you remember to update it with each release
-RELEASE_TIMESTAMP=	1546180156
+RELEASE_TIMESTAMP=	1548881623
 
 # perhaps we also need python-memcache python-mysqldb
 RUN_DEPENDS+=	rrdtool:databases/rrdtool \
@@ -111,6 +111,10 @@ OTHER_DIRS=	storage/app/public \
 		storage/logs \
 		vendor/amenadiel/jpgraph/tests/_output \
 		vendor/amenadiel/jpgraph/tests/_support/_generated \
+		vendor/doctrine/common/lib/vendor/doctrine-build-common \
+		vendor/doctrine/dbal/lib/vendor/Symfony/Component/Console \
+		vendor/doctrine/dbal/lib/vendor/doctrine-build-common \
+		vendor/doctrine/dbal/lib/vendor/doctrine-common \
 		vendor/laravel/laravel/bootstrap/cache \
 		vendor/laravel/laravel/storage/app/public \
 		vendor/laravel/laravel/storage/framework/cache \

Modified: head/net-mgmt/librenms/distinfo
==============================================================================
--- head/net-mgmt/librenms/distinfo	Mon Feb 25 21:27:09 2019	(r493898)
+++ head/net-mgmt/librenms/distinfo	Mon Feb 25 21:48:14 2019	(r493899)
@@ -1,5 +1,5 @@
-TIMESTAMP = 1547281452
-SHA256 (librenms-vendor-1.47.tar.gz) = 582ef6422dde449791c93953905d00deefe1c7f09b65167acebb49cd1f56d8a5
-SIZE (librenms-vendor-1.47.tar.gz) = 31703568
-SHA256 (librenms-librenms-1.47_GH0.tar.gz) = cbd99253845f4a4c310b8705e9bac291e91a26701f89e67fc8e165b1c5a459e4
-SIZE (librenms-librenms-1.47_GH0.tar.gz) = 32387151
+TIMESTAMP = 1551047148
+SHA256 (librenms-vendor-1.48.1.tar.gz) = 88fa497078bad749bd29ba4227dd0550e0ff5e6debaf829c6261928c8cac3461
+SIZE (librenms-vendor-1.48.1.tar.gz) = 32057420
+SHA256 (librenms-librenms-1.48.1_GH0.tar.gz) = 5d7ee7b0583686f4d463f95098a4d12a950d452056789f48654c1472e9936417
+SIZE (librenms-librenms-1.48.1_GH0.tar.gz) = 32861666

Modified: head/net-mgmt/librenms/files/patch-includes_common.php
==============================================================================
--- head/net-mgmt/librenms/files/patch-includes_common.php	Mon Feb 25 21:27:09 2019	(r493898)
+++ head/net-mgmt/librenms/files/patch-includes_common.php	Mon Feb 25 21:48:14 2019	(r493899)
@@ -11,13 +11,3 @@
      }
      $output['db_schema']   = dbIsConnected() ? get_db_schema() : '?';
      $output['php_ver']     = phpversion();
-@@ -1719,6 +1723,9 @@ function set_numeric($value, $default = 
- 
- function check_git_exists()
- {
-+    # installed from package; git not involved
-+    return false;
-+
-     exec('git > /dev/null 2>&1', $response, $exit_code);
-     if ($exit_code === 1) {
-         return true;

Modified: head/net-mgmt/librenms/files/pkg-message.in
==============================================================================
--- head/net-mgmt/librenms/files/pkg-message.in	Mon Feb 25 21:27:09 2019	(r493898)
+++ head/net-mgmt/librenms/files/pkg-message.in	Mon Feb 25 21:48:14 2019	(r493899)
@@ -32,7 +32,11 @@ PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
 For a fresh install, you need to create an APP_KEY:
 
 cd %%WWWDIR%%
-cp -i .env.sample .env
+cp -i .env.example .env
+
+It is also a good idea to:
+cd %%WWWDIR%%
+./validate
 
 You might need to set your database details in that file
 Then run:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902252148.x1PLmFgo026258>