git: 230660ad1b46 - main - Add textproc/nerdlog: Fast, multi-host TUI log viewer with timeline histogram

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Tue, 06 May 2025 12:23:30 UTC
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=230660ad1b466cab23c7c0f0b7cb396f1bda23f9

commit 230660ad1b466cab23c7c0f0b7cb396f1bda23f9
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2025-05-06 12:23:15 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2025-05-06 12:23:15 +0000

    Add textproc/nerdlog: Fast, multi-host TUI log viewer with timeline histogram
---
 textproc/Makefile          |  1 +
 textproc/nerdlog/Makefile  | 22 ++++++++++++++++++++++
 textproc/nerdlog/distinfo  |  5 +++++
 textproc/nerdlog/pkg-descr |  3 +++
 4 files changed, 31 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index ede3b6066e7c..83600df918eb 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -498,6 +498,7 @@
     SUBDIR += mxml
     SUBDIR += mythes
     SUBDIR += nb-aspell
+    SUBDIR += nerdlog
     SUBDIR += nds-aspell
     SUBDIR += nl-aspell
     SUBDIR += nl-hunspell
diff --git a/textproc/nerdlog/Makefile b/textproc/nerdlog/Makefile
new file mode 100644
index 000000000000..bc0939f962a1
--- /dev/null
+++ b/textproc/nerdlog/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	nerdlog
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.6.0
+CATEGORIES=	textproc
+
+MAINTAINER=	lwhsu@FreeBSD.org
+COMMENT=	Fast, multi-host TUI log viewer with timeline histogram
+WWW=		https://dmitryfrank.com/projects/nerdlog/article
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	gawk:lang/gawk
+
+USES=		go:modules
+
+GO_MODULE=	github.com/dimonomid/nerdlog
+GO_TARGET=	./cmd/nerdlog
+
+PLIST_FILES=	bin/nerdlog
+
+.include <bsd.port.mk>
diff --git a/textproc/nerdlog/distinfo b/textproc/nerdlog/distinfo
new file mode 100644
index 000000000000..cbf9a2a5896a
--- /dev/null
+++ b/textproc/nerdlog/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1746533765
+SHA256 (go/textproc_nerdlog/nerdlog-v1.6.0/v1.6.0.mod) = 84c90da8b68005e016c1cfb86a87ea46ed0dfa374d53dd0128ede3438f89e0ff
+SIZE (go/textproc_nerdlog/nerdlog-v1.6.0/v1.6.0.mod) = 1211
+SHA256 (go/textproc_nerdlog/nerdlog-v1.6.0/v1.6.0.zip) = 099b21d3f460b3f065be1bf9358bfb3c6aac46b286cea5e3ef4861e9dec88f0d
+SIZE (go/textproc_nerdlog/nerdlog-v1.6.0/v1.6.0.zip) = 2009588
diff --git a/textproc/nerdlog/pkg-descr b/textproc/nerdlog/pkg-descr
new file mode 100644
index 000000000000..9ae0933b8848
--- /dev/null
+++ b/textproc/nerdlog/pkg-descr
@@ -0,0 +1,3 @@
+Nerdlog is a fast, remote-first, multi-host TUI log viewer with timeline
+histogram and no central server. Loosely inspired by Graylog/Kibana, but
+without the bloat. Pretty much no setup needed, either.