Install this version:
emerge -a =net-analyzer/icingabeat-7.14.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-analyzer/icingabeat-7.14.2
Or alternatively:
emerge --autounmask-write -a =net-analyzer/icingabeat-7.14.2
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Elastic Beat fetching events & status from Icinga 2"
HOMEPAGE="https://github.com/Icinga/icingabeat"
SRC_URI="https://github.com/Icinga/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_compile() {
export GOPATH=${WORKDIR}
ebegin "getting code"
go get -d || die 'could not get'
eend $?
default
}
src_install() {
newbin ${P} ${PN}
dodir /etc/${PN}
insinto /etc/${PN}
doins ${PN}.yml ${PN}.full.yml
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | icingabeat-7.14.2.tar.gz | 530330 bytes | https://github.com/Icinga/icingabeat/archive/v7.14.2.tar.gz |