]>
Commit | Line | Data |
---|---|---|
edd7c245 | 1 | # configure options |
b64d92a8 | 2 | # |
3 | # Some can be overriden on rpmbuild commandline with: | |
4 | # rpmbuild --define 'variable value' | |
5 | # | |
6 | ||
1189075b | 7 | ####################### Quagga configure options ######################### |
8 | # with-feature options | |
9 | %{!?with_snmp: %define with_snmp 1 } | |
10 | %{!?with_vtysh: %define with_vtysh 1 } | |
11 | %{!?with_ospf_te: %define with_ospf_te 1 } | |
12 | %{!?with_nssa: %define with_nssa 1 } | |
13 | %{!?with_opaque_lsa: %define with_opaque_lsa 1 } | |
14 | %{!?with_tcp_zebra: %define with_tcp_zebra 0 } | |
15 | %{!?with_vtysh: %define with_vtysh 1 } | |
16 | %{!?with_pam: %define with_pam 1 } | |
17 | %{!?with_ipv6: %define with_ipv6 1 } | |
18 | %{!?with_ospfclient: %define with_ospfclient 1 } | |
19 | %{!?with_ospfapi: %define with_ospfapi 1 } | |
20 | %{!?with_irdp: %define with_irdp 1 } | |
21 | %{!?with_rtadv: %define with_rtadv 1 } | |
22 | %{!?with_isisd: %define with_isisd 1 } | |
f104b1d9 | 23 | %{!?with_pimd: %define with_pimd 1 } |
1189075b | 24 | %{!?with_shared: %define with_shared 1 } |
25 | %{!?with_multipath: %define with_multipath 64 } | |
26 | %{!?quagga_user: %define quagga_user quagga } | |
27 | %{!?vty_group: %define vty_group quaggavty } | |
30b9d89b | 28 | |
29 | # path defines | |
6bd8fd3b | 30 | %define _sysconfdir /etc/quagga |
8f754983 | 31 | %define zeb_src %{_builddir}/%{name}-%{version} |
32 | %define zeb_rh_src %{zeb_src}/redhat | |
33 | %define zeb_docs %{zeb_src}/doc | |
788cdc6d | 34 | |
e0626854 | 35 | # defines for configure |
6bd8fd3b | 36 | %define _libexecdir %{_exec_prefix}/libexec/quagga |
6bd8fd3b | 37 | %define _libdir %{_exec_prefix}/%{_lib}/quagga |
15d74e93 | 38 | %define _includedir %{_prefix}/include |
6bd8fd3b | 39 | %define _localstatedir /var/run/quagga |
1189075b | 40 | ############################################################################ |
41 | ||
42 | ####################### distro specific tweaks ############################# | |
2cb87162 AS |
43 | # default distro. Override with rpmbuild -D "dist XXX" |
44 | %{expand: %%define default_dist %(rpm -q --qf 'fc%%{VERSION}' fedora-release | grep -v 'not installed')} | |
1189075b | 45 | %{!?dist: %define dist %{default_dist}} |
46 | ||
47 | # as distros change packages we depend on, our Requires have to change, sadly. | |
f104b1d9 PJ |
48 | %define quagga_buildreqs texi2html texinfo autoconf pam-devel |
49 | %define quagga_buildreqs %{expand:%{quagga_buildreqs}} patch libcap-devel | |
1189075b | 50 | |
51 | # FC4 and 5 split texi2html out of tetex package. | |
f104b1d9 | 52 | %define quagga_buildreqs %{expand:%{quagga_buildreqs}} texi2html |
1189075b | 53 | |
f104b1d9 | 54 | # pam_stack was deprecated in FC5 |
1189075b | 55 | # default to pam_stack, default should be changed later. |
4768061a | 56 | %if "%dist" == "fc4" || "%dist" == "fc3" |
1189075b | 57 | %define quagga_pam_source quagga.pam.stack |
4768061a PJ |
58 | %else |
59 | %define quagga_pam_source quagga.pam | |
1189075b | 60 | %endif |
1189075b | 61 | |
f104b1d9 PJ |
62 | # man page probably needs groff for groff_ms macros |
63 | %define quagga_buildreqs %{expand:%{quagga_buildreqs}} groff | |
64 | ||
65 | ############################################################################ | |
e0626854 | 66 | |
15d74e93 | 67 | # misc internal defines |
b64d92a8 | 68 | %{!?quagga_uid: %define quagga_uid 92 } |
69 | %{!?quagga_gid: %define quagga_gid 92 } | |
54b25dca | 70 | %define daemon_list zebra ripd ospfd bgpd |
0df63b52 | 71 | |
54b25dca | 72 | %if %{with_ipv6} |
41d9cc6a | 73 | %define daemonv6_list ripngd ospf6d |
0df63b52 | 74 | %else |
75 | %define daemonv6_list "" | |
54b25dca | 76 | %endif |
0df63b52 | 77 | |
54b25dca | 78 | %if %{with_isisd} |
69f5d260 | 79 | %define daemon_other isisd |
80 | %else | |
81 | %define daemon_other "" | |
15d74e93 | 82 | %endif |
83 | ||
b3324e27 | 84 | %define all_daemons %{daemon_list} %{daemonv6_list} %{daemon_other} watchquagga |
85 | ||
b5f310cb | 86 | # allow build dir to be kept |
b64d92a8 | 87 | %{!?keep_build: %define keep_build 0 } |
b5f310cb | 88 | |
4859e20c | 89 | #release sub-revision (the two digits after the CONFDATE) |
90 | %{!?release_rev: %define release_rev 01 } | |
91 | ||
788cdc6d | 92 | Summary: Routing daemon |
6bd8fd3b | 93 | Name: quagga |
6382b6f8 | 94 | Version: @VERSION@ |
4859e20c | 95 | Release: @CONFDATE@%{release_rev} |
788cdc6d | 96 | License: GPL |
97 | Group: System Environment/Daemons | |
6bd8fd3b | 98 | Source0: http://www.quagga.net/snapshots/cvs/%{name}-%{version}.tar.gz |
99 | URL: http://www.quagga.net | |
54b25dca | 100 | %if %{with_snmp} |
b63cef7c | 101 | BuildRequires: net-snmp-devel |
fa75585d | 102 | Requires(pre): net-snmp |
788cdc6d | 103 | %endif |
54b25dca | 104 | %if %{with_vtysh} |
30b9d89b | 105 | BuildRequires: readline readline-devel ncurses ncurses-devel |
fa75585d | 106 | Requires(pre): ncurses |
d7ccae28 | 107 | %endif |
f104b1d9 | 108 | BuildRequires: %{quagga_buildreqs} |
788cdc6d | 109 | # Initscripts > 5.60 is required for IPv6 support |
fa75585d MOL |
110 | Requires(pre): initscripts >= 5.60 |
111 | Requires(pre): ncurses pam | |
112 | Requires(pre): /sbin/install-info | |
788cdc6d | 113 | Provides: routingdaemon |
114 | BuildRoot: %{_tmppath}/%{name}-%{version}-root | |
6bd8fd3b | 115 | Obsoletes: bird gated mrt zebra |
788cdc6d | 116 | |
117 | %description | |
6bd8fd3b | 118 | Quagga is a free software that manages TCP/IP based routing |
788cdc6d | 119 | protocol. It takes multi-server and multi-thread approach to resolve |
120 | the current complexity of the Internet. | |
121 | ||
6bd8fd3b | 122 | Quagga supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1, RIPv2, and RIPng. |
788cdc6d | 123 | |
6bd8fd3b | 124 | Quagga is intended to be used as a Route Server and a Route Reflector. It is |
125 | not a toolkit, it provides full routing power under a new architecture. | |
126 | Quagga by design has a process for each protocol. | |
127 | ||
128 | Quagga is a fork of GNU Zebra. | |
788cdc6d | 129 | |
448ed4a2 | 130 | %package contrib |
6bd8fd3b | 131 | Summary: contrib tools for quagga |
448ed4a2 | 132 | Group: System Environment/Daemons |
133 | ||
134 | %description contrib | |
6bd8fd3b | 135 | Contributed/3rd party tools which may be of use with quagga. |
448ed4a2 | 136 | |
e0626854 | 137 | %package devel |
6bd8fd3b | 138 | Summary: Header and object files for quagga development |
e0626854 | 139 | Group: System Environment/Daemons |
140 | ||
141 | %description devel | |
6bd8fd3b | 142 | The quagga-devel package contains the header and object files neccessary for |
143 | developing OSPF-API and quagga applications. | |
e0626854 | 144 | |
788cdc6d | 145 | %prep |
146 | %setup -q | |
788cdc6d | 147 | |
148 | %build | |
7966b97c | 149 | |
150 | # For standard gcc verbosity, uncomment these lines: | |
151 | #CFLAGS="%{optflags} -Wall -Wsign-compare -Wpointer-arith" | |
152 | #CFLAGS="${CFLAGS} -Wbad-function-cast -Wwrite-strings" | |
153 | ||
154 | # For ultra gcc verbosity, uncomment these lines also: | |
155 | #CFLAGS="${CFLAGS} -W -Wcast-qual -Wstrict-prototypes" | |
156 | #CFLAGS="${CFLAGS} -Wmissing-declarations -Wmissing-noreturn" | |
157 | #CFLAGS="${CFLAGS} -Wmissing-format-attribute -Wunreachable-code" | |
158 | #CFLAGS="${CFLAGS} -Wpacked -Wpadded" | |
159 | ||
788cdc6d | 160 | %configure \ |
54b25dca | 161 | %if !%{with_shared} |
162 | --disable-shared \ | |
163 | %endif | |
164 | %if %{with_ipv6} | |
788cdc6d | 165 | --enable-ipv6 \ |
166 | %endif | |
54b25dca | 167 | %if %{with_snmp} |
788cdc6d | 168 | --enable-snmp \ |
169 | %endif | |
54b25dca | 170 | %if %{with_multipath} |
171 | --enable-multipath=%{with_multipath} \ | |
788cdc6d | 172 | %endif |
54b25dca | 173 | %if %{with_tcp_zebra} |
788cdc6d | 174 | --enable-tcp-zebra \ |
175 | %endif | |
54b25dca | 176 | %if %{with_nssa} |
788cdc6d | 177 | --enable-nssa \ |
178 | %endif | |
54b25dca | 179 | %if %{with_opaque_lsa} |
788cdc6d | 180 | --enable-opaque-lsa \ |
181 | %endif | |
54b25dca | 182 | %if %{with_ospf_te} |
788cdc6d | 183 | --enable-ospf-te \ |
184 | %endif | |
54b25dca | 185 | %if %{with_vtysh} |
788cdc6d | 186 | --enable-vtysh \ |
187 | %endif | |
54b25dca | 188 | %if %{with_ospfclient} |
68980084 | 189 | --enable-ospfclient=yes \ |
190 | %else | |
191 | --enable-ospfclient=no\ | |
192 | %endif | |
54b25dca | 193 | %if %{with_ospfapi} |
68980084 | 194 | --enable-ospfapi=yes \ |
195 | %else | |
196 | --enable-ospfapi=no \ | |
197 | %endif | |
54b25dca | 198 | %if %{with_irdp} |
5b819262 | 199 | --enable-irdp=yes \ |
200 | %else | |
201 | --enable-irdp=no \ | |
202 | %endif | |
e7cd37bf | 203 | %if %{with_rtadv} |
204 | --enable-rtadv=yes \ | |
205 | %else | |
206 | --enable-rtadv=no \ | |
207 | %endif | |
54b25dca | 208 | %if %{with_isisd} |
209 | --enable-isisd \ | |
210 | %else | |
69f5d260 | 211 | --disable-isisd \ |
54b25dca | 212 | %endif |
213 | %if %{with_pam} | |
edd7c245 | 214 | --with-libpam \ |
788cdc6d | 215 | %endif |
6bd8fd3b | 216 | %if %quagga_user |
217 | --enable-user=%quagga_user \ | |
218 | --enable-group=%quagga_user \ | |
edd7c245 | 219 | %endif |
220 | %if %vty_group | |
221 | --enable-vty-group=%vty_group \ | |
222 | %endif | |
fc43ecc7 | 223 | --enable-netlink --enable-gcc-rdynamic |
788cdc6d | 224 | |
225 | make %{?_smp_mflags} MAKEINFO="makeinfo --no-split" | |
226 | ||
227 | pushd doc | |
f104b1d9 | 228 | texi2html --number-footnotes --number-sections quagga.texi |
788cdc6d | 229 | popd |
230 | ||
231 | %install | |
232 | rm -rf $RPM_BUILD_ROOT | |
233 | ||
234 | install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,logrotate.d,pam.d} \ | |
6bd8fd3b | 235 | $RPM_BUILD_ROOT/var/log/quagga $RPM_BUILD_ROOT%{_infodir} |
788cdc6d | 236 | |
237 | make install \ | |
238 | DESTDIR=$RPM_BUILD_ROOT | |
239 | ||
9a344b74 | 240 | # Remove this file, as it is uninstalled and causes errors when building on RH9 |
241 | rm -rf $RPM_BUILD_ROOT/usr/share/info/dir | |
242 | ||
15d74e93 | 243 | # install etc sources |
b3324e27 | 244 | for daemon in %{all_daemons} ; do |
da29c6b0 | 245 | if [ x"${daemon}" != x"" ] ; then |
246 | install %{zeb_rh_src}/${daemon}.init \ | |
247 | $RPM_BUILD_ROOT/etc/rc.d/init.d/${daemon} | |
248 | fi | |
15d74e93 | 249 | done |
1189075b | 250 | install -m644 %{zeb_rh_src}/%{quagga_pam_source} \ |
15d74e93 | 251 | $RPM_BUILD_ROOT/etc/pam.d/quagga |
252 | install -m644 %{zeb_rh_src}/quagga.logrotate \ | |
253 | $RPM_BUILD_ROOT/etc/logrotate.d/quagga | |
254 | install -m644 %{zeb_rh_src}/quagga.sysconfig \ | |
255 | $RPM_BUILD_ROOT/etc/sysconfig/quagga | |
6bd8fd3b | 256 | install -d -m750 $RPM_BUILD_ROOT/var/run/quagga |
edd7c245 | 257 | |
258 | %pre | |
259 | # add vty_group | |
260 | %if %vty_group | |
e7cd37bf | 261 | if getent group %vty_group > /dev/null ; then : ; else \ |
262 | /usr/sbin/groupadd -r %vty_group > /dev/null || : ; fi | |
edd7c245 | 263 | %endif |
e7cd37bf | 264 | |
6bd8fd3b | 265 | # add quagga user and group |
266 | %if %quagga_user | |
e7cd37bf | 267 | # Ensure that quagga_gid gets correctly allocated |
268 | if getent group %quagga_user >/dev/null; then : ; else \ | |
269 | /usr/sbin/groupadd -g %quagga_gid %quagga_user > /dev/null || : ; \ | |
270 | fi | |
271 | if getent passwd %quagga_user >/dev/null ; then : ; else \ | |
272 | /usr/sbin/useradd -u %quagga_uid -g %quagga_gid \ | |
273 | -M -r -s /sbin/nologin -c "Quagga routing suite" \ | |
274 | -d %_localstatedir %quagga_user 2> /dev/null || : ; \ | |
275 | fi | |
edd7c245 | 276 | %endif |
788cdc6d | 277 | |
788cdc6d | 278 | %post |
30b9d89b | 279 | # zebra_spec_add_service <service name> <port/proto> <comment> |
788cdc6d | 280 | # e.g. zebra_spec_add_service zebrasrv 2600/tcp "zebra service" |
281 | ||
282 | zebra_spec_add_service () | |
283 | { | |
284 | # Add port /etc/services entry if it isn't already there | |
6b637e96 | 285 | if [ -f /etc/services ] && \ |
286 | ! %__sed -e 's/#.*$//' /etc/services | %__grep -wq $1 ; then | |
788cdc6d | 287 | echo "$1 $2 # $3" >> /etc/services |
288 | fi | |
289 | } | |
290 | ||
291 | zebra_spec_add_service zebrasrv 2600/tcp "zebra service" | |
292 | zebra_spec_add_service zebra 2601/tcp "zebra vty" | |
293 | zebra_spec_add_service ripd 2602/tcp "RIPd vty" | |
54b25dca | 294 | %if %{with_ipv6} |
788cdc6d | 295 | zebra_spec_add_service ripngd 2603/tcp "RIPngd vty" |
d7ccae28 | 296 | %endif |
788cdc6d | 297 | zebra_spec_add_service ospfd 2604/tcp "OSPFd vty" |
298 | zebra_spec_add_service bgpd 2605/tcp "BGPd vty" | |
54b25dca | 299 | %if %{with_ipv6} |
788cdc6d | 300 | zebra_spec_add_service ospf6d 2606/tcp "OSPF6d vty" |
d7ccae28 | 301 | %endif |
54b25dca | 302 | %if %{with_ospfapi} |
7021c425 | 303 | zebra_spec_add_service ospfapi 2607/tcp "OSPF-API" |
304 | %endif | |
54b25dca | 305 | %if %{with_isisd} |
5a514b14 | 306 | zebra_spec_add_service isisd 2608/tcp "ISISd vty" |
54b25dca | 307 | %endif |
788cdc6d | 308 | |
15d74e93 | 309 | for daemon in %daemon_list ; do |
310 | /sbin/chkconfig --add ${daemon} | |
311 | done | |
788cdc6d | 312 | |
6bd8fd3b | 313 | /sbin/install-info %{_infodir}/quagga.info.gz %{_infodir}/dir |
788cdc6d | 314 | |
315 | # Create dummy files if they don't exist so basic functions can be used. | |
316 | if [ ! -e %{_sysconfdir}/zebra.conf ]; then | |
317 | echo "hostname `hostname`" > %{_sysconfdir}/zebra.conf | |
e7cd37bf | 318 | %if %{quagga_user} |
319 | chown %quagga_user:%quagga_user %{_sysconfdir}/zebra.conf | |
320 | %endif | |
788cdc6d | 321 | chmod 640 %{_sysconfdir}/zebra.conf |
322 | fi | |
323 | if [ ! -e %{_sysconfdir}/vtysh.conf ]; then | |
324 | touch %{_sysconfdir}/vtysh.conf | |
325 | chmod 640 %{_sysconfdir}/vtysh.conf | |
326 | fi | |
327 | ||
328 | %postun | |
fc43ecc7 | 329 | if [ "$1" -ge 1 ]; then |
330 | # Find out which daemons need to be restarted. | |
b3324e27 | 331 | for daemon in %all_daemons ; do |
fc43ecc7 | 332 | if [ -f /var/lock/subsys/$daemon ]; then |
333 | eval restart_$daemon=yes | |
334 | else | |
335 | eval restart_$daemon=no | |
336 | fi | |
15d74e93 | 337 | done |
fc43ecc7 | 338 | # Rename restart flags for daemons handled specially. |
339 | running_zebra="$restart_zebra" | |
340 | restart_zebra=no | |
341 | running_watchquagga="$restart_watchquagga" | |
342 | restart_watchquagga=no | |
343 | # Stop watchquagga first. | |
344 | [ "$running_watchquagga" = yes ] && \ | |
345 | /etc/rc.d/init.d/watchquagga stop >/dev/null 2>&1 | |
346 | # Stop all daemons other than zebra and watchquagga. | |
347 | for daemon in %all_daemons ; do | |
348 | eval restart=\$restart_${daemon} | |
349 | [ "$restart" = yes ] && \ | |
350 | /etc/rc.d/init.d/$daemon stop >/dev/null 2>&1 | |
351 | done | |
352 | # Restart zebra. | |
353 | [ "$running_zebra" = yes ] && \ | |
354 | /etc/rc.d/init.d/zebra restart >/dev/null 2>&1 | |
355 | # Start all daemons other than zebra and watchquagga. | |
356 | for daemon in %all_daemons ; do | |
357 | eval restart=\$restart_${daemon} | |
358 | [ "$restart" = yes ] && \ | |
359 | /etc/rc.d/init.d/$daemon start >/dev/null 2>&1 | |
360 | done | |
361 | # Start watchquagga last. | |
b854038b | 362 | # Avoid postun scriptlet error if watchquagga is not running. |
fc43ecc7 | 363 | [ "$running_watchquagga" = yes ] && \ |
b854038b | 364 | /etc/rc.d/init.d/watchquagga start >/dev/null 2>&1 || : |
788cdc6d | 365 | fi |
e7cd37bf | 366 | /sbin/install-info --delete %{_infodir}/quagga.info.gz %{_infodir}/dir |
788cdc6d | 367 | |
368 | %preun | |
369 | if [ "$1" = "0" ]; then | |
b3324e27 | 370 | for daemon in %all_daemons ; do |
15d74e93 | 371 | /etc/rc.d/init.d/${daemon} stop >/dev/null 2>&1 |
372 | /sbin/chkconfig --del ${daemon} | |
373 | done | |
374 | /sbin/install-info --delete %{_infodir}/quagga.info.gz %{_infodir}/dir | |
788cdc6d | 375 | fi |
376 | ||
377 | %clean | |
b5f310cb | 378 | %if !%{keep_build} |
379 | rm -rf $RPM_BUILD_ROOT | |
380 | %endif | |
788cdc6d | 381 | |
382 | %files | |
383 | %defattr(-,root,root) | |
448ed4a2 | 384 | %doc */*.sample* AUTHORS COPYING |
6bd8fd3b | 385 | %doc doc/quagga.html |
30b9d89b | 386 | %doc doc/mpls |
8f754983 | 387 | %doc ChangeLog INSTALL NEWS README REPORTING-BUGS SERVICES TODO |
54b25dca | 388 | %if %{quagga_user} |
6bd8fd3b | 389 | %dir %attr(751,%quagga_user,%quagga_user) %{_sysconfdir} |
390 | %dir %attr(750,%quagga_user,%quagga_user) /var/log/quagga | |
391 | %dir %attr(751,%quagga_user,%quagga_user) /var/run/quagga | |
edd7c245 | 392 | %else |
788cdc6d | 393 | %dir %attr(750,root,root) %{_sysconfdir} |
6bd8fd3b | 394 | %dir %attr(750,root,root) /var/log/quagga |
788cdc6d | 395 | %dir %attr(755,root,root) /usr/share/info |
6bd8fd3b | 396 | %dir %attr(750,root,root) /var/run/quagga |
edd7c245 | 397 | %endif |
54b25dca | 398 | %if %{vty_group} |
6bd8fd3b | 399 | %attr(750,%quagga_user,%vty_group) %{_sysconfdir}/vtysh.conf.sample |
edd7c245 | 400 | %endif |
788cdc6d | 401 | %{_infodir}/*info* |
402 | %{_mandir}/man*/* | |
54b25dca | 403 | %{_sbindir}/zebra |
404 | %{_sbindir}/ospfd | |
405 | %{_sbindir}/ripd | |
406 | %{_sbindir}/bgpd | |
b3324e27 | 407 | %{_sbindir}/watchquagga |
54b25dca | 408 | %if %{with_ipv6} |
409 | %{_sbindir}/ripngd | |
410 | %{_sbindir}/ospf6d | |
411 | %endif | |
412 | %if %{with_isisd} | |
413 | %{_sbindir}/isisd | |
414 | %endif | |
cfc1842b | 415 | %dir %attr(755,root,root) %{_libdir} |
28f79728 | 416 | %if %{with_shared} |
e7cd37bf | 417 | %dir %{_libdir} |
2ff9e826 | 418 | %{_libdir}/lib*.so |
419 | %{_libdir}/lib*.so.* | |
54b25dca | 420 | %endif |
421 | %if %{with_vtysh} | |
788cdc6d | 422 | %{_bindir}/* |
d7ccae28 | 423 | %endif |
6bd8fd3b | 424 | %config /etc/quagga/[!v]* |
788cdc6d | 425 | %config /etc/rc.d/init.d/* |
15d74e93 | 426 | %config(noreplace) /etc/sysconfig/quagga |
6bd8fd3b | 427 | %config(noreplace) /etc/pam.d/quagga |
788cdc6d | 428 | %config(noreplace) %attr(640,root,root) /etc/logrotate.d/* |
429 | ||
448ed4a2 | 430 | %files contrib |
431 | %defattr(-,root,root) | |
432 | %doc tools | |
433 | ||
e0626854 | 434 | %files devel |
435 | %defattr(-,root,root) | |
da29c6b0 | 436 | %if %{with_ospfclient} |
437 | %{_sbindir}/ospfclient | |
438 | %endif | |
28f79728 | 439 | %{_libdir}/*.a |
440 | %{_libdir}/*.la | |
cfc1842b | 441 | %dir %attr(755,root,root) %{_includedir}/%{name} |
28f79728 | 442 | %{_includedir}/%name/*.h |
cfc1842b | 443 | %dir %attr(755,root,root) %{_includedir}/%{name}/ospfd |
28f79728 | 444 | %{_includedir}/%name/ospfd/*.h |
54b25dca | 445 | %if %{with_ospfapi} |
cfc1842b | 446 | %dir %attr(755,root,root) %{_includedir}/%{name}/ospfapi |
28f79728 | 447 | %{_includedir}/%name/ospfapi/*.h |
68980084 | 448 | %endif |
e0626854 | 449 | |
788cdc6d | 450 | %changelog |
f104b1d9 PJ |
451 | * Fri Sep 4 2015 Paul Jakma <paul@jakma.org> - %{version} |
452 | - buildreq updates | |
453 | - add a default define for with_pimd | |
454 | ||
e7cd37bf | 455 | * Thu Sep 12 2005 Paul Jakma <paul@dishone.st> |
456 | - Steal some changes from Fedora spec file: | |
457 | - Add with_rtadv variable | |
458 | - Test for groups/users with getent before group/user adding | |
459 | - Readline need not be an explicit prerequisite | |
460 | - install-info delete should be postun, not preun | |
461 | ||
fc43ecc7 | 462 | * Wed Jan 12 2005 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
463 | - on package upgrade, implement careful, phased restart logic | |
464 | - use gcc -rdynamic flag when linking for better backtraces | |
465 | ||
f3931751 | 466 | * Wed Dec 22 2004 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
467 | - daemonv6_list should contain only IPv6 daemons | |
468 | ||
b3324e27 | 469 | * Wed Dec 22 2004 Andrew J. Schorr <ajschorr@alumni.princeton.edu> |
470 | - watchquagga added | |
471 | - on upgrade, all daemons should be condrestart'ed | |
472 | - on removal, all daemons should be stopped | |
473 | ||
36002ae5 | 474 | * Mon Nov 08 2004 Paul Jakma <paul@dishone.st> |
475 | - Use makeinfo --html to generate quagga.html | |
476 | ||
0df63b52 | 477 | * Sun Nov 07 2004 Paul Jakma <paul@dishone.st> |
478 | - Fix with_ipv6 set to 0 build | |
479 | ||
cfc1842b | 480 | * Sat Oct 23 2004 Paul Jakma <paul@dishone.st> |
481 | - Update to 0.97.2 | |
482 | ||
483 | * Sat Oct 23 2004 Andrew J. Schorr <aschorr@telemetry-investments.com> | |
484 | - Make directories be owned by the packages concerned | |
485 | - Update logrotate scripts to use correct path to killall and use pid files | |
486 | ||
da29c6b0 | 487 | * Fri Oct 08 2004 Paul Jakma <paul@dishone.st> |
488 | - Update to 0.97.0 | |
489 | ||
54b25dca | 490 | * Wed Sep 15 2004 Paul Jakma <paul@dishone.st> |
491 | - build snmp support by default | |
492 | - build irdp support | |
493 | - build with shared libs | |
494 | - devel subpackage for archives and headers | |
495 | ||
00bc5603 | 496 | * Thu Jan 08 2004 Paul Jakma <paul@dishone.st> |
497 | - updated sysconfig files to specify local dir | |
498 | - added ospf_dump.c crash quick fix patch | |
499 | - added ospfd persistent interface configuration patch | |
500 | ||
15d74e93 | 501 | * Tue Dec 30 2003 Paul Jakma <paul@dishone.st> |
502 | - sync to CVS | |
503 | - integrate RH sysconfig patch to specify daemon options (RH) | |
504 | - default to have vty listen only to 127.1 (RH) | |
505 | - add user with fixed UID/GID (RH) | |
506 | - create user with shell /sbin/nologin rather than /bin/false (RH) | |
507 | - stop daemons on uninstall (RH) | |
508 | - delete info file on %preun, not %postun to avoid deletion on upgrade. (RH) | |
509 | - isisd added | |
510 | - cleanup tasks carried out for every daemon | |
511 | ||
406f7000 | 512 | * Sun Nov 2 2003 Paul Jakma <paul@dishone.st> |
513 | - Fix -devel package to include all files | |
514 | - Sync to 0.96.4 | |
515 | ||
6bd8fd3b | 516 | * Tue Aug 12 2003 Paul Jakma <paul@dishone.st> |
517 | - Renamed to Quagga | |
518 | - Sync to Quagga release 0.96 | |
519 | ||
edd7c245 | 520 | * Tue Mar 20 2003 Paul Jakma <paul@dishone.st> |
521 | - zebra privileges support | |
522 | ||
e0626854 | 523 | * Mon Mar 18 2003 Paul Jakma <paul@dishone.st> |
524 | - Fix mem leak in 'show thread cpu' | |
525 | - Ralph Keller's OSPF-API | |
526 | - Amir: Fix configure.ac for net-snmp | |
527 | ||
448ed4a2 | 528 | * Sat Mar 1 2003 Paul Jakma <paul@dishone.st> |
529 | - ospfd IOS prefix to interface matching for 'network' statement | |
530 | - temporary fix for PtP and IPv6 | |
531 | - sync to zebra.org CVS | |
532 | ||
8f754983 | 533 | * Mon Jan 20 2003 Paul Jakma <paul@dishone.st> |
534 | - update to latest cvs | |
535 | - Yon's "show thread cpu" patch - 17217 | |
536 | - walk up tree - 17218 | |
537 | - ospfd NSSA fixes - 16681 | |
538 | - ospfd nsm fixes - 16824 | |
539 | - ospfd OLSA fixes and new feature - 16823 | |
540 | - KAME and ifindex fixes - 16525 | |
541 | - spec file changes to allow redhat files to be in tree | |
542 | ||
d7ccae28 | 543 | * Sat Dec 28 2002 Alexander Hoogerhuis <alexh@ihatent.com> |
544 | - Added conditionals for building with(out) IPv6, vtysh, RIP, BGP | |
545 | - Fixed up some build requirements (patch) | |
546 | - Added conditional build requirements for vtysh / snmp | |
547 | - Added conditional to %files for %_bindir depending on vtysh | |
548 | ||
788cdc6d | 549 | * Mon Nov 11 2002 Paul Jakma <paulj@alphyra.ie> |
550 | - update to latest CVS | |
551 | - add Greg Troxel's md5 buffer copy/dup fix | |
552 | - add RIPv1 fix | |
553 | - add Frank's multicast flag fix | |
554 | ||
555 | * Wed Oct 09 2002 Paul Jakma <paulj@alphyra.ie> | |
556 | - update to latest CVS | |
557 | - timestamped crypt_seqnum patch | |
558 | - oi->on_write_q fix | |
559 | ||
560 | * Mon Sep 30 2002 Paul Jakma <paulj@alphyra.ie> | |
561 | - update to latest CVS | |
562 | - add vtysh 'write-config (integrated|daemon)' patch | |
563 | - always 'make rebuild' in vtysh/ to catch new commands | |
564 | ||
565 | * Fri Sep 13 2002 Paul Jakma <paulj@alphyra.ie> | |
566 | - update to 0.93b | |
567 | ||
568 | * Wed Sep 11 2002 Paul Jakma <paulj@alphyra.ie> | |
569 | - update to latest CVS | |
570 | - add "/sbin/ip route flush proto zebra" to zebra RH init on startup | |
571 | ||
572 | * Sat Aug 24 2002 Paul Jakma <paulj@alphyra.ie> | |
573 | - update to current CVS | |
574 | - add OSPF point to multipoint patch | |
575 | - add OSPF bugfixes | |
576 | - add BGP hash optimisation patch | |
577 | ||
578 | * Fri Jun 14 2002 Paul Jakma <paulj@alphyra.ie> | |
579 | - update to 0.93-pre1 / CVS | |
580 | - add link state detection support | |
581 | - add generic PtP and RFC3021 support | |
582 | - various bug fixes | |
583 | ||
584 | * Thu Aug 09 2001 Elliot Lee <sopwith@redhat.com> 0.91a-6 | |
585 | - Fix bug #51336 | |
586 | ||
587 |