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