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