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://www.quagga.net/
13 summary = Quagga is a rounting daemon.
16 Quagga is a free software that manages TCP/IP based routing
17 protocol. It takes multi-server and multi-thread approach to resolve
18 the current complexity of the Internet.
20 Quagga supports BGP4, BGP4+, OSPFv2 and OSPFv3.
23 source_dl = http://download.savannah.gnu.org/releases/quagga/
39 configure_options += \
40 --sysconfdir=/etc/quagga \
41 --localstatedir=%{localstatedir}/run/quagga \
43 --disable-watchquagga \
44 --enable-multipath=64 \
51 mkdir -pv %{localstatedir}/run/quagga
52 chown -v quagga.quagga %{localstatedir}/run/quagga
57 getent group quagga >/dev/null || /usr/sbin/groupadd -r quagga
58 getent passwd quagga >/dev/null || /usr/sbin/useradd -r -g quagga \
59 -d %{sysconfdir}/%{name} -s /sbin/nologin quagga
64 services = bgpd ospf6d ospfd zebra
71 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
75 for i in %{services}; do
76 systemctl --no-reload disable ${i}.service >/dev/null 2>&1 || :
77 systemctl stop ${i}.service >/dev/null 2>&1 || :
82 systemctl daemon-reload >/dev/null 2>&1 || :
86 systemctl daemon-reload >/dev/null 2>&1 || :
88 for i in %{services}; do
89 systemctl try-restart ${i}.service >/dev/null 2>&1 || :
102 package %{name}-debuginfo