mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
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@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@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
a8c7575084
commit
f4b5f17516
@@ -0,0 +1 @@
|
||||
DIST ngx-vts-0.2.4.tar.gz 182587 BLAKE2B 9b25beb42837b6a2cfb95259462dcac39c1d9199960f61a3f470855e672f1ebf8be3daad23af3fc633301f76022e1703c4eacd102fd4a49deeeb77b8ad30adbf SHA512 89f21e7dfb85c0ddc266113543b8804289b53abd8bb24e2dc380957ee8d2a87958708df073815df4360feb79cdf0dcbe28cc9d10c8846f51004ff43296ddadd3
|
||||
@@ -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>zurabid2016@gmail.com</email>
|
||||
<name>Zurab Kvachadze</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</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>
|
||||
@@ -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."
|
||||
}
|
||||
Reference in New Issue
Block a user