blob: b22ebc57aa644822f954e580ab19cd5b231bff2e [file] [log] [blame]
pauledd7c242003-06-04 13:59:38 +00001# configure options
paulb63cef72004-08-19 03:36:13 +00002%define with_snmp 1
paul788cdc62003-01-18 00:22:08 +00003%define with_vtysh 1
4%define with_ospf_te 1
5%define with_nssa 1
6%define with_opaque_lsa 1
7%define with_tcp_zebra 0
8%define with_vtysh 1
9%define with_pam 1
10%define with_ipv6 1
paul55ea3812003-04-07 08:14:11 +000011%define with_ospfclient 1
12%define with_ospfapi 1
paulcfc18422004-10-23 00:05:41 +000013%define with_irdp 1
paul54b25dc2004-09-30 04:56:26 +000014%define with_isisd 0
15%define with_shared 1
paul8f754982003-01-20 04:55:51 +000016%define with_multipath 64
paul6bd8fd32003-08-12 12:54:13 +000017%define quagga_user quagga
paul45315b52003-08-14 05:23:50 +000018%define vty_group quaggavty
paul30b9d892003-01-18 22:57:15 +000019
20# path defines
paul6bd8fd32003-08-12 12:54:13 +000021%define _sysconfdir /etc/quagga
paul8f754982003-01-20 04:55:51 +000022%define zeb_src %{_builddir}/%{name}-%{version}
23%define zeb_rh_src %{zeb_src}/redhat
24%define zeb_docs %{zeb_src}/doc
paul788cdc62003-01-18 00:22:08 +000025
paule0626852003-03-18 14:11:36 +000026# defines for configure
paul6bd8fd32003-08-12 12:54:13 +000027%define _libexecdir %{_exec_prefix}/libexec/quagga
paul6bd8fd32003-08-12 12:54:13 +000028%define _libdir %{_exec_prefix}/%{_lib}/quagga
paul15d74e92003-12-30 11:16:21 +000029%define _includedir %{_prefix}/include
paul6bd8fd32003-08-12 12:54:13 +000030%define _localstatedir /var/run/quagga
paule0626852003-03-18 14:11:36 +000031
paul15d74e92003-12-30 11:16:21 +000032# misc internal defines
33%define quagga_uid 92
34%define quagga_gid 92
paul54b25dc2004-09-30 04:56:26 +000035%define daemon_list zebra ripd ospfd bgpd
paul0df63b52004-11-07 22:12:23 +000036
paul54b25dc2004-09-30 04:56:26 +000037%if %{with_ipv6}
ajsf3931752004-12-23 00:00:58 +000038%define daemonv6_list ripngd ospf6d
paul0df63b52004-11-07 22:12:23 +000039%else
40%define daemonv6_list ""
paul54b25dc2004-09-30 04:56:26 +000041%endif
paul0df63b52004-11-07 22:12:23 +000042
paul54b25dc2004-09-30 04:56:26 +000043%if %{with_isisd}
paul69f5d262004-10-07 16:23:36 +000044%define daemon_other isisd
45%else
46%define daemon_other ""
paul15d74e92003-12-30 11:16:21 +000047%endif
48
ajsb3324e22004-12-22 17:52:29 +000049%define all_daemons %{daemon_list} %{daemonv6_list} %{daemon_other} watchquagga
50
paulb5f310c2004-09-13 13:15:25 +000051# allow build dir to be kept
52%define keep_build 0
53
paul788cdc62003-01-18 00:22:08 +000054Summary: Routing daemon
paul6bd8fd32003-08-12 12:54:13 +000055Name: quagga
paul6382b6f2003-05-20 00:17:45 +000056Version: @VERSION@
pauledd7c242003-06-04 13:59:38 +000057Release: @CONFDATE@01
paul788cdc62003-01-18 00:22:08 +000058License: GPL
59Group: System Environment/Daemons
paul6bd8fd32003-08-12 12:54:13 +000060Source0: http://www.quagga.net/snapshots/cvs/%{name}-%{version}.tar.gz
61URL: http://www.quagga.net
paul54b25dc2004-09-30 04:56:26 +000062%if %{with_snmp}
paulb63cef72004-08-19 03:36:13 +000063BuildRequires: net-snmp-devel
64Prereq: net-snmp
paul788cdc62003-01-18 00:22:08 +000065%endif
paul54b25dc2004-09-30 04:56:26 +000066%if %{with_vtysh}
paul30b9d892003-01-18 22:57:15 +000067BuildRequires: readline readline-devel ncurses ncurses-devel
pauld7ccae22003-01-18 00:24:00 +000068Prereq: readline ncurses
69%endif
paul15d74e92003-12-30 11:16:21 +000070BuildRequires: texinfo tetex autoconf pam-devel patch libcap-devel
paul788cdc62003-01-18 00:22:08 +000071# Initscripts > 5.60 is required for IPv6 support
paul30b9d892003-01-18 22:57:15 +000072Prereq: initscripts >= 5.60
paul45315b52003-08-14 05:23:50 +000073Prereq: ncurses readline pam
paul788cdc62003-01-18 00:22:08 +000074Prereq: /sbin/install-info
75Provides: routingdaemon
76BuildRoot: %{_tmppath}/%{name}-%{version}-root
paul6bd8fd32003-08-12 12:54:13 +000077Obsoletes: bird gated mrt zebra
paul788cdc62003-01-18 00:22:08 +000078
79%description
paul6bd8fd32003-08-12 12:54:13 +000080Quagga is a free software that manages TCP/IP based routing
paul788cdc62003-01-18 00:22:08 +000081protocol. It takes multi-server and multi-thread approach to resolve
82the current complexity of the Internet.
83
paul6bd8fd32003-08-12 12:54:13 +000084Quagga supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1, RIPv2, and RIPng.
paul788cdc62003-01-18 00:22:08 +000085
paul6bd8fd32003-08-12 12:54:13 +000086Quagga is intended to be used as a Route Server and a Route Reflector. It is
87not a toolkit, it provides full routing power under a new architecture.
88Quagga by design has a process for each protocol.
89
90Quagga is a fork of GNU Zebra.
paul788cdc62003-01-18 00:22:08 +000091
paul448ed4a2003-03-01 15:43:28 +000092%package contrib
paul6bd8fd32003-08-12 12:54:13 +000093Summary: contrib tools for quagga
paul448ed4a2003-03-01 15:43:28 +000094Group: System Environment/Daemons
95
96%description contrib
paul6bd8fd32003-08-12 12:54:13 +000097Contributed/3rd party tools which may be of use with quagga.
paul448ed4a2003-03-01 15:43:28 +000098
paule0626852003-03-18 14:11:36 +000099%package devel
paul6bd8fd32003-08-12 12:54:13 +0000100Summary: Header and object files for quagga development
paule0626852003-03-18 14:11:36 +0000101Group: System Environment/Daemons
102
103%description devel
paul6bd8fd32003-08-12 12:54:13 +0000104The quagga-devel package contains the header and object files neccessary for
105developing OSPF-API and quagga applications.
paule0626852003-03-18 14:11:36 +0000106
paul788cdc62003-01-18 00:22:08 +0000107%prep
108%setup -q
paul788cdc62003-01-18 00:22:08 +0000109
110%build
ajs7966b972004-11-10 22:02:05 +0000111
112# For standard gcc verbosity, uncomment these lines:
113#CFLAGS="%{optflags} -Wall -Wsign-compare -Wpointer-arith"
114#CFLAGS="${CFLAGS} -Wbad-function-cast -Wwrite-strings"
115
116# For ultra gcc verbosity, uncomment these lines also:
117#CFLAGS="${CFLAGS} -W -Wcast-qual -Wstrict-prototypes"
118#CFLAGS="${CFLAGS} -Wmissing-declarations -Wmissing-noreturn"
119#CFLAGS="${CFLAGS} -Wmissing-format-attribute -Wunreachable-code"
120#CFLAGS="${CFLAGS} -Wpacked -Wpadded"
121
paul788cdc62003-01-18 00:22:08 +0000122%configure \
paul54b25dc2004-09-30 04:56:26 +0000123%if !%{with_shared}
124 --disable-shared \
125%endif
126%if %{with_ipv6}
paul788cdc62003-01-18 00:22:08 +0000127 --enable-ipv6 \
128%endif
paul54b25dc2004-09-30 04:56:26 +0000129%if %{with_snmp}
paul788cdc62003-01-18 00:22:08 +0000130 --enable-snmp \
131%endif
paul54b25dc2004-09-30 04:56:26 +0000132%if %{with_multipath}
133 --enable-multipath=%{with_multipath} \
paul788cdc62003-01-18 00:22:08 +0000134%endif
paul54b25dc2004-09-30 04:56:26 +0000135%if %{with_tcp_zebra}
paul788cdc62003-01-18 00:22:08 +0000136 --enable-tcp-zebra \
137%endif
paul54b25dc2004-09-30 04:56:26 +0000138%if %{with_nssa}
paul788cdc62003-01-18 00:22:08 +0000139 --enable-nssa \
140%endif
paul54b25dc2004-09-30 04:56:26 +0000141%if %{with_opaque_lsa}
paul788cdc62003-01-18 00:22:08 +0000142 --enable-opaque-lsa \
143%endif
paul54b25dc2004-09-30 04:56:26 +0000144%if %{with_ospf_te}
paul788cdc62003-01-18 00:22:08 +0000145 --enable-ospf-te \
146%endif
paul54b25dc2004-09-30 04:56:26 +0000147%if %{with_vtysh}
paul788cdc62003-01-18 00:22:08 +0000148 --enable-vtysh \
149%endif
paul54b25dc2004-09-30 04:56:26 +0000150%if %{with_ospfclient}
paul68980082003-03-25 05:07:42 +0000151 --enable-ospfclient=yes \
152%else
153 --enable-ospfclient=no\
154%endif
paul54b25dc2004-09-30 04:56:26 +0000155%if %{with_ospfapi}
paul68980082003-03-25 05:07:42 +0000156 --enable-ospfapi=yes \
157%else
158 --enable-ospfapi=no \
159%endif
paul54b25dc2004-09-30 04:56:26 +0000160%if %{with_irdp}
paul5b819262004-07-28 14:11:55 +0000161 --enable-irdp=yes \
162%else
163 --enable-irdp=no \
164%endif
paul54b25dc2004-09-30 04:56:26 +0000165%if %{with_isisd}
166 --enable-isisd \
167%else
paul69f5d262004-10-07 16:23:36 +0000168 --disable-isisd \
paul54b25dc2004-09-30 04:56:26 +0000169%endif
170%if %{with_pam}
pauledd7c242003-06-04 13:59:38 +0000171 --with-libpam \
paul788cdc62003-01-18 00:22:08 +0000172%endif
paul6bd8fd32003-08-12 12:54:13 +0000173%if %quagga_user
174 --enable-user=%quagga_user \
175 --enable-group=%quagga_user \
pauledd7c242003-06-04 13:59:38 +0000176%endif
177%if %vty_group
178 --enable-vty-group=%vty_group \
179%endif
ajsfc43ecc2005-01-12 16:41:33 +0000180--enable-netlink --enable-gcc-rdynamic
paul788cdc62003-01-18 00:22:08 +0000181
182make %{?_smp_mflags} MAKEINFO="makeinfo --no-split"
183
184pushd doc
paul36002ae2004-11-08 17:36:29 +0000185makeinfo --no-split --html -o quagga.html quagga.texi
paul788cdc62003-01-18 00:22:08 +0000186popd
187
188%install
189rm -rf $RPM_BUILD_ROOT
190
191install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,logrotate.d,pam.d} \
paul6bd8fd32003-08-12 12:54:13 +0000192 $RPM_BUILD_ROOT/var/log/quagga $RPM_BUILD_ROOT%{_infodir}
paul788cdc62003-01-18 00:22:08 +0000193
194make install \
195 DESTDIR=$RPM_BUILD_ROOT
196
paul9a344b72003-08-05 23:24:58 +0000197# Remove this file, as it is uninstalled and causes errors when building on RH9
198rm -rf $RPM_BUILD_ROOT/usr/share/info/dir
199
paul15d74e92003-12-30 11:16:21 +0000200# install etc sources
ajsb3324e22004-12-22 17:52:29 +0000201for daemon in %{all_daemons} ; do
paulda29c6b2004-10-08 00:49:09 +0000202 if [ x"${daemon}" != x"" ] ; then
203 install %{zeb_rh_src}/${daemon}.init \
204 $RPM_BUILD_ROOT/etc/rc.d/init.d/${daemon}
205 fi
paul15d74e92003-12-30 11:16:21 +0000206done
207install -m644 %{zeb_rh_src}/quagga.pam \
208 $RPM_BUILD_ROOT/etc/pam.d/quagga
209install -m644 %{zeb_rh_src}/quagga.logrotate \
210 $RPM_BUILD_ROOT/etc/logrotate.d/quagga
211install -m644 %{zeb_rh_src}/quagga.sysconfig \
212 $RPM_BUILD_ROOT/etc/sysconfig/quagga
paul6bd8fd32003-08-12 12:54:13 +0000213install -d -m750 $RPM_BUILD_ROOT/var/run/quagga
pauledd7c242003-06-04 13:59:38 +0000214
215%pre
216# add vty_group
217%if %vty_group
218groupadd -r %vty_group 2> /dev/null || :
219%endif
paul6bd8fd32003-08-12 12:54:13 +0000220# add quagga user and group
221%if %quagga_user
paul15d74e92003-12-30 11:16:21 +0000222/usr/sbin/groupadd -g %quagga_gid quagga 2> /dev/null || :
223/usr/sbin/useradd -u %quagga_uid -g %quagga_gid \
224 -M -r -s /sbin/nologin -c "Quagga routing suite" \
paul6bd8fd32003-08-12 12:54:13 +0000225 -d %_localstatedir %quagga_user 2> /dev/null || :
pauledd7c242003-06-04 13:59:38 +0000226%endif
paul788cdc62003-01-18 00:22:08 +0000227
paul788cdc62003-01-18 00:22:08 +0000228%post
paul30b9d892003-01-18 22:57:15 +0000229# zebra_spec_add_service <service name> <port/proto> <comment>
paul788cdc62003-01-18 00:22:08 +0000230# e.g. zebra_spec_add_service zebrasrv 2600/tcp "zebra service"
231
232zebra_spec_add_service ()
233{
234 # Add port /etc/services entry if it isn't already there
paul6b637e92004-10-23 00:48:51 +0000235 if [ -f /etc/services ] && \
236 ! %__sed -e 's/#.*$//' /etc/services | %__grep -wq $1 ; then
paul788cdc62003-01-18 00:22:08 +0000237 echo "$1 $2 # $3" >> /etc/services
238 fi
239}
240
241zebra_spec_add_service zebrasrv 2600/tcp "zebra service"
242zebra_spec_add_service zebra 2601/tcp "zebra vty"
243zebra_spec_add_service ripd 2602/tcp "RIPd vty"
paul54b25dc2004-09-30 04:56:26 +0000244%if %{with_ipv6}
paul788cdc62003-01-18 00:22:08 +0000245zebra_spec_add_service ripngd 2603/tcp "RIPngd vty"
pauld7ccae22003-01-18 00:24:00 +0000246%endif
paul788cdc62003-01-18 00:22:08 +0000247zebra_spec_add_service ospfd 2604/tcp "OSPFd vty"
248zebra_spec_add_service bgpd 2605/tcp "BGPd vty"
paul54b25dc2004-09-30 04:56:26 +0000249%if %{with_ipv6}
paul788cdc62003-01-18 00:22:08 +0000250zebra_spec_add_service ospf6d 2606/tcp "OSPF6d vty"
pauld7ccae22003-01-18 00:24:00 +0000251%endif
paul54b25dc2004-09-30 04:56:26 +0000252%if %{with_ospfapi}
paul7021c422003-07-15 12:52:22 +0000253zebra_spec_add_service ospfapi 2607/tcp "OSPF-API"
254%endif
paul54b25dc2004-09-30 04:56:26 +0000255%if %{with_isisd}
jardin5a514b12003-12-23 10:50:21 +0000256zebra_spec_add_service isisd 2608/tcp "ISISd vty"
paul54b25dc2004-09-30 04:56:26 +0000257%endif
paul788cdc62003-01-18 00:22:08 +0000258
paul15d74e92003-12-30 11:16:21 +0000259for daemon in %daemon_list ; do
260 /sbin/chkconfig --add ${daemon}
261done
paul788cdc62003-01-18 00:22:08 +0000262
paul6bd8fd32003-08-12 12:54:13 +0000263/sbin/install-info %{_infodir}/quagga.info.gz %{_infodir}/dir
paul788cdc62003-01-18 00:22:08 +0000264
265# Create dummy files if they don't exist so basic functions can be used.
266if [ ! -e %{_sysconfdir}/zebra.conf ]; then
267 echo "hostname `hostname`" > %{_sysconfdir}/zebra.conf
268 chmod 640 %{_sysconfdir}/zebra.conf
269fi
270if [ ! -e %{_sysconfdir}/vtysh.conf ]; then
271 touch %{_sysconfdir}/vtysh.conf
272 chmod 640 %{_sysconfdir}/vtysh.conf
273fi
274
275%postun
ajsfc43ecc2005-01-12 16:41:33 +0000276if [ "$1" -ge 1 ]; then
277 # Find out which daemons need to be restarted.
ajsb3324e22004-12-22 17:52:29 +0000278 for daemon in %all_daemons ; do
ajsfc43ecc2005-01-12 16:41:33 +0000279 if [ -f /var/lock/subsys/$daemon ]; then
280 eval restart_$daemon=yes
281 else
282 eval restart_$daemon=no
283 fi
paul15d74e92003-12-30 11:16:21 +0000284 done
ajsfc43ecc2005-01-12 16:41:33 +0000285 # Rename restart flags for daemons handled specially.
286 running_zebra="$restart_zebra"
287 restart_zebra=no
288 running_watchquagga="$restart_watchquagga"
289 restart_watchquagga=no
290 # Stop watchquagga first.
291 [ "$running_watchquagga" = yes ] && \
292 /etc/rc.d/init.d/watchquagga stop >/dev/null 2>&1
293 # Stop all daemons other than zebra and watchquagga.
294 for daemon in %all_daemons ; do
295 eval restart=\$restart_${daemon}
296 [ "$restart" = yes ] && \
297 /etc/rc.d/init.d/$daemon stop >/dev/null 2>&1
298 done
299 # Restart zebra.
300 [ "$running_zebra" = yes ] && \
301 /etc/rc.d/init.d/zebra restart >/dev/null 2>&1
302 # Start all daemons other than zebra and watchquagga.
303 for daemon in %all_daemons ; do
304 eval restart=\$restart_${daemon}
305 [ "$restart" = yes ] && \
306 /etc/rc.d/init.d/$daemon start >/dev/null 2>&1
307 done
308 # Start watchquagga last.
309 [ "$running_watchquagga" = yes ] && \
310 /etc/rc.d/init.d/watchquagga start >/dev/null 2>&1
paul788cdc62003-01-18 00:22:08 +0000311fi
paul788cdc62003-01-18 00:22:08 +0000312
313%preun
314if [ "$1" = "0" ]; then
ajsb3324e22004-12-22 17:52:29 +0000315 for daemon in %all_daemons ; do
paul15d74e92003-12-30 11:16:21 +0000316 /etc/rc.d/init.d/${daemon} stop >/dev/null 2>&1
317 /sbin/chkconfig --del ${daemon}
318 done
319 /sbin/install-info --delete %{_infodir}/quagga.info.gz %{_infodir}/dir
paul788cdc62003-01-18 00:22:08 +0000320fi
321
322%clean
paulb5f310c2004-09-13 13:15:25 +0000323%if !%{keep_build}
324rm -rf $RPM_BUILD_ROOT
325%endif
paul788cdc62003-01-18 00:22:08 +0000326
327%files
328%defattr(-,root,root)
paul448ed4a2003-03-01 15:43:28 +0000329%doc */*.sample* AUTHORS COPYING
paul6bd8fd32003-08-12 12:54:13 +0000330%doc doc/quagga.html
paul30b9d892003-01-18 22:57:15 +0000331%doc doc/mpls
paul8f754982003-01-20 04:55:51 +0000332%doc ChangeLog INSTALL NEWS README REPORTING-BUGS SERVICES TODO
paul54b25dc2004-09-30 04:56:26 +0000333%if %{quagga_user}
paul6bd8fd32003-08-12 12:54:13 +0000334%dir %attr(751,%quagga_user,%quagga_user) %{_sysconfdir}
335%dir %attr(750,%quagga_user,%quagga_user) /var/log/quagga
336%dir %attr(751,%quagga_user,%quagga_user) /var/run/quagga
pauledd7c242003-06-04 13:59:38 +0000337%else
paul788cdc62003-01-18 00:22:08 +0000338%dir %attr(750,root,root) %{_sysconfdir}
paul6bd8fd32003-08-12 12:54:13 +0000339%dir %attr(750,root,root) /var/log/quagga
paul788cdc62003-01-18 00:22:08 +0000340%dir %attr(755,root,root) /usr/share/info
paul6bd8fd32003-08-12 12:54:13 +0000341%dir %attr(750,root,root) /var/run/quagga
pauledd7c242003-06-04 13:59:38 +0000342%endif
paul54b25dc2004-09-30 04:56:26 +0000343%if %{vty_group}
paul6bd8fd32003-08-12 12:54:13 +0000344%attr(750,%quagga_user,%vty_group) %{_sysconfdir}/vtysh.conf.sample
pauledd7c242003-06-04 13:59:38 +0000345%endif
paul788cdc62003-01-18 00:22:08 +0000346%{_infodir}/*info*
347%{_mandir}/man*/*
paul54b25dc2004-09-30 04:56:26 +0000348%{_sbindir}/zebra
349%{_sbindir}/ospfd
350%{_sbindir}/ripd
351%{_sbindir}/bgpd
ajsb3324e22004-12-22 17:52:29 +0000352%{_sbindir}/watchquagga
paul54b25dc2004-09-30 04:56:26 +0000353%if %{with_ipv6}
354%{_sbindir}/ripngd
355%{_sbindir}/ospf6d
356%endif
357%if %{with_isisd}
358%{_sbindir}/isisd
359%endif
paulcfc18422004-10-23 00:05:41 +0000360%dir %attr(755,root,root) %{_libdir}
paul28f79722004-10-29 05:35:43 +0000361%if %{with_shared}
paul2ff9e822004-07-20 11:19:47 +0000362%{_libdir}/lib*.so
363%{_libdir}/lib*.so.*
paul54b25dc2004-09-30 04:56:26 +0000364%endif
365%if %{with_vtysh}
paul788cdc62003-01-18 00:22:08 +0000366%{_bindir}/*
pauld7ccae22003-01-18 00:24:00 +0000367%endif
paul6bd8fd32003-08-12 12:54:13 +0000368%config /etc/quagga/[!v]*
paul788cdc62003-01-18 00:22:08 +0000369%config /etc/rc.d/init.d/*
paul15d74e92003-12-30 11:16:21 +0000370%config(noreplace) /etc/sysconfig/quagga
paul6bd8fd32003-08-12 12:54:13 +0000371%config(noreplace) /etc/pam.d/quagga
paul788cdc62003-01-18 00:22:08 +0000372%config(noreplace) %attr(640,root,root) /etc/logrotate.d/*
373
paul448ed4a2003-03-01 15:43:28 +0000374%files contrib
375%defattr(-,root,root)
376%doc tools
377
paule0626852003-03-18 14:11:36 +0000378%files devel
379%defattr(-,root,root)
paulda29c6b2004-10-08 00:49:09 +0000380%if %{with_ospfclient}
381%{_sbindir}/ospfclient
382%endif
paul28f79722004-10-29 05:35:43 +0000383%{_libdir}/*.a
384%{_libdir}/*.la
paulcfc18422004-10-23 00:05:41 +0000385%dir %attr(755,root,root) %{_includedir}/%{name}
paul28f79722004-10-29 05:35:43 +0000386%{_includedir}/%name/*.h
paulcfc18422004-10-23 00:05:41 +0000387%dir %attr(755,root,root) %{_includedir}/%{name}/ospfd
paul28f79722004-10-29 05:35:43 +0000388%{_includedir}/%name/ospfd/*.h
paul54b25dc2004-09-30 04:56:26 +0000389%if %{with_ospfapi}
paulcfc18422004-10-23 00:05:41 +0000390%dir %attr(755,root,root) %{_includedir}/%{name}/ospfapi
paul28f79722004-10-29 05:35:43 +0000391%{_includedir}/%name/ospfapi/*.h
paul68980082003-03-25 05:07:42 +0000392%endif
paule0626852003-03-18 14:11:36 +0000393
paul788cdc62003-01-18 00:22:08 +0000394%changelog
paul15d74e92003-12-30 11:16:21 +0000395%changelog
ajsfc43ecc2005-01-12 16:41:33 +0000396* Wed Jan 12 2005 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
397- on package upgrade, implement careful, phased restart logic
398- use gcc -rdynamic flag when linking for better backtraces
399
ajsb3324e22004-12-22 17:52:29 +0000400* Wed Dec 22 2004 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajsf3931752004-12-23 00:00:58 +0000401- daemonv6_list should contain only IPv6 daemons
402
403* Wed Dec 22 2004 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajsb3324e22004-12-22 17:52:29 +0000404- watchquagga added
405- on upgrade, all daemons should be condrestart'ed
406- on removal, all daemons should be stopped
407
paul36002ae2004-11-08 17:36:29 +0000408* Mon Nov 08 2004 Paul Jakma <paul@dishone.st>
409- Use makeinfo --html to generate quagga.html
410
paul0df63b52004-11-07 22:12:23 +0000411* Sun Nov 07 2004 Paul Jakma <paul@dishone.st>
412- Fix with_ipv6 set to 0 build
413
paulcfc18422004-10-23 00:05:41 +0000414* Sat Oct 23 2004 Paul Jakma <paul@dishone.st>
415- Update to 0.97.2
416
417* Sat Oct 23 2004 Andrew J. Schorr <aschorr@telemetry-investments.com>
418- Make directories be owned by the packages concerned
419- Update logrotate scripts to use correct path to killall and use pid files
420
paulda29c6b2004-10-08 00:49:09 +0000421* Fri Oct 08 2004 Paul Jakma <paul@dishone.st>
422- Update to 0.97.0
423
paul54b25dc2004-09-30 04:56:26 +0000424* Wed Sep 15 2004 Paul Jakma <paul@dishone.st>
425- build snmp support by default
426- build irdp support
427- build with shared libs
428- devel subpackage for archives and headers
429
paul00bc5602004-01-09 16:30:52 +0000430* Thu Jan 08 2004 Paul Jakma <paul@dishone.st>
431- updated sysconfig files to specify local dir
432- added ospf_dump.c crash quick fix patch
433- added ospfd persistent interface configuration patch
434
paul15d74e92003-12-30 11:16:21 +0000435* Tue Dec 30 2003 Paul Jakma <paul@dishone.st>
436- sync to CVS
437- integrate RH sysconfig patch to specify daemon options (RH)
438- default to have vty listen only to 127.1 (RH)
439- add user with fixed UID/GID (RH)
440- create user with shell /sbin/nologin rather than /bin/false (RH)
441- stop daemons on uninstall (RH)
442- delete info file on %preun, not %postun to avoid deletion on upgrade. (RH)
443- isisd added
444- cleanup tasks carried out for every daemon
445
paul406f7002003-11-02 07:30:52 +0000446* Sun Nov 2 2003 Paul Jakma <paul@dishone.st>
447- Fix -devel package to include all files
448- Sync to 0.96.4
449
paul6bd8fd32003-08-12 12:54:13 +0000450* Tue Aug 12 2003 Paul Jakma <paul@dishone.st>
451- Renamed to Quagga
452- Sync to Quagga release 0.96
453
pauledd7c242003-06-04 13:59:38 +0000454* Tue Mar 20 2003 Paul Jakma <paul@dishone.st>
455- zebra privileges support
456
paule0626852003-03-18 14:11:36 +0000457* Mon Mar 18 2003 Paul Jakma <paul@dishone.st>
458- Fix mem leak in 'show thread cpu'
459- Ralph Keller's OSPF-API
460- Amir: Fix configure.ac for net-snmp
461
paul448ed4a2003-03-01 15:43:28 +0000462* Sat Mar 1 2003 Paul Jakma <paul@dishone.st>
463- ospfd IOS prefix to interface matching for 'network' statement
464- temporary fix for PtP and IPv6
465- sync to zebra.org CVS
466
paul8f754982003-01-20 04:55:51 +0000467* Mon Jan 20 2003 Paul Jakma <paul@dishone.st>
468- update to latest cvs
469- Yon's "show thread cpu" patch - 17217
470- walk up tree - 17218
471- ospfd NSSA fixes - 16681
472- ospfd nsm fixes - 16824
473- ospfd OLSA fixes and new feature - 16823
474- KAME and ifindex fixes - 16525
475- spec file changes to allow redhat files to be in tree
476
pauld7ccae22003-01-18 00:24:00 +0000477* Sat Dec 28 2002 Alexander Hoogerhuis <alexh@ihatent.com>
478- Added conditionals for building with(out) IPv6, vtysh, RIP, BGP
479- Fixed up some build requirements (patch)
480- Added conditional build requirements for vtysh / snmp
481- Added conditional to %files for %_bindir depending on vtysh
482
paul788cdc62003-01-18 00:22:08 +0000483* Mon Nov 11 2002 Paul Jakma <paulj@alphyra.ie>
484- update to latest CVS
485- add Greg Troxel's md5 buffer copy/dup fix
486- add RIPv1 fix
487- add Frank's multicast flag fix
488
489* Wed Oct 09 2002 Paul Jakma <paulj@alphyra.ie>
490- update to latest CVS
491- timestamped crypt_seqnum patch
492- oi->on_write_q fix
493
494* Mon Sep 30 2002 Paul Jakma <paulj@alphyra.ie>
495- update to latest CVS
496- add vtysh 'write-config (integrated|daemon)' patch
497- always 'make rebuild' in vtysh/ to catch new commands
498
499* Fri Sep 13 2002 Paul Jakma <paulj@alphyra.ie>
500- update to 0.93b
501
502* Wed Sep 11 2002 Paul Jakma <paulj@alphyra.ie>
503- update to latest CVS
504- add "/sbin/ip route flush proto zebra" to zebra RH init on startup
505
506* Sat Aug 24 2002 Paul Jakma <paulj@alphyra.ie>
507- update to current CVS
508- add OSPF point to multipoint patch
509- add OSPF bugfixes
510- add BGP hash optimisation patch
511
512* Fri Jun 14 2002 Paul Jakma <paulj@alphyra.ie>
513- update to 0.93-pre1 / CVS
514- add link state detection support
515- add generic PtP and RFC3021 support
516- various bug fixes
517
518* Thu Aug 09 2001 Elliot Lee <sopwith@redhat.com> 0.91a-6
519- Fix bug #51336
520
521* Wed Aug 1 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.91a-5
522- Use generic initscript strings instead of initscript specific
523 ( "Starting foo: " -> "Starting $prog:" )
524
525* Fri Jul 27 2001 Elliot Lee <sopwith@redhat.com> 0.91a-4
526- Bump the release when rebuilding into the dist.
527
528* Tue Feb 6 2001 Tim Powers <timp@redhat.com>
529- built for Powertools
530
531* Sun Feb 4 2001 Pekka Savola <pekkas@netcore.fi>
532- Hacked up from PLD Linux 0.90-1, Mandrake 0.90-1mdk and one from zebra.org.
533- Update to 0.91a
534- Very heavy modifications to init.d/*, .spec, pam, i18n, logrotate, etc.
535- Should be quite Red Hat'isque now.