bird: update to 2.0.10
- change to a better mirror for source (this eliminates the need to run autoreconf as it's done by upstream and a custom worksrc is not needed either) - remove patch for babel as it already is upstream - add changelog
This commit is contained in:
parent
d51be33c70
commit
29410545b1
|
@ -1,29 +0,0 @@
|
|||
From fcb4dd0c831339c4374ace17d8f2ae6ebfeed279 Mon Sep 17 00:00:00 2001
|
||||
From: "Ondrej Zajicek (work)" <santiago@crfreenet.org>
|
||||
Date: Sun, 27 Feb 2022 03:10:38 +0100
|
||||
Subject: [PATCH] Babel: Fix bug in iface reconfiguration
|
||||
|
||||
A recent change in Babel causes ifaces to disappear after
|
||||
reconfiguration. The patch fixes that.
|
||||
|
||||
Thanks to Johannes Kimmel for an insightful bugreport.
|
||||
---
|
||||
proto/babel/babel.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/proto/babel/babel.c b/proto/babel/babel.c
|
||||
index e43818f5..174fc9e2 100644
|
||||
--- a/proto/babel/babel.c
|
||||
+++ b/proto/babel/babel.c
|
||||
@@ -1899,7 +1899,7 @@ babel_reconfigure_ifaces(struct babel_proto *p, struct babel_config *cf)
|
||||
struct babel_iface *ifa = babel_find_iface(p, iface);
|
||||
struct babel_iface_config *ic = (void *) iface_patt_find(&cf->iface_list, iface, NULL);
|
||||
|
||||
- if (ic && iface_is_valid(p, iface))
|
||||
+ if (ic && !iface_is_valid(p, iface))
|
||||
ic = NULL;
|
||||
|
||||
if (ifa && ic)
|
||||
--
|
||||
2.35.1
|
||||
|
|
@ -1,27 +1,23 @@
|
|||
# Template file for 'bird'
|
||||
pkgname=bird
|
||||
version=2.0.9
|
||||
revision=2
|
||||
wrksrc=bird-v$version
|
||||
version=2.0.10
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="flex autoconf"
|
||||
hostmakedepends="flex"
|
||||
makedepends="ncurses-devel readline-devel libssh-devel"
|
||||
short_desc="BIRD Internet Routing Daemon"
|
||||
maintainer="Philipp Hirsch <itself@hanspolo.net>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://bird.network.cz"
|
||||
distfiles="https://gitlab.labs.nic.cz/labs/bird/-/archive/v${version}/bird-v${version}.tar.gz"
|
||||
checksum=912d5c1bbefffd6198b10688ef6e16d0b9dfb2886944f481fc38b4d869ffd2c4
|
||||
changelog="https://gitlab.nic.cz/labs/bird/-/raw/master/NEWS"
|
||||
distfiles="https://bird.network.cz/download/bird-${version}.tar.gz"
|
||||
checksum=7ed341ddd8dc87fa9736586b3515447a8436fec442d65f4022155ab9de1ffd5a
|
||||
|
||||
conf_files="/etc/bird.conf"
|
||||
system_accounts="_bird"
|
||||
|
||||
CFLAGS="-fcommon"
|
||||
|
||||
pre_configure() {
|
||||
autoreconf
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vsv bird
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue