www/angie-console-light: New port: Angie Web Monitoring Panel

Angie Console Light is a lightweight, real-time monitoring interface
for www/angie.
The panel uses the native angie api and only consists of a handful of
files which are put into ${WWWDIR}, so the port is just a more
coventient way to put the contents of the tarball into
"${PREFIX}/www/angie-console-light/".

Documentation can be found at
https://en.angie.software/angie/docs/configuration/monitoring/

PR:	288098
This commit is contained in:
Sebastian Oswald
2025-07-10 04:24:26 +03:00
committed by Vladimir Druzenko
parent 25ef3857b8
commit 4f22a12e8d
6 changed files with 72 additions and 0 deletions

View File

@@ -31,6 +31,7 @@
SUBDIR += amphetadesk
SUBDIR += analog
SUBDIR += angie
SUBDIR += angie-console-light
SUBDIR += angie-module-auth-jwt
SUBDIR += angie-module-auth-spnego
SUBDIR += angie-module-brotli

View File

@@ -0,0 +1,22 @@
PORTNAME= angie-console-light
DISTVERSION= 1.8.0
CATEGORIES= www
MASTER_SITES= https://download.angie.software/files/angie-console-light/
MAINTAINER= sko@rostwald.de
COMMENT= Angie Web Monitoring Panel
WWW= https://en.angie.software/angie/docs/configuration/monitoring/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1751971747
SHA256 (angie-console-light-1.8.0.tar.gz) = f1bb4d12c87c31efcc4322d8d222096a5dd49d91f3a07aba429ab255826f3bce
SIZE (angie-console-light-1.8.0.tar.gz) = 1074980

View File

@@ -0,0 +1,25 @@
[
{ type: install
message: <<EOM
For configuration details follow the documentation at
https://en.angie.software/angie/docs/configuration/monitoring/
Minimal configuration:
---
location /console/ {
allow 127.0.0.1;
deny all;
auto_redirect on;
alias %%WWWDIR%%/html/;
index index.html;
location /console/api/ {
api /status/;
}
}
---
EOM
}
]

View File

@@ -0,0 +1,2 @@
Console Light is a lightweight, real-time activity monitoring interface that
displays key server load and performance metrics.

View File

@@ -0,0 +1,19 @@
%%WWWDIR%%/LICENSE
%%WWWDIR%%/html/assets/app.bundle.js
%%WWWDIR%%/html/assets/app.bundle.js.LICENSE.txt
%%WWWDIR%%/html/assets/editor.worker.bundle.js
%%WWWDIR%%/html/assets/images/Fav16-danger.png
%%WWWDIR%%/html/assets/images/Fav16-warn.png
%%WWWDIR%%/html/assets/images/Fav16.png
%%WWWDIR%%/html/assets/images/arrow.svg
%%WWWDIR%%/html/assets/images/chart.svg
%%WWWDIR%%/html/assets/images/copy.svg
%%WWWDIR%%/html/assets/images/danger.svg
%%WWWDIR%%/html/assets/images/gear.svg
%%WWWDIR%%/html/assets/images/ok.svg
%%WWWDIR%%/html/assets/images/pencil-red.svg
%%WWWDIR%%/html/assets/images/pencil.svg
%%WWWDIR%%/html/assets/images/snowflake.svg
%%WWWDIR%%/html/assets/images/sun.svg
%%WWWDIR%%/html/assets/images/warning.svg
%%WWWDIR%%/html/index.html