1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Networking/Routing
11 url = http://bird.network.cz/
13 summary = BIRD Internet Routing Daemon.
16 BIRD is dynamic routing daemon supporting IPv4 and IPv6 versions of routing
17 protocols BGP, RIP and OSPF.
20 source_dl = ftp://bird.network.cz/pub/bird/
30 configure_options += \
35 mkdir -pv %{DIR_APP}/ipv6
36 tar c --exclude ipv6 . | tar x -C ipv6
40 ./configure %{configure_options}
41 make %{PARALLELISMFLAGS}
44 ./configure %{configure_options} --enable-ipv6
45 make %{PARALLELISMFLAGS}
49 make install DESTDIR=%{BUILDROOT}
52 make install DESTDIR=%{BUILDROOT}
54 rm -rfv %{BUILDROOT}/var
60 prerequires = systemd-units
63 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
67 /bin/systemctl --no-reload disable bird.service > /dev/null 2>&1 || :
68 /bin/systemctl stop bird.service > /dev/null 2>&1 || :
70 /bin/systemctl --no-reload disable bird6.service > /dev/null 2>&1 || :
71 /bin/systemctl stop bird6.service > /dev/null 2>&1 || :
75 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
79 /bin/systemctl daemon-reload 2>&1 || :
80 /bin/systemctl reload-or-try-restart bird.service >/dev/null 2>&1 || :
81 /bin/systemctl reload-or-try-restart bird6.service >/dev/null 2>&1 || :
85 package %{name}-debuginfo