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