app-metrics/metricbeat-bin - 8.19.23 (inode64-overlay)

Search

Install

Install this version:

emerge -a =app-metrics/metricbeat-bin-8.19.23

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-metrics/metricbeat-bin-8.19.23

Or alternatively:

emerge --autounmask-write -a =app-metrics/metricbeat-bin-8.19.23

Package Information

Description:
Lightweight shipper for metrics
Homepage:
https://www.elastic.co/es/beats/metricbeat
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
8.19.23 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit systemd tmpfiles

MY_PN="metricbeat"
MY_P="${MY_PN}-${PV}-linux-x86_64"
DESCRIPTION="Lightweight shipper for metrics"
HOMEPAGE="https://www.elastic.co/es/beats/metricbeat"
SRC_URI="https://artifacts.elastic.co/downloads/beats/${MY_PN}/${MY_P}.tar.gz"

S="${WORKDIR}/${MY_P}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="strip"

DOCS="NOTICE.txt README.md"

src_compile() {
	default
}

src_install() {
	dobin ${MY_PN}

	insinto /etc/${MY_PN}
	doins fields.yml
	doins ${MY_PN}.yml
	doins ${MY_PN}.reference.yml
	doins -r modules.d

	dodir /usr/share/${MY_PN}
	cp -r module "${ED}"/usr/share/${MY_PN} || die
	cp -r kibana "${ED}"/usr/share/${MY_PN} || die

	newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
	newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
	systemd_dounit "${FILESDIR}/${MY_PN}.service"
	dotmpfiles "${FILESDIR}/${MY_PN}.tmpfiles.conf"
}

pkg_postinst() {
	tmpfiles_process metricbeat.tmpfiles.conf
}

Inherited Eclasses

Manifest for 8.19.23

Type File Size Source URLs
DIST metricbeat-8.19.23-linux-x86_64.tar.gz 76988482 bytes https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-8.19.23-linux-x86_64.tar.gz