Commit Graph

13 Commits

Author SHA1 Message Date
Matt Reeve f4251ccf69 bird2: Fix bus error on OSPF on IPQ806X
On a Netgear R7800, if ospf v2 or v3 is configured in bird.conf, it fails to start with this error:

Fri Jun 11 14:41:11 2021 daemon.info bird: Started
Fri Jun 11 14:41:11 2021 kern.err kernel: [ 3500.853248] Alignment trap: not handling instruction f44c0a1f at [<00035848>] Fri Jun 11 14:41:11 2021 kern.alert kernel: [ 3500.853283] 8<--- cut here ---
Fri Jun 11 14:41:11 2021 kern.alert kernel: [ 3500.859363] Unhandled fault: alignment exception (0x801) at 0x007e0624
Fri Jun 11 14:41:11 2021 kern.alert kernel: [ 3500.862443] pgd = 0bbef4fd
Fri Jun 11 14:41:11 2021 kern.alert kernel: [ 3500.868821] [007e0624] *pgd=5d6ca835, *pte=5c40b75f, *ppte=5c40bc7f

The problem is due to a struct not being properly aligned on the ARMv7 architecture.

This patch fixes the problem by adding the "PACKED" macro to the affected struct. Note
that upstream may later fix this in another way, in which case this patch will not be required.

Signed-off-by: Matt Reeve <matt@mreeve.com>
(cherry picked from commit 166b6ea77b)
2021-08-12 11:42:37 +01:00
Josef Schlehofer b38a46acd5 bird2: Makefile polishing
- Just small reodering of some rows to be more consistent with packages feed
- Fix deprecated SPDX License Identifier

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-03-26 10:06:24 +01:00
Josef Schlehofer dcff996cbe bird2: update to version 2.0.8
- Removed all patches as they are now included in upstream release
- Removed --with-linux-headers option
(Fixes: configure: WARNING: unrecognized options: --with-linux-headers)

Changelog:
https://bird.network.cz/pipermail/bird-users/2021-March/015281.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-03-26 10:06:24 +01:00
Rosen Penev ff5f25a6ef
bird2: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-11 12:36:34 -07:00
Yuxiang Zhu c9ae9c8c50
bird2: fix service restart and reload (#546)
`/etc/init.d/bird restart` or `/etc/init.d/bird reload` has no effects.

This PR fixes this issue by:

- running the service in the foreground to meet the requirements of procd
- sending SIGHUP signal to reload the service
2020-02-08 22:47:13 +01:00
Toke Høiland-Jørgensen 4f945bba16 bird2: Update to v2.0.7 (#516)
Bump release to upstream v2.0.7

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2019-12-21 23:18:36 +01:00
Josef Schlehofer 534121e1fe
bird2: Update to version 2.0.6
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-29 20:35:45 +02:00
Toke Høiland-Jørgensen c687bd3055 bird2: Bump to v2.0.5
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2019-08-19 12:34:05 +02:00
Toke Høiland-Jørgensen 37f8c509e0 bird2: Bump to v2.0.4
Bird 2.0.4 was released on March 1st. Remove upstreamed patches.

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
2019-05-15 23:12:27 +02:00
Moritz Warning 0013176125
Merge pull request #387 from diizzyy/patch-2
bird2: Disable libssh support
2018-07-17 18:39:19 +02:00
Daniel Engberg 43449bcbbd treewide: Basic cleanup and alignment to package guidelines (#383)
This is a very basic cleanup, several packages needs more work
but this at least drops git for https and removes the use of
PKG_MD5SUM and some minor fixes.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-07-12 16:50:47 +02:00
Daniel Engberg 633130f8b5
bird2: Disable libssh support
Explicitly disable libssh support
Fixes build failure on buildbots

" Package bird2 is missing dependencies for the following libraries:
libssh.so.4 "
http://downloads.lede-project.org/snapshots/faillogs/arm_cortex-a9_neon/routing/bird2/compile.txt

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-06-12 23:51:07 +02:00
Toke Høiland-Jørgensen 688901a664 bird2: Add package
This adds a separate package for the 2.0 branch of Bird, allowing it to
co-exist with the bird1 package. The two packages conflict with each other,
so they can't be installed at the same time; but in the build system they
coexist just fine.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2018-05-16 13:18:28 +02:00