summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/quagga
Commit message (Collapse)AuthorAgeFilesLines
* Convert to new override syntaxMartin Jansa2021-08-031-39/+39
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* quagga: Update SRC_URIMingli Yu2021-03-111-1/+1
| | | | | | | | | Update the SRC_URI as the previous is unaccessible to fix the below warning: WARNING: quagga-1.2.4-r0 do_fetch: Failed to fetch URL https://download.savannah.gnu.org/releases/quagga/quagga-1.2.4.tar.gz;, attemptin MIRRORS if available Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* quagga: do not set PIDFile in service filesYi Zhao2021-03-116-6/+0
| | | | | | | | | | | | | | The systemd can not open the pid file because it is locked by quagga daemon. Fixes: $ systemctl status ospf6d.service Feb 25 05:53:26 intel-x86-64 systemd[1]: Starting OSPF routing daemon for IPv6... Feb 25 05:53:26 intel-x86-64 systemd[1]: ospf6d.service: Can't open PID file /run/quagga/ospf6d.pid (yet?) after start: Operation not permitted Feb 25 05:53:26 intel-x86-64 systemd[1]: Started OSPF routing daemon for IPv6. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* quagga: unify volatiles file nameYi Zhao2020-11-031-2/+2
| | | | | | | Make the volatiles file name starts with digital. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* quagga,pimd: Use update-alternatives for pimdKhem Raj2020-09-011-1/+5
| | | | | | | pimd is provided by both quagga and pimd, prefer quagga over pimd when both are in image Signed-off-by: Khem Raj <raj.khem@gmail.com>
* quagga: Use -fcommon to compileKhem Raj2020-08-131-0/+2
| | | | | | | clang11 and gcc10 have switched to using -fno-common by default this hoowever still needs to use -fcommon until fixed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* quagga: make version.h a multilib headerJeremy Puhlman2020-03-061-1/+3
| | | | | | | | version.h contains the configure options passed during the build which differs between multilibs Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* quagga: fix reproducibily issue.Jeremy Puhlman2020-03-061-0/+1
| | | | | | | | version.h contains the options passed to configure, which includes the path to the recipe-sysroot on the build host. Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* quagga: install tmpfiles snippet to /usr/lib/tmpfiles.dCallaghan, Dan2020-02-191-2/+4
| | | | | | | | Package-owned tmpfiles snippets belong in /usr/lib/tmpfiles.d, /etc/tmpfiles.d is for administrator customisations. Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* quagga: fix tmpfiles snippet to refer to /run instead of /var/runCallaghan, Dan2020-02-191-1/+1
| | | | | | | | | | | | This fixes a complaint from systemd on boot: systemd-tmpfiles[393]: [/etc/tmpfiles.d/quagga.conf:1] Line references path below legacy directory /var/run/, updating /var/run/quagga → /run/quagga; please update the tmpfiles.d/ drop-in file accordingly. Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* quagga: fix PIDFile path for service filesTrevor Gamblin2019-10-176-12/+12
| | | | | | | | | | | | | | | Multiple quagga service files are causing the following type of message to appear during boot: /lib/systemd/system/zebra.service:10: PIDFile= references a path below legacy directory /var/run/, updating /var/run/quagga/zebra.pid → /run/quagga/zebra.pid; please update the unit file accordingly. Update the service files included as part of the recipe to use /run instead of /var/run as the PIDFile path. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* quagga: 1.2.2 -> 1.2.4Huang Qiyu2018-04-092-4/+4
| | | | | | | Upgrade quagga from 1.2.2 to 1.2.4. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* quagga: 1.2.1 -> 1.2.2Huang Qiyu2018-02-052-4/+4
| | | | | | | | Update quagga from 1.2.1 to 1.2.2 Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* quagga: update to 1.2.1Yi Zhao2017-09-123-22/+12
| | | | | | | | | | * Add c-ares as dependency * Remove variable QUAGGASUBDIR as it is not needed anymore * Remove the duplicated RDEPENDS_${PN} += "iproute2" 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>
* quagga: set ac_cv_path_PERL to '/usr/bin/env perl'Chen Qi2017-04-251-0/+2
| | | | | | | | | Set ac_cv_path_PERL to '/usr/bin/env perl' to fix problem when /path/to/hosttools/perl is longer than 128. 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>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-1/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.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>
* 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>
* meta-networking: use bb.utils.contains() instead of base_contains()Ross Burton2016-05-051-6/+6
| | | | | | | | | 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>
* 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>
* 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>
* quagga: bug fixLi xin2015-07-067-6/+20
| | | | | | | | | The bug is: after the service stopped,the pid file still exists. So modidy the service files. 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>
* meta-networking: standardize SECTION valuesJoe MacDonald2015-06-051-1/+1
| | | | | | | SECTION has been used inconsistently throughout the recipes in this layer. Convert them to all use the same convention. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* quagga: fix typo in systemd service fileKang Kai2015-02-111-1/+1
| | | | | | | | Fix typo in systemd service file ripngd.service. 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: remove watchquagga when start with systemdChong.Lu@windriver.com2014-10-211-2/+3
| | | | | | | | | When we start with sysvinit, watchquagga uses quagga init script to monitor zebra daemon. But we need not do this in systemd environment. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* quagga: add systemd service fileChong.Lu@windriver.com2014-10-049-1/+161
| | | | | | | Add systemd service for quagga. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* quagga: add subpkgs to RDEPENDSChong.Lu@windriver.com2014-10-041-0/+2
| | | | | | | We need subpkgs to start quagga, so add them to RDEPENDS. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* quagga: uprev it to 0.99.23Roy Li2014-08-1313-563/+12
| | | | | | | | 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>
* quagga: Security Advisory - quagga - CVE-2013-2236Yue Tao2014-08-052-0/+107
| | | | | | | | | | | | | 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>
* meta-networking: fix no newline at end of fileRobert Yang2014-07-151-1/+1
| | | | | | | | | 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>
* quagga: Security Advisory - CVE-2012-1820Yue Tao2014-06-153-0/+131
| | | | | | | | | | | | | | 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>
* quagga, fim, gpsd, hddtemp, libunwind, lzip: Change the url to variable for ↵Changhyeok Bae2014-05-151-3/+1
| | | | | | | | | | | | | 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>
* quagga: fix CVE-2013-6051Kai Kang2014-04-242-0/+30
| | | | | | | | 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>
* quagga: fix QA warningKai Kang2014-04-241-0/+1
| | | | | | | | | | | | | | | | 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>
* quagga: Add mirror siteChanghyeok Bae2014-04-241-0/+2
| | | | | | | | | | | | * 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>
* quagga: work with new readlineRobert Yang2014-03-272-0/+35
| | | | | | | | 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>
* quagga: close the stdout/stderr as in other daemonsRoy Li2014-02-232-0/+51
| | | | | | | | | | | | | 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>
* quagga: fix a typOSRoy Li2014-02-121-1/+1
| | | | | | | 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>
* quagga: Backport a patch to fix extract.pl for cross compilationRoy Li2013-11-272-1/+34
| | | | | Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* quagga: add pam support for vtyshHongxu Jia2013-11-262-1/+25
| | | | | | | | 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>
* quagga: Fix watchquagga initscript problem.Bopeng Liu2013-11-261-2/+7
| | | | | | | 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>
* quagga: Avoid duplicate connected address adding to the listXufeng Zhang2013-11-262-1/+57
| | | | | | | | | | | | | | | | 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>
* quagga: use /bin/false as the login shellRobert Yang2013-11-261-1/+1
| | | | | | | | 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>
* quagga: backport a patch from 0.99.22 to fix "no ip address" commandRoy Li2013-11-062-1/+66
| | | | | Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* quagga: fix pkg_postinstChen Qi2013-10-311-9/+19
| | | | | | | | | | | | 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>
* quagga/ripd: Fix two bugs after received SIGHUP signalXufeng Zhang2013-10-312-1/+52
| | | | | | | | | | | | | | | | 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>
* quagga: fix babeld_optionChen Qi2013-09-231-1/+1
| | | | | | | 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>
* quagga: fix info-related QA warningJoe MacDonald2013-09-051-0/+4
| | | | | | | | | | 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>
* quagga: two fixesRoy.Li2013-08-161-3/+6
| | | | | | | | 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>