diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-10 11:36:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-10 11:36:37 +0100 |
commit | d6fe3a53bdeea6b060d1755199cc2c27492dc14c (patch) | |
tree | 7bb8240ab620eafcfe59b3d1b45831bf45e12501 /app-metrics/carbonapi-web | |
parent | 4bbcd26e7cb1908fb98bb318bfaa13ea9e32d860 (diff) |
gentoo auto-resync : 10:04:2023 - 11:36:36
Diffstat (limited to 'app-metrics/carbonapi-web')
-rw-r--r-- | app-metrics/carbonapi-web/Manifest | 4 | ||||
-rw-r--r-- | app-metrics/carbonapi-web/carbonapi-web-1.0.ebuild | 28 | ||||
-rw-r--r-- | app-metrics/carbonapi-web/files/postinstall-en.txt | 12 | ||||
-rw-r--r-- | app-metrics/carbonapi-web/metadata.xml | 11 |
4 files changed, 55 insertions, 0 deletions
diff --git a/app-metrics/carbonapi-web/Manifest b/app-metrics/carbonapi-web/Manifest new file mode 100644 index 000000000000..d214a9c4e70f --- /dev/null +++ b/app-metrics/carbonapi-web/Manifest @@ -0,0 +1,4 @@ +AUX postinstall-en.txt 410 BLAKE2B 40bd28784e8961713e7dd571142e2e137e3e90d50a61acc8b361ac8f7999c66a5c0a27aeaf9cf57d4f01ff42c6f02813ef73e30b5ca410b7b750e5f12dec2261 SHA512 04b52286fafb4bb65b372c44051fd00065e6f1fb019412266c577ce3f97989177b11643338a308f76ad2ae645c7be6c2eda0c514ccfd5ff5575d28c331081f25 +DIST carbonapi-web-1.0.tar.gz 1026954 BLAKE2B e482565b103b7afcfb7e2d778e57b24610713568f7ec079247b8dbd9f1f46668f0487eefef6d34e27bb0985bf5bc9bb6edb1a1d22652ff0db575b32099586c5f SHA512 56a048d414aae2db99a29aca46ebe0c58e738acdae44ffa0b82478559dd0e2327767682941e69d5cda0c716cf7121c2f90d40b9866943b735d424c4b5b283e5c +EBUILD carbonapi-web-1.0.ebuild 589 BLAKE2B ee7b51b0cb86843be14f30a690b656bf8335aa3becb39654e8273680a9291efea314905d2cff7c97666cd0ecdf5441470d7886421f2e5f70d6e0f7ac575ef36e SHA512 84dd52b70eca6c2d9e7f8a03f96cc5a752e24b6433d8002b1c329b280fd01a5d40755fe7d77b63d907467ecbb1bcaa316289024b4f2b460a957a711a6367edc8 +MISC metadata.xml 335 BLAKE2B f7bb5d037750a9f0d53b78055a904833ec119beb4586ab7fccfef0c38d76d00b49c620058c7688168c54524d6ba3cbce016595f3471b55f2e4d6b41b706c2a97 SHA512 7674888eda95f92e00762ea3ac509fc1f7ae5b4a0d3a1380f8df6a082a5d4b35cf06aa44540a807b1a5507f39832c1fee65ce1df76adfafa189a37d91faff6c9 diff --git a/app-metrics/carbonapi-web/carbonapi-web-1.0.ebuild b/app-metrics/carbonapi-web/carbonapi-web-1.0.ebuild new file mode 100644 index 000000000000..3da2ea912f27 --- /dev/null +++ b/app-metrics/carbonapi-web/carbonapi-web-1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit webapp + +DESCRIPTION="graphite-web fork for standalone usage with carbonapi" +HOMEPAGE="https://github.com/grobian/carbonapi-web" +SRC_URI="https://github.com/grobian/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_install() { + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r webapp/content/* + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + webapp_src_install +} diff --git a/app-metrics/carbonapi-web/files/postinstall-en.txt b/app-metrics/carbonapi-web/files/postinstall-en.txt new file mode 100644 index 000000000000..26cd2dc8abb0 --- /dev/null +++ b/app-metrics/carbonapi-web/files/postinstall-en.txt @@ -0,0 +1,12 @@ +1. install and setup a Graphite resolving and rendering instance such as + app-metrics/carbonapi-booking +2. setup a vhost that: + - uses default index file browser.html + - proxies these paths down to the Graphite rendering instance: + * /render/ + * /metrics/ + * /info/ + * /functions/ + * /tags/ +3. the combined setup should load the web browser and interact with your + Graphite install diff --git a/app-metrics/carbonapi-web/metadata.xml b/app-metrics/carbonapi-web/metadata.xml new file mode 100644 index 000000000000..d431e6b2a193 --- /dev/null +++ b/app-metrics/carbonapi-web/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>grobian@gentoo.org</email> + <name>Fabian Groffen</name> + </maintainer> + <upstream> + <remote-id type="github">grobian/carbonapi-web</remote-id> + </upstream> +</pkgmetadata> |