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