Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2026 07:14:46 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9246bb7cdc7b - main - textproc/openvpn-status-parser: new port had been added (+)
Message-ID:  <6a1a8e66.1c8fb.14066954@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9246bb7cdc7b45ffb49a25f9f5c70ce1a7ebe59b

commit 9246bb7cdc7b45ffb49a25f9f5c70ce1a7ebe59b
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2026-05-30 07:13:30 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2026-05-30 07:13:30 +0000

    textproc/openvpn-status-parser: new port had been added (+)
    
    Go application that parses OpenVPN status files and exports
    data in JSON or OpenMetrics (Prometheus) format.
    
    Requested by:   author/maintainer
---
 textproc/Makefile                        |  1 +
 textproc/openvpn-status-parser/Makefile  | 25 +++++++++++++++++++++++++
 textproc/openvpn-status-parser/distinfo  |  3 +++
 textproc/openvpn-status-parser/pkg-descr |  4 ++++
 4 files changed, 33 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 99ff10bdc1a1..6950bbab4e52 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -549,6 +549,7 @@
     SUBDIR += opensearch219
     SUBDIR += opensp
     SUBDIR += openvanilla-framework
+    SUBDIR += openvpn-status-parser
     SUBDIR += or-aspell
     SUBDIR += otree
     SUBDIR += ov
diff --git a/textproc/openvpn-status-parser/Makefile b/textproc/openvpn-status-parser/Makefile
new file mode 100644
index 000000000000..f4ddccc9cc61
--- /dev/null
+++ b/textproc/openvpn-status-parser/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	openvpn-status-parser
+PORTVERSION=	0.1.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	textproc
+
+MAINTAINER=	zeus@gnu.org.ua
+COMMENT=	OpenVPN status file parser and exporter
+WWW=		https://github.com/z-eos/openvpn-status-parser
+
+LICENSE=	GPLv3
+
+USES=		go:modules
+USE_GITHUB=	yes
+GH_ACCOUNT=	z-eos
+
+PLIST_FILES=	bin/${PORTNAME}
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=	DOCS
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/textproc/openvpn-status-parser/distinfo b/textproc/openvpn-status-parser/distinfo
new file mode 100644
index 000000000000..f9b6cb112bc3
--- /dev/null
+++ b/textproc/openvpn-status-parser/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1764693431
+SHA256 (z-eos-openvpn-status-parser-v0.1.0_GH0.tar.gz) = 5e48d2af46dbdcdee430c31ca788f8663a9fcb2a84ca6f3ce1efb7d638adfc4f
+SIZE (z-eos-openvpn-status-parser-v0.1.0_GH0.tar.gz) = 32968
diff --git a/textproc/openvpn-status-parser/pkg-descr b/textproc/openvpn-status-parser/pkg-descr
new file mode 100644
index 000000000000..adb8c40deff3
--- /dev/null
+++ b/textproc/openvpn-status-parser/pkg-descr
@@ -0,0 +1,4 @@
+Go application that parses OpenVPN status files and exports data in JSON
+or OpenMetrics (Prometheus) format.  Supports all three OpenVPN status
+file versions (v1, v2, v3) and automatically extracts configuration data
+necessary from OpenVPN server config files.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1a8e66.1c8fb.14066954>