1 |
commit: 370749a2bc8d96457e60e1be9cfb91d155a66685 |
2 |
Author: Rick Farina <zerochaos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 4 15:05:05 2019 +0000 |
4 |
Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 4 15:05:05 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=370749a2 |
7 |
|
8 |
net-analyzer/net-snmp: bug #687314 |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.13 |
11 |
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/net-snmp/metadata.xml | 1 + |
14 |
net-analyzer/net-snmp/net-snmp-5.8-r1.ebuild | 3 ++- |
15 |
net-analyzer/net-snmp/net-snmp-99999999.ebuild | 3 ++- |
16 |
3 files changed, 5 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-analyzer/net-snmp/metadata.xml b/net-analyzer/net-snmp/metadata.xml |
19 |
index 99462311c12..95e28946a27 100644 |
20 |
--- a/net-analyzer/net-snmp/metadata.xml |
21 |
+++ b/net-analyzer/net-snmp/metadata.xml |
22 |
@@ -7,6 +7,7 @@ |
23 |
</maintainer> |
24 |
<use> |
25 |
<flag name="elf">Enable the use of elf utils to check uptime on some systems</flag> |
26 |
+<flag name="kmem">Enable usage of /dev/kmem</flag> |
27 |
<flag name="mfd-rewrites">Use MFD rewrites of mib modules where available</flag> |
28 |
<flag name="netlink">Use <pkg>dev-libs/libnl</pkg> to fetch TCP statistics instead of using /proc/net/tcp (Linux only).</flag> |
29 |
<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> |
30 |
|
31 |
diff --git a/net-analyzer/net-snmp/net-snmp-5.8-r1.ebuild b/net-analyzer/net-snmp/net-snmp-5.8-r1.ebuild |
32 |
index 1313e4685c4..38b9ce6db86 100644 |
33 |
--- a/net-analyzer/net-snmp/net-snmp-5.8-r1.ebuild |
34 |
+++ b/net-analyzer/net-snmp/net-snmp-5.8-r1.ebuild |
35 |
@@ -24,7 +24,7 @@ S=${WORKDIR}/${P/_/.} |
36 |
LICENSE="HPND BSD GPL-2" |
37 |
SLOT="0/35" |
38 |
KEYWORDS="alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sh ~sparc x86" |
39 |
-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" |
40 |
+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" |
41 |
|
42 |
COMMON_DEPEND=" |
43 |
ssl? ( |
44 |
@@ -107,6 +107,7 @@ src_configure() { |
45 |
$(use_enable ucd-compat ucd-snmp-compatibility) \ |
46 |
$(use_with bzip2) \ |
47 |
$(use_with elf) \ |
48 |
+ $(use_with kmem kmem-usage) \ |
49 |
$(use_with mysql) \ |
50 |
$(use_with netlink nl) \ |
51 |
$(use_with pci) \ |
52 |
|
53 |
diff --git a/net-analyzer/net-snmp/net-snmp-99999999.ebuild b/net-analyzer/net-snmp/net-snmp-99999999.ebuild |
54 |
index e8b1943ed1e..66e5dca50e3 100644 |
55 |
--- a/net-analyzer/net-snmp/net-snmp-99999999.ebuild |
56 |
+++ b/net-analyzer/net-snmp/net-snmp-99999999.ebuild |
57 |
@@ -22,7 +22,7 @@ SRC_URI=" |
58 |
LICENSE="HPND BSD GPL-2" |
59 |
SLOT="0/35" |
60 |
KEYWORDS="" |
61 |
-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" |
62 |
+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" |
63 |
REQUIRED_USE=" |
64 |
python? ( ${PYTHON_REQUIRED_USE} ) |
65 |
rpm? ( bzip2 zlib ) |
66 |
@@ -110,6 +110,7 @@ src_configure() { |
67 |
$(use_enable ucd-compat ucd-snmp-compatibility) \ |
68 |
$(use_with bzip2) \ |
69 |
$(use_with elf) \ |
70 |
+ $(use_with kmem kmem-usage) \ |
71 |
$(use_with mysql) \ |
72 |
$(use_with netlink nl) \ |
73 |
$(use_with pci) \ |