From d6fe3a53bdeea6b060d1755199cc2c27492dc14c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Apr 2023 11:36:37 +0100 Subject: gentoo auto-resync : 10:04:2023 - 11:36:36 --- app-metrics/Manifest.gz | Bin 6466 -> 6630 bytes app-metrics/carbonapi-booking/Manifest | 2 +- .../carbonapi-booking-0.3.0.ebuild | 10 ++++++++ app-metrics/carbonapi-web/Manifest | 4 +++ app-metrics/carbonapi-web/carbonapi-web-1.0.ebuild | 28 +++++++++++++++++++++ app-metrics/carbonapi-web/files/postinstall-en.txt | 12 +++++++++ app-metrics/carbonapi-web/metadata.xml | 11 ++++++++ 7 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 app-metrics/carbonapi-web/Manifest create mode 100644 app-metrics/carbonapi-web/carbonapi-web-1.0.ebuild create mode 100644 app-metrics/carbonapi-web/files/postinstall-en.txt create mode 100644 app-metrics/carbonapi-web/metadata.xml (limited to 'app-metrics') diff --git a/app-metrics/Manifest.gz b/app-metrics/Manifest.gz index cd23883eef23..02a4b102ad9f 100644 Binary files a/app-metrics/Manifest.gz and b/app-metrics/Manifest.gz differ diff --git a/app-metrics/carbonapi-booking/Manifest b/app-metrics/carbonapi-booking/Manifest index a364387c1323..7765dd088a68 100644 --- a/app-metrics/carbonapi-booking/Manifest +++ b/app-metrics/carbonapi-booking/Manifest @@ -1,5 +1,5 @@ AUX carbonapi-booking.confd 213 BLAKE2B 2a23f23f102c0f20a988d9a8d3da8f06494c1292de1fa26f500e5614b196b012129aae492f6e377ea4e0e092a01fed8888563e2958c2cdfcca3ecd7023ab7cbd SHA512 a014879eaa49accf7004d696dc5a46c157fdf07dce9dd0427e103ddbf524611036f48cadcf5875af00a22c2b2c14627435af3d835aa4bcdfcb5504bfcd89b1a9 AUX carbonapi-booking.initd 884 BLAKE2B 52a3c46c3c3820091eccbf71a3ca2b4349840a318b0d04ea4e441377cc401a2d86e5b31f00670a034a447dafe67441b19ce2b0b78a8db9715cbdda43b5c87fc2 SHA512 f9ade9168520b1a128d156693d9093d7808bdf6976dd12cf2fc919218f2616743d64920bf56b70b1a00a023d55ada3bd981ddce23f44006a5a6510efd5918a60 DIST carbonapi-booking-0.3.0.tar.gz 1395080 BLAKE2B e5ebe20a4833f17919f0a14e091b06b5270d7dd8880fa87600454ac33b7df7600d1428f0b2e06c65a1a36796e2eb026e8c47b98444dce168cec0e965ebee9d69 SHA512 327af89fd86661ccca9d7250e70b66f03089841b20e3c51128bcbb835a91d553d952928d991424f9bbe1fea235cd9e6242784d8cbd828725ba5b2cfb64328487 -EBUILD carbonapi-booking-0.3.0.ebuild 698 BLAKE2B 47a06501e897ecb34cf3d1b4c25755c58778806890cf82da687206ed3f007265e331517bf39a9e30ceb749b07edbff00ce9dcb0b2bfb587952838a0a3b42e594 SHA512 a8b44953b7a37f0cef5ea3bc30d949a7b2ebac0ed223e56f7fa0a58f750ceb14f3abb24e0d2b25b3b6296e35867e0601a11024bf0d49849c81506430aadf9501 +EBUILD carbonapi-booking-0.3.0.ebuild 895 BLAKE2B 788486a46d004a69dbe50df9e77cebd57ec19490dcb36d765784623206474abee0c5d6b5a244a479702ff8d3bebd25f10a8349f6031738c8aa50693e07f32b76 SHA512 dc269fc9ad59c8e62ea7b0e13811662c28e62af6d70e903932164e5bdb116a61cf0ca51fdbdc6c19fb6b19c5c7bdf398c510b033fbdd6c6dfa97a74b468ff976 MISC metadata.xml 334 BLAKE2B 81ff9b6976e8c05afd1a70cb03b1e3d14adf26df09883f21b13ad7368d527aea5aacaa1222e427a34c5b39922d0b4ab568d06846fb80381ed3c1e83e9c301e6d SHA512 a73a32986d738bef2d5ea5e479cd626c14c4bf7222e1b6b1918fd9232574975e1d002d479080a55ea02c40c129650093133da3b2eb1b8d658bff3f26d476cb27 diff --git a/app-metrics/carbonapi-booking/carbonapi-booking-0.3.0.ebuild b/app-metrics/carbonapi-booking/carbonapi-booking-0.3.0.ebuild index 1e309c4d679b..e8633fd600e7 100644 --- a/app-metrics/carbonapi-booking/carbonapi-booking-0.3.0.ebuild +++ b/app-metrics/carbonapi-booking/carbonapi-booking-0.3.0.ebuild @@ -21,6 +21,16 @@ RDEPEND="${DEPEND} acct-user/carbon" BDEPEND="" +src_prepare() { + export VERSION="gentoo-${PVR}" + + # bug 904051: disable data-race detection, conflicts with + # go-module's -buildmode=pie + sed -i -e 's/ -race / /' Makefile || die + + eapply_user +} + src_install() { insinto /etc/carbonapi doins -r "${S}"/config/* 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 @@ + + + + + grobian@gentoo.org + Fabian Groffen + + + grobian/carbonapi-web + + -- cgit v1.2.3