]> git.proxmox.com Git - mirror_frr.git/blob - redhat/frr.spec.in
Merge pull request #7811 from kuldeepkash/multicast_pim_dr_nondr
[mirror_frr.git] / redhat / frr.spec.in
1 # configure options
2 #
3 # Some can be overridden on rpmbuild commandline with:
4 # rpmbuild --define 'variable value'
5 # (use any value, ie 1 for flag "with_XXXX" definitions)
6 #
7 # E.g. rpmbuild --define 'release_rev 02' may be useful if building
8 # rpms again and again on the same day, so the newer rpms can be installed.
9 # bumping the number each time.
10
11 #################### FRRouting (FRR) configure options #####################
12 # with-feature options
13 %{!?with_babeld: %global with_babeld 1 }
14 %{!?with_bfdd: %global with_bfdd 1 }
15 %{!?with_bgp_vnc: %global with_bgp_vnc 0 }
16 %{!?with_cumulus: %global with_cumulus 0 }
17 %{!?with_eigrpd: %global with_eigrpd 1 }
18 %{!?with_fpm: %global with_fpm 1 }
19 %{!?with_ldpd: %global with_ldpd 1 }
20 %{!?with_multipath: %global with_multipath 256 }
21 %{!?with_nhrpd: %global with_nhrpd 1 }
22 %{!?with_ospfapi: %global with_ospfapi 1 }
23 %{!?with_ospfclient: %global with_ospfclient 1 }
24 %{!?with_pam: %global with_pam 0 }
25 %{!?with_pbrd: %global with_pbrd 1 }
26 %{!?with_pimd: %global with_pimd 1 }
27 %{!?with_vrrpd: %global with_vrrpd 1 }
28 %{!?with_rtadv: %global with_rtadv 1 }
29 %{!?with_watchfrr: %global with_watchfrr 1 }
30 %{!?with_pathd: %global with_pathd 1 }
31
32 # user and group
33 %{!?frr_user: %global frr_user frr }
34 %{!?vty_group: %global vty_group frrvty }
35
36 # path defines
37 %define configdir %{_sysconfdir}/%{name}
38 %define _sbindir /usr/lib/frr
39 %define zeb_src %{_builddir}/%{name}-%{frrversion}
40 %define zeb_rh_src %{zeb_src}/redhat
41 %define zeb_docs %{zeb_src}/doc
42 %define frr_tools %{zeb_src}/tools
43
44 # defines for configure
45 %define rundir %{_localstatedir}/run/%{name}
46
47 ############################################################################
48
49 #### Version String tweak
50 # Remove invalid characters form version string and replace with _
51 %{expand: %%global rpmversion %(echo '@VERSION@' | tr [:blank:]- _ )}
52 %define frrversion @VERSION@
53
54 #### Check for systemd or init.d (upstart)
55 # Check for init.d (upstart) as used in CentOS 6 or systemd (ie CentOS 7)
56 %if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?suse_version} >= 1210
57 %global initsystem systemd
58 %else
59 %if 0%{?rhel} && 0%{?rhel} < 7
60 %global initsystem upstart
61 %else
62 %{expand: %%global initsystem %(if [[ `/sbin/init --version 2> /dev/null` =~ upstart ]]; then echo upstart; elif [[ `readlink -f /sbin/init` = /usr/lib/systemd/systemd ]]; then echo systemd; elif [[ `systemctl` =~ -\.mount ]]; then echo systemd; fi)}
63 %endif
64 %endif
65
66 # Check for python version - use python2.7 on CentOS 6, otherwise python3
67 %if 0%{?rhel} && 0%{?rhel} < 7
68 %global use_python2 1
69 %else
70 %global use_python2 0
71 %endif
72
73 # If init system is systemd, then always enable watchfrr
74 %if "%{initsystem}" == "systemd"
75 %global with_watchfrr 1
76 %endif
77
78 #### Check for RedHat 6.x or CentOS 6.x - they are too old to support PIM.
79 #### Always disable it on these old systems unconditionally
80 #
81 # if CentOS / RedHat and version < 7, then disable PIMd (too old, won't work)
82 %if 0%{?rhel} && 0%{?rhel} < 7
83 %global with_pimd 0
84 %endif
85
86 # misc internal defines
87 %{!?frr_uid: %global frr_uid 92 }
88 %{!?frr_gid: %global frr_gid 92 }
89 %{!?vty_gid: %global vty_gid 85 }
90
91 %define daemon_list zebra ripd ospfd bgpd isisd ripngd ospf6d pbrd staticd bfdd fabricd pathd
92
93 %if %{with_ldpd}
94 %define daemon_ldpd ldpd
95 %else
96 %define daemon_ldpd ""
97 %endif
98
99 %if %{with_pimd}
100 %define daemon_pimd pimd
101 %else
102 %define daemon_pimd ""
103 %endif
104
105 %if %{with_pbrd}
106 %define daemon_pbrd pbrd
107 %else
108 %define daemon_pbrd ""
109 %endif
110
111 %if %{with_nhrpd}
112 %define daemon_nhrpd nhrpd
113 %else
114 %define daemon_nhrpd ""
115 %endif
116
117 %if %{with_eigrpd}
118 %define daemon_eigrpd eigrpd
119 %else
120 %define daemon_eigrpd ""
121 %endif
122
123 %if %{with_babeld}
124 %define daemon_babeld babeld
125 %else
126 %define daemon_babeld ""
127 %endif
128
129 %if %{with_vrrpd}
130 %define daemon_vrrpd vrrpd
131 %else
132 %define daemon_vrrpd ""
133 %endif
134
135 %if %{with_watchfrr}
136 %define daemon_watchfrr watchfrr
137 %else
138 %define daemon_watchfrr ""
139 %endif
140
141 %if %{with_bfdd}
142 %define daemon_bfdd bfdd
143 %else
144 %define daemon_bfdd ""
145 %endif
146
147 %if %{with_pathd}
148 %define daemon_pathd pathd
149 %else
150 %define daemon_pathd ""
151 %endif
152
153 %define all_daemons %{daemon_list} %{daemon_ldpd} %{daemon_pimd} %{daemon_nhrpd} %{daemon_eigrpd} %{daemon_babeld} %{daemon_watchfrr} %{daemon_pbrd} %{daemon_bfdd} %{daemon_vrrpd} %{daemon_pathd}
154
155 #release sub-revision (the two digits after the CONFDATE)
156 %{!?release_rev: %global release_rev 01 }
157
158 Summary: Routing daemon
159 Name: frr
160 Version: %{rpmversion}
161 Release: %{release_rev}%{?dist}
162 License: GPLv2+
163 Group: System Environment/Daemons
164 Source0: https://github.com/FRRouting/frr/archive/%{name}-%{frrversion}.tar.gz
165 URL: https://www.frrouting.org
166 Requires(pre): shadow-utils
167 Requires(preun): info
168 Requires(post): info
169 BuildRequires: bison >= 2.7
170 BuildRequires: c-ares-devel
171 BuildRequires: flex
172 BuildRequires: gcc
173 BuildRequires: json-c-devel
174 BuildRequires: libcap-devel
175 BuildRequires: make
176 BuildRequires: ncurses-devel
177 BuildRequires: readline-devel
178 BuildRequires: texinfo
179 BuildRequires: libyang2-devel
180 %if 0%{?rhel} && 0%{?rhel} < 7
181 #python27-devel is available from ius community repo for RedHat/CentOS 6
182 BuildRequires: python27-devel
183 BuildRequires: python27-sphinx
184 %else
185 %if %{use_python2}
186 BuildRequires: python-devel >= 2.7
187 BuildRequires: python-sphinx
188 %else
189 BuildRequires: python3-devel
190 BuildRequires: python3-sphinx
191 %endif
192 %endif
193 %if 0%{?rhel} > 7
194 #platform-python-devel is needed for /usr/bin/pathfix.py
195 BuildRequires: platform-python-devel
196 %endif
197 Requires: initscripts
198 %if %{with_pam}
199 BuildRequires: pam-devel
200 %endif
201 %if "%{initsystem}" == "systemd"
202 BuildRequires: systemd
203 BuildRequires: systemd-devel
204 Requires(post): systemd
205 Requires(preun): systemd
206 Requires(postun): systemd
207 %else
208 Requires(post): chkconfig
209 Requires(preun): chkconfig
210 # Initscripts > 5.60 is required for IPv6 support
211 Requires(pre): initscripts >= 5.60
212 %endif
213 Provides: routingdaemon = %{version}-%{release}
214 Obsoletes: gated mrt zebra frr-sysvinit
215 Conflicts: bird
216
217
218 %description
219 FRRouting is a free software that manages TCP/IP based routing
220 protocol. It takes multi-server and multi-thread approach to resolve
221 the current complexity of the Internet.
222
223 FRRouting supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, LDP
224 NHRP, Babel, PBR, EIGRP and BFD.
225
226 FRRouting is a fork of Quagga.
227
228
229 %package contrib
230 Summary: contrib tools for frr
231 Group: System Environment/Daemons
232
233 %description contrib
234 Contributed/3rd party tools which may be of use with frr.
235
236
237 %package pythontools
238 Summary: python tools for frr
239 %if 0%{?rhel} && 0%{?rhel} < 7
240 #python27 is available from ius community repo for RedHat/CentOS 6
241 BuildRequires: python27
242 Requires: python27-ipaddress
243 %else
244 %if %{use_python2}
245 BuildRequires: python2
246 Requires: python2-ipaddress
247 %else
248 BuildRequires: python3
249 %endif
250 %endif
251 Group: System Environment/Daemons
252
253 %description pythontools
254 Contributed python 2.7 tools which may be of use with frr.
255
256
257 %package devel
258 Summary: Header and object files for frr development
259 Group: System Environment/Daemons
260 Requires: %{name} = %{version}-%{release}
261
262 %description devel
263 The frr-devel package contains the header and object files necessary for
264 developing OSPF-API and frr applications.
265
266
267 %package rpki-rtrlib
268 Summary: BGP RPKI support (rtrlib)
269 Group: System Environment/Daemons
270 BuildRequires: librtr-devel >= 0.5
271 Requires: %{name} = %{version}-%{release}
272
273 %description rpki-rtrlib
274 Adds RPKI support to FRR's bgpd, allowing validation of BGP routes
275 against cryptographic information stored in WHOIS databases. This is
276 used to prevent hijacking of networks on the wider internet. It is only
277 relevant to internet service providers using their own autonomous system
278 number.
279
280
281 %package snmp
282 Summary: SNMP support
283 Group: System Environment/Daemons
284 BuildRequires: net-snmp-devel
285 Requires: %{name} = %{version}-%{release}
286
287 %description snmp
288 Adds SNMP support to FRR's daemons by attaching to net-snmp's snmpd
289 through the AgentX protocol. Provides read-only access to current
290 routing state through standard SNMP MIBs.
291
292
293 %prep
294 %setup -q -n frr-%{frrversion}
295
296
297 %build
298
299 # For standard gcc verbosity, uncomment these lines:
300 #CFLAGS="%{optflags} -Wall -Wsign-compare -Wpointer-arith"
301 #CFLAGS="${CFLAGS} -Wbad-function-cast -Wwrite-strings"
302
303 # For ultra gcc verbosity, uncomment these lines also:
304 #CFLAGS="${CFLAGS} -W -Wcast-qual -Wstrict-prototypes"
305 #CFLAGS="${CFLAGS} -Wmissing-declarations -Wmissing-noreturn"
306 #CFLAGS="${CFLAGS} -Wmissing-format-attribute -Wunreachable-code"
307 #CFLAGS="${CFLAGS} -Wpacked -Wpadded"
308
309 %configure \
310 --sbindir=%{_sbindir} \
311 --sysconfdir=%{configdir} \
312 --localstatedir=%{rundir} \
313 --disable-static \
314 --disable-werror \
315 --enable-irdp \
316 %if %{with_multipath}
317 --enable-multipath=%{with_multipath} \
318 %endif
319 --enable-vtysh \
320 %if %{with_ospfclient}
321 --enable-ospfclient \
322 %else
323 --disable-ospfclient\
324 %endif
325 %if %{with_ospfapi}
326 --enable-ospfapi \
327 %else
328 --disable-ospfapi \
329 %endif
330 %if %{with_rtadv}
331 --enable-rtadv \
332 %else
333 --disable-rtadv \
334 %endif
335 %if %{with_ldpd}
336 --enable-ldpd \
337 %else
338 --disable-ldpd \
339 %endif
340 %if %{with_pimd}
341 --enable-pimd \
342 %else
343 --disable-pimd \
344 %endif
345 %if %{with_pbrd}
346 --enable-pbrd \
347 %else
348 --disable-pbrd \
349 %endif
350 %if %{with_nhrpd}
351 --enable-nhrpd \
352 %else
353 --disable-nhrpd \
354 %endif
355 %if %{with_eigrpd}
356 --enable-eigrpd \
357 %else
358 --disable-eigrpd \
359 %endif
360 %if %{with_babeld}
361 --enable-babeld \
362 %else
363 --disable-babeld \
364 %endif
365 %if %{with_vrrpd}
366 --enable-vrrpd \
367 %else
368 --disable-vrrpd \
369 %endif
370 %if %{with_pam}
371 --with-libpam \
372 %endif
373 %if 0%{?frr_user:1}
374 --enable-user=%{frr_user} \
375 --enable-group=%{frr_user} \
376 %endif
377 %if 0%{?vty_group:1}
378 --enable-vty-group=%{vty_group} \
379 %endif
380 %if %{with_fpm}
381 --enable-fpm \
382 %else
383 --disable-fpm \
384 %endif
385 %if %{with_watchfrr}
386 --enable-watchfrr \
387 %else
388 --disable-watchfrr \
389 %endif
390 %if %{with_cumulus}
391 --enable-cumulus \
392 %endif
393 %if %{with_bgp_vnc}
394 --enable-bgp-vnc \
395 %else
396 --disable-bgp-vnc \
397 %endif
398 --enable-isisd \
399 %if "%{initsystem}" == "systemd"
400 --enable-systemd \
401 %endif
402 --enable-rpki \
403 %if %{with_bfdd}
404 --enable-bfdd \
405 %else
406 --disable-bfdd \
407 %endif
408 %if %{with_pathd}
409 --enable-pathd \
410 %else
411 --disable-pathd \
412 %endif
413 --enable-snmp
414 # end
415
416 make %{?_smp_mflags} MAKEINFO="makeinfo --no-split"
417
418 %if %{use_python2}
419 # Change frr-reload.py to use python2.7
420 sed -e '1c #!/usr/bin/python2.7' -i %{zeb_src}/tools/frr-reload.py
421 sed -e '1c #!/usr/bin/python2.7' -i %{zeb_src}/tools/generate_support_bundle.py
422 %else
423 # Change frr-reload.py to use python3
424 sed -e '1c #!/usr/bin/python3' -i %{zeb_src}/tools/frr-reload.py
425 sed -e '1c #!/usr/bin/python3' -i %{zeb_src}/tools/generate_support_bundle.py
426 %endif
427
428 pushd doc
429 make info
430 popd
431
432
433 %install
434 mkdir -p %{buildroot}%{_sysconfdir}/{frr,sysconfig,logrotate.d,pam.d,default} \
435 %{buildroot}%{_infodir}
436 mkdir -m 0755 -p %{buildroot}%{_localstatedir}/log/frr
437 make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" install
438
439 # Remove this file, as it is uninstalled and causes errors when building on RH9
440 rm -rf %{buildroot}/usr/share/info/dir
441
442 # Remove debian init script if it was installed
443 rm -f %{buildroot}%{_sbindir}/frr
444
445 # kill bogus libtool files
446 rm -vf %{buildroot}%{_libdir}/frr/modules/*.la
447 rm -vf %{buildroot}%{_libdir}/*.la
448 rm -vf %{buildroot}%{_libdir}/frr/libyang_plugins/*.la
449
450 # install /etc sources
451 %if "%{initsystem}" == "systemd"
452 mkdir -p %{buildroot}%{_unitdir}
453 install -m644 %{zeb_src}/tools/frr.service %{buildroot}%{_unitdir}/frr.service
454 %else
455 mkdir -p %{buildroot}%{_initddir}
456 ln -s %{_sbindir}/frrinit.sh %{buildroot}%{_initddir}/frr
457 %endif
458
459 install %{zeb_src}/tools/etc/frr/daemons %{buildroot}%{_sysconfdir}/frr
460 install %{zeb_src}/tools/etc/frr/frr.conf %{buildroot}%{_sysconfdir}/frr/frr.conf.template
461 install -m644 %{zeb_rh_src}/frr.pam %{buildroot}%{_sysconfdir}/pam.d/frr
462 install -m644 %{zeb_rh_src}/frr.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/frr
463 install -d -m750 %{buildroot}%{rundir}
464
465 %if 0%{?rhel} > 7 || 0%{?fedora} > 29
466 # avoid `ERROR: ambiguous python shebang in` errors
467 pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}/usr/lib/frr/*.py
468 %py_byte_compile %{__python3} %{buildroot}/usr/lib/frr/*.py
469 %endif
470
471 %pre
472 # add vty_group
473 %if 0%{?vty_group:1}
474 getent group %{vty_group} >/dev/null || groupadd -r -g %{vty_gid} %{vty_group}
475 %endif
476
477 # add frr user and group
478 %if 0%{?frr_user:1}
479 # Ensure that frr_gid gets correctly allocated
480 getent group %{frr_user} >/dev/null || groupadd -g %{frr_gid} %{frr_user}
481 getent passwd %{frr_user} >/dev/null || \
482 useradd -r -u %{frr_uid} -g %{frr_user} \
483 -s /sbin/nologin -c "FRRouting suite" \
484 -d %{rundir} %{frr_user}
485
486 %if 0%{?vty_group:1}
487 usermod -a -G %{vty_group} %{frr_user}
488 %endif
489 %endif
490 exit 0
491
492
493 %post
494 # zebra_spec_add_service <service name> <port/proto> <comment>
495 # e.g. zebra_spec_add_service zebrasrv 2600/tcp "zebra service"
496
497 zebra_spec_add_service ()
498 {
499 # Add port /etc/services entry if it isn't already there
500 if [ -f %{_sysconfdir}/services ] && \
501 ! %__sed -e 's/#.*$//' %{_sysconfdir}/services 2>/dev/null | %__grep -wq $1 ; then
502 echo "$1 $2 # $3" >> %{_sysconfdir}/services
503 fi
504 }
505
506 zebra_spec_add_service zebrasrv 2600/tcp "zebra service"
507 zebra_spec_add_service zebra 2601/tcp "zebra vty"
508 zebra_spec_add_service staticd 2616/tcp "staticd vty"
509 zebra_spec_add_service ripd 2602/tcp "RIPd vty"
510 zebra_spec_add_service ripngd 2603/tcp "RIPngd vty"
511 zebra_spec_add_service ospfd 2604/tcp "OSPFd vty"
512 zebra_spec_add_service bgpd 2605/tcp "BGPd vty"
513 zebra_spec_add_service ospf6d 2606/tcp "OSPF6d vty"
514 zebra_spec_add_service isisd 2608/tcp "ISISd vty"
515 %if %{with_ospfapi}
516 zebra_spec_add_service ospfapi 2607/tcp "OSPF-API"
517 %endif
518 %if %{with_babeld}
519 zebra_spec_add_service babeld 2609/tcp "BABELd vty"
520 %endif
521 %if %{with_nhrpd}
522 zebra_spec_add_service nhrpd 2610/tcp "NHRPd vty"
523 %endif
524 %if %{with_pimd}
525 zebra_spec_add_service pimd 2611/tcp "PIMd vty"
526 %endif
527 %if %{with_pbrd}
528 zebra_spec_add_service pbrd 2615/tcp "PBRd vty"
529 %endif
530 %if %{with_ldpd}
531 zebra_spec_add_service ldpd 2612/tcp "LDPd vty"
532 %endif
533 %if %{with_eigrpd}
534 zebra_spec_add_service eigrpd 2613/tcp "EIGRPd vty"
535 %endif
536 %if %{with_bfdd}
537 zebra_spec_add_service bfdd 2617/tcp "BFDd vty"
538 %endif
539 zebra_spec_add_service fabricd 2618/tcp "Fabricd vty"
540 %if %{with_vrrpd}
541 zebra_spec_add_service vrrpd 2619/tcp "VRRPd vty"
542 %endif
543 %if %{with_pathd}
544 zebra_spec_add_service pathd 2620/tcp "Pathd vty"
545 %endif
546
547 %if "%{initsystem}" == "systemd"
548 for daemon in %all_daemons ; do
549 %systemd_post frr.service
550 done
551 %else
552 /sbin/chkconfig --add frr
553 %endif
554
555 # Fix bad path in previous config files
556 # Config files won't get replaced by default, so we do this ugly hack to fix it
557 %__sed -i 's|watchfrr_options=|#watchfrr_options=|g' %{configdir}/daemons 2> /dev/null || true
558
559 # With systemd, watchfrr is mandatory. Fix config to make sure it's enabled if
560 # we install or upgrade to a frr built with systemd
561 %if "%{initsystem}" == "systemd"
562 %__sed -i 's|watchfrr_enable=no|watchfrr_enable=yes|g' %{configdir}/daemons 2> /dev/null || true
563 %endif
564
565 /sbin/install-info %{_infodir}/frr.info.gz %{_infodir}/dir
566
567 # Create dummy config file if they don't exist so basic functions can be used.
568 if [ ! -e %{configdir}/frr.conf ] && [ ! -e %{configdir}/zebra.conf ]; then
569 # No frr.conf and per daemon configs exist
570 mv %{configdir}/frr.conf.template %{configdir}/frr.conf
571 %if 0%{?frr_user:1}
572 chown %{frr_user}:%{frr_user} %{configdir}/frr.conf
573 %endif
574 chmod 640 %{configdir}/frr.conf
575 fi
576 %if 0%{?frr_user:1}
577 chown %{frr_user}:%{frr_user} %{configdir}/daemons
578 %endif
579
580 %if %{with_watchfrr}
581 # No config for watchfrr - this is part of /etc/sysconfig/frr
582 rm -f %{configdir}/watchfrr.*
583 %endif
584
585 if [ ! -e %{configdir}/vtysh.conf ]; then
586 touch %{configdir}/vtysh.conf
587 chmod 640 %{configdir}/vtysh.conf
588 %if 0%{?frr_user:1}
589 %if 0%{?vty_group:1}
590 chown %{frr_user}:%{vty_group} %{configdir}/vtysh.conf*
591 %endif
592 %endif
593 fi
594
595
596 %postun
597 if [ "$1" -ge 1 ]; then
598 #
599 # Upgrade from older version
600 #
601 %if "%{initsystem}" == "systemd"
602 ##
603 ## Systemd Version
604 ##
605 %systemd_postun_with_restart frr.service
606 %else
607 ##
608 ## init.d Version
609 ##
610 service frr restart >/dev/null 2>&1
611 %endif
612 :
613 fi
614
615
616 %preun
617 %if "%{initsystem}" == "systemd"
618 ##
619 ## Systemd Version
620 ##
621 if [ $1 -eq 0 ] ; then
622 %systemd_preun frr.service
623 fi
624 %else
625 ##
626 ## init.d Version
627 ##
628 if [ $1 -eq 0 ] ; then
629 service frr stop >/dev/null 2>&1
630 /sbin/chkconfig --del frr
631 fi
632 %endif
633 /sbin/install-info --delete %{_infodir}/frr.info.gz %{_infodir}/dir
634
635
636 %files
637 %doc COPYING
638 %doc doc/mpls
639 %doc README.md
640 /usr/share/yang/*.yang
641 %if 0%{?frr_user:1}
642 %dir %attr(751,%{frr_user},%{frr_user}) %{configdir}
643 %dir %attr(755,%{frr_user},%{frr_user}) %{_localstatedir}/log/frr
644 %dir %attr(751,%{frr_user},%{frr_user}) %{rundir}
645 %else
646 %dir %attr(750,root,root) %{configdir}
647 %dir %attr(755,root,root) %{_localstatedir}/log/frr
648 %dir %attr(750,root,root) %{rundir}
649 %endif
650 %{_infodir}/frr.info.gz
651 %{_mandir}/man*/*
652 %{_sbindir}/zebra
653 %{_sbindir}/staticd
654 %{_sbindir}/ospfd
655 %{_sbindir}/ripd
656 %{_sbindir}/bgpd
657 %exclude %{_sbindir}/ssd
658 %if %{with_watchfrr}
659 %{_sbindir}/watchfrr
660 %endif
661 %{_sbindir}/ripngd
662 %{_sbindir}/ospf6d
663 %if %{with_pimd}
664 %{_sbindir}/pimd
665 %endif
666 %if %{with_pbrd}
667 %{_sbindir}/pbrd
668 %endif
669 %if %{with_vrrpd}
670 %{_sbindir}/vrrpd
671 %endif
672 %{_sbindir}/isisd
673 %{_sbindir}/fabricd
674 %if %{with_ldpd}
675 %{_sbindir}/ldpd
676 %endif
677 %if %{with_eigrpd}
678 %{_sbindir}/eigrpd
679 %endif
680 %if %{with_nhrpd}
681 %{_sbindir}/nhrpd
682 %endif
683 %if %{with_babeld}
684 %{_sbindir}/babeld
685 %endif
686 %if %{with_bfdd}
687 %{_sbindir}/bfdd
688 %endif
689 %if %{with_pathd}
690 %{_sbindir}/pathd
691 %{_libdir}/frr/modules/pathd_pcep.so
692 %endif
693 %{_libdir}/libfrr.so*
694 %{_libdir}/libfrrcares*
695 %{_libdir}/libfrrospf*
696 %if %{with_fpm}
697 %{_libdir}/frr/modules/zebra_fpm.so
698 %endif
699 %{_libdir}/frr/modules/zebra_cumulus_mlag.so
700 %{_libdir}/frr/modules/dplane_fpm_nl.so
701 %{_libdir}/frr/modules/zebra_irdp.so
702 %{_libdir}/frr/modules/bgpd_bmp.so
703 %{_bindir}/*
704 %config(noreplace) %{configdir}/[!v]*.conf*
705 %config(noreplace) %attr(750,%{frr_user},%{frr_user}) %{configdir}/daemons
706 %if "%{initsystem}" == "systemd"
707 %{_unitdir}/frr.service
708 %else
709 %{_initddir}/frr
710 %endif
711 %config(noreplace) %{_sysconfdir}/pam.d/frr
712 %config(noreplace) %{_sysconfdir}/logrotate.d/frr
713 %{_sbindir}/frr-reload
714 %{_sbindir}/frrcommon.sh
715 %{_sbindir}/frrinit.sh
716 %{_sbindir}/watchfrr.sh
717
718
719 %files contrib
720 %doc tools
721
722
723 %files pythontools
724 %{_sbindir}/generate_support_bundle.py
725 %{_sbindir}/frr-reload.py
726 %{_sbindir}/frr_babeltrace.py
727 %if 0%{?rhel} > 7 || 0%{?fedora} > 29
728 %{_sbindir}/__pycache__/*
729 %else
730 %{_sbindir}/generate_support_bundle.pyc
731 %{_sbindir}/generate_support_bundle.pyo
732 %{_sbindir}/frr-reload.pyc
733 %{_sbindir}/frr-reload.pyo
734 %{_sbindir}/frr_babeltrace.pyc
735 %{_sbindir}/frr_babeltrace.pyo
736 %endif
737
738
739 %post rpki-rtrlib
740 # add rpki module to daemons
741 sed -i -e 's/^\(bgpd_options=\)\(.*\)\(".*\)/\1\2 -M rpki\3/' %{_sysconfdir}/frr/daemons
742
743 %postun rpki-rtrlib
744 # remove rpki module from daemons
745 sed -i 's/ -M rpki//' %{_sysconfdir}/frr/daemons
746
747 %files rpki-rtrlib
748 %{_libdir}/frr/modules/bgpd_rpki.so
749
750
751 %files snmp
752 %{_libdir}/libfrrsnmp.so*
753 %{_libdir}/frr/modules/*snmp.so
754
755
756 %files devel
757 %{_libdir}/lib*.so
758 %dir %{_includedir}/%{name}
759 %{_includedir}/%{name}/*.h
760 %dir %{_includedir}/%{name}/ospfd
761 %{_includedir}/%{name}/ospfd/*.h
762 %if %{with_bfdd}
763 %dir %{_includedir}/%{name}/bfdd
764 %{_includedir}/%{name}/bfdd/bfddp_packet.h
765 %endif
766 %if %{with_ospfapi}
767 %dir %{_includedir}/%{name}/ospfapi
768 %{_includedir}/%{name}/ospfapi/*.h
769 %endif
770 %if %{with_eigrpd}
771 %dir %{_includedir}/%{name}/eigrpd
772 %{_includedir}/%{name}/eigrpd/*.h
773 %endif
774
775
776 %changelog
777 * Tue Nov 4 2021 Martin Winter <mwinter@opensourcerouting.org> - %{version}
778
779 * Tue Feb 1 2022 Donatas Abraitis <donatas.abraitis@gmail.com> - 8.2
780
781 * Tue Nov 2 2021 Jafar Al-Gharaibeh <jafar@atcorp.com> - 8.1
782 - FRR 8.1 brings a long list of enhancements and fixes with 1200 commits from
783 - 75 developers. Thanks to all contributers.
784 - New Features:
785 - Lua hooks are now feature complete, with one hook available for use (http://docs.frrouting.org/en/latest/scripting.html)
786 - Improvements to SRv6 (Segment Routing over IPv6) (http://docs.frrouting.org/en/latest/zebra.html#segment-routing-ipv6)
787 - Improvements to Prefix-SID (Type 5)
788 - EVPN route type-5 gateway IP overlay Index (http://docs.frrouting.org/en/latest/bgp.html#evpn-overlay-index-gateway-ip)
789 - OSPFv3 NSSA and NSSA totally stub areas (http://docs.frrouting.org/en/latest/ospf6d.html#ospf6-area)
790 - OSPFv3 ASBR summarization (http://docs.frrouting.org/en/latest/ospf6d.html#asbr-summarisation-support-in-ospfv3)
791 - OSPFv3 Graceful Restart (http://docs.frrouting.org/en/latest/ospf6d.html#graceful-restart)
792 - OSPFv2 Graceful Restart (restarting mode added, helper was already implemented) (http://docs.frrouting.org/en/latest/ospfd.html#graceful-restart)
793 - Behavior Changes
794 - Every node in running config now has an explicit "exit" tag
795 - Link bandwidth in BGP is now correctly encoded according to IEEE 754. To stay with old incorrect encoding use:
796 - `neighbor PEER disable-link-bw-encoding-ieee`
797 - Changelog
798 - alpine:
799 Fix path for daemons file install
800 - BGP:
801 - Add "json" option to "show bgp as-path-access-list"
802 - Add `disable-addpath-rx` knob
803 - Add an ability to set extcommunity to none in route-maps
804 - Add counter of displayed show bgp summary when filtering
805 - Add knob to config cond-adv scanner period
806 - Add route-map `match alias` command
807 - Add rpki source address configuration
808 - Add show bgp summary filter by neighbor or as
809 - Add terse display option on show bgp summary
810 - Allow for auto-completion of community alias's created
811 - Bgp knob to teardown session immediately when peer is unreachable
812 - Expand 'bgp default <afi>-<safi>' cmds
813 - Extend evpn next hop tracking to type-1 and type-4 routes
814 - Fix "no router bgp x vrf default"
815 - Flowspec redirect vrf uses vrf table instead of allocated table id
816 - Handle quick flaps of an evpn prefix properly
817 - Initial batch of evpn lttng tracepoints
818 - Limit processing to what is needed in rpki validation
819 - Modify vrf/view display in show bgp summary
820 - Set 4096 instead of 65535 as new max packet size for a new peer
821 - Set extended msg size only if we advertised and received capability
822 - Show bgp community alias in json community list output
823 - Show bgp prefixes by community alias
824 - Show max packet size per update-group
825 - Split soft reconfigure table task into several jobs to not block vtysh
826 - Store distance received from a redistribute statement
827 - Update route-type-1 legend to match output
828 - ISIS:
829 - Fix sending of lsp with null seqno
830 - lib:
831 - Add "json" option to "show ip[v6] access-list"
832 - Add "json" option to "show ip[v6] prefix-list"
833 - Add "json" option to "show route-map"
834 - Prevent grpc assert on missing yang node
835 - NHRP:
836 - Clear cache when shortcuts are cleared
837 - Fix corrupt address being shown for shortcuts with no cache entry
838 - Set prefix correctly in resolution request
839 - OSPF6:
840 - Add debug commands for lsa all and route all
841 - Add warning log for late hello packets
842 - Add write-multiplier configuration
843 - Don't update router-id if at least one adjacency is full
844 - Extend the "redistribute" command with more options
845 - Fix issue when displaying the redistribute command
846 - Fix logging of border router routes
847 - Json output for database dump show command
848 - Link state id in lsa database json output
849 - Send lsa update immediately when ospf instance is deleted
850 - OSPF:
851 - Fix crash when creating vlink in unknown vrf
852 - Gr conformance fix for hello packet dr election
853 - Print extra lsa information in some log messages
854 - Rfc conformance test case 25.23 issue fix
855 - Show ip ospf route json does not shown metric and tag
856 - Summary lsa is not originated when process is reset
857 - pathd:
858 - Handle pcinitiated configuration, main thread
859 - Handle pcinitiated messages, thread controller
860 - Handle srp_id correctly
861 - If pce ret no-path to pcreq don't retry pcreq nor delegate
862 - PBR:
863 - Add `match ip-protocol [tcp|udp]`
864 - Add ability to set/unset src and dest ports
865 - Nhg "add" edge case for last in table range
866 - Start inclusion of src and dst ports for pbrd
867 - PIM:
868 - Add tos/ttl check for igmp conformance
869 - Allow join prune intervals to be as small as 5 seconds
870 - Allow msdp group name 'default'
871 - Fix register suppress timer code
872 - Fix uaf/heap corruption in bsm code
873 - Fix command "no ip msdp mesh-group member"
874 - Igmp groups are not getting timeout
875 - Igmp memberships are not querier specific
876 - Igmp sockets need to be iface-bound too
877 - Prevent uninited usage of nexthop
878 - Support msdp global timers configuration
879 - vtysh
880 - Add cli timestamp '-t' flag
881 - Add error code if daemon is not running
882 - Fix searching commands in parent nodes
883 - yang:
884 - Add msdp timer configuration
885 - Fix bgp multicast prefix type
886 - Mark a couple of prefix-list/access-list leafs as mandatory
887 - Move multicast prefix type definition
888 - Replace an empty pattern with a zero-length restriction
889 - Rework pim msdp mesh group
890 - Simplify msdp peer handling
891 - zebra :
892 - Add "json" option to "show interface"
893 - Various improvment to dataplane interface
894 - Add message counts for `show zebra client`
895 - Add nhg id to show ip route json
896 - Add show command for ra interface lists
897 - Fix ipv4 routes with ipv6 link local next hops install in fpm
898 - Handle bridge mac address update in evpn contexts
899 - Move individual lines to table in `show zebra client` command
900 - Refresh vxlan evpn contexts, when bridge interface goes up
901 - Update zl3vni when bridge link refreshed in other namespaces
902
903 * Wed Jul 21 2021 Martin Winter <mwinter@opensourcerouting.org> - 8.0
904 - Major changes
905 - New daemon pathd for segment routing
906 - EVPN Multihoming is now fully supported
907 - OSPFv3 now supports VRFs
908 - TI-LFA has been implemented in IS-IS and OSPF
909 - Ability for Zebra to dump netlink messages in a human-friendly format
910 - LDP gained SNMP support
911 - libyang minimun version is now 2.0
912 - BABEL:
913 - Add `distribute-list` commands
914 - Fix memory leak in connected route handling
915 - BGP:
916 - Add support for use of aliases with communities
917 - Add support of tcp-mss for neighbors
918 - Add support for EVPN Multihoming
919 - Add ability to show BGP routes from a particular table version
920 - Add support for for RFC 8050 (MRT add-path)
921 - Add SNMP support for MPLS VPN
922 - Add `show bgp summary wide` command to show more detailed output
923 on wide terminals
924 - Add ability for peer-groups to have `ttl-security hops` configured
925 - Add support for conditional Advertisement
926 - Add support for RFC 4271 Delay Open Timer
927 - Add a knob to not advertise until route is installed in fib
928 - Add BGP-wide configuration for graceful shutdown
929 - Add support for RFC 8654 extended messages
930 - Improve RPKI reporting as well as new show commands
931 - Improve handling of VRF route leaking
932 - Improve scaling behavior for dynamic neighbors
933 - Improve LL nexthop tracking to be interface based
934 - Improve route reachability handling with respect to blackhole routes
935 - Improve SNMP traps to RFC 4273 notifications
936 - Improve EVPN routes to use L3 NHG's where applicable
937 - Improvements to EVPN
938 - Improvements to update behavior
939 - Fix various issues with connection resolution
940 - Fix statistics commands in some situations
941 - Fix non-determistic locally-originated paths in bestpath selection
942 - Continue working on transitioning to YANG/Northbound configuration
943 - Various bug fixes and performance improvements
944 - EIGRP:
945 - Add `distribute-list` commands
946 - Ensure received AS number is the same as ours in all situations
947 - Properly validate TLV lengths in some situations
948 - IS-IS:
949 - Add ldb-sync functionality
950 - Add TI-LFA functionality
951 - Add support for Anycast-SID's
952 - Add support for classic LFA RFC 5286
953 - Add `show isis fast-reroute summary` command
954 - Add support for Remote LFA RFC 7490
955 - Fix Attach-bit processing in some scenarios
956 - Cleanup BFD integration
957 - Various bug fixes and performance improvements
958 - LDP:
959 - Add SNMP support
960 - Support for LDP IGP Synchronization
961 - Support for RLFA clients
962 - Various bug fixes and performance improvements
963 - LIBFRR:
964 - Various bugfixes and performance improvements
965 - NHRP:
966 - Add `nhrp multicast-nflog-group (1-65535)` command
967 - Add configuration options for vici socket path
968 - Add support for forwarding multicast packets
969 - Fix handling of MTU
970 - Fix handling of NAT extension
971 - Retry IPsec under some conditions
972 - OSPFv2:
973 - Add OSPF GR helper support
974 - Add JSON support for various commands
975 - Add `summary-address A.B.C.D/M ...` commands
976 - Add `area X nssa suppress-fa` command
977 - Add support for TI-LFA
978 - Add support for BFD profiles
979 - Add support for Traffic Engineering database
980 - Add support for usage of DMPVPN with OSPF
981 - Add `clear ip ospf neighbor` commands
982 - Add YANG support for route-maps
983 - Improvements to SNMP
984 - Fixes for type 5 and type 7 LSA handling
985 - Various bug fixes and performance improvements
986 - OSPFv3:
987 - Add support for VRFs
988 - Add JSON support to a bunch of commands
989 - Add ability to control maximum paths for routes
990 - Add `show ipv6 ospf6 vrfs` command
991 - Add support for BFD profiles
992 - Fix to not send hellos on loopbacks
993 - Cleanup area handling around interfaces
994 - YANG support for route-maps
995 - Various bug fixes and performance improvements
996 - OSPFCLIENT:
997 - Cleanup trust of user input
998 - PATHd:
999 - Add support of SR-TE policy management daemon
1000 - Add optional support for PCEP to pathd
1001 - Integrate PCEP-LIB into FRR
1002 - PBR:
1003 - Add `set installable` nhg command
1004 - Improve interface up/down event handling
1005 - PIM:
1006 - Add YANG integration
1007 - Add JSON support to various commands
1008 - Add BFD profile support
1009 - Fixes to IGMP conformance
1010 - Fixes to behavior surrounding Prune and Prune-pending
1011 - Various bug fixes and performance improvements
1012 - RIPNG:
1013 - Fix interface wakeup after shutdown
1014 - SHARP:
1015 - Add ability to use Nexthop Groups
1016 - Add v4 redistribute watching
1017 - Add TED support
1018 - Various bug fixes
1019 - STATIC:
1020 - Fix nexthop handling in some situations
1021 - Forbid blackhole and non-blackhole nexthops in a single route
1022 - VRRP:
1023 - printf formatting cleanups
1024 - VTYSH:
1025 - Add a `show history` command
1026 - Add `show memory <daemon>` support
1027 - Start deprecation cycle for `address-family evpn`
1028 - Display version with --help
1029 - Various bug fixes
1030 - WATCHFRR:
1031 - Fix some crashes
1032 - ZEBRA:
1033 - Add JSON support to various commands
1034 - Add Human readable netlink dumps
1035 - Add L2 NHG support
1036 - Add support for LSPs to FPM dataplane
1037 - Add ability for other protocol daemons to install nexthop groups into the kernel
1038 - Add YANG support for route-maps
1039 - Improve scale performance when handling a large number of VRF's
1040 - Improve network namespace handling
1041 - Improve asic-offload handling
1042 - Improve FreeBSD interface and route handling
1043 - Improve handling of neighbors in kernel dataplane plugin
1044 - Improve label manager
1045 - Improve route-map processing
1046 - Improve debug-ability of routes and VRFs
1047 - Improve FPM dataplane plugin
1048 - Improve handling of reachability / nexthop tracking on shutdown interfaces
1049 - Improve EVPN support
1050 - Fix startup handling of `set src X`
1051 - Various bug fixes and performance improvements
1052
1053 * Wed Mar 3 2021 Martin Winter <mwinter@opensourcerouting.org> - 7.5.1
1054 - BABEL:
1055 - Fix connected route leak on change
1056 - BFD:
1057 - Session lookup was sometimes wrong
1058 - Memory leak and handling cleanups
1059 - In some situations handle vrf appropriately when receiving packets
1060 - BGP:
1061 - Peer Group Inheritance Fixes
1062 - Dissallow attempt to peer peers reachable via blackholes
1063 - Send BMP down message when reachability fails
1064 - Cleanup handling of aggregator data when the AGG AS is 0
1065 - Handle `neighbor <peer-group allowas-in` config changes properly
1066 - Properly parse community and lcommunity values in some circumstances
1067 - Allow peer-groups to configure `ttl-security hops`
1068 - Prevent v6 routes with v4 nexthops from being installed
1069 - Allow `default-originate` to be cleared from a peer group
1070 - Fix evpn route-map vni filter at origin
1071 - local routes were using non-default distance
1072 - Properly track if the nexthop was updated in some circumstances
1073 - Cleanup `show running` when running bgp with `-e X` values
1074 - Various Memory leaks in show commands
1075 - Properly withdraw exported routes when deleting a VRF
1076 - Avoid resetting ebgp-multihop if peer setting is the same as peer-group
1077 - Properly encode flowspec rules to zebra in some rare circumstances
1078 - Generate statistics for routes in bgp when we have exactly 1 route
1079 - Properly apply route-map for the default-originate command
1080 - EIGRP:
1081 - Properly set MTU for eigrp packets sent
1082 - Various memory leaks and using uninited data fixes
1083 - ISIS:
1084 - When last area address is removed, resign if we were the DR
1085 - Various memory leaks and using uninited data fixes
1086 - LDP:
1087 - Various memory leaks and using uninited data fixes
1088 - NHRP:
1089 - Use onlink routes when prefix == nh
1090 - Shortcut routes are installed with proper nexthop
1091 - OSPF:
1092 - Prevent duplicate packet read in multiple vrf situation
1093 - Fix area removal at interface level
1094 - Restore Point to MultiPoint interface types
1095 - Correctly handle MTU change on startup
1096 - Multi Instance initialization sometimes was not successful
1097 - NSSA translate-always was not working properly
1098 - OSPFv3:
1099 - Don't send hellos on loopback interfaces
1100 - Handle ECMP better when a sub-path is removed
1101 - Memory leak and handling fixes
1102 - Fix Link LSA not updating when router priority is modified
1103 - Some output from show commands was wrong
1104 - Intra area remote connected prefixes sometimes not installed
1105 - PBR:
1106 - Various memory leaks and using uninited data fixes
1107 - PIM:
1108 - SGRpt prune received during prune didn't override holdtime
1109 - Various memory leaks and using uninited data fixes
1110 - STATIC:
1111 - Fix VRF and usage on startup in some instances
1112 - Tableid was being mishandled in some cases
1113 - VTYSH:
1114 - Disable bracketed paste in readline.
1115 - WATCHFRR:
1116 - Various memory leaks and using uninited data fixes
1117 - ZEBRA:
1118 - Always install blackhole routes using kernel routes instead of nexthops
1119 - Various memory leaks and using uninited data fixes
1120 - Dissallow resolution to duplicate nexthops that created infinite nexthops
1121 - Apply the route-map delay-timer globally
1122 - Some routes were stuck in Queued state when using the FPM
1123 - Better handle vrf creation when using namespaces
1124 - Set NUD_NOARP on sticky mac entries in addtion to NTF_STICKY
1125 - Allow `set src X` to work on startup
1126 - FRR Library:
1127 - Fix a variety of memory leaks
1128 - Fix VRF Creation in some instances
1129 - RPKI context editing was not properly handled in reload situations
1130 - routemap code was not properly handling modification of CLI in some instances
1131 - SNAPCRAFT:
1132 - Update to using rtrlib 0.7.0
1133 - Fix passthrough path for Libyang 1.x
1134 - ALPINE:
1135 - Remove old docker deps
1136
1137 * Mon Nov 2 2020 Donald Sharp <sharpd@nvidia.com> - 7.5
1138 - BFD
1139 - Profile support
1140 - Minimum ttl support
1141 - BGP
1142 - rpki VRF support
1143 - GR fixes
1144 - Add wide option to display of routes
1145 - Add `maximum-prefix <num> force`
1146 - Add `bestpath-routes` to neighbor command
1147 - Add `bgp shutdown message MSG...` command
1148 - Add v6 Flowspec support
1149 - Add `neighbor <neigh> shutdown rtt` command
1150 - Allow update-delay to be applied globaly
1151 - EVPN
1152 - Beginning of MultiHoming Support
1153 - ISIS
1154 - Segment Routing Support
1155 - VRF Support
1156 - Guard against adj timer display overflow
1157 - Add support for Anycast-SIDs
1158 - Add support for Topology Independent LFA (TI-LFA)
1159 - Add `lsp-gen-interval 2` to isis configuration
1160 - OSPF
1161 - Segment Routing support for ECMP
1162 - Various LSA fixes
1163 - Prevent crash if transferring config amongst instances
1164 - PBR
1165 - Adding json support to commands
1166 - DSCP/ECN based PBR Matching
1167 - PIM
1168 - Add more json support to commands
1169 - Fix missing mesh-group commands
1170 - MSDP SA forwarding
1171 - Clear (s,g,rpt) ifchannel on (*, G) prune received
1172 - Fix igmp querier election and IP address mapping
1173 - Crash fix when RP is removed
1174 - STATIC
1175 - Northbound Support
1176 - YANG
1177 - Filter and route-map Support
1178 - OSPF model definition
1179 - BGP model definition
1180 - VTYSH
1181 - Speed up output across daemons
1182 - Fix build-time errors for some --enable flags
1183 - Speed up output of configuration across daemons
1184 - ZEBRA
1185 - nexthop group support for FPM
1186 - northbound support for rib model
1187 - Backup nexthop support
1188 - netlink batching support
1189 - Allow upper level protocols to request ARP
1190 - Add json output for zebra ES, ES-EVI and access vlan dumps
1191 -
1192 - Upgrade to using libyang1.0.184
1193 -
1194 - RPM
1195 - Moved RPKI to subpackage
1196 - Added SNMP subpackage
1197 -
1198 - As always there are too many bugfixes to list individually. This release
1199 - compromises just over 1k of commits by the community, with contributors from
1200 - 70 people.
1201
1202 * Tue Jun 30 2020 Martin Winter <mwinter@opensourcerouting.org> - 7.4
1203 - BGPd
1204 - Use sequence numbers for community lists
1205 - Fixes to nexthop groups
1206 - Add feature to limit outgoing number of routes
1207 - Per Neighbor Graceful Restart
1208 - Multiple Graceful Restart fixes
1209 - Support sub-Type-4 and sub-Type-5 for the VPNv4 SRv6 backend
1210 - rfc7606 support: treat certain malformed routes as withdraw
1211 - allow origin override for route aggregates
1212 - rfc6608 support: Subcodes for BGP Finite State Machine Error
1213 - rfc7607 support: Codification of AS 0 Processing
1214 - rfc6286 support: Autonomous-System-Wide Unique BGP Identifier for BGP-4
1215 - Unequal cost multipath (a.ka. weighted ECMP) with BGP link-bandwidth
1216 - Enable rfc8212 by default except datacenter profile
1217 - staticd
1218 - Add debug support
1219 - vtysh
1220 - Add copy command to copy config from file into running config
1221 - LDPd
1222 - adding support for LDP ordered label distribution control
1223 - ISISd
1224 - IS-IS Segment Routing support
1225 - SHARPd
1226 - add initial support to add/remove lsps
1227 - Zebra
1228 - fix broadcast address in IPv4 networks with /31 mask
1229 - Add Graceful Restart support for Protocol Daemon restarts
1230 - lib
1231 - migrate route-maps to use northbound interface
1232 - plus countless bug fixes and other improvements
1233
1234 * Mon Jun 15 2020 Sascha Kattelmann <sascha@netdef.org>
1235 - Add Pathd support
1236
1237 * Wed May 06 2020 David Lamparter <equinox@opensourcerouting.org> - 7.3.1
1238 - upstream 7.3.1
1239
1240 * Fri Feb 14 2020 Martin Winter <mwinter@opensourcerouting.org> - 7.3
1241 - BGPd
1242 - EVPN PIP Support
1243 - Route Aggregation code speed ups
1244 - BGP Vector I/O speed ups
1245 - New CLI: `set distance XXX`
1246 - New CLI: `aggregate-address A.B.C.D/M route-map WORD`
1247 - New CLI: `bgp reject-as-sets`
1248 - New CLI: `advertise pip ...`
1249 - New CLI: `match evpn rd ASN:NN_OR_IP-ADDRESS:NN`
1250 - New CLI: `show bgp l2vpn evpn community|large-community X`
1251 - New CLI: `show bgp l2vpn evpn A.B.C.D`
1252 - Auto-completion for clear bgp command
1253 - Add ability to set tcp socket buffer size
1254 - OSPFd
1255 - Partial MPLS TE support
1256 - PBRd
1257 - New CLI: `set vrf unchanged|NAME`
1258 - BFDd
1259 - VRF Support
1260 - New CLI: 'show bfd peers brief'
1261 - New CLI: 'clear bfd peer ...'
1262 - PIMd
1263 - Significant Speedups in accessing Internal Data for higher scale
1264 - Support for joining any-source Multicast
1265 - Updated CLI: 'show ip pim upstream-join-desired'
1266 - New CLI: 'show ip pim channel'
1267 - Debug Cleanup
1268 - MLAG experimental support
1269 - VRRPd
1270 - VRF Support
1271 - Northbound Conversion- NHRPd
1272 - LDPd
1273 - vtysh
1274 - New CLI: `banner motd line LINE...`
1275 - yang
1276 - New CLI: `show yang operational-data XPATH`
1277 - New CLI: `debug northbound`
1278 - Zebra
1279 - Nexthop Group support
1280 - New CLI: 'debug zebra nexthop [detail]'
1281 - New CLI: 'show router-id'
1282 - MLAG experimental support
1283 - watchfrr
1284 - Additional status messages of system state to systemd
1285 - New CLI: `watchfrr ignore DAEMON`
1286 - Others
1287 - As always all daemons have received too many bug fixes to fully list
1288 - There has been a significant focus on increasing test coverage
1289 - Change in Behavior:
1290 - ISISd
1291 - All areas created default automatically to level-1-2
1292 - Zebra
1293 - Nexthop Group Installation in Kernel is turned on by default
1294 if the kernel supports- New CLI: 'show nexthop-group rib [singleton]'
1295 - Man Pages
1296 - Renamed to frr-* to remove collision with other packages
1297
1298 * Fri Jan 17 2020 Martin Winter <mwinter@opensourcerouting.org> - 7.2.1
1299 - BGPd
1300 - Fix Addpath issue
1301 - Do not apply eBGP policy for iBGP peers
1302 - Show `ip` and `fqdn` in json output for `show [ip] bgp <route> json`
1303 - Fix large route-distinguisher's format
1304 - Fix `no bgp listen range ...` configuration command
1305 - Autocomplete neighbor for clear bgp
1306 - Reflect the distance in RIB when it is changed for an arbitrary afi/safi
1307 - Notify "Peer De-configured" after entering 'no neighbor <neighbor> cmd
1308 - Fix per afi/safi addpath peer counting
1309 - Rework BGP dampening to be per AFI/SAFI
1310 - Do not send next-hop as :: in MP_REACH_NLRI if no link-local exists
1311 - Override peer's TTL only if peer-group is configured with TTL
1312 - Remove error message for unkown afi/safi combination
1313 - Keep the session down if maximum-prefix is reached
1314 - OSPFd
1315 - Fix BFD down not tearing down OSPF adjacency for point-to-point net
1316 - BFDd
1317 - Fix multiple VRF handling
1318 - VRF security improvement
1319 - PIMd
1320 - Fix rp crash
1321 - NHRPd
1322 - Make sure `no ip nhrp map <something>` works as expected
1323 - LDPd
1324 - Add missing sanity check in the parsing of label messages
1325 - Zebra
1326 - Use correct state when installing evpn macs
1327 - Capture dplane plugin flags
1328 - lib
1329 - Fix interface config when vrf changes
1330 - Fix Interface Infinite Loop Walk (for special interfaces such as bond)
1331 - snapcraft
1332 - fix missing vrrpd daemon
1333 - Others
1334 - Rename man pages (to avoid conflicts with other packages)
1335 - Various other fixes for code cleanup and memory leaks
1336
1337 * Fri Dec 27 2019 Donatas Abraitis <donatas.abraitis@gmail.com>
1338 - Add CentOS 8 support
1339
1340 * Tue Oct 15 2019 Martin Winter <mwinter@opensourcerouting.org> - 7.2
1341 - ALL Daemons
1342 - -N <namespace> to allow for config file locating when running FRR inside
1343 of a namespace
1344 - Impoved Testing across all daemons
1345 - BFD
1346 - VRF Support
1347 - Conversion to Northbound interface
1348 - BGP
1349 - Aggregate-address add route-map support
1350 - BMP Support
1351 - Improved JSON output for many commands
1352 - `show bgp afi safi summary failed` command
1353 - `clear bop *` clears all peers
1354 - Show FQDN for `show bgp ipv4 uni` commands
1355 - Display BestPath selection reason as part of show commands
1356 - EIGRP
1357 - Infrastructure changes to allow VRF's
1358 - SIGHUP signals the config reload
1359 - Conversion to Northbound interface
1360 - ISIS
1361 - BFD Support
1362 - Support for circuits with MTU > 8192
1363 - PBRD
1364 - fwmark support as part of match criteria
1365 - autocompletion of PBRMAPS
1366 - Improved Nexthop Support
1367 - PIMD
1368 - PIM-BSM receive support
1369 - Improved debugging support
1370 - Store ECMP paths that are not currently legal for use
1371 - Disallow igmp query from a non-connected source
1372 - Many new cli improvements and changes
1373 - VRRPD
1374 - Add Support for RFC 3768 and RFC 5798
1375 - Route-Maps
1376 - Add sequence numbers to access-lists
1377 - Add `match ip next-hop type blackhole`
1378 - Improved ability to notice dependency changes
1379 - SHARPD
1380 - `sharp watch [import|nexthop]` you can now specify a prefix instead
1381 of assuming a /32
1382 - STATICD
1383 - Significantly Improved NHT
1384 - ZEBRA
1385 - Many dataplane improvements for routes, neighbor table and EVPN
1386 - NHT cli can now be specified per VRF and improved ability to control
1387 NHT data being shown
1388 - Removed duplicate processing of routes
1389 - Improved debugablility
1390 - RMAC and VxLan support for the FPM
1391 - LIB
1392 - RCU support
1393 - Nexthop Group Improvements
1394 - `log-filter WORD` added
1395 - Building
1396 - openssl support
1397 - libcap should be used as part of build or significant slowdowns
1398 will be experienced
1399 - Lua builds have been fixed
1400 - Improved Cross building
1401
1402 * Mon Jun 17 2019 David Lamparter <equinox@opensourcerouting.org> - 7.1
1403 - gRPC northbound plugin
1404 - "table NNN" removed from zebra
1405 - more dataplane MT work
1406 - EVPN in non-default VRFs
1407 - RFC 8212 (default deny policy for eBGP)
1408 - RFC 8106 (IPv6 RA DNS options)
1409
1410 * Wed May 8 2019 Martin Winter <mwinter@opensourcerouting.org> - 7.0.1
1411 - bgp:
1412 - Don't send Updates with BGP Max-Prefix Overflow
1413 - Make sure `next-hop-self all` backward compatible with force
1414 - Fix as-path validation in "show bgp regexp"
1415 - Fix interface-based peers to override peergroups
1416 - Fix removing private AS numbers if local-as is used
1417 - Fix show bgp labeled_unicast
1418 - Add command to lookup prefixes in rpki table
1419 - Fix peer count in "show bgp ipv6 summary"
1420 - Add missing ipv6 only peer flag action
1421 - Fix address family output in "show bgp [ipv4|ipv6] neighbors"
1422 - Add missing checks for vpnv6 nexthops
1423 - Fix nexthop for ipv6 vpn case
1424 - rip: Fix removal of passive interfaces
1425 - ospf:
1426 - Fix json timer output
1427 - Fix milliseconds in json output
1428 - bfd:
1429 - Fix source port according RFC 5881, Sec 4
1430 - Fix IPv6 link-local peer removal
1431 - Fix interface clean up when deleting interface
1432 - pim: Fix interface clean up when deleting interface
1433 - nhrp: Fix interface clean up when deleting interface
1434 - lib:
1435 - Workaround to get FRR building with libyang 0.x and 1.x
1436 - Fix in priv handling
1437 - Make priv elevation thread-safe
1438 - zebra:
1439 - Pseudowire event recovery
1440 - Fix race condition in label manager
1441 - Fix system routes selection and next-hop tracking
1442 - Set connected route metric based on devaddr metric
1443 - Display metric for connected routes
1444 - Add selected fib details to json output
1445 - Always use replace if installing new route
1446 - watchfrr: Silently ignore declare failures (for backward compatibility)
1447 - RPM packages: Switch to new init script
1448
1449 * Thu Feb 28 2019 Martin Winter <mwinter@opensourcerouting.org> - 7.0
1450 - Added libyang dependency: New work for northbound interface based on libyang
1451 - Fabricd: New Daemon based on https://datatracker.ietf.org/doc/draft-white-openfabric/
1452 - various bug fixes and other enhancements
1453
1454 * Sun Oct 7 2018 Martin Winter <mwinter@opensourcerouting.org> - 6.0
1455 - Staticd: New daemon responsible for management of static routes
1456 - ISISd: Implement dst-src routing as per draft-ietf-isis-ipv6-dst-src-routing
1457 - BFDd: new daemon for BFD (Bidrectional Forwarding Detection). Responsible
1458 for notifying link changes to make routing protocols converge faster.
1459 - various bug fixes
1460
1461 * Thu Jul 5 2018 Martin Winter <mwinter@opensourcerouting.org> - 5.0.1
1462 - Support Automake 1.16.1
1463 - BGPd: Support for flowspec ICMP, DSCP, packet length, fragment and tcp flags
1464 - BGPd: fix rpki validation for ipv6
1465 - VRF: Workaround for kernel bug on Linux 4.14 and newer
1466 - Zebra: Fix interface based routes from zebra not marked up
1467 - Zebra: Fix large zebra memory usage when redistribute between protocols
1468 - Zebra: Allow route-maps to match on source instance
1469 - BGPd: Backport peer-attr overrides, peer-level enforce-first-as and filtered-routes fix
1470 - BGPd: fix for crash during display of filtered-routes
1471 - BGPd: Actually display labeled unicast routes received
1472 - Label Manager: Fix to work correctly behind a label manager proxy
1473
1474 * Thu Jun 7 2018 Martin Winter <mwinter@opensourcerouting.org> - 5.0
1475 - PIM: Add a Multicast Trace Command draft-ietf-idmr-traceroute-ipm-05
1476 - IS-IS: Implement Three-Way Handshake as per RFC5303
1477 - BGPD: Implement VPN-VRF route leaking per RFC4364.
1478 - BGPD: Implement VRF with NETNS backend
1479 - BGPD: Flowspec
1480 - PBRD: Add a new Policy Based Routing Daemon
1481
1482 * Mon May 28 2018 Rafael Zalamena <rzalamena@opensourcerouting.org>
1483 - Add BFDd support
1484
1485 * Sun May 20 2018 Martin Winter <mwinter@opensourcerouting.org>
1486 - Fixed RPKI RPM build
1487
1488 * Sun Mar 4 2018 Martin Winter <mwinter@opensourcerouting.org>
1489 - Add option to build with RPKI (default: disabled)
1490
1491 * Tue Feb 20 2018 Martin Winter <mwinter@opensourcerouting.org>
1492 - Adapt to new documentation structure based on Sphinx
1493
1494 * Fri Oct 20 2017 Martin Winter <mwinter@opensourcerouting.org>
1495 - Fix script location for watchfrr restart functions in daemon config
1496 - Fix postun script to restart frr during upgrade
1497
1498 * Mon Jun 5 2017 Martin Winter <mwinter@opensourcerouting.org>
1499 - added NHRP and EIGRP daemon
1500
1501 * Mon Apr 17 2017 Martin Winter <mwinter@opensourcerouting.org>
1502 - new subpackage frr-pythontools with python 2.7 restart script
1503 - remove PIMd from CentOS/RedHat 6 RPM packages (won't work - too old)
1504 - converted to single frr init script (not per daemon) based on debian init script
1505 - created systemd service file for systemd based systems (which uses init script)
1506 - Various other RPM package fixes for FRR 2.0
1507
1508 * Fri Jan 6 2017 Martin Winter <mwinter@opensourcerouting.org>
1509 - Renamed to frr for FRRouting fork of Quagga
1510
1511 * Thu Feb 11 2016 Paul Jakma <paul@jakma.org>
1512 - remove with_ipv6 conditionals, always build v6
1513 - Fix UTF-8 char in spec changelog
1514 - remove quagga.pam.stack, long deprecated.
1515
1516 * Thu Oct 22 2015 Martin Winter <mwinter@opensourcerouting.org>
1517 - Cleanup configure: remove --enable-ipv6 (default now), --enable-nssa,
1518 --enable-netlink
1519 - Remove support for old fedora 4/5
1520 - Fix for package nameing
1521 - Fix Weekdays of previous changelogs (bogus dates)
1522 - Add conditional logic to only build tex footnotes with supported texi2html
1523 - Added pimd to files section and fix double listing of /var/lib*/quagga
1524 - Numerous fixes to unify upstart/systemd startup into same spec file
1525 - Only allow use of watchfrr for non-systemd systems. no need with systemd
1526
1527 * Fri Sep 4 2015 Paul Jakma <paul@jakma.org>
1528 - buildreq updates
1529 - add a default define for with_pimd
1530
1531 * Mon Sep 12 2005 Paul Jakma <paul@dishone.st>
1532 - Steal some changes from Fedora spec file:
1533 - Add with_rtadv variable
1534 - Test for groups/users with getent before group/user adding
1535 - Readline need not be an explicit prerequisite
1536 - install-info delete should be postun, not preun
1537
1538 * Wed Jan 12 2005 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1539 - on package upgrade, implement careful, phased restart logic
1540 - use gcc -rdynamic flag when linking for better backtraces
1541
1542 * Wed Dec 22 2004 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1543 - daemonv6_list should contain only IPv6 daemons
1544
1545 * Wed Dec 22 2004 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
1546 - watchfrr added
1547 - on upgrade, all daemons should be condrestart'ed
1548 - on removal, all daemons should be stopped
1549
1550 * Mon Nov 08 2004 Paul Jakma <paul@dishone.st>
1551 - Use makeinfo --html to generate quagga.html
1552
1553 * Sun Nov 07 2004 Paul Jakma <paul@dishone.st>
1554 - Fix with_ipv6 set to 0 build
1555
1556 * Sat Oct 23 2004 Paul Jakma <paul@dishone.st>
1557 - Update to 0.97.2
1558
1559 * Sat Oct 23 2004 Andrew J. Schorr <aschorr@telemetry-investments.com>
1560 - Make directories be owned by the packages concerned
1561 - Update logrotate scripts to use correct path to killall and use pid files
1562
1563 * Fri Oct 08 2004 Paul Jakma <paul@dishone.st>
1564 - Update to 0.97.0
1565
1566 * Wed Sep 15 2004 Paul Jakma <paul@dishone.st>
1567 - build snmp support by default
1568 - build irdp support
1569 - build with shared libs
1570 - devel subpackage for archives and headers
1571
1572 * Thu Jan 08 2004 Paul Jakma <paul@dishone.st>
1573 - updated sysconfig files to specify local dir
1574 - added ospf_dump.c crash quick fix patch
1575 - added ospfd persistent interface configuration patch
1576
1577 * Tue Dec 30 2003 Paul Jakma <paul@dishone.st>
1578 - sync to CVS
1579 - integrate RH sysconfig patch to specify daemon options (RH)
1580 - default to have vty listen only to 127.1 (RH)
1581 - add user with fixed UID/GID (RH)
1582 - create user with shell /sbin/nologin rather than /bin/false (RH)
1583 - stop daemons on uninstall (RH)
1584 - delete info file on preun, not postun to avoid deletion on upgrade. (RH)
1585 - isisd added
1586 - cleanup tasks carried out for every daemon
1587
1588 * Sun Nov 2 2003 Paul Jakma <paul@dishone.st>
1589 - Fix -devel package to include all files
1590 - Sync to 0.96.4
1591
1592 * Tue Aug 12 2003 Paul Jakma <paul@dishone.st>
1593 - Renamed to Quagga
1594 - Sync to Quagga release 0.96
1595
1596 * Thu Mar 20 2003 Paul Jakma <paul@dishone.st>
1597 - zebra privileges support
1598
1599 * Tue Mar 18 2003 Paul Jakma <paul@dishone.st>
1600 - Fix mem leak in 'show thread cpu'
1601 - Ralph Keller's OSPF-API
1602 - Amir: Fix configure.ac for net-snmp
1603
1604 * Sat Mar 1 2003 Paul Jakma <paul@dishone.st>
1605 - ospfd IOS prefix to interface matching for 'network' statement
1606 - temporary fix for PtP and IPv6
1607 - sync to zebra.org CVS
1608
1609 * Mon Jan 20 2003 Paul Jakma <paul@dishone.st>
1610 - update to latest cvs
1611 - Yon's "show thread cpu" patch - 17217
1612 - walk up tree - 17218
1613 - ospfd NSSA fixes - 16681
1614 - ospfd nsm fixes - 16824
1615 - ospfd OLSA fixes and new feature - 16823
1616 - KAME and ifindex fixes - 16525
1617 - spec file changes to allow redhat files to be in tree
1618
1619 * Sat Dec 28 2002 Alexander Hoogerhuis <alexh@ihatent.com>
1620 - Added conditionals for building with(out) IPv6, vtysh, RIP, BGP
1621 - Fixed up some build requirements (patch)
1622 - Added conditional build requirements for vtysh / snmp
1623 - Added conditional to files for _bindir depending on vtysh
1624
1625 * Mon Nov 11 2002 Paul Jakma <paulj@alphyra.ie>
1626 - update to latest CVS
1627 - add Greg Troxel's md5 buffer copy/dup fix
1628 - add RIPv1 fix
1629 - add Frank's multicast flag fix
1630
1631 * Wed Oct 09 2002 Paul Jakma <paulj@alphyra.ie>
1632 - update to latest CVS
1633 - timestamped crypt_seqnum patch
1634 - oi->on_write_q fix
1635
1636 * Mon Sep 30 2002 Paul Jakma <paulj@alphyra.ie>
1637 - update to latest CVS
1638 - add vtysh 'write-config (integrated|daemon)' patch
1639 - always 'make rebuild' in vtysh/ to catch new commands
1640
1641 * Fri Sep 13 2002 Paul Jakma <paulj@alphyra.ie>
1642 - update to 0.93b
1643
1644 * Wed Sep 11 2002 Paul Jakma <paulj@alphyra.ie>
1645 - update to latest CVS
1646 - add "/sbin/ip route flush proto zebra" to zebra RH init on startup
1647
1648 * Sat Aug 24 2002 Paul Jakma <paulj@alphyra.ie>
1649 - update to current CVS
1650 - add OSPF point to multipoint patch
1651 - add OSPF bugfixes
1652 - add BGP hash optimisation patch
1653
1654 * Fri Jun 14 2002 Paul Jakma <paulj@alphyra.ie>
1655 - update to 0.93-pre1 / CVS
1656 - add link state detection support
1657 - add generic PtP and RFC3021 support
1658 - various bug fixes
1659
1660 * Thu Aug 09 2001 Elliot Lee <sopwith@redhat.com> 0.91a-6
1661 - Fix bug #51336
1662
1663 * Wed Aug 1 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.91a-5
1664 - Use generic initscript strings instead of initscript specific
1665 ( "Starting foo: " -> "Starting $prog:" )
1666
1667 * Fri Jul 27 2001 Elliot Lee <sopwith@redhat.com> 0.91a-4
1668 - Bump the release when rebuilding into the dist.
1669
1670 * Tue Feb 6 2001 Tim Powers <timp@redhat.com>
1671 - built for Powertools
1672
1673 * Sun Feb 4 2001 Pekka Savola <pekkas@netcore.fi>
1674 - Hacked up from PLD Linux 0.90-1, Mandrake 0.90-1mdk and one from zebra.org.
1675 - Update to 0.91a
1676 - Very heavy modifications to init.d/*, .spec, pam, i18n, logrotate, etc.
1677 - Should be quite Red Hat'isque now.