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