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