blob: e45ec1f144474cec21c7523d5e3ae8fc2acc4951 [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.
ajsb8540382005-01-15 17:26:48 +0000309 # Avoid postun scriptlet error if watchquagga is not running.
ajsfc43ecc2005-01-12 16:41:33 +0000310 [ "$running_watchquagga" = yes ] && \
ajsb8540382005-01-15 17:26:48 +0000311 /etc/rc.d/init.d/watchquagga start >/dev/null 2>&1 || :
paul788cdc62003-01-18 00:22:08 +0000312fi
paul788cdc62003-01-18 00:22:08 +0000313
314%preun
315if [ "$1" = "0" ]; then
ajsb3324e22004-12-22 17:52:29 +0000316 for daemon in %all_daemons ; do
paul15d74e92003-12-30 11:16:21 +0000317 /etc/rc.d/init.d/${daemon} stop >/dev/null 2>&1
318 /sbin/chkconfig --del ${daemon}
319 done
320 /sbin/install-info --delete %{_infodir}/quagga.info.gz %{_infodir}/dir
paul788cdc62003-01-18 00:22:08 +0000321fi
322
323%clean
paulb5f310c2004-09-13 13:15:25 +0000324%if !%{keep_build}
325rm -rf $RPM_BUILD_ROOT
326%endif
paul788cdc62003-01-18 00:22:08 +0000327
328%files
329%defattr(-,root,root)
paul448ed4a2003-03-01 15:43:28 +0000330%doc */*.sample* AUTHORS COPYING
paul6bd8fd32003-08-12 12:54:13 +0000331%doc doc/quagga.html
paul30b9d892003-01-18 22:57:15 +0000332%doc doc/mpls
paul8f754982003-01-20 04:55:51 +0000333%doc ChangeLog INSTALL NEWS README REPORTING-BUGS SERVICES TODO
paul54b25dc2004-09-30 04:56:26 +0000334%if %{quagga_user}
paul6bd8fd32003-08-12 12:54:13 +0000335%dir %attr(751,%quagga_user,%quagga_user) %{_sysconfdir}
336%dir %attr(750,%quagga_user,%quagga_user) /var/log/quagga
337%dir %attr(751,%quagga_user,%quagga_user) /var/run/quagga
pauledd7c242003-06-04 13:59:38 +0000338%else
paul788cdc62003-01-18 00:22:08 +0000339%dir %attr(750,root,root) %{_sysconfdir}
paul6bd8fd32003-08-12 12:54:13 +0000340%dir %attr(750,root,root) /var/log/quagga
paul788cdc62003-01-18 00:22:08 +0000341%dir %attr(755,root,root) /usr/share/info
paul6bd8fd32003-08-12 12:54:13 +0000342%dir %attr(750,root,root) /var/run/quagga
pauledd7c242003-06-04 13:59:38 +0000343%endif
paul54b25dc2004-09-30 04:56:26 +0000344%if %{vty_group}
paul6bd8fd32003-08-12 12:54:13 +0000345%attr(750,%quagga_user,%vty_group) %{_sysconfdir}/vtysh.conf.sample
pauledd7c242003-06-04 13:59:38 +0000346%endif
paul788cdc62003-01-18 00:22:08 +0000347%{_infodir}/*info*
348%{_mandir}/man*/*
paul54b25dc2004-09-30 04:56:26 +0000349%{_sbindir}/zebra
350%{_sbindir}/ospfd
351%{_sbindir}/ripd
352%{_sbindir}/bgpd
ajsb3324e22004-12-22 17:52:29 +0000353%{_sbindir}/watchquagga
paul54b25dc2004-09-30 04:56:26 +0000354%if %{with_ipv6}
355%{_sbindir}/ripngd
356%{_sbindir}/ospf6d
357%endif
358%if %{with_isisd}
359%{_sbindir}/isisd
360%endif
paulcfc18422004-10-23 00:05:41 +0000361%dir %attr(755,root,root) %{_libdir}
paul28f79722004-10-29 05:35:43 +0000362%if %{with_shared}
paul2ff9e822004-07-20 11:19:47 +0000363%{_libdir}/lib*.so
364%{_libdir}/lib*.so.*
paul54b25dc2004-09-30 04:56:26 +0000365%endif
366%if %{with_vtysh}
paul788cdc62003-01-18 00:22:08 +0000367%{_bindir}/*
pauld7ccae22003-01-18 00:24:00 +0000368%endif
paul6bd8fd32003-08-12 12:54:13 +0000369%config /etc/quagga/[!v]*
paul788cdc62003-01-18 00:22:08 +0000370%config /etc/rc.d/init.d/*
paul15d74e92003-12-30 11:16:21 +0000371%config(noreplace) /etc/sysconfig/quagga
paul6bd8fd32003-08-12 12:54:13 +0000372%config(noreplace) /etc/pam.d/quagga
paul788cdc62003-01-18 00:22:08 +0000373%config(noreplace) %attr(640,root,root) /etc/logrotate.d/*
374
paul448ed4a2003-03-01 15:43:28 +0000375%files contrib
376%defattr(-,root,root)
377%doc tools
378
paule0626852003-03-18 14:11:36 +0000379%files devel
380%defattr(-,root,root)
paulda29c6b2004-10-08 00:49:09 +0000381%if %{with_ospfclient}
382%{_sbindir}/ospfclient
383%endif
paul28f79722004-10-29 05:35:43 +0000384%{_libdir}/*.a
385%{_libdir}/*.la
paulcfc18422004-10-23 00:05:41 +0000386%dir %attr(755,root,root) %{_includedir}/%{name}
paul28f79722004-10-29 05:35:43 +0000387%{_includedir}/%name/*.h
paulcfc18422004-10-23 00:05:41 +0000388%dir %attr(755,root,root) %{_includedir}/%{name}/ospfd
paul28f79722004-10-29 05:35:43 +0000389%{_includedir}/%name/ospfd/*.h
paul54b25dc2004-09-30 04:56:26 +0000390%if %{with_ospfapi}
paulcfc18422004-10-23 00:05:41 +0000391%dir %attr(755,root,root) %{_includedir}/%{name}/ospfapi
paul28f79722004-10-29 05:35:43 +0000392%{_includedir}/%name/ospfapi/*.h
paul68980082003-03-25 05:07:42 +0000393%endif
paule0626852003-03-18 14:11:36 +0000394
paul788cdc62003-01-18 00:22:08 +0000395%changelog
paul15d74e92003-12-30 11:16:21 +0000396%changelog
ajsfc43ecc2005-01-12 16:41:33 +0000397* Wed Jan 12 2005 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
398- on package upgrade, implement careful, phased restart logic
399- use gcc -rdynamic flag when linking for better backtraces
400
ajsb3324e22004-12-22 17:52:29 +0000401* Wed Dec 22 2004 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajsf3931752004-12-23 00:00:58 +0000402- daemonv6_list should contain only IPv6 daemons
403
404* Wed Dec 22 2004 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajsb3324e22004-12-22 17:52:29 +0000405- watchquagga added
406- on upgrade, all daemons should be condrestart'ed
407- on removal, all daemons should be stopped
408
paul36002ae2004-11-08 17:36:29 +0000409* Mon Nov 08 2004 Paul Jakma <paul@dishone.st>
410- Use makeinfo --html to generate quagga.html
411
paul0df63b52004-11-07 22:12:23 +0000412* Sun Nov 07 2004 Paul Jakma <paul@dishone.st>
413- Fix with_ipv6 set to 0 build
414
paulcfc18422004-10-23 00:05:41 +0000415* Sat Oct 23 2004 Paul Jakma <paul@dishone.st>
416- Update to 0.97.2
417
418* Sat Oct 23 2004 Andrew J. Schorr <aschorr@telemetry-investments.com>
419- Make directories be owned by the packages concerned
420- Update logrotate scripts to use correct path to killall and use pid files
421
paulda29c6b2004-10-08 00:49:09 +0000422* Fri Oct 08 2004 Paul Jakma <paul@dishone.st>
423- Update to 0.97.0
424
paul54b25dc2004-09-30 04:56:26 +0000425* Wed Sep 15 2004 Paul Jakma <paul@dishone.st>
426- build snmp support by default
427- build irdp support
428- build with shared libs
429- devel subpackage for archives and headers
430
paul00bc5602004-01-09 16:30:52 +0000431* Thu Jan 08 2004 Paul Jakma <paul@dishone.st>
432- updated sysconfig files to specify local dir
433- added ospf_dump.c crash quick fix patch
434- added ospfd persistent interface configuration patch
435
paul15d74e92003-12-30 11:16:21 +0000436* Tue Dec 30 2003 Paul Jakma <paul@dishone.st>
437- sync to CVS
438- integrate RH sysconfig patch to specify daemon options (RH)
439- default to have vty listen only to 127.1 (RH)
440- add user with fixed UID/GID (RH)
441- create user with shell /sbin/nologin rather than /bin/false (RH)
442- stop daemons on uninstall (RH)
443- delete info file on %preun, not %postun to avoid deletion on upgrade. (RH)
444- isisd added
445- cleanup tasks carried out for every daemon
446
paul406f7002003-11-02 07:30:52 +0000447* Sun Nov 2 2003 Paul Jakma <paul@dishone.st>
448- Fix -devel package to include all files
449- Sync to 0.96.4
450
paul6bd8fd32003-08-12 12:54:13 +0000451* Tue Aug 12 2003 Paul Jakma <paul@dishone.st>
452- Renamed to Quagga
453- Sync to Quagga release 0.96
454
pauledd7c242003-06-04 13:59:38 +0000455* Tue Mar 20 2003 Paul Jakma <paul@dishone.st>
456- zebra privileges support
457
paule0626852003-03-18 14:11:36 +0000458* Mon Mar 18 2003 Paul Jakma <paul@dishone.st>
459- Fix mem leak in 'show thread cpu'
460- Ralph Keller's OSPF-API
461- Amir: Fix configure.ac for net-snmp
462
paul448ed4a2003-03-01 15:43:28 +0000463* Sat Mar 1 2003 Paul Jakma <paul@dishone.st>
464- ospfd IOS prefix to interface matching for 'network' statement
465- temporary fix for PtP and IPv6
466- sync to zebra.org CVS
467
paul8f754982003-01-20 04:55:51 +0000468* Mon Jan 20 2003 Paul Jakma <paul@dishone.st>
469- update to latest cvs
470- Yon's "show thread cpu" patch - 17217
471- walk up tree - 17218
472- ospfd NSSA fixes - 16681
473- ospfd nsm fixes - 16824
474- ospfd OLSA fixes and new feature - 16823
475- KAME and ifindex fixes - 16525
476- spec file changes to allow redhat files to be in tree
477
pauld7ccae22003-01-18 00:24:00 +0000478* Sat Dec 28 2002 Alexander Hoogerhuis <alexh@ihatent.com>
479- Added conditionals for building with(out) IPv6, vtysh, RIP, BGP
480- Fixed up some build requirements (patch)
481- Added conditional build requirements for vtysh / snmp
482- Added conditional to %files for %_bindir depending on vtysh
483
paul788cdc62003-01-18 00:22:08 +0000484* Mon Nov 11 2002 Paul Jakma <paulj@alphyra.ie>
485- update to latest CVS
486- add Greg Troxel's md5 buffer copy/dup fix
487- add RIPv1 fix
488- add Frank's multicast flag fix
489
490* Wed Oct 09 2002 Paul Jakma <paulj@alphyra.ie>
491- update to latest CVS
492- timestamped crypt_seqnum patch
493- oi->on_write_q fix
494
495* Mon Sep 30 2002 Paul Jakma <paulj@alphyra.ie>
496- update to latest CVS
497- add vtysh 'write-config (integrated|daemon)' patch
498- always 'make rebuild' in vtysh/ to catch new commands
499
500* Fri Sep 13 2002 Paul Jakma <paulj@alphyra.ie>
501- update to 0.93b
502
503* Wed Sep 11 2002 Paul Jakma <paulj@alphyra.ie>
504- update to latest CVS
505- add "/sbin/ip route flush proto zebra" to zebra RH init on startup
506
507* Sat Aug 24 2002 Paul Jakma <paulj@alphyra.ie>
508- update to current CVS
509- add OSPF point to multipoint patch
510- add OSPF bugfixes
511- add BGP hash optimisation patch
512
513* Fri Jun 14 2002 Paul Jakma <paulj@alphyra.ie>
514- update to 0.93-pre1 / CVS
515- add link state detection support
516- add generic PtP and RFC3021 support
517- various bug fixes
518
519* Thu Aug 09 2001 Elliot Lee <sopwith@redhat.com> 0.91a-6
520- Fix bug #51336
521
522* Wed Aug 1 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.91a-5
523- Use generic initscript strings instead of initscript specific
524 ( "Starting foo: " -> "Starting $prog:" )
525
526* Fri Jul 27 2001 Elliot Lee <sopwith@redhat.com> 0.91a-4
527- Bump the release when rebuilding into the dist.
528
529* Tue Feb 6 2001 Tim Powers <timp@redhat.com>
530- built for Powertools
531
532* Sun Feb 4 2001 Pekka Savola <pekkas@netcore.fi>
533- Hacked up from PLD Linux 0.90-1, Mandrake 0.90-1mdk and one from zebra.org.
534- Update to 0.91a
535- Very heavy modifications to init.d/*, .spec, pam, i18n, logrotate, etc.
536- Should be quite Red Hat'isque now.