Skip to contentSkip to conversation

tcpdump: add PACKAGECONFIG for smi

PATCH In review Martin Jansa 2 participants 2 messages Aug 24, 2015 – Aug 25, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tcpdump: add PACKAGECONFIG for smi

* libsmi is autodetected in configure, but in most cases disabled because of cross-compilation so keep it explicitly disabled
* resolves following difference in builds with and without libsmi built
before tcpdump:
4.7.4-r0-with/temp/log.do_configure:checking smi.h usability... yes 4.7.4-r0-with/temp/log.do_configure:checking smi.h presence... yes 4.7.4-r0-with/temp/log.do_configure:checking for smi.h... yes 4.7.4-r0-with/temp/log.do_configure:checking for smiInit in -lsmi... yes 4.7.4-r0-with/temp/log.do_configure:checking whether to enable libsmi... not when cross-compiling

4.7.4-r0-without/temp/log.do_configure:checking smi.h usability... no 4.7.4-r0-without/temp/log.do_configure:checking smi.h presence... no 4.7.4-r0-without/temp/log.do_configure:checking for smi.h... no

---
 meta-networking/recipes-support/tcpdump/tcpdump_4.7.4.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-support/tcpdump/tcpdump_4.7.4.bb +1 -0
index b0b8e9d..0ffe589 100644
@@ -22,6 +22,7 @@ CACHED_CONFIGUREVARS = "ac_cv_linux_vers=${ac_cv_linux_vers=2}"
 PACKAGECONFIG ??= "openssl ipv6"
 PACKAGECONFIG[openssl] = "--with-crypto=yes, --without-openssl --without-crypto, openssl"
 PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6,"
+PACKAGECONFIG[smi] = "--with-smi, --without-smi,libsmi"
 
 EXTRA_AUTORECONF += " -I m4"
 
Signature · 1 line
2.5.0
Acked-by on v1 1/1
#1 lore raw
Quoted 34 lines · [[oe] [meta-networking][PATCH] tcpdump: add PACKAGECONFIG for smi] On 15.08.24…

* libsmi is autodetected in configure, but in most cases disabled because of cross-compilation so keep it explicitly disabled
* resolves following difference in builds with and without libsmi built
before tcpdump:
4.7.4-r0-with/temp/log.do_configure:checking smi.h usability... yes 4.7.4-r0-with/temp/log.do_configure:checking smi.h presence... yes 4.7.4-r0-with/temp/log.do_configure:checking for smi.h... yes 4.7.4-r0-with/temp/log.do_configure:checking for smiInit in -lsmi... yes 4.7.4-r0-with/temp/log.do_configure:checking whether to enable libsmi... not when cross-compiling

4.7.4-r0-without/temp/log.do_configure:checking smi.h usability... no 4.7.4-r0-without/temp/log.do_configure:checking smi.h presence... no 4.7.4-r0-without/temp/log.do_configure:checking for smi.h... no

---
 meta-networking/recipes-support/tcpdump/tcpdump_4.7.4.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-support/tcpdump/tcpdump_4.7.4.bb +1 -0
index b0b8e9d..0ffe589 100644
@@ -22,6 +22,7 @@ CACHED_CONFIGUREVARS = "ac_cv_linux_vers=${ac_cv_linux_vers=2}"
 PACKAGECONFIG ??= "openssl ipv6"
 PACKAGECONFIG[openssl] = "--with-crypto=yes, --without-openssl --without-crypto, openssl"
 PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6,"
+PACKAGECONFIG[smi] = "--with-smi, --without-smi,libsmi"
 
 EXTRA_AUTORECONF += " -I m4"
 
Signature · 1 line
2.5.0
Signature · 2 lines
-Joe MacDonald.
:wq