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