]> git.proxmox.com Git - mirror_frr.git/blob - redhat/frr.spec.in
redhat: use 'service' command to restart frr
[mirror_frr.git] / redhat / frr.spec.in
1 # configure options
2 #
3 # Some can be overriden 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_pam: %global with_pam 0 }
14 %{!?with_ospfclient: %global with_ospfclient 1 }
15 %{!?with_ospfapi: %global with_ospfapi 1 }
16 %{!?with_rtadv: %global with_rtadv 1 }
17 %{!?with_ldpd: %global with_ldpd 1 }
18 %{!?with_nhrpd: %global with_nhrpd 1 }
19 %{!?with_eigrpd: %global with_eigrpd 1 }
20 %{!?with_babeld: %global with_babeld 1 }
21 %{!?with_shared: %global with_shared 1 }
22 %{!?with_multipath: %global with_multipath 256 }
23 %{!?frr_user: %global frr_user frr }
24 %{!?vty_group: %global vty_group frrvty }
25 %{!?with_fpm: %global with_fpm 1 }
26 %{!?with_watchfrr: %global with_watchfrr 1 }
27 %{!?with_bgp_vnc: %global with_bgp_vnc 0 }
28 %{!?with_pimd: %global with_pimd 1 }
29 %{!?with_rpki: %global with_rpki 0 }
30 %{!?with_pbrd: %global with_pbrd 1 }
31
32 # path defines
33 %define configdir %{_sysconfdir}/%{name}
34 %define _sbindir /usr/lib/frr
35 %define zeb_src %{_builddir}/%{name}-%{frrversion}
36 %define zeb_rh_src %{zeb_src}/redhat
37 %define zeb_docs %{zeb_src}/doc
38 %define frr_tools %{zeb_src}/tools
39
40 # defines for configure
41 %define rundir %{_localstatedir}/run/%{name}
42
43 # define for sphinx-build binary
44 %if 0%{?rhel} && 0%{?rhel} < 7
45 %define sphinx sphinx-build2.7
46 %else
47 %define sphinx sphinx-build
48 %endif
49 ############################################################################
50
51 #### Version String tweak
52 # Remove invalid characters form version string and replace with _
53 %{expand: %%global rpmversion %(echo '@VERSION@' | tr [:blank:]- _ )}
54 %define frrversion @VERSION@
55
56 #### Check for systemd or init.d (upstart)
57 # Check for init.d (upstart) as used in CentOS 6 or systemd (ie CentOS 7)
58 %if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?suse_version} >= 1210
59 %global initsystem systemd
60 %else
61 %if 0%{?rhel} && 0%{?rhel} < 7
62 %global initsystem upstart
63 %else
64 %{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)}
65 %endif
66 %endif
67
68 # If init system is systemd, then always enable watchfrr
69 %if "%{initsystem}" == "systemd"
70 %global with_watchfrr 1
71 %endif
72
73 #### Check for RedHat 6.x or CentOS 6.x - they are too old to support PIM.
74 #### Always disable it on these old systems unconditionally
75 #
76 # if CentOS / RedHat and version < 7, then disable PIMd (too old, won't work)
77 %if 0%{?rhel} && 0%{?rhel} < 7
78 %global with_pimd 0
79 %endif
80
81 # misc internal defines
82 %{!?frr_uid: %global frr_uid 92 }
83 %{!?frr_gid: %global frr_gid 92 }
84 %{!?vty_gid: %global vty_gid 85 }
85
86 %define daemon_list zebra ripd ospfd bgpd isisd ripngd ospf6d pbrd
87
88 %if %{with_ldpd}
89 %define daemon_ldpd ldpd
90 %else
91 %define daemon_ldpd ""
92 %endif
93
94 %if %{with_pimd}
95 %define daemon_pimd pimd
96 %else
97 %define daemon_pimd ""
98 %endif
99
100 %if %{with_pbrd}
101 %define daemon_pbrd pbrd
102 %else
103 %define daemon_pbrd ""
104 %endif
105
106 %if %{with_nhrpd}
107 %define daemon_nhrpd nhrpd
108 %else
109 %define daemon_nhrpd ""
110 %endif
111
112 %if %{with_eigrpd}
113 %define daemon_eigrpd eigrpd
114 %else
115 %define daemon_eigrpd ""
116 %endif
117
118 %if %{with_babeld}
119 %define daemon_babeld babeld
120 %else
121 %define daemon_babeld ""
122 %endif
123
124 %if %{with_watchfrr}
125 %define daemon_watchfrr watchfrr
126 %else
127 %define daemon_watchfrr ""
128 %endif
129
130 %define all_daemons %{daemon_list} %{daemon_ldpd} %{daemon_pimd} %{daemon_nhrpd} %{daemon_eigrpd} %{daemon_babeld} %{daemon_watchfrr} %{daemon_pbrd}
131
132 # allow build dir to be kept
133 %{!?keep_build: %global keep_build 0 }
134
135 #release sub-revision (the two digits after the CONFDATE)
136 %{!?release_rev: %global release_rev 01 }
137
138 Summary: Routing daemon
139 Name: frr
140 Version: %{rpmversion}
141 Release: @CONFDATE@%{release_rev}%{?dist}
142 License: GPLv2+
143 Group: System Environment/Daemons
144 Source0: https://github.com/FRRouting/frr/archive/%{name}-%{frrversion}.tar.gz
145 URL: https://www.frrouting.org
146 Requires(preun): info
147 Requires(post): info
148 BuildRequires: gcc patch libcap-devel
149 BuildRequires: readline-devel ncurses-devel
150 BuildRequires: json-c-devel bison >= 2.7 flex make
151 BuildRequires: c-ares-devel texinfo
152 %if 0%{?rhel} && 0%{?rhel} < 7
153 #python27-devel is available from ius community repo for RedHat/CentOS 6
154 BuildRequires: python27-devel python27-sphinx
155 %else
156 BuildRequires: python-devel >= 2.7 python-sphinx
157 %endif
158 Requires: json-c initscripts
159 %if %{with_pam}
160 BuildRequires: pam-devel
161 %endif
162 %if %{with_rpki}
163 BuildRequires: librtr-devel >= 0.5
164 %endif
165 %if "%{initsystem}" == "systemd"
166 BuildRequires: systemd systemd-devel
167 Requires(post): systemd
168 Requires(preun): systemd
169 Requires(postun): systemd
170 %else
171 Requires(post): chkconfig
172 Requires(preun): chkconfig
173 # Initscripts > 5.60 is required for IPv6 support
174 Requires(pre): initscripts >= 5.60
175 %endif
176 Provides: routingdaemon = %{version}-%{release}
177 BuildRoot: %{_tmppath}/%{name}-%{version}-root
178 Obsoletes: gated mrt zebra frr-sysvinit
179 Conflicts: bird
180
181 %description
182 FRRouting is a free software that manages TCP/IP based routing
183 protocol. It takes multi-server and multi-thread approach to resolve
184 the current complexity of the Internet.
185
186 FRRouting supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, LDP
187 NHRP, Babel, PBR and EIGRP.
188
189 FRRouting is a fork of Quagga.
190
191 %package contrib
192 Summary: contrib tools for frr
193 Group: System Environment/Daemons
194
195 %description contrib
196 Contributed/3rd party tools which may be of use with frr.
197
198 %package pythontools
199 Summary: python tools for frr
200 BuildRequires: python
201 Requires: python-ipaddr
202 Group: System Environment/Daemons
203
204 %description pythontools
205 Contributed python 2.7 tools which may be of use with frr.
206
207 %package devel
208 Summary: Header and object files for frr development
209 Group: System Environment/Daemons
210 Requires: %{name} = %{version}-%{release}
211
212 %description devel
213 The frr-devel package contains the header and object files neccessary for
214 developing OSPF-API and frr applications.
215
216 %prep
217 %setup -q -n frr-%{frrversion}
218
219 %build
220
221 # For standard gcc verbosity, uncomment these lines:
222 #CFLAGS="%{optflags} -Wall -Wsign-compare -Wpointer-arith"
223 #CFLAGS="${CFLAGS} -Wbad-function-cast -Wwrite-strings"
224
225 # For ultra gcc verbosity, uncomment these lines also:
226 #CFLAGS="${CFLAGS} -W -Wcast-qual -Wstrict-prototypes"
227 #CFLAGS="${CFLAGS} -Wmissing-declarations -Wmissing-noreturn"
228 #CFLAGS="${CFLAGS} -Wmissing-format-attribute -Wunreachable-code"
229 #CFLAGS="${CFLAGS} -Wpacked -Wpadded"
230
231 %configure \
232 --sbindir=%{_sbindir} \
233 --sysconfdir=%{configdir} \
234 --localstatedir=%{rundir} \
235 --disable-werror \
236 --enable-irdp \
237 %if !%{with_shared}
238 --disable-shared \
239 %endif
240 %if %{with_multipath}
241 --enable-multipath=%{with_multipath} \
242 %endif
243 --enable-vtysh \
244 %if %{with_ospfclient}
245 --enable-ospfclient \
246 %else
247 --disable-ospfclient\
248 %endif
249 %if %{with_ospfapi}
250 --enable-ospfapi \
251 %else
252 --disable-ospfapi \
253 %endif
254 %if %{with_rtadv}
255 --enable-rtadv \
256 %else
257 --disable-rtadv \
258 %endif
259 %if %{with_ldpd}
260 --enable-ldpd \
261 %else
262 --disable-ldpd \
263 %endif
264 %if %{with_pimd}
265 --enable-pimd \
266 %else
267 --disable-pimd \
268 %endif
269 %if %{with_pbrd}
270 --enable-pbrd \
271 %else
272 --disable-pbrd \
273 %endif
274 %if %{with_nhrpd}
275 --enable-nhrpd \
276 %else
277 --disable-nhrpd \
278 %endif
279 %if %{with_eigrpd}
280 --enable-eigrpd \
281 %else
282 --disable-eigrpd \
283 %endif
284 %if %{with_babeld}
285 --enable-babeld \
286 %else
287 --disable-babeld \
288 %endif
289 %if %{with_pam}
290 --with-libpam \
291 %endif
292 %if 0%{?frr_user:1}
293 --enable-user=%frr_user \
294 --enable-group=%frr_user \
295 %endif
296 %if 0%{?vty_group:1}
297 --enable-vty-group=%vty_group \
298 %endif
299 %if %{with_fpm}
300 --enable-fpm \
301 %else
302 --disable-fpm \
303 %endif
304 %if %{with_watchfrr}
305 --enable-watchfrr \
306 %else
307 --disable-watchfrr \
308 %endif
309 %if %{with_bgp_vnc}
310 --enable-bgp-vnc \
311 %else
312 --disable-bgp-vnc \
313 %endif
314 --enable-isisd \
315 %if "%{initsystem}" == "systemd"
316 --enable-systemd \
317 %endif
318 %if %{with_rpki}
319 --enable-rpki
320 %else
321 --disable-rpki
322 %endif
323
324 make %{?_smp_mflags} MAKEINFO="makeinfo --no-split" SPHINXBUILD=%{sphinx}
325
326 pushd doc
327 make SPHINXBUILD=%{sphinx} info
328 popd
329
330 %install
331 mkdir -p %{buildroot}%{_sysconfdir}/{frr,sysconfig,logrotate.d,pam.d,default} \
332 %{buildroot}/var/log/frr %{buildroot}%{_infodir}
333 make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" SPHINXBUILD=%{sphinx} install
334
335 # Remove this file, as it is uninstalled and causes errors when building on RH9
336 rm -rf %{buildroot}/usr/share/info/dir
337
338 # Remove debian init script if it was installed
339 rm -f %{buildroot}%{_sbindir}/frr
340
341 # kill bogus libtool files for modules
342 rm -f %{buildroot}%{_libdir}/frr/modules/*.la
343
344 # install /etc sources
345 %if "%{initsystem}" == "systemd"
346 mkdir -p %{buildroot}%{_unitdir}
347 install -m644 %{zeb_rh_src}/frr.service \
348 %{buildroot}%{_unitdir}/frr.service
349 install %{zeb_rh_src}/frr.init \
350 %{buildroot}%{_sbindir}/frr
351 %else
352 mkdir -p %{buildroot}%{_initddir}
353 install %{zeb_rh_src}/frr.init \
354 %{buildroot}%{_sbindir}/frr
355 ln -s %{_sbindir}/frr \
356 %{buildroot}%{_initddir}/frr
357 %endif
358
359 install %{zeb_rh_src}/daemons %{buildroot}%{_sysconfdir}/frr
360 install -m644 %{zeb_rh_src}/frr.pam \
361 %{buildroot}%{_sysconfdir}/pam.d/frr
362 install -m644 %{zeb_rh_src}/frr.logrotate \
363 %{buildroot}%{_sysconfdir}/logrotate.d/frr
364 install -d -m750 %{buildroot}/var/run/frr
365
366 %pre
367 # add vty_group
368 %if 0%{?vty_group:1}
369 if getent group %vty_group > /dev/null ; then : ; else \
370 /usr/sbin/groupadd -r -g %vty_gid %vty_group > /dev/null || : ; fi
371 %endif
372
373 # add frr user and group
374 %if 0%{?frr_user:1}
375 # Ensure that frr_gid gets correctly allocated
376 if getent group %frr_user >/dev/null; then : ; else \
377 /usr/sbin/groupadd -g %frr_gid %frr_user > /dev/null || : ; \
378 fi
379 if getent passwd %frr_user >/dev/null ; then : ; else \
380 /usr/sbin/useradd -u %frr_uid -g %frr_gid \
381 -M -r -s /sbin/nologin -c "FRRouting suite" \
382 -d %{rundir} %frr_user 2> /dev/null || : ; \
383 fi
384 %if 0%{?vty_group:1}
385 /usr/sbin/usermod -a -G %vty_group %frr_user
386 %endif
387 %endif
388
389
390 %post
391 # zebra_spec_add_service <service name> <port/proto> <comment>
392 # e.g. zebra_spec_add_service zebrasrv 2600/tcp "zebra service"
393
394 zebra_spec_add_service ()
395 {
396 # Add port /etc/services entry if it isn't already there
397 if [ -f %{_sysconfdir}/services ] && \
398 ! %__sed -e 's/#.*$//' %{_sysconfdir}/services | %__grep -wq $1 ; then
399 echo "$1 $2 # $3" >> %{_sysconfdir}/services
400 fi
401 }
402
403 zebra_spec_add_service zebrasrv 2600/tcp "zebra service"
404 zebra_spec_add_service zebra 2601/tcp "zebra vty"
405 zebra_spec_add_service ripd 2602/tcp "RIPd vty"
406 zebra_spec_add_service ripngd 2603/tcp "RIPngd vty"
407 zebra_spec_add_service ospfd 2604/tcp "OSPFd vty"
408 zebra_spec_add_service bgpd 2605/tcp "BGPd vty"
409 zebra_spec_add_service ospf6d 2606/tcp "OSPF6d vty"
410 %if %{with_ospfapi}
411 zebra_spec_add_service ospfapi 2607/tcp "OSPF-API"
412 %endif
413 zebra_spec_add_service isisd 2608/tcp "ISISd vty"
414 %if %{with_babeld}
415 zebra_spec_add_service babeld 2609/tcp "BABELd vty"
416 %endif
417 %if %{with_nhrpd}
418 zebra_spec_add_service nhrpd 2610/tcp "NHRPd vty"
419 %endif
420 %if %{with_pimd}
421 zebra_spec_add_service pimd 2611/tcp "PIMd vty"
422 %endif
423 %if %{with_pbrd}
424 zebra_spec_add_service pbrd 2615/tcp "PBRd vty"
425 %endif
426 %if %{with_ldpd}
427 zebra_spec_add_service ldpd 2612/tcp "LDPd vty"
428 %endif
429 %if %{with_eigrpd}
430 zebra_spec_add_service eigrpd 2613/tcp "EIGRPd vty"
431 %endif
432
433 %if "%{initsystem}" == "systemd"
434 for daemon in %all_daemons ; do
435 %systemd_post frr.service
436 done
437 %else
438 /sbin/chkconfig --add frr
439 %endif
440
441 # Fix bad path in previous config files
442 # Config files won't get replaced by default, so we do this ugly hack to fix it
443 %__sed -i 's|/etc/init.d/|%{_sbindir}/|g' %{configdir}/daemons 2> /dev/null || true
444
445 # With systemd, watchfrr is mandatory. Fix config to make sure it's enabled if
446 # we install or upgrade to a frr built with systemd
447 %if "%{initsystem}" == "systemd"
448 %__sed -i 's|watchfrr_enable=no|watchfrr_enable=yes|g' %{configdir}/daemons 2> /dev/null || true
449 %endif
450
451 /sbin/install-info %{_infodir}/frr.info.gz %{_infodir}/dir
452
453 # Create dummy files if they don't exist so basic functions can be used.
454 if [ ! -e %{configdir}/zebra.conf ]; then
455 echo "hostname `hostname`" > %{configdir}/zebra.conf
456 %if 0%{?frr_user:1}
457 chown %frr_user:%frr_user %{configdir}/zebra.conf*
458 %endif
459 chmod 640 %{configdir}/zebra.conf*
460 fi
461 for daemon in %{all_daemons} ; do
462 if [ x"${daemon}" != x"" ] ; then
463 if [ ! -e %{configdir}/${daemon}.conf ]; then
464 touch %{configdir}/${daemon}.conf
465 %if 0%{?frr_user:1}
466 chown %frr_user:%frr_user %{configdir}/${daemon}.conf*
467 %endif
468 fi
469 fi
470 done
471 %if 0%{?frr_user:1}
472 chown %frr_user:%frr_user %{configdir}/daemons
473 %endif
474
475 %if %{with_watchfrr}
476 # No config for watchfrr - this is part of /etc/sysconfig/frr
477 rm -f %{configdir}/watchfrr.*
478 %endif
479
480 if [ ! -e %{configdir}/vtysh.conf ]; then
481 touch %{configdir}/vtysh.conf
482 chmod 640 %{configdir}/vtysh.conf
483 %if 0%{?frr_user:1}
484 %if 0%{?vty_group:1}
485 chown %{frr_user}:%{vty_group} %{configdir}/vtysh.conf*
486 %endif
487 %endif
488 fi
489
490 %postun
491 if [ "$1" -ge 1 ]; then
492 #
493 # Upgrade from older version
494 #
495 %if "%{initsystem}" == "systemd"
496 ##
497 ## Systemd Version
498 ##
499 %systemd_postun_with_restart frr.service
500 %else
501 ##
502 ## init.d Version
503 ##
504 service frr restart >/dev/null 2>&1
505 %endif
506 :
507 fi
508
509 %preun
510 %if "%{initsystem}" == "systemd"
511 ##
512 ## Systemd Version
513 ##
514 if [ $1 -eq 0 ] ; then
515 %systemd_preun frr.service
516 fi
517 %else
518 ##
519 ## init.d Version
520 ##
521 if [ $1 -eq 0 ] ; then
522 service frr stop >/dev/null 2>&1
523 /sbin/chkconfig --del frr
524 fi
525 %endif
526 /sbin/install-info --delete %{_infodir}/frr.info.gz %{_infodir}/dir
527
528 %clean
529 %if !0%{?keep_build:1}
530 rm -rf %{buildroot}
531 %endif
532
533 %files
534 %defattr(-,root,root)
535 %doc */*.sample* AUTHORS COPYING
536 %doc doc/mpls
537 %doc ChangeLog NEWS README
538 %if 0%{?frr_user:1}
539 %dir %attr(751,%frr_user,%frr_user) %{configdir}
540 %dir %attr(750,%frr_user,%frr_user) /var/log/frr
541 %dir %attr(751,%frr_user,%frr_user) /var/run/frr
542 %else
543 %dir %attr(750,root,root) %{configdir}
544 %dir %attr(750,root,root) /var/log/frr
545 %dir %attr(750,root,root) /var/run/frr
546 %endif
547 %if 0%{?vty_group:1}
548 %attr(750,%frr_user,%vty_group) %{configdir}/vtysh.conf.sample
549 %endif
550 %{_infodir}/frr.info.gz
551 %{_mandir}/man*/*
552 %{_sbindir}/zebra
553 %{_sbindir}/ospfd
554 %{_sbindir}/ripd
555 %{_sbindir}/bgpd
556 %exclude %{_sbindir}/ssd
557 %if %{with_watchfrr}
558 %{_sbindir}/watchfrr
559 %endif
560 %{_sbindir}/ripngd
561 %{_sbindir}/ospf6d
562 %if %{with_pimd}
563 %{_sbindir}/pimd
564 %endif
565 %if %{with_pbrd}
566 %{_sbindir}/pbrd
567 %endif
568 %{_sbindir}/isisd
569 %if %{with_ldpd}
570 %{_sbindir}/ldpd
571 %endif
572 %if %{with_eigrpd}
573 %{_sbindir}/eigrpd
574 %endif
575 %if %{with_nhrpd}
576 %{_sbindir}/nhrpd
577 %endif
578 %if %{with_babeld}
579 %{_sbindir}/babeld
580 %endif
581 %if %{with_shared}
582 %{_libdir}/lib*.so
583 %{_libdir}/lib*.so.0
584 %attr(755,root,root) %{_libdir}/lib*.so.0.*
585 %endif
586 %if %{with_fpm}
587 %attr(755,root,root) %{_libdir}/frr/modules/zebra_fpm.so
588 %endif
589 %if %{with_rpki}
590 %attr(755,root,root) %{_libdir}/frr/modules/bgpd_rpki.so
591 %endif
592 %attr(755,root,root) %{_libdir}/frr/modules/zebra_irdp.so
593 %{_bindir}/*
594 %config(noreplace) %{configdir}/[!v]*.conf*
595 %config(noreplace) %attr(750,%frr_user,%frr_user) %{configdir}/daemons
596 %if "%{initsystem}" == "systemd"
597 %{_unitdir}/frr.service
598 %else
599 %{_initddir}/frr
600 %endif
601 %{_sbindir}/frr
602 %config(noreplace) %{_sysconfdir}/pam.d/frr
603 %config(noreplace) %{_sysconfdir}/logrotate.d/frr
604 %{_sbindir}/frr-reload
605
606 %files contrib
607 %defattr(-,root,root)
608 %doc tools
609
610 %files pythontools
611 %defattr(-,root,root)
612 %{_sbindir}/frr-reload.py
613 %{_sbindir}/frr-reload.pyc
614 %{_sbindir}/frr-reload.pyo
615
616 %files devel
617 %defattr(-,root,root)
618 %if %{with_ospfclient}
619 %{_sbindir}/ospfclient
620 %endif
621 %{_libdir}/*.a
622 %{_libdir}/*.la
623 %dir %attr(755,root,root) %{_includedir}/%{name}
624 %{_includedir}/%name/*.h
625 %dir %attr(755,root,root) %{_includedir}/%{name}/ospfd
626 %{_includedir}/%name/ospfd/*.h
627 %if %{with_ospfapi}
628 %dir %attr(755,root,root) %{_includedir}/%{name}/ospfapi
629 %{_includedir}/%name/ospfapi/*.h
630 %endif
631 %if %{with_eigrpd}
632 %dir %attr(755,root,root) %{_includedir}/%{name}/eigrpd
633 %{_includedir}/%name/eigrpd/*.h
634 %endif
635
636 %changelog
637 * Sun May 20 2018 Martin Winter <mwinter@opensourcerouting.org> - %{version}
638 - Fixed RPKI RPM build
639
640 * Sun Mar 4 2018 Martin Winter <mwinter@opensourcerouting.org>
641 - Add option to build with RPKI (default: disabled)
642
643 * Tue Feb 20 2018 Martin Winter <mwinter@opensourcerouting.org>
644 - Adapt to new documentation structure based on Sphinx
645
646 * Fri Oct 20 2017 Martin Winter <mwinter@opensourcerouting.org>
647 - Fix script location for watchfrr restart functions in daemon config
648 - Fix postun script to restart frr during upgrade
649
650 * Mon Jun 5 2017 Martin Winter <mwinter@opensourcerouting.org>
651 - added NHRP and EIGRP daemon
652
653 * Mon Apr 17 2017 Martin Winter <mwinter@opensourcerouting.org>
654 - new subpackage frr-pythontools with python 2.7 restart script
655 - remove PIMd from CentOS/RedHat 6 RPM packages (won't work - too old)
656 - converted to single frr init script (not per daemon) based on debian init script
657 - created systemd service file for systemd based systems (which uses init script)
658 - Various other RPM package fixes for FRR 2.0
659
660 * Fri Jan 6 2017 Martin Winter <mwinter@opensourcerouting.org>
661 - Renamed to frr for FRRouting fork of Quagga
662
663 * Thu Feb 11 2016 Paul Jakma <paul@jakma.org>
664 - remove with_ipv6 conditionals, always build v6
665 - Fix UTF-8 char in spec changelog
666 - remove quagga.pam.stack, long deprecated.
667
668 * Thu Oct 22 2015 Martin Winter <mwinter@opensourcerouting.org>
669 - Cleanup configure: remove --enable-ipv6 (default now), --enable-nssa,
670 --enable-netlink
671 - Remove support for old fedora 4/5
672 - Fix for package nameing
673 - Fix Weekdays of previous changelogs (bogus dates)
674 - Add conditional logic to only build tex footnotes with supported texi2html
675 - Added pimd to files section and fix double listing of /var/lib*/quagga
676 - Numerous fixes to unify upstart/systemd startup into same spec file
677 - Only allow use of watchfrr for non-systemd systems. no need with systemd
678
679 * Fri Sep 4 2015 Paul Jakma <paul@jakma.org>
680 - buildreq updates
681 - add a default define for with_pimd
682
683 * Mon Sep 12 2005 Paul Jakma <paul@dishone.st>
684 - Steal some changes from Fedora spec file:
685 - Add with_rtadv variable
686 - Test for groups/users with getent before group/user adding
687 - Readline need not be an explicit prerequisite
688 - install-info delete should be postun, not preun
689
690 * Wed Jan 12 2005 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
691 - on package upgrade, implement careful, phased restart logic
692 - use gcc -rdynamic flag when linking for better backtraces
693
694 * Wed Dec 22 2004 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
695 - daemonv6_list should contain only IPv6 daemons
696
697 * Wed Dec 22 2004 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
698 - watchfrr added
699 - on upgrade, all daemons should be condrestart'ed
700 - on removal, all daemons should be stopped
701
702 * Mon Nov 08 2004 Paul Jakma <paul@dishone.st>
703 - Use makeinfo --html to generate quagga.html
704
705 * Sun Nov 07 2004 Paul Jakma <paul@dishone.st>
706 - Fix with_ipv6 set to 0 build
707
708 * Sat Oct 23 2004 Paul Jakma <paul@dishone.st>
709 - Update to 0.97.2
710
711 * Sat Oct 23 2004 Andrew J. Schorr <aschorr@telemetry-investments.com>
712 - Make directories be owned by the packages concerned
713 - Update logrotate scripts to use correct path to killall and use pid files
714
715 * Fri Oct 08 2004 Paul Jakma <paul@dishone.st>
716 - Update to 0.97.0
717
718 * Wed Sep 15 2004 Paul Jakma <paul@dishone.st>
719 - build snmp support by default
720 - build irdp support
721 - build with shared libs
722 - devel subpackage for archives and headers
723
724 * Thu Jan 08 2004 Paul Jakma <paul@dishone.st>
725 - updated sysconfig files to specify local dir
726 - added ospf_dump.c crash quick fix patch
727 - added ospfd persistent interface configuration patch
728
729 * Tue Dec 30 2003 Paul Jakma <paul@dishone.st>
730 - sync to CVS
731 - integrate RH sysconfig patch to specify daemon options (RH)
732 - default to have vty listen only to 127.1 (RH)
733 - add user with fixed UID/GID (RH)
734 - create user with shell /sbin/nologin rather than /bin/false (RH)
735 - stop daemons on uninstall (RH)
736 - delete info file on preun, not postun to avoid deletion on upgrade. (RH)
737 - isisd added
738 - cleanup tasks carried out for every daemon
739
740 * Sun Nov 2 2003 Paul Jakma <paul@dishone.st>
741 - Fix -devel package to include all files
742 - Sync to 0.96.4
743
744 * Tue Aug 12 2003 Paul Jakma <paul@dishone.st>
745 - Renamed to Quagga
746 - Sync to Quagga release 0.96
747
748 * Thu Mar 20 2003 Paul Jakma <paul@dishone.st>
749 - zebra privileges support
750
751 * Tue Mar 18 2003 Paul Jakma <paul@dishone.st>
752 - Fix mem leak in 'show thread cpu'
753 - Ralph Keller's OSPF-API
754 - Amir: Fix configure.ac for net-snmp
755
756 * Sat Mar 1 2003 Paul Jakma <paul@dishone.st>
757 - ospfd IOS prefix to interface matching for 'network' statement
758 - temporary fix for PtP and IPv6
759 - sync to zebra.org CVS
760
761 * Mon Jan 20 2003 Paul Jakma <paul@dishone.st>
762 - update to latest cvs
763 - Yon's "show thread cpu" patch - 17217
764 - walk up tree - 17218
765 - ospfd NSSA fixes - 16681
766 - ospfd nsm fixes - 16824
767 - ospfd OLSA fixes and new feature - 16823
768 - KAME and ifindex fixes - 16525
769 - spec file changes to allow redhat files to be in tree
770
771 * Sat Dec 28 2002 Alexander Hoogerhuis <alexh@ihatent.com>
772 - Added conditionals for building with(out) IPv6, vtysh, RIP, BGP
773 - Fixed up some build requirements (patch)
774 - Added conditional build requirements for vtysh / snmp
775 - Added conditional to files for _bindir depending on vtysh
776
777 * Mon Nov 11 2002 Paul Jakma <paulj@alphyra.ie>
778 - update to latest CVS
779 - add Greg Troxel's md5 buffer copy/dup fix
780 - add RIPv1 fix
781 - add Frank's multicast flag fix
782
783 * Wed Oct 09 2002 Paul Jakma <paulj@alphyra.ie>
784 - update to latest CVS
785 - timestamped crypt_seqnum patch
786 - oi->on_write_q fix
787
788 * Mon Sep 30 2002 Paul Jakma <paulj@alphyra.ie>
789 - update to latest CVS
790 - add vtysh 'write-config (integrated|daemon)' patch
791 - always 'make rebuild' in vtysh/ to catch new commands
792
793 * Fri Sep 13 2002 Paul Jakma <paulj@alphyra.ie>
794 - update to 0.93b
795
796 * Wed Sep 11 2002 Paul Jakma <paulj@alphyra.ie>
797 - update to latest CVS
798 - add "/sbin/ip route flush proto zebra" to zebra RH init on startup
799
800 * Sat Aug 24 2002 Paul Jakma <paulj@alphyra.ie>
801 - update to current CVS
802 - add OSPF point to multipoint patch
803 - add OSPF bugfixes
804 - add BGP hash optimisation patch
805
806 * Fri Jun 14 2002 Paul Jakma <paulj@alphyra.ie>
807 - update to 0.93-pre1 / CVS
808 - add link state detection support
809 - add generic PtP and RFC3021 support
810 - various bug fixes
811
812 * Thu Aug 09 2001 Elliot Lee <sopwith@redhat.com> 0.91a-6
813 - Fix bug #51336
814
815 * Wed Aug 1 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.91a-5
816 - Use generic initscript strings instead of initscript specific
817 ( "Starting foo: " -> "Starting $prog:" )
818
819 * Fri Jul 27 2001 Elliot Lee <sopwith@redhat.com> 0.91a-4
820 - Bump the release when rebuilding into the dist.
821
822 * Tue Feb 6 2001 Tim Powers <timp@redhat.com>
823 - built for Powertools
824
825 * Sun Feb 4 2001 Pekka Savola <pekkas@netcore.fi>
826 - Hacked up from PLD Linux 0.90-1, Mandrake 0.90-1mdk and one from zebra.org.
827 - Update to 0.91a
828 - Very heavy modifications to init.d/*, .spec, pam, i18n, logrotate, etc.
829 - Should be quite Red Hat'isque now.