Skip to contentSkip to conversation

net-snmp: enable ipv6 support

PATCH In review Otavio Salvador 2 participants 2 messages May 6, 2016 – May 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/22 net-snmp: enable ipv6 support

From: Zhu Yanjun <[email protected]>

Add packageconfig for ipv6 and enable it when it's defined in distro_features.

---

 meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb +3 -0
index 1a50932..ee8878f 100644
@@ -39,6 +39,9 @@ PACKAGECONFIG ??= ""
 PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils"
 PACKAGECONFIG[libnl] = "--with-nl, --without-nl, libnl"
 
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,,"
+
 EXTRA_OECONF = "--disable-embedded-perl \
                 --with-perl-modules=no \
                 --disable-manuals \
Signature · 1 line
2.8.2
#1 lore raw

On 5/6/16 6:59 AM, Otavio Salvador wrote:

pulled in most of this series, excluding the ltrace and bb.utils changes.

- armin

Quoted 27 lines

From: Zhu Yanjun <[email protected]>

Add packageconfig for ipv6 and enable it when it's defined in distro_features.

---

 meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb +3 -0
index 1a50932..ee8878f 100644
@@ -39,6 +39,9 @@ PACKAGECONFIG ??= ""
 PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils"
 PACKAGECONFIG[libnl] = "--with-nl, --without-nl, libnl"
 
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,,"
+
 EXTRA_OECONF = "--disable-embedded-perl \
                 --with-perl-modules=no \
                 --disable-manuals \