summaryrefslogtreecommitdiff
path: root/bird2
diff options
context:
space:
mode:
authorJosef Schlehofer <pepe.schlehofer@gmail.com>2021-03-25 12:16:49 +0100
committerMoritz Warning <moritzwarning@web.de>2021-03-26 10:06:24 +0100
commitdcff996cbefb6c54017b3d2fd20c9f77f4cdeabd (patch)
treec8420742835492d22e96673964befeb4692abc95 /bird2
parent1c9bb999e15e483d5fa8589336a65e7151cb6d8d (diff)
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>
Diffstat (limited to 'bird2')
-rw-r--r--bird2/Makefile8
-rw-r--r--bird2/patches/0001-babel-Set-onlink-flag-for-IPv4-routes-with-unreachab.patch40
-rw-r--r--bird2/patches/010-gcc10.patch30
3 files changed, 4 insertions, 74 deletions
diff --git a/bird2/Makefile b/bird2/Makefile
index 6962eed..4a0c93b 100644
--- a/bird2/Makefile
+++ b/bird2/Makefile
@@ -7,12 +7,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=bird2
-PKG_VERSION:=2.0.7
-PKG_RELEASE:=3
+PKG_VERSION:=2.0.8
+PKG_RELEASE:=1
PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird
-PKG_HASH:=631d2b58aebdbd651aaa3c68c3756c02ebfe5b1e60d307771ea909eeaa5b1066
+PKG_HASH:=19d2de83ee25a307b9e5b9e58797dd68766d439bcee33e3ac617ed502370e7f6
PKG_BUILD_DEPENDS:=ncurses readline
PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
PKG_BUILD_DIR:=$(BUILD_DIR)/bird-$(PKG_VERSION)
@@ -96,7 +96,7 @@ protocols, telling BIRD to show various information, telling it to show
a routing table filtered by a filter, or asking BIRD to reconfigure.
endef
-CONFIGURE_ARGS += --with-linux-headers="$(LINUX_DIR)" --disable-libssh
+CONFIGURE_ARGS += --disable-libssh
define Package/bird2/conffiles
/etc/bird.conf
diff --git a/bird2/patches/0001-babel-Set-onlink-flag-for-IPv4-routes-with-unreachab.patch b/bird2/patches/0001-babel-Set-onlink-flag-for-IPv4-routes-with-unreachab.patch
deleted file mode 100644
index 5d194d2..0000000
--- a/bird2/patches/0001-babel-Set-onlink-flag-for-IPv4-routes-with-unreachab.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 0ca3156f64a46c52c6d6fc913958f83970d3e57f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= <toke@toke.dk>
-Date: Mon, 30 Apr 2018 11:13:02 +0200
-Subject: [PATCH] babel: Set onlink flag for IPv4 routes with unreachable next
- hop
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-If the next hop of a route is not a reachable address, the route should be
-installed as onlink. This enables a configuration common in mesh networks
-where the mesh interface is assigned a /32 and babel handles the routing by
-installing onlink routes.
-
-Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
----
- proto/babel/babel.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/proto/babel/babel.c b/proto/babel/babel.c
-index ce05191c..afd2eb19 100644
---- a/proto/babel/babel.c
-+++ b/proto/babel/babel.c
-@@ -640,6 +640,13 @@ babel_announce_rte(struct babel_proto *p, struct babel_entry *e)
- .nh.iface = r->neigh->ifa->iface,
- };
-
-+ /* If we cannot find a reachable neighbour, set the entry to be onlink. This
-+ * makes it possible to, e.g., assign /32 addresses on a mesh interface and
-+ * have routing work.
-+ */
-+ if (!neigh_find(&p->p, r->next_hop, r->neigh->ifa->iface, 0))
-+ a0.nh.flags = RNF_ONLINK;
-+
- rta *a = rta_lookup(&a0);
- rte *rte = rte_get_temp(a);
- rte->u.babel.seqno = r->seqno;
---
-2.17.0
-
diff --git a/bird2/patches/010-gcc10.patch b/bird2/patches/010-gcc10.patch
deleted file mode 100644
index 172646b..0000000
--- a/bird2/patches/010-gcc10.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 4bbc10614f3431c37e6352f5a6ea5c693c31021e Mon Sep 17 00:00:00 2001
-From: Maria Matejka <mq@ucw.cz>
-Date: Tue, 4 Feb 2020 10:11:16 +0100
-Subject: [PATCH] Added missing extern
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Thanks to Robert Scheck <bird@robert-scheck.de> who reported it
-and Toke Høiland-Jørgensen <toke@toke.dk> who suggested this patch.
----
- nest/route.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/nest/route.h b/nest/route.h
-index d2a07f09..b927db5f 100644
---- a/nest/route.h
-+++ b/nest/route.h
-@@ -458,7 +458,7 @@ typedef struct rta {
- protocol-specific metric is availabe */
-
-
--const char * rta_dest_names[RTD_MAX];
-+extern const char * rta_dest_names[RTD_MAX];
-
- static inline const char *rta_dest_name(uint n)
- { return (n < RTD_MAX) ? rta_dest_names[n] : "???"; }
---
-2.26.2
-