git: 97b72ea1e6b5 - main - sysutils/lnav: update to 0.11.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Aug 2023 11:51:48 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=97b72ea1e6b5d662a7bdc733ef345b572f3fb956 commit 97b72ea1e6b5d662a7bdc733ef345b572f3fb956 Author: Thomas Hurst <tom@hur.st> AuthorDate: 2023-08-14 11:30:57 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-08-15 11:48:56 +0000 sysutils/lnav: update to 0.11.2 ChangeLog: https://github.com/tstack/lnav/releases/tag/v0.11.2 This includes a fix for ports/268255 - a crash with an unset or improperly set $LANG. Features: A "cursor" mode has been added to the main view that can be toggled by pressing CTRL-X. While in cursor mode, any operations that would normally work on the "top" line will now operate on the focused line instead. Added CTRL-D and CTRL-U hotkeys to move down/up by half a page. Added an auto-width flag to the elements of the line-format array that indicates that the width of the field should automatically be determined by the observed values. Added bunyan log format from Tobias Gruetzmacher. Added cloudlare log format from @minusf. Number fields used in a JSON log format line-format array now default to being right-aligned. Also, added prefix and suffix to line-format elements so a string can optionally be prepended/appended if the value is not empty. JSON log format detection has been improved to not rely on matching the file name. All possible formats are tried and the one with the most available fields for a given line-format is used. For example, if the first log message has 8 fields and format A contains 5 of those fields in its line-format while format B only contains 2 of those fields in its line-format, format A will be used for the file. Changes: For JSON-lines logs, line-feeds at the end of a value are automatically stripped. Bug Fixes: Hidden values in JSON logs are now hidden by default. Text with ANSI-escapes is now filtered properly. PR: 273107 268255 Reported by: tom@hur.st (maintainer) --- sysutils/lnav/Makefile | 2 +- sysutils/lnav/distinfo | 6 +++--- sysutils/lnav/files/patch-src_text__anonymizer.cc | 10 ---------- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/sysutils/lnav/Makefile b/sysutils/lnav/Makefile index 6d28a8d8300c..55e1ec88cbbf 100644 --- a/sysutils/lnav/Makefile +++ b/sysutils/lnav/Makefile @@ -1,5 +1,5 @@ PORTNAME= lnav -DISTVERSION= 0.11.1 +DISTVERSION= 0.11.2 CATEGORIES= sysutils MASTER_SITES= https://github.com/tstack/${PORTNAME}/releases/download/v${PORTVERSION}/ diff --git a/sysutils/lnav/distinfo b/sysutils/lnav/distinfo index c3fa09bd3377..6334adeceb0f 100644 --- a/sysutils/lnav/distinfo +++ b/sysutils/lnav/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669776794 -SHA256 (lnav-0.11.1.tar.bz2) = 09096710dd6c1e8443d3f7436d65e3a4bdf57214d22d5f3ff9b9ea9f6aa5d709 -SIZE (lnav-0.11.1.tar.bz2) = 2268080 +TIMESTAMP = 1691938673 +SHA256 (lnav-0.11.2.tar.bz2) = a9ecf8c693147d194f9868a666da77379ed72e51575b17835aa0c741856487f8 +SIZE (lnav-0.11.2.tar.bz2) = 2332583 diff --git a/sysutils/lnav/files/patch-src_text__anonymizer.cc b/sysutils/lnav/files/patch-src_text__anonymizer.cc deleted file mode 100644 index e5143fe3b6b2..000000000000 --- a/sysutils/lnav/files/patch-src_text__anonymizer.cc +++ /dev/null @@ -1,10 +0,0 @@ ---- src/text_anonymizer.cc.orig 2022-11-30 03:22:52 UTC -+++ src/text_anonymizer.cc -@@ -31,6 +31,7 @@ - - #include <arpa/inet.h> - #include <curl/curl.h> -+#include <netinet/in.h> - - #include "animals-json.h" - #include "config.h"