From 88a9836158c6406ee8dd21bb5d4d04025e193251 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Fri, 16 Jan 2015 14:13:59 +0800 Subject: net-snmp: have mib-modules=smux enabled According to the following commit, net-snmp needs to have mib-modules=smux enabled: commit f64db3011c04ada0a8ac04b9eddde05b67d21eec Author: Aws Ismail Date: Mon Mar 25 11:30:06 2013 -0400 Quagga has no snmp support, unrecognized options --enable-tcp-md5 1. Quagga's tcp-md5 has been renamed to linux24-tcp-md5 2. net-snmp needs to have mib-modules=smux enabled to enable quagga to support snmp. Make the net-snmp option dependent on the DISTRO_FEATURE snmp. 3. Misc: install the sample conf files for quagga. Also, Make sure that the post install script is being run on the target rather than during the rootfs creation stage. Signed-off-by: Amy Fong Signed-off-by: Aws Ismail Signed-off-by: Joe MacDonald Signed-off-by: Jackie Huang Signed-off-by: Joe MacDonald --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb index 6ebbcd837..16d733cb1 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.2.1.bb @@ -40,6 +40,9 @@ EXTRA_OECONF = "--disable-embedded-perl \ --with-defaults \ ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}" +# net-snmp needs to have mib-modules=smux enabled to enable quagga to support snmp +EXTRA_OECONF += "--with-mib-modules=smux" + CACHED_CONFIGUREVARS = " \ ac_cv_header_valgrind_valgrind_h=no \ ac_cv_header_valgrind_memcheck_h=no \ -- cgit v1.2.3-54-g00ecf