mirror of
https://git.freebsd.org/ports.git
synced 2025-07-09 05:19:16 -04:00
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)
13 lines
625 B
PHP
13 lines
625 B
PHP
--- includes/common.php.orig 2018-10-17 10:33:28 UTC
|
|
+++ includes/common.php
|
|
@@ -1158,6 +1158,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['db_schema'] = dbIsConnected() ? get_db_schema() : '?';
|
|
$output['php_ver'] = phpversion();
|