aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2019-02-25 21:48:14 +0000
committerDan Langille <dvl@FreeBSD.org>2019-02-25 21:48:14 +0000
commit9c43ac72e758027087d2611535e854d4791b6059 (patch)
treee973afa819beb2ce54fca4f6780b592b94b14dcb
parenteebb42ee570be12b9fa7fd9e41a84ade4a119a7f (diff)
downloadports-9c43ac72e758027087d2611535e854d4791b6059.tar.gz
ports-9c43ac72e758027087d2611535e854d4791b6059.zip
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)
Notes
Notes: svn path=/head/; revision=493899
-rw-r--r--net-mgmt/librenms/Makefile10
-rw-r--r--net-mgmt/librenms/distinfo10
-rw-r--r--net-mgmt/librenms/files/patch-includes_common.php10
-rw-r--r--net-mgmt/librenms/files/pkg-message.in6
4 files changed, 17 insertions, 19 deletions
diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile
index 1991f760d19d..88a8c94ea28f 100644
--- a/net-mgmt/librenms/Makefile
+++ b/net-mgmt/librenms/Makefile
@@ -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 \
diff --git a/net-mgmt/librenms/distinfo b/net-mgmt/librenms/distinfo
index ba3e298b659d..4804e2ef052f 100644
--- a/net-mgmt/librenms/distinfo
+++ b/net-mgmt/librenms/distinfo
@@ -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
diff --git a/net-mgmt/librenms/files/patch-includes_common.php b/net-mgmt/librenms/files/patch-includes_common.php
index 1a37a6eb5a8a..4ef2106166cc 100644
--- a/net-mgmt/librenms/files/patch-includes_common.php
+++ b/net-mgmt/librenms/files/patch-includes_common.php
@@ -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;
diff --git a/net-mgmt/librenms/files/pkg-message.in b/net-mgmt/librenms/files/pkg-message.in
index be46a270b382..55e7637406f2 100644
--- a/net-mgmt/librenms/files/pkg-message.in
+++ b/net-mgmt/librenms/files/pkg-message.in
@@ -32,7 +32,11 @@ PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
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: