aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols
AgeCommit message (Collapse)Author
2014-08-13net-snmp: uprev it to 5.7.2.1Roy Li
Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-13quagga: uprev it to 0.99.23Roy Li
uprev it to 0.99.23 remove patches which have been in the latest version Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-05quagga: Security Advisory - quagga - CVE-2013-2236Yue Tao
Stack-based buffer overflow in the new_msg_lsa_change_notify function in the OSPFD API (ospf_api.c) in Quagga before 0.99.22.2, when --enable-opaque-lsa and the -a command line option are used, allows remote attackers to cause a denial of service (crash) via a large LSA. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-2236 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-22rp-pppoe: Use "foreign" automake strictnessRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-15meta-networking: fix no newline at end of fileRobert Yang
Add a '\n' to the last line of the file to fix: No newline at end of file Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-15quagga: Security Advisory - CVE-2012-1820Yue Tao
The bgp_capability_orf function in bgpd in Quagga 0.99.20.1 and earlier allows remote attackers to cause a denial of service (assertion failure and daemon exit) by leveraging a BGP peering relationship and sending a malformed Outbound Route Filtering (ORF) capability TLV in an OPEN message. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-1820 Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-06-15rp-pppoe: inherit autotools-brokensepRobert Yang
Otherwise do_compile failed: No rule to make target `pppoe.c', needed by `pppoe.o'. Stop. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-06-15openflow: inherit autotools-brokensepRobert Yang
It needs autotools-brokensep, otherwise do_configure error: run.do_configure.22953: line 109: ./boot.sh: No such file or directory Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-06-03net-snmp: install net-snmp-config script to STAGING_BINDIR_CROSSAlexandre Fournier
This recipe was installing net-snmp-config script to STAGING_BINDIR instead of STAGING_BINDIR_CROSS, during the do_install. It is not recommended and must be done after staging. Changes: * Remove STAGING_BINDIR manipulations from do_install_append * Add net_snmp_sysroot_preprocess function instead * Append net_snmp_sysroot_preprocess to SYSROOT_PREPROCESS_FUNCS Signed-off-by: Alexandre Fournier <alexandre.fournier@kiplink.fr> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-05-15quagga, fim, gpsd, hddtemp, libunwind, lzip: Change the url to variable for ↵Changhyeok Bae
savannah in SRC_URI * The variables (SAVANNAH_MIRROR) are defined in oe-core/meta/conf/bitbake.conf. * MIRRORS in quagga and libunwind is removed. because the MIRRORS of savannah is globally defined in oe-core/meta/classes/mirrors.bbclass Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-09net-snmp-5.7.2: fix CVE-2014-2285yzhu1
The perl_trapd_handler function in perl/TrapReceiver/TrapReceiver.xs in Net-SNMP 5.7.3.pre3 and earlier, when using certain Perl versions, allows remote attackers to cause a denial of service (snmptrapd crash) via an empty community string in an SNMP trap, which triggers a NULL pointer dereference within the newSVpv function in Perl. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-2285 Signed-off-by: yzhu1 <yanjun.zhu@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-05-09net-snmp-5.7.2: fix CVE-2014-2284yanjun.zhu
The Linux implementation of the ICMP-MIB in Net-SNMP 5.5 before 5.5.2.1, 5.6.x before 5.6.2.1, and 5.7.x before 5.7.2.1 does not properly validate input, which allows remote attackers to cause a denial of service via unspecified vectors. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-2284 Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-05-09net-snmp: Using the target perlYue Tao
Set the PERLPROG to target perl to avoid host contamination. Signed-off-by: Yue Tao <Yue.Tao@windriver.com> Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24quagga: fix CVE-2013-6051Kai Kang
Backport patch to fix CVE-2013-6051. Signed-off-by: Hu <yadi.hu@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24quagga: fix QA warningKai Kang
When build quagga, it shows QA warnings: WARNING: QA Issue: ELF binary '/home/build/poky/build/tmp/work/i586-poky-linux/quagga/0.99.21-r2.0/packages-split/quagga-bgpd/usr/sbin/bgpd' has relocations in .text WARNING: QA Issue: ELF binary '/home/build/poky/build/tmp/work/i586-poky-linux/quagga/0.99.21-r2.0/packages-split/quagga-ripngd/usr/sbin/ripngd' has relocations in .text The configure script tests compiler whether support option '-fPIE'. If support, it pass option '-fPIE' to compiler then cause these QA warnings. Disable configure script to check option '-fPIC'. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-04-24quagga: Add mirror siteChanghyeok Bae
* The SRC_URI is not accessible. So need to add mirror site referred by the original site. * The problem is that http://download.savannah.nongnu.org/releases redirects to closest mirror and few mirrors (e.g. .jp) weren't working correctly while http://download-mirror.savannah.gnu.org/releases/ seems to be reliable. Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-03-27quagga: work with new readlineRobert Yang
The Function and CPPFunction had been removed by in readline 6.3, use the new functions to replace them. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2014-02-23recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET
Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23quagga: close the stdout/stderr as in other daemonsRoy Li
Once babald becomes a background daemon, it should not output information to stdout, so need to close stdout. In fact, other daemons close their stdout when they run into background, like ospfd, isisd and bgpd, by calling daemon() which is in lib/daemon.c Closing the stdout can fix a tee hang issue { #/usr/sbin/babeld -d |tee tmp } Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-12quagga: fix a typOSRoy Li
it should be CPP, not cpp; this typOS makes vtysh unable to work. Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-27quagga: Backport a patch to fix extract.pl for cross compilationRoy Li
Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26quagga: add pam support for vtyshHongxu Jia
According to DISTRO_FEATURES to add pam support for quagga, and import configure file from Fedora. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26quagga: Fix watchquagga initscript problem.Bopeng Liu
Change the default config file for making watchquagga can startup successful Signed-off-by: Bopeng Liu <Bopeng.Liu@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26quagga: Avoid duplicate connected address adding to the listXufeng Zhang
commit 27ba970b9("quagga/ripd: Fix two bugs after received SIGHUP signal") introduces an regression: ifp->connected list is cleaned up when ripd is restarting, however, for interface addresses which are not specified in ripd configuration file, they are never to be added into ifp->connected again, this will lead to some abnormal behavior for route advertising. Instead of cleaning up the ifp->connected list to avoid duplicated connected address being added into this list, we can check this condition during interface address adding process and return early when an identical address has already been added. Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-26quagga: use /bin/false as the login shellRobert Yang
Use /bin/false as the login shell, just like what Ubuntu does, otherwise there might be secure issue. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-11-18accel-ppp: fix qa issue 'found library in wrong location' while multilib ↵Hongxu Jia
enabled on qemux86-64 While multilib enabled on qemux86-64, accel-ppp-lib should be installed to '${baselib}/accel-ppp', but the accel-ppp's CMakeLists.txt hardcoded to install to 'lib/accel-ppp', such as: ... INSTALL(TARGETS log_file LIBRARY DESTINATION lib/accel-ppp ) ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-06quagga: backport a patch from 0.99.22 to fix "no ip address" commandRoy Li
Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-31quagga: fix pkg_postinstChen Qi
This patch mainly involves two changes. 1. Create necessary files at do_install task. Add these configuration files to the CONFFILES variable. 2. Move the `chmod' and `chown' commands to do_install task. After these two changes, qugga can run successfully at rootfs time. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-31quagga/ripd: Fix two bugs after received SIGHUP signalXufeng Zhang
There are two problems for ripd implementation after received SIGHUP signal: 1). ripd didn't clean up ifp->connected list before reload configuration file which makes the same advertise packet being sent multiple times(depends on how many SIGHUP was recieved). 2). ripd reset ri->split_horizon flag to RIP_NO_SPLIT_HORIZON during restart which is different from the flag when ripd is firstly started up, leading to unnecessary route to be advertised. [YOCTO #5266] Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-07openflow: import and tweakJoe MacDonald
Based on work by David Nyström (meta-virtualization) and Laszlo Papp (meta-oe). - Import OpenFlow 1.0 from meta-virtualization and provide an updated version of the recipe for the head of tree in the OpenFlow git repository. - Minor tweak in both recipes for do_install_append() spacing. - Update 'libssl' PACKAGECONFIG flag in both to follow the 'openssl' convention used elsewhere in meta-oe. - Create common include file for both versioned and git recipes. Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-23quagga: fix babeld_optionChen Qi
Fix babeld_option to make babeld start correctly. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-05quagga: fix info-related QA warningJoe MacDonald
Correct the warning: quagga-0.99.21: The /usr/share/info/dir file is not meant to be shipped in a particular package. Simply remove the installed 'dir' file if info docs are installed. Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-08-16quagga: two fixesRoy.Li
1. quagga should depend on iproute2, since ip from busybox is not sufficient 2. fix a typOS(should chmod, not chown) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-08-12quagga: backport documentation patchJoe MacDonald
The latest stable quagga adopted this patch: http://git.savannah.gnu.org/gitweb/?p=quagga.git;a=commit;h=b58c90807c9d0bfa9601704c7490a16070906004 to repair a documentation build error. Trivial backport. Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-07-30quagga: add PACKAGECONFIG for capabilitiesMartin Jansa
* it's autodetected from sysroot * add PACKAGECONFIG to make it deterministic Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-17zeroconf: The ip is being installed into /sbin as of the latest busybox.Roy.Li
The ip is being installed into /sbin as of the latest busybox, or oe-core. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-06-10net-snmp: Backport fix for NETSNMP_NO_SYSTEMD typosThomas Fitzsimmons
Added Signed-off-by for backport patch refresh. Bumped PR. Signed-off-by: Thomas Fitzsimmons <fitzsim@cisco.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-05-10rp-pppoe: fix multilib SRC_URI referenceMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-05-10rp-pppoe: move chmod form postinst to offline do_installAndreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-05-07Quagga: sync zebra routing table with the kernel oneAws Ismail
When interface goes down, and there are some static routes that are made with ip route, they are going to be deleted from kernel fib. That's what kernel does by default. But they are not going to be deleted from zebra's fib. They will be declared inactive. This issue was originally discussed in [1] and a patch was proposed. [1] http://www.gossamer-threads.com/lists/quagga/dev/22609 Signed-off-by: Aws Ismail <aws.ismail@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-04-26net-snmp: move to meta-networking and tweakPaul Eggleton
* Set SUMMARY instead of DESCRIPTION * Move SRC_URI checksums under SRC_URI * Move packaging definitions to the end Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19rp-pppoe: move from meta-oe to meta-networking and tweakPaul Eggleton
* Move packaging definitions to the end * Move SRC_URI checksums next to SRC_URI * Set SUMMARY instead of DESCRIPTION Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15recipes: Unify indentationMartin Jansa
* This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-03-25Quagga: clean up whitespaces/hardtabs in recipeAws Ismail
Minor clean-up for some places where whitespaces and hardtabs stil existed. Signed-off-by: Aws Ismail <aws.ismail@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-25Quagga has no snmp support, unrecognized options --enable-tcp-md5Aws Ismail
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@windriver.com> Signed-off-by: Aws Ismail <aws.ismail@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-21xl2tpd: dump 1.3.1 in favour of git versionJoe MacDonald
When the yocto kernel updated to 3.8.x, it exposed some breakage in the xl2tpd 1.3.1 release that has been since fixed in tree. Rather than cherry pick patches, we'll migrate to the current HEAD. Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-03-18pptp-linux: Add dependency to fix parallel buildJesse Zhang
Add dependency on the generated config.h file for pptp.c and version.c. Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-02-14accel-ppp: resolve QA warnings and satisfy multilibAws Ismail
Create -libs and -dbg splits to include .so and .debug files, respectively to resolve the QA warning: lib64-accel-ppp rdepends on lib64-accel-ppp-dev when multilib is being used. Signed-off-by: Aws Ismail <aws.ismail@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-01-22accel-ppp: add 1.7.3 + fixes from gitKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-07pptp-linux: add from OE-Classic, update and tidy upPaul Eggleton
* Update to 1.7.2 * Drop unnecessary override of do_compile * Make LICENSE more accurate * Add LIC_FILES_CHKSUM * Add SUMMARY * Minor formatting/ordering tweaks Based on a patch by Vladimir Redzhepoff <vladimir.redzhepoff@promwad.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>