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/
38 configure_options += \
39 --sysconfdir=/etc/quagga \
40 --localstatedir=%{localstatedir}/run/quagga \
42 --disable-watchquagga \
43 --enable-multipath=64 \
50 mkdir -pv %{localstatedir}/run/quagga
51 chown -v quagga.quagga %{localstatedir}/run/quagga
56 getent group quagga >/dev/null || /usr/sbin/groupadd -r quagga
57 getent passwd quagga >/dev/null || /usr/sbin/useradd -r -g quagga \
58 -d %{sysconfdir}/%{name} -s /sbin/nologin quagga
63 services = bgpd ospf6d ospfd zebra
70 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
74 for i in %{services}; do
75 systemctl --no-reload disable ${i}.service >/dev/null 2>&1 || :
76 systemctl stop ${i}.service >/dev/null 2>&1 || :
81 systemctl daemon-reload >/dev/null 2>&1 || :
85 systemctl daemon-reload >/dev/null 2>&1 || :
87 for i in %{services}; do
88 systemctl try-restart ${i}.service >/dev/null 2>&1 || :
101 package %{name}-debuginfo