summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <git@mva.name>2017-03-29 16:38:36 +0700
committerVadim A. Misbakh-Soloviov <git@mva.name>2017-03-29 16:38:36 +0700
commit30607eec3ae0face9282fd0b95aa1530ea775b60 (patch)
tree971f7344825dab4e3a32f58d9f898695e25b10cf /net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-9999.ebuild
parentprosody{,-modules}: bump (diff)
downloadlua-30607eec3ae0face9282fd0b95aa1530ea775b60.tar.gz
lua-30607eec3ae0face9282fd0b95aa1530ea775b60.tar.bz2
lua-30607eec3ae0face9282fd0b95aa1530ea775b60.zip
lua.eclass: rework url magic a bit, profiles: lua_targets desc, net-analyzer/prometheus-nginx_exporter: added
Diffstat (limited to 'net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-9999.ebuild')
-rw-r--r--net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-9999.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-9999.ebuild b/net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-9999.ebuild
new file mode 100644
index 0000000..0bcf4c7
--- /dev/null
+++ b/net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-9999.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VCS="git"
+GITHUB_A="knyar"
+GITHUB_PN="nginx-lua-prometheus"
+
+inherit lua
+
+DESCRIPTION="Prometheus exporter for NginX metrics"
+HOMEPAGE="https://github.com/knyar/nginx-lua-prometheus"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="
+ www-servers/nginx:*[nginx_modules_http_lua]
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+DOCS=(README.md)
+
+each_lua_install() {
+ dolua prometheus.lua
+}