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 = https://frrouting.org
13 summary = FRRouting is an IP routing protocol suite
16 FRRouting (FRR) is an IP routing protocol suite for Linux and Unix
17 platforms which includes protocol daemons for BGP, IS-IS, LDP, OSPF,
21 source_dl = https://github.com/FRRouting/frr/releases/download/frr-%{version}/
36 configure_options += \
37 --sysconfdir=/etc/frr \
38 --localstatedir=%{localstatedir}/run/frr \
41 --enable-multipath=64 \
48 mkdir -pv %{localstatedir}/run/frr
49 chown -v frr.frr %{localstatedir}/run/frr
54 getent group frr >/dev/null || /usr/sbin/groupadd -r frr
55 getent passwd frr >/dev/null || /usr/sbin/useradd -r -g frr \
56 -d %{sysconfdir}/%{name} -s /sbin/nologin frr
61 services = bgpd ospf6d ospfd zebra
63 # This is a fork of quagga and installs binaries
64 # with the same name. Hence we cannot install both
73 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
77 for i in %{services}; do
78 systemctl --no-reload disable ${i}.service >/dev/null 2>&1 || :
79 systemctl stop ${i}.service >/dev/null 2>&1 || :
84 systemctl daemon-reload >/dev/null 2>&1 || :
88 systemctl daemon-reload >/dev/null 2>&1 || :
90 for i in %{services}; do
91 systemctl try-restart ${i}.service >/dev/null 2>&1 || :
100 package %{name}-devel
104 package %{name}-debuginfo