diff options
author | Dan Langille <dvl@FreeBSD.org> | 2020-07-20 21:35:34 +0000 |
---|---|---|
committer | Dan Langille <dvl@FreeBSD.org> | 2020-07-20 21:35:34 +0000 |
commit | aab2a6b0ce2ffabad72ec7d9d5aaa2ea51432d4a (patch) | |
tree | 071c72a56c25846b085df708eef9e482fa676d29 /net-mgmt/librenms/files/patch-includes_common.php | |
parent | math/cocoalib: fix build on GCC architectures (diff) |
Update to 1.65.1
This upgrade disables polling via cronjob.
You must now use the Dispatcher. See UPDATING
Diffstat (limited to 'net-mgmt/librenms/files/patch-includes_common.php')
-rw-r--r-- | net-mgmt/librenms/files/patch-includes_common.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net-mgmt/librenms/files/patch-includes_common.php b/net-mgmt/librenms/files/patch-includes_common.php index 4ef2106166cc..2639a9ef3dc3 100644 --- a/net-mgmt/librenms/files/patch-includes_common.php +++ b/net-mgmt/librenms/files/patch-includes_common.php @@ -1,13 +1,13 @@ ---- includes/common.php.orig 2018-10-17 10:33:28 UTC +--- includes/common.php.orig 2020-07-10 19:56:16 UTC +++ includes/common.php -@@ -1158,6 +1158,10 @@ function version_info($remote = false) +@@ -1004,6 +1004,10 @@ function version_info($remote = false) $output['local_sha'] = $local_sha; $output['local_date'] = $local_date; $output['local_branch'] = rtrim(`git rev-parse --abbrev-ref HEAD`); + } else { -+ $output['local_ver'] = '%%PORTVERSION%%'; -+ # obtained via git show --pretty='%H|%ct' -s %%PORTVERSION%% -+ $output['local_date'] = %%RELEASE_TIMESTAMP%%; ++ $output['local_ver'] = '1.65.1'; ++ # obtained via git show --pretty='%H|%ct' -s 1.65.1 ++ $output['local_date'] = 1594410976; } - $output['db_schema'] = dbIsConnected() ? get_db_schema() : '?'; + $output['db_schema'] = vsprintf('%s (%s)', $version->database()); $output['php_ver'] = phpversion(); |