[package] add package for BIRD Internet Routing Daemon

Here is the patch that adds a package for The BIRD Internet Routing
Daemon. It is updated to the current version of BIRD (v 1.2.2).

BIRD is an internet routing daemon that implements OSPF, RIP and BGP.
It is fast, lightweight and small (cca 300 kB), therefore ideal for
OpenWRT based routers.

The makefile is rather tricky, as BIRD have to be built two times  (for
IPv4 and IPv6 versions) and there are separate packages for BIRD daemon
and BIRD client, because client depends on libreadline and is not
strictly necessary.

Signed-off-by: Ondrej Zajicek <santiago@crfreenet.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@20780 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2010-04-10 18:33:04 +00:00
parent d43b9f5f22
commit 5840f27288
8 changed files with 479 additions and 0 deletions

12
net/bird/files/bird4loop Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
BIRD=/usr/sbin/bird4
$BIRD -p
( until $BIRD -d "$@"
do
logger error BIRD4 died!
sleep 2
done; ) </dev/null >/dev/null 2> /dev/null &