redhat: Remove tab's with spaces in frr.spec.in to make it better readable

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
This commit is contained in:
Martin Winter 2017-04-12 19:10:35 -07:00 committed by Donald Sharp
parent 826d8beff5
commit 192c13ac27

View File

@ -10,34 +10,34 @@
####################### FRRouting (FRR) configure options ######################### ####################### FRRouting (FRR) configure options #########################
# with-feature options # with-feature options
%{!?with_tcp_zebra: %global with_tcp_zebra 0 } %{!?with_tcp_zebra: %global with_tcp_zebra 0 }
%{!?with_pam: %global with_pam 0 } %{!?with_pam: %global with_pam 0 }
%{!?with_ospfclient: %global with_ospfclient 1 } %{!?with_ospfclient: %global with_ospfclient 1 }
%{!?with_ospfapi: %global with_ospfapi 1 } %{!?with_ospfapi: %global with_ospfapi 1 }
%{!?with_irdp: %global with_irdp 1 } %{!?with_irdp: %global with_irdp 1 }
%{!?with_rtadv: %global with_rtadv 1 } %{!?with_rtadv: %global with_rtadv 1 }
%{!?with_mpls: %global with_mpls 0 } %{!?with_mpls: %global with_mpls 0 }
%{!?with_ldpd: %global with_ldpd 0 } %{!?with_ldpd: %global with_ldpd 0 }
%{!?with_nhrpd: %global with_nhrpd 1 } %{!?with_nhrpd: %global with_nhrpd 1 }
%{!?with_shared: %global with_shared 1 } %{!?with_shared: %global with_shared 1 }
%{!?with_multipath: %global with_multipath 256 } %{!?with_multipath: %global with_multipath 256 }
%{!?frr_user: %global frr_user frr } %{!?frr_user: %global frr_user frr }
%{!?vty_group: %global vty_group frrvty } %{!?vty_group: %global vty_group frrvty }
%{!?with_fpm: %global with_fpm 0 } %{!?with_fpm: %global with_fpm 0 }
%{!?with_watchfrr: %global with_watchfrr 1 } %{!?with_watchfrr: %global with_watchfrr 1 }
%{!?with_bgp_vnc: %global with_bgp_vnc 0 } %{!?with_bgp_vnc: %global with_bgp_vnc 0 }
# path defines # path defines
%define _sysconfdir /etc/frr %define _sysconfdir /etc/frr
%define _sbindir /usr/lib/frr %define _sbindir /usr/lib/frr
%define zeb_src %{_builddir}/%{name}-%{frrversion} %define zeb_src %{_builddir}/%{name}-%{frrversion}
%define zeb_rh_src %{zeb_src}/redhat %define zeb_rh_src %{zeb_src}/redhat
%define zeb_docs %{zeb_src}/doc %define zeb_docs %{zeb_src}/doc
%define frr_tools %{zeb_src}/tools %define frr_tools %{zeb_src}/tools
%define cumulus_dir %{zeb_src}/cumulus/etc %define cumulus_dir %{zeb_src}/cumulus/etc
# defines for configure # defines for configure
%define _localstatedir /var/run/frr %define _localstatedir /var/run/frr
############################################################################ ############################################################################
#### Version String tweak #### Version String tweak
@ -56,29 +56,29 @@
# If init system is systemd, then always disable watchfrr # If init system is systemd, then always disable watchfrr
# #
%if "%{initsystem}" == "systemd" %if "%{initsystem}" == "systemd"
# Note: For systems with systemd, watchfrr will NOT be built. Systemd # Note: For systems with systemd, watchfrr will NOT be built. Systemd
# takes over the role of restarting crashed processes. Value will # takes over the role of restarting crashed processes. Value will
# be overwritten with 0 below for systemd independent on the setting here # be overwritten with 0 below for systemd independent on the setting here
%global with_watchfrr 1 %global with_watchfrr 1
%endif %endif
# if FPM is enabled, then enable tcp_zebra as well # if FPM is enabled, then enable tcp_zebra as well
# #
%if %{with_fpm} %if %{with_fpm}
%global with_tcp_zebra 1 %global with_tcp_zebra 1
%endif %endif
# misc internal defines # misc internal defines
%{!?frr_uid: %global frr_uid 92 } %{!?frr_uid: %global frr_uid 92 }
%{!?frr_gid: %global frr_gid 92 } %{!?frr_gid: %global frr_gid 92 }
%{!?vty_gid: %global vty_gid 85 } %{!?vty_gid: %global vty_gid 85 }
%define daemon_list zebra ripd ospfd bgpd isisd pimd ripngd ospf6d %define daemon_list zebra ripd ospfd bgpd isisd pimd ripngd ospfd6d
%if %{with_ldpd} %if %{with_ldpd}
%define daemon_ldpd ldpd %define daemon_ldpd ldpd
%else %else
%define daemon_ldpd "" %define daemon_ldpd ""
%endif %endif
%if %{with_nhrpd} %if %{with_nhrpd}
@ -88,51 +88,51 @@
%endif %endif
%if %{with_watchfrr} %if %{with_watchfrr}
%define daemon_watchfrr watchfrr %define daemon_watchfrr watchfrr
%else %else
%define daemon_watchfrr "" %define daemon_watchfrr ""
%endif %endif
%define all_daemons %{daemon_list} %{daemon_ldpd} %{daemon_nhrpd} %{daemon_watchfrr} %define all_daemons %{daemon_list} %{daemon_ldpd} %{daemon_nhrpd} %{daemon_watchfrr}
# allow build dir to be kept # allow build dir to be kept
%{!?keep_build: %global keep_build 0 } %{!?keep_build: %global keep_build 0 }
#release sub-revision (the two digits after the CONFDATE) #release sub-revision (the two digits after the CONFDATE)
%{!?release_rev: %global release_rev 01 } %{!?release_rev: %global release_rev 01 }
Summary: Routing daemon Summary: Routing daemon
Name: frr Name: frr
Version: %{rpmversion} Version: %{rpmversion}
Release: @CONFDATE@%{release_rev}%{?dist} Release: @CONFDATE@%{release_rev}%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Daemons Group: System Environment/Daemons
Source0: http://www.frrouting.org/releases/frr/%{name}-%{frrversion}.tar.gz Source0: http://www.frrouting.org/releases/frr/%{name}-%{frrversion}.tar.gz
URL: http://www.frrouting.org URL: http://www.frrouting.org
Requires: ncurses json-c Requires: ncurses json-c
Requires(pre): /sbin/install-info Requires(pre): /sbin/install-info
Requires(preun): /sbin/install-info Requires(preun): /sbin/install-info
Requires(post): /sbin/install-info Requires(post): /sbin/install-info
BuildRequires: texi2html texinfo autoconf patch libcap-devel groff BuildRequires: texi2html texinfo autoconf patch libcap-devel groff
BuildRequires: readline readline-devel ncurses ncurses-devel BuildRequires: readline readline-devel ncurses ncurses-devel
BuildRequires: json-c-devel bison flex BuildRequires: json-c-devel bison flex
Requires: ncurses initscripts Requires: ncurses initscripts
%if %{with_pam} %if %{with_pam}
BuildRequires: pam-devel BuildRequires: pam-devel
Requires: pam Requires: pam
%endif %endif
%if "%{initsystem}" == "systemd" %if "%{initsystem}" == "systemd"
BuildRequires: systemd BuildRequires: systemd
Requires(post): systemd Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
%else %else
# Initscripts > 5.60 is required for IPv6 support # Initscripts > 5.60 is required for IPv6 support
Requires(pre): initscripts >= 5.60 Requires(pre): initscripts >= 5.60
%endif %endif
Provides: routingdaemon = %{version}-%{release} Provides: routingdaemon = %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
Obsoletes: bird gated mrt zebra frr-sysvinit Obsoletes: bird gated mrt zebra frr-sysvinit
%description %description
FRRouting is a free software that manages TCP/IP based routing FRRouting is a free software that manages TCP/IP based routing
@ -181,46 +181,46 @@ developing OSPF-API and frr applications.
--libdir=%{_libdir} \ --libdir=%{_libdir} \
--libexecdir=%{_libexecdir} \ --libexecdir=%{_libexecdir} \
--localstatedir=%{_localstatedir} \ --localstatedir=%{_localstatedir} \
--disable-werror \ --disable-werror \
%if !%{with_shared} %if !%{with_shared}
--disable-shared \ --disable-shared \
%endif %endif
%if %{with_multipath} %if %{with_multipath}
--enable-multipath=%{with_multipath} \ --enable-multipath=%{with_multipath} \
%endif %endif
%if %{with_tcp_zebra} %if %{with_tcp_zebra}
--enable-tcp-zebra \ --enable-tcp-zebra \
%endif %endif
--enable-vtysh \ --enable-vtysh \
%if %{with_ospfclient} %if %{with_ospfclient}
--enable-ospfclient=yes \ --enable-ospfclient=yes \
%else %else
--enable-ospfclient=no\ --enable-ospfclient=no\
%endif %endif
%if %{with_ospfapi} %if %{with_ospfapi}
--enable-ospfapi=yes \ --enable-ospfapi=yes \
%else %else
--enable-ospfapi=no \ --enable-ospfapi=no \
%endif %endif
%if %{with_irdp} %if %{with_irdp}
--enable-irdp=yes \ --enable-irdp=yes \
%else %else
--enable-irdp=no \ --enable-irdp=no \
%endif %endif
%if %{with_rtadv} %if %{with_rtadv}
--enable-rtadv=yes \ --enable-rtadv=yes \
%else %else
--enable-rtadv=no \ --enable-rtadv=no \
%endif %endif
%if %{with_mpls} %if %{with_mpls}
--enable-mpls=yes \ --enable-mpls=yes \
%else %else
--disable-mpls \ --disable-mpls \
%endif %endif
%if %{with_ldpd} %if %{with_ldpd}
--enable-ldpd \ --enable-ldpd \
%else %else
--disable-ldpd \ --disable-ldpd \
%endif %endif
%if %{with_nhrpd} %if %{with_nhrpd}
--enable-nhrpd \ --enable-nhrpd \
@ -228,34 +228,34 @@ developing OSPF-API and frr applications.
--disable-nhrpd \ --disable-nhrpd \
%endif %endif
%if %{with_pam} %if %{with_pam}
--with-libpam \ --with-libpam \
%endif %endif
%if 0%{?frr_user:1} %if 0%{?frr_user:1}
--enable-user=%frr_user \ --enable-user=%frr_user \
--enable-group=%frr_user \ --enable-group=%frr_user \
%endif %endif
%if 0%{?vty_group:1} %if 0%{?vty_group:1}
--enable-vty-group=%vty_group \ --enable-vty-group=%vty_group \
%endif %endif
%if %{with_fpm} %if %{with_fpm}
--enable-fpm \ --enable-fpm \
%else %else
--disable-fpm \ --disable-fpm \
%endif %endif
%if %{with_watchfrr} %if %{with_watchfrr}
--enable-watchfrr \ --enable-watchfrr \
%else %else
--disable-watchfrr \ --disable-watchfrr \
%endif %endif
%if %{with_bgp_vnc} %if %{with_bgp_vnc}
--enable-bgp-vnc \ --enable-bgp-vnc \
%else %else
--disable-bgp-vnc \ --disable-bgp-vnc \
%endif %endif
--enable-gcc-rdynamic \ --enable-gcc-rdynamic \
--enable-isisd=yes \ --enable-isisd=yes \
--enable-systemd=yes \ --enable-systemd=yes \
--enable-poll=yes --enable-poll=yes
make %{?_smp_mflags} MAKEINFO="makeinfo --no-split" make %{?_smp_mflags} MAKEINFO="makeinfo --no-split"
@ -280,14 +280,14 @@ rm -rf %{buildroot}/usr/share/info/dir
%if "%{initsystem}" == "systemd" %if "%{initsystem}" == "systemd"
mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_unitdir}
install %{frr_tools}/frr.service \ install %{frr_tools}/frr.service \
%{buildroot}%{_unitdir}/frr.service %{buildroot}%{_unitdir}/frr.service
%else %else
mkdir -p %{buildroot}/etc/rc.d/init.d mkdir -p %{buildroot}/etc/rc.d/init.d
for daemon in %{all_daemons} ; do for daemon in %{all_daemons} ; do
if [ x"${daemon}" != x"" ] ; then if [ x"${daemon}" != x"" ] ; then
install %{zeb_rh_src}/${daemon}.init \ install %{zeb_rh_src}/${daemon}.init \
%{buildroot}/etc/rc.d/init.d/${daemon} %{buildroot}/etc/rc.d/init.d/${daemon}
fi fi
done done
%endif %endif
@ -295,9 +295,9 @@ install %{cumulus_dir}/frr/debian.conf %{buildroot}/etc/frr
install %{cumulus_dir}/frr/daemons %{buildroot}/etc/frr install %{cumulus_dir}/frr/daemons %{buildroot}/etc/frr
install -m644 %{cumulus_dir}/default/frr %{buildroot}/etc/default install -m644 %{cumulus_dir}/default/frr %{buildroot}/etc/default
install -m644 %{zeb_rh_src}/frr.pam \ install -m644 %{zeb_rh_src}/frr.pam \
%{buildroot}/etc/pam.d/frr %{buildroot}/etc/pam.d/frr
install -m644 %{zeb_rh_src}/frr.logrotate \ install -m644 %{zeb_rh_src}/frr.logrotate \
%{buildroot}/etc/logrotate.d/frr %{buildroot}/etc/logrotate.d/frr
install -d -m750 %{buildroot}/var/run/frr install -d -m750 %{buildroot}/var/run/frr
%pre %pre
@ -330,11 +330,11 @@ fi
zebra_spec_add_service () zebra_spec_add_service ()
{ {
# Add port /etc/services entry if it isn't already there # Add port /etc/services entry if it isn't already there
if [ -f /etc/services ] && \ if [ -f /etc/services ] && \
! %__sed -e 's/#.*$//' /etc/services | %__grep -wq $1 ; then ! %__sed -e 's/#.*$//' /etc/services | %__grep -wq $1 ; then
echo "$1 $2 # $3" >> /etc/services echo "$1 $2 # $3" >> /etc/services
fi fi
} }
zebra_spec_add_service zebrasrv 2600/tcp "zebra service" zebra_spec_add_service zebrasrv 2600/tcp "zebra service"
@ -358,11 +358,11 @@ zebra_spec_add_service ldpd 2612/tcp "LDPd vty"
%if "%{initsystem}" == "systemd" %if "%{initsystem}" == "systemd"
for daemon in %all_daemons ; do for daemon in %all_daemons ; do
%systemd_post frr.service %systemd_post frr.service
done done
%else %else
for daemon in %all_daemons ; do for daemon in %all_daemons ; do
/sbin/chkconfig --add ${daemon} /sbin/chkconfig --add ${daemon}
done done
%endif %endif
@ -370,28 +370,28 @@ done
# Create dummy files if they don't exist so basic functions can be used. # Create dummy files if they don't exist so basic functions can be used.
if [ ! -e %{_sysconfdir}/zebra.conf ]; then if [ ! -e %{_sysconfdir}/zebra.conf ]; then
echo "hostname `hostname`" > %{_sysconfdir}/zebra.conf echo "hostname `hostname`" > %{_sysconfdir}/zebra.conf
%if 0%{?frr_user:1} %if 0%{?frr_user:1}
chown %frr_user:%frr_user %{_sysconfdir}/zebra.conf* chown %frr_user:%frr_user %{_sysconfdir}/zebra.conf*
%endif %endif
chmod 640 %{_sysconfdir}/zebra.conf chmod 640 %{_sysconfdir}/zebra.conf
fi fi
for daemon in %{all_daemons} ; do for daemon in %{all_daemons} ; do
if [ ! -e %{_sysconfdir}/${daemon}.conf ]; then if [ ! -e %{_sysconfdir}/${daemon}.conf ]; then
touch %{_sysconfdir}/${daemon}.conf touch %{_sysconfdir}/${daemon}.conf
%if 0%{?frr_user:1} %if 0%{?frr_user:1}
chown %frr_user:%frr_user %{_sysconfdir}/${daemon}.conf* chown %frr_user:%frr_user %{_sysconfdir}/${daemon}.conf*
%endif %endif
fi fi
done done
%if %{with_watchfrr} %if %{with_watchfrr}
# No config for watchfrr - this is part of /etc/sysconfig/frr # No config for watchfrr - this is part of /etc/sysconfig/frr
rm -f %{_sysconfdir}/watchfrr.* rm -f %{_sysconfdir}/watchfrr.*
%endif %endif
if [ ! -e %{_sysconfdir}/vtysh.conf ]; then if [ ! -e %{_sysconfdir}/vtysh.conf ]; then
touch %{_sysconfdir}/vtysh.conf touch %{_sysconfdir}/vtysh.conf
chmod 640 %{_sysconfdir}/vtysh.conf chmod 640 %{_sysconfdir}/vtysh.conf
%if 0%{?vty_group:1} %if 0%{?vty_group:1}
chown frr:%{vty_group} %{_sysconfdir}/vtysh.conf* chown frr:%{vty_group} %{_sysconfdir}/vtysh.conf*
%endif %endif
@ -399,96 +399,96 @@ fi
%postun %postun
if [ "$1" -ge 1 ]; then if [ "$1" -ge 1 ]; then
# Find out which daemons need to be restarted. # Find out which daemons need to be restarted.
for daemon in %all_daemons ; do for daemon in %all_daemons ; do
if [ -f /var/lock/subsys/${daemon} ]; then if [ -f /var/lock/subsys/${daemon} ]; then
eval restart_${daemon}=yes eval restart_${daemon}=yes
else else
eval restart_${daemon}=no eval restart_${daemon}=no
fi fi
done done
# Rename restart flags for daemons handled specially. # Rename restart flags for daemons handled specially.
running_zebra="$restart_zebra" running_zebra="$restart_zebra"
restart_zebra=no restart_zebra=no
%if %{with_watchfrr} %if %{with_watchfrr}
running_watchfrr="$restart_watchfrr" running_watchfrr="$restart_watchfrr"
restart_watchfrr=no restart_watchfrr=no
%endif %endif
%if "%{initsystem}" == "systemd" %if "%{initsystem}" == "systemd"
## ##
## Systemd Version ## Systemd Version
## ##
# No watchfrr for systemd version # No watchfrr for systemd version
# #
# Stop all daemons other than zebra. # Stop all daemons other than zebra.
for daemon in %all_daemons ; do for daemon in %all_daemons ; do
eval restart=\$restart_${daemon} eval restart=\$restart_${daemon}
[ "$restart" = yes ] && \ [ "$restart" = yes ] && \
%systemd_postun ${daemon}.service %systemd_postun ${daemon}.service
done done
# Restart zebra. # Restart zebra.
[ "$running_zebra" = yes ] && \ [ "$running_zebra" = yes ] && \
%systemd_postun_with_restart $daemon.service %systemd_postun_with_restart $daemon.service
# Start all daemons other than zebra. # Start all daemons other than zebra.
for daemon in %all_daemons ; do for daemon in %all_daemons ; do
eval restart=\$restart_${daemon} eval restart=\$restart_${daemon}
[ "$restart" = yes ] && \ [ "$restart" = yes ] && \
%systemd_post ${daemon}.service %systemd_post ${daemon}.service
done done
%else %else
## ##
## init.d Version ## init.d Version
## ##
%if %{with_watchfrr} %if %{with_watchfrr}
# Stop watchfrr first. # Stop watchfrr first.
[ "$running_watchfrr" = yes ] && \ [ "$running_watchfrr" = yes ] && \
/etc/rc.d/init.d/watchfrr stop >/dev/null 2>&1 /etc/rc.d/init.d/watchfrr stop >/dev/null 2>&1
%endif %endif
# Stop all daemons other than zebra and watchfrr. # Stop all daemons other than zebra and watchfrr.
for daemon in %all_daemons ; do for daemon in %all_daemons ; do
eval restart=\$restart_${daemon} eval restart=\$restart_${daemon}
[ "$restart" = yes ] && \ [ "$restart" = yes ] && \
/etc/rc.d/init.d/${daemon} stop >/dev/null 2>&1 /etc/rc.d/init.d/${daemon} stop >/dev/null 2>&1
done done
# Restart zebra. # Restart zebra.
[ "$running_zebra" = yes ] && \ [ "$running_zebra" = yes ] && \
/etc/rc.d/init.d/zebra restart >/dev/null 2>&1 /etc/rc.d/init.d/zebra restart >/dev/null 2>&1
# Start all daemons other than zebra and watchfrr. # Start all daemons other than zebra and watchfrr.
for daemon in %all_daemons ; do for daemon in %all_daemons ; do
eval restart=\$restart_${daemon} eval restart=\$restart_${daemon}
[ "$restart" = yes ] && \ [ "$restart" = yes ] && \
/etc/rc.d/init.d/${daemon} start >/dev/null 2>&1 /etc/rc.d/init.d/${daemon} start >/dev/null 2>&1
done done
%if %{with_watchfrr} %if %{with_watchfrr}
# Start watchfrr last. # Start watchfrr last.
# Avoid postun scriptlet error if watchfrr is not running. # Avoid postun scriptlet error if watchfrr is not running.
[ "$running_watchfrr" = yes ] && \ [ "$running_watchfrr" = yes ] && \
/etc/rc.d/init.d/watchfrr start >/dev/null 2>&1 || : /etc/rc.d/init.d/watchfrr start >/dev/null 2>&1 || :
%endif %endif
%endif %endif
fi fi
%preun %preun
%if "%{initsystem}" == "systemd" %if "%{initsystem}" == "systemd"
## ##
## Systemd Version ## Systemd Version
## ##
if [ "$1" = "0" ]; then if [ "$1" = "0" ]; then
for daemon in %all_daemons ; do for daemon in %all_daemons ; do
%systemd_preun ${daemon}.service %systemd_preun ${daemon}.service
done done
fi fi
%else %else
## ##
## init.d Version ## init.d Version
## ##
if [ "$1" = "0" ]; then if [ "$1" = "0" ]; then
for daemon in %all_daemons ; do for daemon in %all_daemons ; do
/etc/rc.d/init.d/${daemon} stop >/dev/null 2>&1 /etc/rc.d/init.d/${daemon} stop >/dev/null 2>&1
/sbin/chkconfig --del ${daemon} /sbin/chkconfig --del ${daemon}
done done
fi fi
%endif %endif
/sbin/install-info --delete %{_infodir}/frr.info.gz %{_infodir}/dir /sbin/install-info --delete %{_infodir}/frr.info.gz %{_infodir}/dir
@ -527,7 +527,7 @@ rm -rf %{buildroot}
%{_sbindir}/frr-reload.pyc %{_sbindir}/frr-reload.pyc
%{_sbindir}/frr-reload.pyo %{_sbindir}/frr-reload.pyo
%if %{with_watchfrr} %if %{with_watchfrr}
%{_sbindir}/watchfrr %{_sbindir}/watchfrr
%endif %endif
%{_sbindir}/ripngd %{_sbindir}/ripngd
%{_sbindir}/ospf6d %{_sbindir}/ospf6d
@ -546,25 +546,25 @@ rm -rf %{buildroot}
%{_bindir}/* %{_bindir}/*
%config /etc/frr/[!v]* %config /etc/frr/[!v]*
%if "%{initsystem}" == "systemd" %if "%{initsystem}" == "systemd"
%config %{_unitdir}/frr.service %config %{_unitdir}/frr.service
%else %else
%config /etc/rc.d/init.d/zebra %config /etc/rc.d/init.d/zebra
%if %{with_watchfrr} %if %{with_watchfrr}
%config /etc/rc.d/init.d/watchfrr %config /etc/rc.d/init.d/watchfrr
%endif %endif
%config /etc/rc.d/init.d/ripd %config /etc/rc.d/init.d/ripd
%config /etc/rc.d/init.d/ospfd %config /etc/rc.d/init.d/ospfd
%config /etc/rc.d/init.d/bgpd %config /etc/rc.d/init.d/bgpd
%config /etc/rc.d/init.d/ripngd %config /etc/rc.d/init.d/ripngd
%config /etc/rc.d/init.d/ospf6d %config /etc/rc.d/init.d/ospf6d
%config /etc/rc.d/init.d/isisd %config /etc/rc.d/init.d/isisd
%config /etc/rc.d/init.d/pimd %config /etc/rc.d/init.d/pimd
%if %{with_ldpd} %if %{with_ldpd}
%config /etc/rc.d/init.d/ldpd %config /etc/rc.d/init.d/ldpd
%endif %endif
%if %{with_nhrpd} %if %{with_nhrpd}
%config /etc/rc.d/init.d/nhrpd %config /etc/rc.d/init.d/nhrpd
%endif %endif
%endif %endif
%config(noreplace) /etc/default/frr %config(noreplace) /etc/default/frr
%config(noreplace) /etc/pam.d/frr %config(noreplace) /etc/pam.d/frr