diff --git a/www-nginx/ngx-vts/Manifest b/www-nginx/ngx-vts/Manifest new file mode 100644 index 0000000000000..1c1c1b3deff8a --- /dev/null +++ b/www-nginx/ngx-vts/Manifest @@ -0,0 +1 @@ +DIST ngx-vts-0.2.4.tar.gz 182587 BLAKE2B 9b25beb42837b6a2cfb95259462dcac39c1d9199960f61a3f470855e672f1ebf8be3daad23af3fc633301f76022e1703c4eacd102fd4a49deeeb77b8ad30adbf SHA512 89f21e7dfb85c0ddc266113543b8804289b53abd8bb24e2dc380957ee8d2a87958708df073815df4360feb79cdf0dcbe28cc9d10c8846f51004ff43296ddadd3 diff --git a/www-nginx/ngx-vts/metadata.xml b/www-nginx/ngx-vts/metadata.xml new file mode 100644 index 0000000000000..699cf11dea85f --- /dev/null +++ b/www-nginx/ngx-vts/metadata.xml @@ -0,0 +1,22 @@ + + + + + zurabid2016@gmail.com + Zurab Kvachadze + + + proxy-maint@gentoo.org + Proxy Maintainers + + + nginx-module-vts is an NGINX module that provides access to virtual host status information. + It contains the current status such as servers, upstreams, caches. This is similar to the + live activity monitoring of NGINX Plus. + + + https://github.com/vozlt/nginx-module-vts/issues + vozlt/nginx-module-vts + https://github.com/vozlt/nginx-module-vts/blob/master/CHANGELOG.md + + diff --git a/www-nginx/ngx-vts/ngx-vts-0.2.4.ebuild b/www-nginx/ngx-vts/ngx-vts-0.2.4.ebuild new file mode 100644 index 0000000000000..f7da64b848844 --- /dev/null +++ b/www-nginx/ngx-vts/ngx-vts-0.2.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="nginx-module-vts" +NGINX_MOD_S="${WORKDIR}/${MY_PN}-${PV}" + +inherit nginx-module + +DESCRIPTION="NGINX virtual host traffic status module" +HOMEPAGE="https://github.com/vozlt/nginx-module-vts" +SRC_URI=" + https://github.com/vozlt/nginx-module-vts/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +src_install() { + nginx-module_src_install + + dodoc "${NGINX_MOD_S}/CHANGELOG.md" + # Install the HTML status pages. + insinto usr/share/"${PN}" + doins "${NGINX_MOD_S}"/share/*.html +} + +pkg_postinst() { + nginx-module_pkg_postinst + + elog "The HTML status pages have been saved to ${EPREFIX}/usr/share/${PN}." + elog "Copy or symlink/hardlink them to your server directory and" + elog "edit to your pleasure." +}