diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-02-14 12:07:39 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-03-07 16:31:07 +0100 |
commit | 729f041c4f9fa1f95fda345e6a81b361a80ffa8f (patch) | |
tree | 32f8202fc53c4aae8debee0935f7ce90961963f0 | |
parent | nhrpd: workaround old kernel vs. glibc definition conflics (diff) | |
download | frr-729f041c4f9fa1f95fda345e6a81b361a80ffa8f.tar.xz frr-729f041c4f9fa1f95fda345e6a81b361a80ffa8f.zip |
distro/redhat: package nhrpd
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
[DL: adapted for FRR, changed port number 2612->2610]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
-rw-r--r-- | redhat/frr.spec.in | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index c53e8459c..bb23931b1 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -18,6 +18,7 @@ %{!?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 } @@ -80,13 +81,19 @@ %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 } @@ -132,8 +139,8 @@ FreeRangeRouting is a free software that manages TCP/IP based routing 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. @@ -215,6 +222,11 @@ developing OSPF-API and frr applications. %else --disable-ldpd \ %endif +%if %{with_nhrpd} + --enable-nhrpd \ +%else + --disable-nhrpd \ +%endif %if %{with_pam} --with-libpam \ %endif @@ -336,6 +348,9 @@ zebra_spec_add_service ospf6d 2606/tcp "OSPF6d vty" 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" @@ -521,6 +536,9 @@ rm -rf %{buildroot} %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.* @@ -544,6 +562,9 @@ rm -rf %{buildroot} %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 @@ -570,7 +591,10 @@ rm -rf %{buildroot} %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> |