commit: f4b5f17516ff05decf238032f554e05867e1c652 Author: Zurab Kvachadze <zurabid2016 <AT> gmail <DOT> com> AuthorDate: Sun Oct 5 21:33:22 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Oct 5 23:22:42 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4b5f175
www-nginx/ngx-vts: new package, add 0.2.4 nginx-module-vts[1] is an "NGINX virtual host traffic status module". [1]: https://github.com/vozlt/nginx-module-vts Closes: https://bugs.gentoo.org/962489 Signed-off-by: Zurab Kvachadze <zurabid2016 <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44053 Closes: https://github.com/gentoo/gentoo/pull/44053 Signed-off-by: Sam James <sam <AT> gentoo.org> www-nginx/ngx-vts/Manifest | 1 + www-nginx/ngx-vts/metadata.xml | 22 +++++++++++++++++++++ www-nginx/ngx-vts/ngx-vts-0.2.4.ebuild | 36 ++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) diff --git a/www-nginx/ngx-vts/Manifest b/www-nginx/ngx-vts/Manifest new file mode 100644 index 000000000000..1c1c1b3deff8 --- /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 000000000000..699cf11dea85 --- /dev/null +++ b/www-nginx/ngx-vts/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>[email protected]</email> + <name>Zurab Kvachadze</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>[email protected]</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + 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. + </longdescription> + <upstream> + <bugs-to>https://github.com/vozlt/nginx-module-vts/issues</bugs-to> + <remote-id type="github">vozlt/nginx-module-vts</remote-id> + <changelog>https://github.com/vozlt/nginx-module-vts/blob/master/CHANGELOG.md</changelog> + </upstream> +</pkgmetadata> 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 000000000000..f7da64b84884 --- /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." +}
