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