net-analyzer/net-snmp: bug #687314
authorRick Farina <zerochaos@gentoo.org>
Tue, 4 Jun 2019 15:05:05 +0000 (11:05 -0400)
committerRick Farina <zerochaos@gentoo.org>
Tue, 4 Jun 2019 15:05:05 +0000 (11:05 -0400)
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
net-analyzer/net-snmp/metadata.xml
net-analyzer/net-snmp/net-snmp-5.8-r1.ebuild
net-analyzer/net-snmp/net-snmp-99999999.ebuild

index 99462311c12e7b398e106e6b8eff7f155277805e..95e28946a27a81da28b2618aa4f2fb4c743da431 100644 (file)
@@ -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>
index 1313e4685c42fc44c19f295c0300ab7d3c4328db..38b9ce6db86c85d0fc36c7768fc2758bac7e28ae 100644 (file)
@@ -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) \
index e8b1943ed1e14b93abcaa227437ddf7f937954f5..66e5dca50e31a2864c9b9e4219191fc9cf44ea2f 100644 (file)
@@ -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) \