summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols
Commit message (Collapse)AuthorAgeFilesLines
* recipes: add removal date to PNBLACKLIST messagesMartin Jansa2017-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * based on discussion in pndeprecated thread: https://patchwork.openembedded.org/patch/137573/ update the messages to warn possible users that the recipe will be removed before the end of the next development cycle (before Yocto 2.4 is released). * updated with: sed -i 's/^\(PNBLACKLIST.*".*\)"/\1 - the recipe will be removed on 2017-09-01 unless the issue is fixed"/g' `git grep PNBLACKLIST | sed 's/:.*//g' | sort -u | xargs` * then noticed couple recipes being blacklisted only based on DISTRO_FEATURES, so removed those: meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb meta-oe/recipes-navigation/gypsy/gypsy.inc meta-oe/recipes-navigation/navit/navit.inc meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb * if it isn't fixed by this date, it's fair game to be removed whenever someone gets around to i Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* usrsctp: Enabled shared libKhem Raj2017-03-241-6/+4
| | | | | | | | | | | webrtc gstreamer plugin fails to build otherwise since libusrsctp.a is missing link on libss and so on convert inet support into packageconfigs while here Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* openflow: add dependency on openssl-nativeMartin Jansa2017-03-241-1/+1
| | | | | | | | | * calls openssl * I haven't checked what it does with openssl call, maybe it should be modified to get the data from target openssl not native Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-072-2/+2
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* openflow: inherit pkgconfigRobert Yang2017-02-221-1/+1
| | | | | | | | | | | | Fixed: configure:4463: error: possibly undefined macro: PKG_CHECK_MODULES If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:4466: error: possibly undefined macro: AC_MSG_WARN Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* usrsctp: Add recipeKhem Raj2017-01-192-0/+54
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* openl2tp: update SRC_URIKai Kang2017-01-191-1/+1
| | | | | | | | The original SRC_URI is not valid, so update it with openl2tp official ftp site. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* quagga: update to 1.1.0Yi Zhao2017-01-198-148/+9
| | | | | | | | | | | | | | | | | | | | | | * remove the following 3 patches which already fixed in upstream: 0001-ospf6d-check-ospf6-before-using-it-in-ospf6_clean.patch quagga-Avoid-duplicate-connected-address.patch ripd-fix-two-bugs-after-received-SIGHUP.patch * inherit pkgconfig to fix configure errors: | configure.ac:97: error: possibly undefined macro: AC_MSG_RESULT | If this token and others are legitimate, please use m4_pattern_allow. | See the Autoconf documentation. * add user quagga to quaggavty supplementary group to fix startup error: Starting Quagga daemons: zebra privs_init: user(quagga) is not part of vty group specified(quaggavty) * remove babeld related code from initscript becasue it had been removed from quagga Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nopoll: Add recipeKhem Raj2016-12-141-0/+21
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* dante: Add recipe for 1.4.1Khem Raj2016-12-141-0/+49
| | | | | | | | | * Add packageconfig for krb5 * Require pam in distro Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: snmplib, UDPIPv6 transport: Add a missing return statementLi Zhou2016-12-142-0/+30
| | | | | | | | | | | | Backport a succeeding commit from net-snmp upstream to fix the issue introduced by commit <BUG#a2584: Fix snmptrap to use clientaddr from snmp.conf>. The missing return will cause crash when binding to a non-exist IPv6 address. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: fix snmptrap to use clientaddr from snmp.conf.Li Zhou2016-12-142-0/+49
| | | | | | | | | | | Under IPv6 IP-multihomed environment, the socket does not bind to the clientaddr indicated in snmp.conf when sending snmptrap and it might choose a random one. Backport the patch from net-snmp upstream to fix it. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* tsock: Make use of LDFLAGSJason Wessel2016-12-141-0/+3
| | | | | | | | | | Fix the QA warning: WARNING: tsocks-1.8beta5-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/opt/build-intel-x86/tmp/work/core2-64-linux/tsocks/1.8beta5-r0/packages-split/tsocks/usr/lib64/libtsocks.so.1.8' [ldflags] Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* tsocks: fix QA warning for GNU_HASHYi Zhao2016-11-142-1/+22
| | | | | | | | | Add LDFLAGS variable to Makefile.in so that extra linker flags can be sent via this variable. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* zeroconf: fix QA warning for GNU_HASHYi Zhao2016-11-142-0/+20
| | | | | | | | | Add LDFLAGS variable to Makefile so that extra linker flags can be sent via this variable. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* openl2tp: Fix build with clangKhem Raj2016-11-142-2/+41
| | | | | | | | | Fix a typo in compile cmdline specified via EXTRA_OECMAKE Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: Fix build issue found with muslKhem Raj2016-09-262-16/+46
| | | | | | | limits.h is needed for PATH_MAX and NAME_MAX Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* openl2tp: Obey LDFLAGS in MakefileAdrian Dudau2016-09-262-0/+16
| | | | | | | This avoids a "QA Issue: No GNU_HASH in the elf binary" Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* accel-ppp: blacklist, fails to build with new binutils-2.27Martin Jansa2016-09-051-0/+3
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-oe: fix indentationMartin Jansa2016-08-221-1/+1
| | | | | | | | * remove tabs which sneaked in since last cleanup * meta-oe layers are using consistent indentation with 4 spaces, see http://www.openembedded.org/wiki/Styleguide Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* quagga: 0.99.24.1 -> 1.0.20160315Kai Kang2016-08-166-139/+16
| | | | | | | | | | | | | | | | Upgrade quagga from 0.99.24.1 to 1.0.20160315. * babeld was removed from quagga, so remove babeld related code, service file and patch and from recipe * remove Zebra-sync-zebra-routing-table-with-the-kernel-one.patch which is obsoleted that quagga update the logic, see https://github.com/Quagga/quagga/commit/0abf6796c3d8ae8f5ea8624668424bc1554de25e * remove configure options '--enable-ospf-te' and '--enable-opaque-lsa' which are set by default and removed from configure.ac already Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: initscripts are located in net-snmp-server-snmp packageLi Wang2016-07-181-3/+3
| | | | | | | | | | | | | The net-snmp-server package is a meta-package requiring net-snmp-server-snmpd and net-snmp-server-snmptrapd package. The net-snmp-server-snmpd package provides the startup scripts not the meta net-snmp-server package. Signed-off-by: Anders Wallin <anders.wallin@windriver.com> Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: fix snmpd crash via AgentX connectionJackie Huang2016-07-182-0/+76
| | | | | | | | | | backport a patch to fixed snmpd crashing when an AgentX subagent disconnect in the middle of processing of a request. Signed-off-by: Zhu Yanjun <yanjun.zhu@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-networking: use bb.utils.contains() instead of base_contains()Ross Burton2016-05-053-8/+8
| | | | | | | | | base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* rp-pppoe: Fix rootfs creation errorsLi xin2016-05-051-0/+4
| | | | | | | | | error: file /usr/share/doc/README from install of rp-pppoe-doc-3.11-* conflicts with file from package dmidecode-doc-2.12* Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: enable ipv6 supportZhu Yanjun2016-05-051-0/+3
| | | | | | | | Add packageconfig for ipv6 and enable it when it's defined in distro_features. Signed-off-by: Zhu Yanjun <yanjun.zhu@windriver.com> Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* pptp-linux: update to 1.8.0Derek Straka2016-04-013-23/+3
| | | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: fix some invalid pathsCatalin Enache2016-04-011-0/+4
| | | | | | | | | | | | | Because the package is not built in place @srcdir@ is an absolute path to the source directory instead of ".". Because of this some target scripts like net-snmp-create-v3-user and net-snmp-config that are using thisvariable in their *.in files (NSC_SRCDIR=@srcdir@) contain invalid paths. Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: fix invalid paths in target net-snmp-configCatalin Enache2016-04-011-5/+5
| | | | | | | | | Only net-snmp-config used for sysroot should have sysroot specific paths. Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode,links"Martin Jansa2016-03-041-1/+1
| | | | | | | | | * Using "cp -a" leaks UID of user running the builds, causing many QA warnings. * See this thread for details: http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* net-snmp: fix cross-compile breakage, add libnl pkgconfig optionStephen Arnold2016-02-221-2/+8
| | | | | | | | | This patch enhances a previously unapplied patch on jethro, plus adds some flexibility in terms of required deps and a few cleanups. Signed-off-by: Stephen Arnold <stephen.arnold42@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* pptp-linux: Explicitly set EXTRA_OEMAKE as requiredMike Crowe2016-02-221-0/+2
| | | | | | | | | | This recipe currently relies on EXTRA_OEMAKE having been to set to "-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this explicit so that the default in bitbake.conf can be changed. Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* xl2tpd: modify recipes to avoid forced internet accessJoe Slater2016-01-202-4/+9
| | | | | | | | | | | | | We should always specify a commit id for git SRCREV or we will try to access the upstream repo when fetching. In addition, if our PV is just "git" we will access upstream when doing archiver functions, so we should specify PV for xyz_git.bb recipes. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* rp-pppoe: 3.11 -> 3.12Dai Caiyun2016-01-2012-2/+2
| | | | | | | | Upgrade rp-pppoe from 3.11 to 3.12. Signed-off-by: Dai Caiyun <daicy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: fix the replacement in net-snmp-configRoy Li2016-01-051-2/+3
| | | | | | | | | | | | | when net-snmp-config is used to configure by other package, and fail since /libnl3 is not found, in fact, it should be -I/usr/include/libnl3, and is modified as /libnl3 incorrectly. instead of modify the net-snmp-config for target, the one under ${bindir_crossscripts} should be replaced with ${TAGING_INCDIR} Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* xl2tpd: fix warnings with gcc 5Kai Kang2016-01-053-2/+140
| | | | | | | | | | | | | | | When compile with gcc 5.x, xl2tpd complains warnings: | misc.h:68:20: warning: inline function 'swaps' declared but never defined | extern inline void swaps (void *, int); | ^ Backport patch to fix it. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* quagga: fix segment fault when stopping ospf6dQi.Chen@windriver.com2016-01-042-0/+29
| | | | | | | | | In ospf6_clean, the variable ospf6 might be NULL causing segment fault when stopping ospf6d. Check the variable before referencing it. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: apply patch for cross-compilationRafaël Carré2016-01-042-2/+2
| | | | | | | | 7fb5479 added the patch but did not apply it Rename patch to explicit it differentiate it from other patches Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: apply patch for cross-compilationRafaël Carré2016-01-041-0/+1
| | | | | | 7fb5479 added the patch but did not apply it Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: fix cross compilationRafaël Carré2015-11-301-0/+31
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: Modify snmpd.serviceLi Xin2015-11-301-1/+1
| | | | | | | | Add "-a" parameter in snmpd.service,it is needed to address logs. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* xl2tpd: Update git recipe and add release recipeJoe MacDonald2015-11-242-1/+4
| | | | | | | | The previous xl2tpd was significantly out of date, so update the git recipe and add in a release recipe for anyone looking to use the latest stable release. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* xl2tpd: set MACHINE_ARCH, because it depends on kernelMartin Jansa2015-11-161-0/+2
| | | | | | | | | | | | | | | | * see: http://lists.openembedded.org/pipermail/openembedded-devel/2015-September/103271.html * fixes: ERROR: xl2tpd different signature for task do_configure.sigdata between qemux86copy and qemux86 runtaskdeps changed from ['gccgcc-cross_5.2.bb.do_populate_sysroot', 'gccgcc-runtime_5.2.bb.do_populate_sysroot', 'glibcglibc_2.22.bb.do_populate_sysroot', 'linuxlinux-yocto_4.1.bb.do_populate_sysroot', 'pppppp_2.4.7.bb.do_populate_sysroot', 'update-rc.dupdate-rc.d_0.7.bb.do_populate_sysroot', 'update-rc.dupdate-rc.d_0.7.bb.do_populate_sysroot:virtual:native', 'xl2tpdxl2tpd_1.3.6.bb.do_patch'] to ['gccgcc-cross_5.2.bb.do_populate_sysroot', 'gccgcc-runtime_5.2.bb.do_populate_sysroot', 'glibcglibc_2.22.bb.do_populate_sysroot', 'linuxlinux-yocto_4.1.bb.do_populate_sysroot', 'pppppp_2.4.7.bb.do_populate_sysroot', 'update-rc.dupdate-rc.d_0.7.bb.do_populate_sysroot', 'update-rc.dupdate-rc.d_0.7.bb.do_populate_sysroot:virtual:native', 'xl2tpdxl2tpd_1.3.6.bb.do_patch'] openembedded-core/meta/recipes-kernel/linux/linux-yocto_4.1.bb.do_populate_sysroot with hash 1a8aa7a50a6cf3ebf5401af43dd6bf3b changed to openembedded-core/meta/recipes-kernel/linux/linux-yocto_4.1.bb.do_populate_sysroot with hash 143d2686a37f592891fb2aa6fa9b752e Hash for dependent task linuxlinux-yocto_4.1.bb.do_populate_sysroot changed from 1a8aa7a50a6cf3ebf5401af43dd6bf3b to 143d2686a37f592891fb2aa6fa9b752e Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* net-snmp: Fix build with gcc5Khem Raj2015-10-212-0/+34
| | | | | | | | | Fix errors seen with gcc5 Change-Id: I9c4361f3a9c25342f5c740263f551c162dce8faf Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* tsocks: Add tsocks to meta-network/recipes-protocolsJason Wessel2015-10-211-0/+23
| | | | | | | | | | | | | | | | | | | | | | The tsocks program is frequently used to easily wrap any generic program such as telnet, ssh, wget or any other tcp socket program using an LD_PRELOAD library. One might use an ssh tunnel and wget for example. Example of tunnel via ssh to remote url: ssh -N -D 1080 $REMOTE_HOST_TUNNEL_ENDPOINT & cat<<EOF>tsocks.conf server_port = 1080 server = 127.0.0.1 EOF TSOCKS_CONF_FILE=$PWD/tsocks.conf tsocks curl $REMOTE_URL Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: upgrade 5.7.2.1 -> 5.7.3Li xin2015-09-118-732/+176
| | | | | | | | | | | | | | | | | | | * Dropped backported patches --ifmib.patch --0001-Added-checks-for-printing-variables-with-wrong-types.patch --0001-Fix-CVE-2014-2285.patch --net-snmp-5.7.2-fix-mib-timeout-values.patch * Update patches --dont-return-incompletely-parsed-varbinds.patch --systemd-support.patch * Add a new patch to avoid build Errors. --0001-config_os_headers-Error-Fix.patch Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* rp-pppoe:3.8->3.11leimaohui2015-09-1114-70/+71
| | | | | | | | | -deleted use-ldflags.patch that not needed. -modified patches for 3.11 Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* quagga: upgrade 0.99.23 -> 0.99.24.1Li xin2015-08-063-10/+9
| | | | | | | | | | Remove "--enable-ipv6" to avoid build warning like this: WARNING: QA Issue: quagga: configure was passed unrecognised options: --enable-ipv6 [unknown-configure-option] Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: fix mib representation of timeout valuesRoy Li2015-08-062-0/+57
| | | | | | | | | | Fix mib representation of timeout values,correct conversion factor from microseconds to centiseconds. Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* net-snmp: don't return incompletely parsed varbindsJian Liu2015-07-162-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the snmp_pdu_parse() function could leave incompletely parsed varBind variables in the list of variables in case the parsing of the SNMP PDU failed. If later processing tries to operate on the stale and incompletely processed varBind (e.g. when printing the variables), this can lead to e.g. crashes or, possibly, execution of arbitrary code. The snmp_pdu_parse() function stores varBind variables in a list of netsnmp_variable_list structures. Each time the function parses a new varBind, a new netsnmp_variable_list item is allocated on the heap and linked to the list of variables. The problem is that this item is not removed from the list, even if snmp_pdu_parse() fails to complete the parsing. The "type" member of the stale netsnmp_variable_list is not properly initialized in case snmp_pdu_parse() returns early from the parsing. However, the "type" member is used to determine later code paths, which is why we see crashes in a variety of functions, although the root cause for all of these is the same. This patch come from http://sourceforge.net/p/net-snmp/code/ci/f23bcd3ac6ddee5d0a48f9703007ccc738914791/ Written-by: Robert Story Signed-off-by: Jian Liu <jian.liu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>