diff options
author | Zen <z@pyl.onl> | 2023-12-19 10:56:26 -0600 |
---|---|---|
committer | Zen <z@pyl.onl> | 2023-12-22 17:59:10 -0600 |
commit | b3623bcb667ba03cab07490db533c389a2dd87de (patch) | |
tree | 3c88f839dad2808237eb7cf34078ef1bf52bf1be /app-metrics | |
parent | sys-kernel/uek-sources: add 5.15.0.202.135.1 (diff) | |
download | guru-b3623bcb667ba03cab07490db533c389a2dd87de.tar.gz guru-b3623bcb667ba03cab07490db533c389a2dd87de.tar.bz2 guru-b3623bcb667ba03cab07490db533c389a2dd87de.zip |
app-metrics/loki: Added initial ebuild, account/user groups
Signed-off-by: Zen <z@pyl.onl>
Diffstat (limited to 'app-metrics')
-rw-r--r-- | app-metrics/loki/Manifest | 1 | ||||
-rw-r--r-- | app-metrics/loki/loki-2.9.2.ebuild | 28 | ||||
-rw-r--r-- | app-metrics/loki/metadata.xml | 11 |
3 files changed, 40 insertions, 0 deletions
diff --git a/app-metrics/loki/Manifest b/app-metrics/loki/Manifest new file mode 100644 index 000000000..9bc92d1c5 --- /dev/null +++ b/app-metrics/loki/Manifest @@ -0,0 +1 @@ +DIST loki-2.9.2.tar.gz 45711316 BLAKE2B d72445877493b7773ebd43dc7719060893b282068f7099a47b80b5bde131ae65dfb96e1f8176ef5993e07977a67b70b7692b158d673968813580b72fb34fe03a SHA512 44640fd2026ff21499916c1eb16b871f6af9b83d19fc7bae9c997f45185487093a9b5a33d402a1890024770dadbc98f45e103dacd397c0dd432ee0619838418e diff --git a/app-metrics/loki/loki-2.9.2.ebuild b/app-metrics/loki/loki-2.9.2.ebuild new file mode 100644 index 000000000..ab67587c9 --- /dev/null +++ b/app-metrics/loki/loki-2.9.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Like Prometheus, but for logs" +HOMEPAGE="https://github.com/grafana/loki" +SRC_URI="https://github.com/grafana/loki/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +COMMON_DEPEND="acct-group/loki + acct-user/loki" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" + +src_compile() { + ego build ./cmd/loki +} + +src_install() { + # Install the loki binary into /usr/bin + insinto /usr/bin + dobin loki +} diff --git a/app-metrics/loki/metadata.xml b/app-metrics/loki/metadata.xml new file mode 100644 index 000000000..be888d862 --- /dev/null +++ b/app-metrics/loki/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>dev@pyl.onl</email> + <name>Zen</name> + </maintainer> + <upstream> + <remote-id type="github">grafana/loki</remote-id> + </upstream> +</pkgmetadata> |