%{!?with_rtadv: %global with_rtadv 1 }
%{!?with_mpls: %global with_mpls 0 }
%{!?with_ldpd: %global with_ldpd 0 }
+%{!?with_nhrpd: %global with_nhrpd 1 }
%{!?with_shared: %global with_shared 1 }
%{!?with_multipath: %global with_multipath 256 }
%{!?frr_user: %global frr_user frr }
%define daemon_ldpd ""
%endif
+%if %{with_nhrpd}
+%define daemon_nhrpd nhrpd
+%else
+%define daemon_nhrpd ""
+%endif
+
%if %{with_watchfrr}
%define daemon_watchfrr watchfrr
%else
%define daemon_watchfrr ""
%endif
-%define all_daemons %{daemon_list} %{daemon_ldpd} %{daemon_watchfrr}
+%define all_daemons %{daemon_list} %{daemon_ldpd} %{daemon_nhrpd} %{daemon_watchfrr}
# allow build dir to be kept
%{!?keep_build: %global keep_build 0 }
protocol. It takes multi-server and multi-thread approach to resolve
the current complexity of the Internet.
-FreeRangeRouting supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM
-and LDP
+FreeRangeRouting supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM,
+LDP and NHRP.
FreeRangeRouting is a fork of Quagga.
%else
--disable-ldpd \
%endif
+%if %{with_nhrpd}
+ --enable-nhrpd \
+%else
+ --disable-nhrpd \
+%endif
%if %{with_pam}
--with-libpam \
%endif
zebra_spec_add_service ospfapi 2607/tcp "OSPF-API"
%endif
zebra_spec_add_service isisd 2608/tcp "ISISd vty"
+%if %{with_nhrpd}
+zebra_spec_add_service nhrpd 2610/tcp "NHRPd vty"
+%endif
zebra_spec_add_service pimd 2611/tcp "PIMd vty"
%if %{with_ldpd}
zebra_spec_add_service ldpd 2612/tcp "LDPd vty"
%if %{with_ldpd}
%{_sbindir}/ldpd
%endif
+%if %{with_nhrpd}
+%{_sbindir}/nhrpd
+%endif
%if %{with_shared}
%attr(755,root,root) %{_libdir}/lib*.so
%attr(755,root,root) %{_libdir}/lib*.so.*
%if %{with_ldpd}
%config /etc/rc.d/init.d/ldpd
%endif
+ %if %{with_nhrpd}
+ %config /etc/rc.d/init.d/nhrpd
+ %endif
%endif
%config(noreplace) /etc/default/frr
%config(noreplace) /etc/pam.d/frr
%endif
%changelog
-* Fri Jan 6 2017 Martin Winter <mwinter@opensourcerouting.org> - %{version}
+* Tue Feb 14 2017 Timo Teräs <timo.teras@iki.fi> - %{version}
+- add nhrpd
+
+* Fri Jan 6 2017 Martin Winter <mwinter@opensourcerouting.org>
- Renamed to frr for FreeRangeRouting fork of Quagga
* Thu Feb 11 2016 Paul Jakma <paul@jakma.org>