[oe-commits] Jackie Huang : net-snmp: have mib-modules=smux enabled

git at git.openembedded.org git at git.openembedded.org
Thu Mar 12 11:55:12 UTC 2015


Module: meta-openembedded.git
Branch: master-next
Commit: 88a9836158c6406ee8dd21bb5d4d04025e193251
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=88a9836158c6406ee8dd21bb5d4d04025e193251

Author: Jackie Huang <jackie.huang at windriver.com>
Date:   Fri Jan 16 14:13:59 2015 +0800

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 <aws.ismail at windriver.com>
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 <amy.fong at windriver.com>
    Signed-off-by: Aws Ismail <aws.ismail at windriver.com>
    Signed-off-by: Joe MacDonald <joe.macdonald at windriver.com>

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald at mentor.com>

---

 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 6ebbcd8..16d733c 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 \



More information about the Openembedded-commits mailing list