From 7a07c5480cc2a031235a0c0b987d6d4a097b2389 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Tue, 4 Jun 2019 15:31:05 +0800 Subject: net-snmp: split net-snmp-config to package net-snmp-dev Move net-snmp-config in which contains build path from package net-snmp to net-snmp-dev. It refers ubuntu, here are we got from Ubuntu 18.04 $ dpkg -c /var/cache/apt/archives/libsnmp-dev_5.7.3+dfsg-1.8ubuntu3.1_amd64.deb drwxr-xr-x root/root 0 2018-10-15 22:16 ./usr/bin/ -rwxr-xr-x root/root 43797 2018-10-15 22:16 ./usr/bin/mib2c -rwxr-xr-x root/root 8780 2018-10-15 22:16 ./usr/bin/mib2c-update -rwxr-xr-x root/root 29427 2018-10-15 22:16 ./usr/bin/net-snmp-config -rwxr-xr-x root/root 3688 2018-10-15 22:16 ./usr/bin/net-snmp-create-v3-user Signed-off-by: Hongxu Jia Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index 673142b4ac..f0acaa8017 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -214,7 +214,11 @@ FILES_${PN}-lib-trapd = "${libdir}/libnetsnmptrapd${SOLIBS}" FILES_${PN} = "" FILES_${PN}-client = "${bindir}/* ${datadir}/snmp/" FILES_${PN}-dbg += "${libdir}/.debug/ ${sbindir}/.debug/ ${bindir}/.debug/" -FILES_${PN}-dev += "${bindir}/mib2c ${bindir}/mib2c-update" +FILES_${PN}-dev += "${bindir}/mib2c \ + ${bindir}/mib2c-update \ + ${bindir}/net-snmp-config \ + ${bindir}/net-snmp-create-v3-user \ +" CONFFILES_${PN}-server-snmpd = "${sysconfdir}/snmp/snmpd.conf" CONFFILES_${PN}-server-snmptrapd = "${sysconfdir}/snmp/snmptrapd.conf" -- cgit 1.2.3-korg