Install this version:
emerge -a =net-analyzer/hsflowd-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-analyzer/hsflowd-9999
Or alternatively:
emerge --autounmask-write -a =net-analyzer/hsflowd-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | ~amd64 | 0 |
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Exports physical and virtual server performance metrics using the sFlow protocol"
HOMEPAGE="http://www.sflow.net"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/sflow/host-sflow"
else
SRC_URI="https://github.com/sflow/host-sflow/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="APL-1.0"
SLOT="0"
IUSE="docker nflog openvswitch pcap"
DEPEND="nflog? ( net-libs/libnfnetlink )
pcap? ( net-libs/libpcap )"
RDEPEND="${DEPEND}"
src_compile() {
local features=()
use docker && features+=( 'DOCKER' )
use nflog && features+=( 'NFLOG' )
use openvswitch && features+=( 'OVS' )
use pcap && features+=( 'PCAP' )
local emakeopts=( FEATURES="${features[@]}" )
emake "${emakeopts[@]}"
}
src_install() {
emake install INSTROOT="${D}" MODDIR="/usr/lib64/${PN}" FEATURES=""
}
Manage flags for this package:
euse -i <flag> -p net-analyzer/hsflowd |
euse -E <flag> -p net-analyzer/hsflowd |
euse -D <flag> -p net-analyzer/hsflowd
nflog? ( net-libs/libnfnetlink ) pcap? ( net-libs/libpcap )
nflog? ( net-libs/libnfnetlink ) pcap? ( net-libs/libpcap )