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