paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame] | 1 | # configure options |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 2 | %define with_snmp 0 |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 3 | %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 |
paul | 55ea381 | 2003-04-07 08:14:11 +0000 | [diff] [blame] | 11 | %define with_ospfclient 1 |
| 12 | %define with_ospfapi 1 |
paul | 8f75498 | 2003-01-20 04:55:51 +0000 | [diff] [blame] | 13 | %define with_multipath 64 |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 14 | %define quagga_user quagga |
paul | 45315b5 | 2003-08-14 05:23:50 +0000 | [diff] [blame] | 15 | %define vty_group quaggavty |
paul | 30b9d89 | 2003-01-18 22:57:15 +0000 | [diff] [blame] | 16 | |
| 17 | # path defines |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 18 | %define _sysconfdir /etc/quagga |
paul | 8f75498 | 2003-01-20 04:55:51 +0000 | [diff] [blame] | 19 | %define zeb_src %{_builddir}/%{name}-%{version} |
| 20 | %define zeb_rh_src %{zeb_src}/redhat |
| 21 | %define zeb_docs %{zeb_src}/doc |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 22 | |
paul | e062685 | 2003-03-18 14:11:36 +0000 | [diff] [blame] | 23 | # defines for configure |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 24 | %define _libexecdir %{_exec_prefix}/libexec/quagga |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 25 | %define _libdir %{_exec_prefix}/%{_lib}/quagga |
paul | 15d74e9 | 2003-12-30 11:16:21 +0000 | [diff] [blame] | 26 | %define _includedir %{_prefix}/include |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 27 | %define _localstatedir /var/run/quagga |
paul | e062685 | 2003-03-18 14:11:36 +0000 | [diff] [blame] | 28 | |
paul | 15d74e9 | 2003-12-30 11:16:21 +0000 | [diff] [blame] | 29 | # misc internal defines |
| 30 | %define quagga_uid 92 |
| 31 | %define quagga_gid 92 |
| 32 | %if %with_ipv6 |
| 33 | %define daemon_list zebra ripd isisd ospfd ripngd ospf6d bgpd |
| 34 | %else |
| 35 | %define daemon_list zebra ripd isisd ospfd bgpd |
| 36 | %endif |
| 37 | |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 38 | Summary: Routing daemon |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 39 | Name: quagga |
paul | 6382b6f | 2003-05-20 00:17:45 +0000 | [diff] [blame] | 40 | Version: @VERSION@ |
paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame] | 41 | Release: @CONFDATE@01 |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 42 | License: GPL |
| 43 | Group: System Environment/Daemons |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 44 | Source0: http://www.quagga.net/snapshots/cvs/%{name}-%{version}.tar.gz |
| 45 | URL: http://www.quagga.net |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 46 | %if %with_snmp |
paul | 15d74e9 | 2003-12-30 11:16:21 +0000 | [diff] [blame] | 47 | BuildRequires: ucd-snmp-devel |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 48 | Prereq: ucd-snmp |
| 49 | %endif |
paul | d7ccae2 | 2003-01-18 00:24:00 +0000 | [diff] [blame] | 50 | %if %with_vtysh |
paul | 30b9d89 | 2003-01-18 22:57:15 +0000 | [diff] [blame] | 51 | BuildRequires: readline readline-devel ncurses ncurses-devel |
paul | d7ccae2 | 2003-01-18 00:24:00 +0000 | [diff] [blame] | 52 | Prereq: readline ncurses |
| 53 | %endif |
paul | 15d74e9 | 2003-12-30 11:16:21 +0000 | [diff] [blame] | 54 | BuildRequires: texinfo tetex autoconf pam-devel patch libcap-devel |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 55 | # Initscripts > 5.60 is required for IPv6 support |
paul | 30b9d89 | 2003-01-18 22:57:15 +0000 | [diff] [blame] | 56 | Prereq: initscripts >= 5.60 |
paul | 45315b5 | 2003-08-14 05:23:50 +0000 | [diff] [blame] | 57 | Prereq: ncurses readline pam |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 58 | Prereq: /sbin/install-info |
| 59 | Provides: routingdaemon |
| 60 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 61 | Obsoletes: bird gated mrt zebra |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 62 | |
| 63 | %description |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 64 | Quagga is a free software that manages TCP/IP based routing |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 65 | protocol. It takes multi-server and multi-thread approach to resolve |
| 66 | the current complexity of the Internet. |
| 67 | |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 68 | Quagga supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1, RIPv2, and RIPng. |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 69 | |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 70 | Quagga is intended to be used as a Route Server and a Route Reflector. It is |
| 71 | not a toolkit, it provides full routing power under a new architecture. |
| 72 | Quagga by design has a process for each protocol. |
| 73 | |
| 74 | Quagga is a fork of GNU Zebra. |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 75 | |
paul | 448ed4a | 2003-03-01 15:43:28 +0000 | [diff] [blame] | 76 | %package contrib |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 77 | Summary: contrib tools for quagga |
paul | 448ed4a | 2003-03-01 15:43:28 +0000 | [diff] [blame] | 78 | Group: System Environment/Daemons |
| 79 | |
| 80 | %description contrib |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 81 | Contributed/3rd party tools which may be of use with quagga. |
paul | 448ed4a | 2003-03-01 15:43:28 +0000 | [diff] [blame] | 82 | |
paul | e062685 | 2003-03-18 14:11:36 +0000 | [diff] [blame] | 83 | %package devel |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 84 | Summary: Header and object files for quagga development |
paul | e062685 | 2003-03-18 14:11:36 +0000 | [diff] [blame] | 85 | Group: System Environment/Daemons |
| 86 | |
| 87 | %description devel |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 88 | The quagga-devel package contains the header and object files neccessary for |
| 89 | developing OSPF-API and quagga applications. |
paul | e062685 | 2003-03-18 14:11:36 +0000 | [diff] [blame] | 90 | |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 91 | %prep |
| 92 | %setup -q |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 93 | |
| 94 | %build |
| 95 | %configure \ |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 96 | %if %with_ipv6 |
| 97 | --enable-ipv6 \ |
| 98 | %endif |
| 99 | %if %with_snmp |
| 100 | --enable-snmp \ |
| 101 | %endif |
| 102 | %if %with_multipath |
| 103 | --enable-multipath=%with_multipath \ |
| 104 | %endif |
| 105 | %if %with_tcp_zebra |
| 106 | --enable-tcp-zebra \ |
| 107 | %endif |
| 108 | %if %with_nssa |
| 109 | --enable-nssa \ |
| 110 | %endif |
| 111 | %if %with_opaque_lsa |
| 112 | --enable-opaque-lsa \ |
| 113 | %endif |
| 114 | %if %with_ospf_te |
| 115 | --enable-ospf-te \ |
| 116 | %endif |
| 117 | %if %with_vtysh |
| 118 | --enable-vtysh \ |
| 119 | %endif |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 120 | %if %with_ospfclient |
| 121 | --enable-ospfclient=yes \ |
| 122 | %else |
| 123 | --enable-ospfclient=no\ |
| 124 | %endif |
| 125 | %if %with_ospfapi |
| 126 | --enable-ospfapi=yes \ |
| 127 | %else |
| 128 | --enable-ospfapi=no \ |
| 129 | %endif |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 130 | %if %with_pam |
paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame] | 131 | --with-libpam \ |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 132 | %endif |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 133 | %if %quagga_user |
| 134 | --enable-user=%quagga_user \ |
| 135 | --enable-group=%quagga_user \ |
paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame] | 136 | %endif |
| 137 | %if %vty_group |
| 138 | --enable-vty-group=%vty_group \ |
| 139 | %endif |
paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame] | 140 | --enable-netlink |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 141 | |
| 142 | make %{?_smp_mflags} MAKEINFO="makeinfo --no-split" |
| 143 | |
| 144 | pushd doc |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 145 | texi2html quagga.texi |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 146 | popd |
| 147 | |
| 148 | %install |
| 149 | rm -rf $RPM_BUILD_ROOT |
| 150 | |
| 151 | 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] | 152 | $RPM_BUILD_ROOT/var/log/quagga $RPM_BUILD_ROOT%{_infodir} |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 153 | |
| 154 | make install \ |
| 155 | DESTDIR=$RPM_BUILD_ROOT |
| 156 | |
paul | 9a344b7 | 2003-08-05 23:24:58 +0000 | [diff] [blame] | 157 | # Remove this file, as it is uninstalled and causes errors when building on RH9 |
| 158 | rm -rf $RPM_BUILD_ROOT/usr/share/info/dir |
| 159 | |
paul | 15d74e9 | 2003-12-30 11:16:21 +0000 | [diff] [blame] | 160 | # install etc sources |
| 161 | for daemon in %daemon_list ; do |
| 162 | install %{zeb_rh_src}/${daemon}.init \ |
| 163 | $RPM_BUILD_ROOT/etc/rc.d/init.d/${daemon} |
| 164 | done |
| 165 | install -m644 %{zeb_rh_src}/quagga.pam \ |
| 166 | $RPM_BUILD_ROOT/etc/pam.d/quagga |
| 167 | install -m644 %{zeb_rh_src}/quagga.logrotate \ |
| 168 | $RPM_BUILD_ROOT/etc/logrotate.d/quagga |
| 169 | install -m644 %{zeb_rh_src}/quagga.sysconfig \ |
| 170 | $RPM_BUILD_ROOT/etc/sysconfig/quagga |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 171 | install -d -m750 $RPM_BUILD_ROOT/var/run/quagga |
paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame] | 172 | |
| 173 | %pre |
| 174 | # add vty_group |
| 175 | %if %vty_group |
| 176 | groupadd -r %vty_group 2> /dev/null || : |
| 177 | %endif |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 178 | # add quagga user and group |
| 179 | %if %quagga_user |
paul | 15d74e9 | 2003-12-30 11:16:21 +0000 | [diff] [blame] | 180 | /usr/sbin/groupadd -g %quagga_gid quagga 2> /dev/null || : |
| 181 | /usr/sbin/useradd -u %quagga_uid -g %quagga_gid \ |
| 182 | -M -r -s /sbin/nologin -c "Quagga routing suite" \ |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 183 | -d %_localstatedir %quagga_user 2> /dev/null || : |
paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame] | 184 | %endif |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 185 | |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 186 | %post |
paul | 30b9d89 | 2003-01-18 22:57:15 +0000 | [diff] [blame] | 187 | # zebra_spec_add_service <service name> <port/proto> <comment> |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 188 | # e.g. zebra_spec_add_service zebrasrv 2600/tcp "zebra service" |
| 189 | |
| 190 | zebra_spec_add_service () |
| 191 | { |
| 192 | # Add port /etc/services entry if it isn't already there |
| 193 | if [ -f /etc/services ] && ! grep -q "^$1[^a-zA-Z0-9]" /etc/services ; then |
| 194 | echo "$1 $2 # $3" >> /etc/services |
| 195 | fi |
| 196 | } |
| 197 | |
| 198 | zebra_spec_add_service zebrasrv 2600/tcp "zebra service" |
| 199 | zebra_spec_add_service zebra 2601/tcp "zebra vty" |
| 200 | zebra_spec_add_service ripd 2602/tcp "RIPd vty" |
paul | d7ccae2 | 2003-01-18 00:24:00 +0000 | [diff] [blame] | 201 | %if %with_ipv6 |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 202 | zebra_spec_add_service ripngd 2603/tcp "RIPngd vty" |
paul | d7ccae2 | 2003-01-18 00:24:00 +0000 | [diff] [blame] | 203 | %endif |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 204 | zebra_spec_add_service ospfd 2604/tcp "OSPFd vty" |
| 205 | zebra_spec_add_service bgpd 2605/tcp "BGPd vty" |
paul | d7ccae2 | 2003-01-18 00:24:00 +0000 | [diff] [blame] | 206 | %if %with_ipv6 |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 207 | zebra_spec_add_service ospf6d 2606/tcp "OSPF6d vty" |
paul | d7ccae2 | 2003-01-18 00:24:00 +0000 | [diff] [blame] | 208 | %endif |
paul | 7021c42 | 2003-07-15 12:52:22 +0000 | [diff] [blame] | 209 | %if %with_ospfapi |
| 210 | zebra_spec_add_service ospfapi 2607/tcp "OSPF-API" |
| 211 | %endif |
jardin | 5a514b1 | 2003-12-23 10:50:21 +0000 | [diff] [blame] | 212 | zebra_spec_add_service isisd 2608/tcp "ISISd vty" |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 213 | |
paul | 15d74e9 | 2003-12-30 11:16:21 +0000 | [diff] [blame] | 214 | for daemon in %daemon_list ; do |
| 215 | /sbin/chkconfig --add ${daemon} |
| 216 | done |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 217 | |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 218 | /sbin/install-info %{_infodir}/quagga.info.gz %{_infodir}/dir |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 219 | |
| 220 | # Create dummy files if they don't exist so basic functions can be used. |
| 221 | if [ ! -e %{_sysconfdir}/zebra.conf ]; then |
| 222 | echo "hostname `hostname`" > %{_sysconfdir}/zebra.conf |
| 223 | chmod 640 %{_sysconfdir}/zebra.conf |
| 224 | fi |
| 225 | if [ ! -e %{_sysconfdir}/vtysh.conf ]; then |
| 226 | touch %{_sysconfdir}/vtysh.conf |
| 227 | chmod 640 %{_sysconfdir}/vtysh.conf |
| 228 | fi |
| 229 | |
| 230 | %postun |
| 231 | if [ "$1" -ge "1" ]; then |
paul | 15d74e9 | 2003-12-30 11:16:21 +0000 | [diff] [blame] | 232 | for daemon in %daemon_list ; do |
| 233 | /etc/rc.d/init.d/${daemon} condrestart >/dev/null 2>&1 |
| 234 | done |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 235 | fi |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 236 | |
| 237 | %preun |
| 238 | if [ "$1" = "0" ]; then |
paul | 15d74e9 | 2003-12-30 11:16:21 +0000 | [diff] [blame] | 239 | for daemon in %daemon_list ; do |
| 240 | /etc/rc.d/init.d/${daemon} stop >/dev/null 2>&1 |
| 241 | /sbin/chkconfig --del ${daemon} |
| 242 | done |
| 243 | /sbin/install-info --delete %{_infodir}/quagga.info.gz %{_infodir}/dir |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 244 | fi |
| 245 | |
| 246 | %clean |
| 247 | #rm -rf $RPM_BUILD_ROOT |
| 248 | |
| 249 | %files |
| 250 | %defattr(-,root,root) |
paul | 448ed4a | 2003-03-01 15:43:28 +0000 | [diff] [blame] | 251 | %doc */*.sample* AUTHORS COPYING |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 252 | %doc doc/quagga.html |
paul | 30b9d89 | 2003-01-18 22:57:15 +0000 | [diff] [blame] | 253 | %doc doc/mpls |
paul | 8f75498 | 2003-01-20 04:55:51 +0000 | [diff] [blame] | 254 | %doc ChangeLog INSTALL NEWS README REPORTING-BUGS SERVICES TODO |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 255 | %if %quagga_user |
| 256 | %dir %attr(751,%quagga_user,%quagga_user) %{_sysconfdir} |
| 257 | %dir %attr(750,%quagga_user,%quagga_user) /var/log/quagga |
| 258 | %dir %attr(751,%quagga_user,%quagga_user) /var/run/quagga |
paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame] | 259 | %else |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 260 | %dir %attr(750,root,root) %{_sysconfdir} |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 261 | %dir %attr(750,root,root) /var/log/quagga |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 262 | %dir %attr(755,root,root) /usr/share/info |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 263 | %dir %attr(750,root,root) /var/run/quagga |
paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame] | 264 | %endif |
| 265 | %if %vty_group |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 266 | %attr(750,%quagga_user,%vty_group) %{_sysconfdir}/vtysh.conf.sample |
paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame] | 267 | %endif |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 268 | %{_infodir}/*info* |
| 269 | %{_mandir}/man*/* |
| 270 | %{_sbindir}/* |
paul | d7ccae2 | 2003-01-18 00:24:00 +0000 | [diff] [blame] | 271 | %if %with_vtysh |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 272 | %{_bindir}/* |
paul | d7ccae2 | 2003-01-18 00:24:00 +0000 | [diff] [blame] | 273 | %endif |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 274 | %config /etc/quagga/[!v]* |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 275 | %config /etc/rc.d/init.d/* |
paul | 15d74e9 | 2003-12-30 11:16:21 +0000 | [diff] [blame] | 276 | %config(noreplace) /etc/sysconfig/quagga |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 277 | %config(noreplace) /etc/pam.d/quagga |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 278 | %config(noreplace) %attr(640,root,root) /etc/logrotate.d/* |
| 279 | |
paul | 448ed4a | 2003-03-01 15:43:28 +0000 | [diff] [blame] | 280 | %files contrib |
| 281 | %defattr(-,root,root) |
| 282 | %doc tools |
| 283 | |
paul | e062685 | 2003-03-18 14:11:36 +0000 | [diff] [blame] | 284 | %files devel |
| 285 | %defattr(-,root,root) |
| 286 | %dir %{_libdir}/* |
paul | 15d74e9 | 2003-12-30 11:16:21 +0000 | [diff] [blame] | 287 | %dir %{_includedir}/%name/*.h |
| 288 | %dir %{_includedir}/%name/ospfd/*.h |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 289 | %if %with_ospfapi |
paul | 15d74e9 | 2003-12-30 11:16:21 +0000 | [diff] [blame] | 290 | %dir %{_includedir}/%name/ospfapi/*.h |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 291 | %endif |
paul | e062685 | 2003-03-18 14:11:36 +0000 | [diff] [blame] | 292 | |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 293 | %changelog |
paul | 15d74e9 | 2003-12-30 11:16:21 +0000 | [diff] [blame] | 294 | %changelog |
| 295 | * Tue Dec 30 2003 Paul Jakma <paul@dishone.st> |
| 296 | - sync to CVS |
| 297 | - integrate RH sysconfig patch to specify daemon options (RH) |
| 298 | - default to have vty listen only to 127.1 (RH) |
| 299 | - add user with fixed UID/GID (RH) |
| 300 | - create user with shell /sbin/nologin rather than /bin/false (RH) |
| 301 | - stop daemons on uninstall (RH) |
| 302 | - delete info file on %preun, not %postun to avoid deletion on upgrade. (RH) |
| 303 | - isisd added |
| 304 | - cleanup tasks carried out for every daemon |
| 305 | |
paul | 406f700 | 2003-11-02 07:30:52 +0000 | [diff] [blame] | 306 | * Sun Nov 2 2003 Paul Jakma <paul@dishone.st> |
| 307 | - Fix -devel package to include all files |
| 308 | - Sync to 0.96.4 |
| 309 | |
paul | 6bd8fd3 | 2003-08-12 12:54:13 +0000 | [diff] [blame] | 310 | * Tue Aug 12 2003 Paul Jakma <paul@dishone.st> |
| 311 | - Renamed to Quagga |
| 312 | - Sync to Quagga release 0.96 |
| 313 | |
paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame] | 314 | * Tue Mar 20 2003 Paul Jakma <paul@dishone.st> |
| 315 | - zebra privileges support |
| 316 | |
paul | e062685 | 2003-03-18 14:11:36 +0000 | [diff] [blame] | 317 | * Mon Mar 18 2003 Paul Jakma <paul@dishone.st> |
| 318 | - Fix mem leak in 'show thread cpu' |
| 319 | - Ralph Keller's OSPF-API |
| 320 | - Amir: Fix configure.ac for net-snmp |
| 321 | |
paul | 448ed4a | 2003-03-01 15:43:28 +0000 | [diff] [blame] | 322 | * Sat Mar 1 2003 Paul Jakma <paul@dishone.st> |
| 323 | - ospfd IOS prefix to interface matching for 'network' statement |
| 324 | - temporary fix for PtP and IPv6 |
| 325 | - sync to zebra.org CVS |
| 326 | |
paul | 8f75498 | 2003-01-20 04:55:51 +0000 | [diff] [blame] | 327 | * Mon Jan 20 2003 Paul Jakma <paul@dishone.st> |
| 328 | - update to latest cvs |
| 329 | - Yon's "show thread cpu" patch - 17217 |
| 330 | - walk up tree - 17218 |
| 331 | - ospfd NSSA fixes - 16681 |
| 332 | - ospfd nsm fixes - 16824 |
| 333 | - ospfd OLSA fixes and new feature - 16823 |
| 334 | - KAME and ifindex fixes - 16525 |
| 335 | - spec file changes to allow redhat files to be in tree |
| 336 | |
paul | d7ccae2 | 2003-01-18 00:24:00 +0000 | [diff] [blame] | 337 | * Sat Dec 28 2002 Alexander Hoogerhuis <alexh@ihatent.com> |
| 338 | - Added conditionals for building with(out) IPv6, vtysh, RIP, BGP |
| 339 | - Fixed up some build requirements (patch) |
| 340 | - Added conditional build requirements for vtysh / snmp |
| 341 | - Added conditional to %files for %_bindir depending on vtysh |
| 342 | |
paul | 788cdc6 | 2003-01-18 00:22:08 +0000 | [diff] [blame] | 343 | * Mon Nov 11 2002 Paul Jakma <paulj@alphyra.ie> |
| 344 | - update to latest CVS |
| 345 | - add Greg Troxel's md5 buffer copy/dup fix |
| 346 | - add RIPv1 fix |
| 347 | - add Frank's multicast flag fix |
| 348 | |
| 349 | * Wed Oct 09 2002 Paul Jakma <paulj@alphyra.ie> |
| 350 | - update to latest CVS |
| 351 | - timestamped crypt_seqnum patch |
| 352 | - oi->on_write_q fix |
| 353 | |
| 354 | * Mon Sep 30 2002 Paul Jakma <paulj@alphyra.ie> |
| 355 | - update to latest CVS |
| 356 | - add vtysh 'write-config (integrated|daemon)' patch |
| 357 | - always 'make rebuild' in vtysh/ to catch new commands |
| 358 | |
| 359 | * Fri Sep 13 2002 Paul Jakma <paulj@alphyra.ie> |
| 360 | - update to 0.93b |
| 361 | |
| 362 | * Wed Sep 11 2002 Paul Jakma <paulj@alphyra.ie> |
| 363 | - update to latest CVS |
| 364 | - add "/sbin/ip route flush proto zebra" to zebra RH init on startup |
| 365 | |
| 366 | * Sat Aug 24 2002 Paul Jakma <paulj@alphyra.ie> |
| 367 | - update to current CVS |
| 368 | - add OSPF point to multipoint patch |
| 369 | - add OSPF bugfixes |
| 370 | - add BGP hash optimisation patch |
| 371 | |
| 372 | * Fri Jun 14 2002 Paul Jakma <paulj@alphyra.ie> |
| 373 | - update to 0.93-pre1 / CVS |
| 374 | - add link state detection support |
| 375 | - add generic PtP and RFC3021 support |
| 376 | - various bug fixes |
| 377 | |
| 378 | * Thu Aug 09 2001 Elliot Lee <sopwith@redhat.com> 0.91a-6 |
| 379 | - Fix bug #51336 |
| 380 | |
| 381 | * Wed Aug 1 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.91a-5 |
| 382 | - Use generic initscript strings instead of initscript specific |
| 383 | ( "Starting foo: " -> "Starting $prog:" ) |
| 384 | |
| 385 | * Fri Jul 27 2001 Elliot Lee <sopwith@redhat.com> 0.91a-4 |
| 386 | - Bump the release when rebuilding into the dist. |
| 387 | |
| 388 | * Tue Feb 6 2001 Tim Powers <timp@redhat.com> |
| 389 | - built for Powertools |
| 390 | |
| 391 | * Sun Feb 4 2001 Pekka Savola <pekkas@netcore.fi> |
| 392 | - Hacked up from PLD Linux 0.90-1, Mandrake 0.90-1mdk and one from zebra.org. |
| 393 | - Update to 0.91a |
| 394 | - Very heavy modifications to init.d/*, .spec, pam, i18n, logrotate, etc. |
| 395 | - Should be quite Red Hat'isque now. |