From 370749a2bc8d96457e60e1be9cfb91d155a66685 Mon Sep 17 00:00:00 2001 From: Rick Farina Date: Tue, 4 Jun 2019 11:05:05 -0400 Subject: net-analyzer/net-snmp: bug #687314 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Rick Farina --- net-analyzer/net-snmp/metadata.xml | 1 + net-analyzer/net-snmp/net-snmp-5.8-r1.ebuild | 3 ++- net-analyzer/net-snmp/net-snmp-99999999.ebuild | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'net-analyzer/net-snmp') diff --git a/net-analyzer/net-snmp/metadata.xml b/net-analyzer/net-snmp/metadata.xml index 99462311c12e..95e28946a27a 100644 --- a/net-analyzer/net-snmp/metadata.xml +++ b/net-analyzer/net-snmp/metadata.xml @@ -7,6 +7,7 @@ Enable the use of elf utils to check uptime on some systems +Enable usage of /dev/kmem Use MFD rewrites of mib modules where available Use dev-libs/libnl to fetch TCP statistics instead of using /proc/net/tcp (Linux only). Use libpci (from sys-apps/pciutils) to look up network interface description. This feature is only available on Linux. diff --git a/net-analyzer/net-snmp/net-snmp-5.8-r1.ebuild b/net-analyzer/net-snmp/net-snmp-5.8-r1.ebuild index 1313e4685c42..38b9ce6db86c 100644 --- a/net-analyzer/net-snmp/net-snmp-5.8-r1.ebuild +++ b/net-analyzer/net-snmp/net-snmp-5.8-r1.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${P/_/.} LICENSE="HPND BSD GPL-2" SLOT="0/35" KEYWORDS="alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sh ~sparc x86" -IUSE="X bzip2 doc elf ipv6 libressl lm_sensors mfd-rewrites minimal mysql netlink pci perl python rpm selinux smux ssl tcpd ucd-compat zlib" +IUSE="X bzip2 doc elf kmem ipv6 libressl lm_sensors mfd-rewrites minimal mysql netlink pci perl python rpm selinux smux ssl tcpd ucd-compat zlib" COMMON_DEPEND=" ssl? ( @@ -107,6 +107,7 @@ src_configure() { $(use_enable ucd-compat ucd-snmp-compatibility) \ $(use_with bzip2) \ $(use_with elf) \ + $(use_with kmem kmem-usage) \ $(use_with mysql) \ $(use_with netlink nl) \ $(use_with pci) \ diff --git a/net-analyzer/net-snmp/net-snmp-99999999.ebuild b/net-analyzer/net-snmp/net-snmp-99999999.ebuild index e8b1943ed1e1..66e5dca50e31 100644 --- a/net-analyzer/net-snmp/net-snmp-99999999.ebuild +++ b/net-analyzer/net-snmp/net-snmp-99999999.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="HPND BSD GPL-2" SLOT="0/35" KEYWORDS="" -IUSE="X bzip2 doc elf ipv6 libressl lm_sensors mfd-rewrites minimal mysql netlink pci perl python rpm selinux smux ssl tcpd ucd-compat zlib" +IUSE="X bzip2 doc elf kmem ipv6 libressl lm_sensors mfd-rewrites minimal mysql netlink pci perl python rpm selinux smux ssl tcpd ucd-compat zlib" REQUIRED_USE=" python? ( ${PYTHON_REQUIRED_USE} ) rpm? ( bzip2 zlib ) @@ -110,6 +110,7 @@ src_configure() { $(use_enable ucd-compat ucd-snmp-compatibility) \ $(use_with bzip2) \ $(use_with elf) \ + $(use_with kmem kmem-usage) \ $(use_with mysql) \ $(use_with netlink nl) \ $(use_with pci) \ -- cgit v1.2.3-65-gdbad