1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

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)
This commit is contained in:
Thomas Hurst 2023-08-14 13:30:57 +02:00 committed by Fernando Apesteguía
parent 1dd9e3ceca
commit 97b72ea1e6
3 changed files with 4 additions and 14 deletions

View File

@ -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}/

View File

@ -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

View File

@ -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"