commit:     370749a2bc8d96457e60e1be9cfb91d155a66685
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  4 15:05:05 2019 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Jun  4 15:05:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=370749a2

net-analyzer/net-snmp: bug #687314

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 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(-)

diff --git a/net-analyzer/net-snmp/metadata.xml 
b/net-analyzer/net-snmp/metadata.xml
index 99462311c12..95e28946a27 100644
--- a/net-analyzer/net-snmp/metadata.xml
+++ b/net-analyzer/net-snmp/metadata.xml
@@ -7,6 +7,7 @@
 </maintainer>
 <use>
 <flag name="elf">Enable the use of elf utils to check uptime on some 
systems</flag>
+<flag name="kmem">Enable usage of /dev/kmem</flag>
 <flag name="mfd-rewrites">Use MFD rewrites of mib modules where 
available</flag>
 <flag name="netlink">Use <pkg>dev-libs/libnl</pkg> to fetch TCP statistics 
instead of using /proc/net/tcp (Linux only).</flag>
 <flag name="pci">Use libpci (from <pkg>sys-apps/pciutils</pkg>) to look up 
network interface description. This feature is only available on Linux.</flag>

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 1313e4685c4..38b9ce6db86 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 e8b1943ed1e..66e5dca50e3 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) \

Reply via email to