|
cvsdist |
2872495 |
# configure options
|
|
cvsdist |
2872495 |
%define with_snmp 0
|
|
cvsdist |
2872495 |
%define with_vtysh 1
|
|
cvsdist |
2872495 |
%define with_ospf_te 1
|
|
cvsdist |
2872495 |
%define with_nssa 1
|
|
cvsdist |
2872495 |
%define with_opaque_lsa 1
|
|
cvsdist |
2872495 |
%define with_tcp_zebra 0
|
|
cvsdist |
2872495 |
%define with_pam 1
|
|
cvsdist |
2872495 |
%define with_ipv6 1
|
|
cvsdist |
2872495 |
%define with_ospfclient 1
|
|
cvsdist |
2872495 |
%define with_ospfapi 1
|
|
cvsdist |
51567ae |
%define with_rtadv 1
|
|
cvsdist |
2872495 |
%define with_multipath 64
|
|
cvsdist |
2872495 |
%define quagga_uid 92
|
|
cvsdist |
2872495 |
%define quagga_gid 92
|
|
cvsdist |
2872495 |
%define quagga_user quagga
|
|
cvsdist |
d3aa9a9 |
%define vty_group quaggavt
|
|
|
d9063d8 |
%define vty_gid 85
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
# path defines
|
|
cvsdist |
2872495 |
%define _sysconfdir /etc/quagga
|
|
cvsdist |
2872495 |
%define zeb_src %{_builddir}/%{name}-%{version}
|
|
cvsdist |
2872495 |
%define zeb_rh_src %{zeb_src}/redhat
|
|
cvsdist |
2872495 |
%define zeb_docs %{zeb_src}/doc
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
# defines for configure
|
|
cvsdist |
2872495 |
%define _libexecdir %{_exec_prefix}/libexec/quagga
|
|
cvsdist |
51567ae |
%define _includedir %{_prefix}/include
|
|
cvsdist |
2872495 |
%define _libdir %{_exec_prefix}/%{_lib}/quagga
|
|
cvsdist |
2872495 |
%define _localstatedir /var/run/quagga
|
|
cvsdist |
2872495 |
|
|
|
7709fc0 |
Summary: Routing daemon
|
|
cvsdist |
2872495 |
Name: quagga
|
|
|
19af0ec |
Version: 0.99.11
|
|
|
ba58ff5 |
Release: 3%{?dist}
|
|
|
7709fc0 |
Epoch: 0
|
|
|
ab5af64 |
License: GPLv2+
|
|
|
7709fc0 |
Group: System Environment/Daemons
|
|
cvsdist |
2872495 |
Source0: http://www.quagga.net/download/%{name}-%{version}.tar.gz
|
|
|
7709fc0 |
Source1: quagga-filter-perl-requires.sh
|
|
|
0e32022 |
Patch2: quagga-0.96.5-nostart.patch
|
|
|
3926e83 |
Patch7: quagga-0.99.9-initscript.patch
|
|
|
f2fbba6 |
Patch8: quagga-0.99.11-asn32.patch
|
|
fenlason |
808424f |
|
|
cvsdist |
2872495 |
URL: http://www.quagga.net
|
|
cvsdist |
2872495 |
%if %with_snmp
|
|
fenlason |
7714ba1 |
BuildRequires: net-snmp-devel
|
|
fenlason |
7714ba1 |
Prereq: net-snmp
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%if %with_vtysh
|
|
cvsdist |
2872495 |
BuildRequires: readline readline-devel ncurses ncurses-devel
|
|
|
04ffa8a |
Prereq: ncurses
|
|
cvsdist |
2872495 |
%endif
|
|
fenlason |
808424f |
BuildRequires: texinfo tetex autoconf pam-devel patch libcap-devel texi2html
|
|
cvsdist |
2872495 |
%define __perl_requires %{SOURCE1}
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
# Initscripts > 5.60 is required for IPv6 support
|
|
cvsdist |
2872495 |
Prereq: initscripts >= 5.60
|
|
|
04ffa8a |
Prereq: ncurses pam
|
|
|
0e32d5d |
Requires(post): /sbin/install-info
|
|
|
0e32d5d |
Requires(preun): /sbin/install-info
|
|
cvsdist |
2872495 |
Provides: routingdaemon
|
|
cvsdist |
2872495 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
cvsdist |
2872495 |
Obsoletes: bird gated mrt zebra
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%description
|
|
cvsdist |
2872495 |
Quagga is a free software that manages TCP/IP based routing
|
|
cvsdist |
2872495 |
protocol. It takes multi-server and multi-thread approach to resolve
|
|
cvsdist |
2872495 |
the current complexity of the Internet.
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
Quagga supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1, RIPv2, and RIPng.
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
Quagga is intended to be used as a Route Server and a Route Reflector. It is
|
|
cvsdist |
2872495 |
not a toolkit, it provides full routing power under a new architecture.
|
|
cvsdist |
2872495 |
Quagga by design has a process for each protocol.
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
Quagga is a fork of GNU Zebra.
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%package contrib
|
|
cvsdist |
2872495 |
Summary: contrib tools for quagga
|
|
cvsdist |
2872495 |
Group: System Environment/Daemons
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%description contrib
|
|
cvsdist |
2872495 |
Contributed/3rd party tools which may be of use with quagga.
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%package devel
|
|
cvsdist |
2872495 |
Summary: Header and object files for quagga development
|
|
cvsdist |
2872495 |
Group: System Environment/Daemons
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%description devel
|
|
cvsdist |
2872495 |
The quagga-devel package contains the header and object files neccessary for
|
|
cvsdist |
2872495 |
developing OSPF-API and quagga applications.
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%prep
|
|
cvsdist |
2872495 |
%setup -q
|
|
|
0e32022 |
%patch2 -p1 -b .nostart
|
|
fenlason |
3ef1d00 |
# This creates a .diff file that we apply after configuring
|
|
|
0e32d5d |
%patch7 -p1 -b .initscript
|
|
|
f2fbba6 |
%patch8 -p1 -b .asn32
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%build
|
|
fenlason |
7714ba1 |
# FC5+ automatic -fstack-protector-all switch
|
|
fenlason |
7714ba1 |
export RPM_OPT_FLAGS=${RPM_OPT_FLAGS//-fstack-protector/-fstack-protector-all}
|
|
fenlason |
7714ba1 |
#./autogen.sh
|
|
fenlason |
3ef1d00 |
export CFLAGS="$RPM_OPT_FLAGS $CPPFLAGS"
|
|
fenlason |
3ef1d00 |
export CXXFLAGS="$RPM_OPT_FLAGS $CPPFLAGS"
|
|
fenlason |
7714ba1 |
|
|
fenlason |
7714ba1 |
%configure \
|
|
cvsdist |
2872495 |
%if %with_ipv6
|
|
|
7709fc0 |
--enable-ipv6=yes \
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%if %with_snmp
|
|
|
7709fc0 |
--enable-snmp=yes \
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%if %with_multipath
|
|
cvsdist |
2872495 |
--enable-multipath=%with_multipath \
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%if %with_tcp_zebra
|
|
cvsdist |
2872495 |
--enable-tcp-zebra \
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%if %with_nssa
|
|
cvsdist |
2872495 |
--enable-nssa \
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%if %with_opaque_lsa
|
|
cvsdist |
2872495 |
--enable-opaque-lsa \
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%if %with_ospf_te
|
|
cvsdist |
2872495 |
--enable-ospf-te \
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%if %with_vtysh
|
|
|
7709fc0 |
--enable-vtysh=yes \
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%if %with_ospfclient
|
|
cvsdist |
2872495 |
--enable-ospfclient=yes \
|
|
cvsdist |
2872495 |
%else
|
|
cvsdist |
2872495 |
--enable-ospfclient=no\
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%if %with_ospfapi
|
|
cvsdist |
2872495 |
--enable-ospfapi=yes \
|
|
cvsdist |
2872495 |
%else
|
|
cvsdist |
2872495 |
--enable-ospfapi=no \
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%if %with_pam
|
|
cvsdist |
2872495 |
--with-libpam \
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%if %quagga_user
|
|
cvsdist |
2872495 |
--enable-user=%quagga_user \
|
|
cvsdist |
2872495 |
--enable-group=%quagga_user \
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%if %vty_group
|
|
cvsdist |
2872495 |
--enable-vty-group=%vty_group \
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
51567ae |
%if %with_rtadv
|
|
fenlason |
80eed1d |
--enable-rtadv \
|
|
cvsdist |
51567ae |
%endif
|
|
cvsdist |
2872495 |
--enable-netlink
|
|
cvsdist |
2872495 |
|
|
fenlason |
d274c64 |
for X in Makefile */Makefile ; do perl -pe 's/^COMPILE \= \$\(CC\) /COMPILE = \$(CC) -fPIE /;s/^LDFLAGS = $/LDFLAGS = -pie/' < $X > $X.tmp ; mv $X.tmp $X ; done
|
|
fenlason |
d274c64 |
|
|
fenlason |
7714ba1 |
make %{?_smp_mflags} MAKEINFO="makeinfo --no-split"
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
pushd doc
|
|
cvsdist |
2872495 |
texi2html quagga.texi
|
|
cvsdist |
2872495 |
popd
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%install
|
|
cvsdist |
2872495 |
rm -rf $RPM_BUILD_ROOT
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,logrotate.d,pam.d} \
|
|
cvsdist |
2872495 |
$RPM_BUILD_ROOT/var/log/quagga $RPM_BUILD_ROOT%{_infodir}
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
make install \
|
|
cvsdist |
2872495 |
DESTDIR=$RPM_BUILD_ROOT
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
# Remove this file, as it is uninstalled and causes errors when building on RH9
|
|
cvsdist |
2872495 |
rm -rf $RPM_BUILD_ROOT/usr/share/info/dir
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
install %{zeb_rh_src}/zebra.init $RPM_BUILD_ROOT/etc/rc.d/init.d/zebra
|
|
cvsdist |
2872495 |
install %{zeb_rh_src}/bgpd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/bgpd
|
|
cvsdist |
2872495 |
%if %with_ipv6
|
|
cvsdist |
2872495 |
install %{zeb_rh_src}/ospf6d.init $RPM_BUILD_ROOT/etc/rc.d/init.d/ospf6d
|
|
cvsdist |
2872495 |
install %{zeb_rh_src}/ripngd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/ripngd
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
install %{zeb_rh_src}/ospfd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/ospfd
|
|
cvsdist |
2872495 |
install %{zeb_rh_src}/ripd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/ripd
|
|
cvsdist |
2872495 |
install -m644 %{zeb_rh_src}/quagga.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/quagga
|
|
cvsdist |
2872495 |
install -m644 %{zeb_rh_src}/quagga.pam $RPM_BUILD_ROOT/etc/pam.d/quagga
|
|
cvsdist |
2872495 |
install -m644 %{zeb_rh_src}/quagga.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/quagga
|
|
fenlason |
2bf0bc6 |
install -d -m770 $RPM_BUILD_ROOT/var/run/quagga
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%pre
|
|
cvsdist |
2872495 |
# add vty_group
|
|
cvsdist |
2872495 |
%if %vty_group
|
|
|
d9063d8 |
groupadd -g %vty_gid -r %vty_group 2> /dev/null || :
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
# add quagga user and group
|
|
cvsdist |
2872495 |
%if %quagga_user
|
|
cvsdist |
2872495 |
# Ensure that quagga_gid gets correctly allocated
|
|
cvsdist |
51567ae |
if getent group %quagga_user >/dev/null 2>&1 ; then : ; else \
|
|
cvsdist |
51567ae |
/usr/sbin/groupadd -g %quagga_gid %quagga_user > /dev/null 2>&1 || exit 1 ; fi
|
|
cvsdist |
51567ae |
if getent passwd %quagga_user >/dev/null 2>&1 ; then : ; else \
|
|
cvsdist |
51567ae |
/usr/sbin/useradd -u %quagga_uid -g %quagga_gid -M -r -s /sbin/nologin \
|
|
cvsdist |
51567ae |
-c "Quagga routing suite" -d %_localstatedir %quagga_user 2> /dev/null \
|
|
cvsdist |
51567ae |
|| exit 1 ; fi
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%post
|
|
cvsdist |
2872495 |
# /etc/services is already populated, so skip this
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
# zebra_spec_add_service <service name> <port/proto> <comment>
|
|
cvsdist |
2872495 |
# e.g. zebra_spec_add_service zebrasrv 2600/tcp "zebra service"
|
|
cvsdist |
2872495 |
#
|
|
cvsdist |
2872495 |
#zebra_spec_add_service ()
|
|
cvsdist |
2872495 |
#{
|
|
cvsdist |
2872495 |
# # Add port /etc/services entry if it isn't already there
|
|
cvsdist |
2872495 |
# if [ -f /etc/services ] && ! grep -q "^$1[^a-zA-Z0-9]" /etc/services ; then
|
|
cvsdist |
2872495 |
# echo "$1 $2 # $3" >> /etc/services
|
|
cvsdist |
2872495 |
# fi
|
|
cvsdist |
2872495 |
#}
|
|
cvsdist |
2872495 |
#
|
|
cvsdist |
2872495 |
#zebra_spec_add_service zebrasrv 2600/tcp "zebra service"
|
|
cvsdist |
2872495 |
#zebra_spec_add_service zebra 2601/tcp "zebra vty"
|
|
cvsdist |
2872495 |
#zebra_spec_add_service ripd 2602/tcp "RIPd vty"
|
|
cvsdist |
2872495 |
#%if %with_ipv6
|
|
cvsdist |
2872495 |
#zebra_spec_add_service ripngd 2603/tcp "RIPngd vty"
|
|
cvsdist |
2872495 |
#%endif
|
|
cvsdist |
2872495 |
#zebra_spec_add_service ospfd 2604/tcp "OSPFd vty"
|
|
cvsdist |
2872495 |
#zebra_spec_add_service bgpd 2605/tcp "BGPd vty"
|
|
cvsdist |
2872495 |
#%if %with_ipv6
|
|
cvsdist |
2872495 |
#zebra_spec_add_service ospf6d 2606/tcp "OSPF6d vty"
|
|
cvsdist |
2872495 |
#%endif
|
|
cvsdist |
2872495 |
#%if %with_ospfapi
|
|
cvsdist |
2872495 |
#zebra_spec_add_service ospfapi 2607/tcp "OSPF-API"
|
|
cvsdist |
2872495 |
#%endif
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
/sbin/chkconfig --add zebra
|
|
cvsdist |
2872495 |
/sbin/chkconfig --add ripd
|
|
cvsdist |
2872495 |
%if %with_ipv6
|
|
cvsdist |
2872495 |
/sbin/chkconfig --add ripngd
|
|
cvsdist |
2872495 |
/sbin/chkconfig --add ospf6d
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
/sbin/chkconfig --add ospfd
|
|
cvsdist |
2872495 |
/sbin/chkconfig --add bgpd
|
|
cvsdist |
2872495 |
|
|
|
0e32d5d |
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
# Create dummy files if they don't exist so basic functions can be used.
|
|
cvsdist |
2872495 |
if [ ! -e %{_sysconfdir}/zebra.conf ]; then
|
|
cvsdist |
2872495 |
echo "hostname `hostname`" > %{_sysconfdir}/zebra.conf
|
|
cvsdist |
d3aa9a9 |
%if %quagga_user
|
|
cvsdist |
d3aa9a9 |
chown %quagga_user:%quagga_user %{_sysconfdir}/zebra.conf
|
|
cvsdist |
d3aa9a9 |
%endif
|
|
cvsdist |
2872495 |
chmod 640 %{_sysconfdir}/zebra.conf
|
|
cvsdist |
2872495 |
fi
|
|
cvsdist |
2872495 |
if [ ! -e %{_sysconfdir}/vtysh.conf ]; then
|
|
cvsdist |
2872495 |
touch %{_sysconfdir}/vtysh.conf
|
|
cvsdist |
2872495 |
chmod 640 %{_sysconfdir}/vtysh.conf
|
|
|
a31d110 |
chown %{quagga_user}:%{vty_group} %{_sysconfdir}/vtysh.conf
|
|
cvsdist |
2872495 |
fi
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%postun
|
|
cvsdist |
2872495 |
if [ "$1" -ge "1" ]; then
|
|
cvsdist |
2872495 |
/etc/rc.d/init.d/zebra condrestart >/dev/null 2>&1
|
|
cvsdist |
2872495 |
/etc/rc.d/init.d/ripd condrestart >/dev/null 2>&1
|
|
cvsdist |
2872495 |
%if %with_ipv6
|
|
cvsdist |
2872495 |
/etc/rc.d/init.d/ripngd condrestart >/dev/null 2>&1
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
/etc/rc.d/init.d/ospfd condrestart >/dev/null 2>&1
|
|
cvsdist |
2872495 |
%if %with_ipv6
|
|
cvsdist |
2872495 |
/etc/rc.d/init.d/ospf6d condrestart >/dev/null 2>&1
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
/etc/rc.d/init.d/bgpd condrestart >/dev/null 2>&1
|
|
cvsdist |
2872495 |
fi
|
|
|
0e32d5d |
if [ "$1" = "0" ]; then
|
|
|
0e32d5d |
/sbin/install-info --delete %{_infodir}/quagga.info.gz %{_infodir}/dir
|
|
|
0e32d5d |
fi
|
|
|
0e32d5d |
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%preun
|
|
cvsdist |
2872495 |
if [ "$1" = "0" ]; then
|
|
|
0e32d5d |
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
0e32d5d |
/sbin/chkconfig --del zebra
|
|
cvsdist |
2872495 |
/sbin/chkconfig --del ripd
|
|
cvsdist |
2872495 |
%if %with_ipv6
|
|
cvsdist |
2872495 |
/sbin/chkconfig --del ripngd
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
/sbin/chkconfig --del ospfd
|
|
cvsdist |
2872495 |
%if %with_ipv6
|
|
cvsdist |
2872495 |
/sbin/chkconfig --del ospf6d
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
/sbin/chkconfig --del bgpd
|
|
cvsdist |
2872495 |
fi
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%clean
|
|
Florian La Roche |
12deb74 |
rm -rf $RPM_BUILD_ROOT
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%files
|
|
cvsdist |
2872495 |
%defattr(-,root,root)
|
|
cvsdist |
2872495 |
%doc */*.sample* AUTHORS COPYING
|
|
cvsdist |
2872495 |
%doc doc/quagga.html
|
|
cvsdist |
2872495 |
%doc doc/mpls
|
|
cvsdist |
2872495 |
%doc ChangeLog INSTALL NEWS README REPORTING-BUGS SERVICES TODO
|
|
cvsdist |
2872495 |
%if %quagga_user
|
|
cvsdist |
2872495 |
%dir %attr(751,%quagga_user,%quagga_user) %{_sysconfdir}
|
|
fenlason |
2bf0bc6 |
%dir %attr(770,%quagga_user,%quagga_user) /var/log/quagga
|
|
fenlason |
2bf0bc6 |
%dir %attr(771,%quagga_user,%quagga_user) /var/run/quagga
|
|
cvsdist |
2872495 |
%else
|
|
cvsdist |
2872495 |
%dir %attr(750,root,root) %{_sysconfdir}
|
|
cvsdist |
2872495 |
%dir %attr(750,root,root) /var/log/quagga
|
|
cvsdist |
2872495 |
%dir %attr(755,root,root) /usr/share/info
|
|
cvsdist |
2872495 |
%dir %attr(750,root,root) /var/run/quagga
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%if %vty_group
|
|
|
a31d110 |
%attr(644,%quagga_user,%vty_group) %{_sysconfdir}/vtysh.conf.sample
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
%{_infodir}/*info*
|
|
cvsdist |
2872495 |
%{_mandir}/man*/*
|
|
cvsdist |
2872495 |
%{_sbindir}/*
|
|
cvsdist |
2872495 |
%if %with_vtysh
|
|
cvsdist |
2872495 |
%{_bindir}/*
|
|
cvsdist |
2872495 |
%endif
|
|
fenlason |
80eed1d |
%dir %{_libdir}
|
|
fenlason |
80eed1d |
%{_libdir}/*.so*
|
|
cvsdist |
2872495 |
%config /etc/quagga/[!v]*
|
|
|
0e32d5d |
%attr(755,root,root) /etc/rc.d/init.d/*
|
|
cvsdist |
2872495 |
%config(noreplace) /etc/pam.d/quagga
|
|
fenlason |
80eed1d |
%config(noreplace) %attr(640,root,root) /etc/logrotate.d/quagga
|
|
cvsdist |
d3aa9a9 |
%config(noreplace) /etc/sysconfig/quagga
|
|
cvsdist |
d3aa9a9 |
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%files contrib
|
|
cvsdist |
2872495 |
%defattr(-,root,root)
|
|
cvsdist |
2872495 |
%doc tools
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%files devel
|
|
cvsdist |
2872495 |
%defattr(-,root,root)
|
|
|
ccf1ac7 |
%dir %{_libdir}
|
|
fenlason |
80eed1d |
%{_libdir}/*.a
|
|
fenlason |
80eed1d |
%{_libdir}/*.la
|
|
cvsdist |
51567ae |
%dir %{_includedir}/quagga
|
|
cvsdist |
51567ae |
%{_includedir}/quagga/*.h
|
|
fenlason |
80eed1d |
%dir %{_includedir}/quagga/ospfd
|
|
fenlason |
80eed1d |
%{_includedir}/quagga/ospfd/*.h
|
|
cvsdist |
2872495 |
%if %with_ospfapi
|
|
fenlason |
80eed1d |
%dir %{_includedir}/quagga/ospfapi
|
|
fenlason |
80eed1d |
%{_includedir}/quagga/ospfapi/*.h
|
|
cvsdist |
2872495 |
%endif
|
|
cvsdist |
2872495 |
|
|
cvsdist |
2872495 |
%changelog
|
|
|
ba58ff5 |
* Mon May 04 2009 Jiri Skala <jskala@redhat.com> - 0.99.11-3
|
|
|
f2fbba6 |
- fix #498832 - bgpd crashes on as paths containing more 6 digit as numbers
|
|
|
ba58ff5 |
- corrected release number
|
|
|
f2fbba6 |
|
|
|
3e53a34 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:0.99.11-2
|
|
|
3e53a34 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
3e53a34 |
|
|
|
19af0ec |
* Tue Jan 06 2009 Jiri Skala <jskala@redhat.com> - 0.99.11-1
|
|
|
19af0ec |
- bump to latest upstream version 0.99.11
|
|
|
19af0ec |
|
|
|
ab5af64 |
* Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.99.10-2
|
|
|
ab5af64 |
- fix license tag
|
|
|
ab5af64 |
|
|
|
adb2c8f |
* Wed Jun 11 2008 Martin Nagy <mnagy@redhat.com> - 0.99.10-1
|
|
|
adb2c8f |
- upgrade to new upstream 0.99.10
|
|
|
adb2c8f |
|
|
|
a31d110 |
* Wed Mar 05 2008 Martin Nagy <mnagy@redhat.com> - 0.99.9-6
|
|
|
a31d110 |
- fix vtysh.conf owner and group (#416121)
|
|
|
a31d110 |
- fix bpgd IPv6 advertisements, patch from upstream (#429448)
|
|
|
a31d110 |
|
|
|
613b0ea |
* Mon Feb 11 2008 Martin Nagy <mnagy@redhat.com> - 0.99.9-5
|
|
|
613b0ea |
- rebuild for gcc-4.3
|
|
|
613b0ea |
|
|
|
897a62e |
* Tue Jan 29 2008 Martin Nagy <mnagy@redhat.com> - 0.99.9-4
|
|
|
897a62e |
- check port number range when using -P or -p (#206071)
|
|
|
897a62e |
|
|
|
36287c1 |
* Wed Jan 23 2008 Martin Nagy <mnagy@redhat.com> - 0.99.9-3
|
|
|
36287c1 |
- rebuild
|
|
|
36287c1 |
|
|
|
3926e83 |
* Mon Nov 12 2007 Martin Bacovsky <mbacovsk@redhat.com> - 0.99.9-2
|
|
|
3926e83 |
- resolves: #376821: ospfd init script looks for ospf6 configuration and lock file
|
|
|
3926e83 |
- resolves: #376841: Usage string in ospf6d init script incorrect
|
|
|
3926e83 |
|
|
|
c5adbda |
* Mon Sep 17 2007 Martin Bacovsky <mbacovsk@redhat.com> - 0.99.9-1
|
|
|
c5adbda |
- upgrade to new upstream 0.99.9
|
|
|
c5adbda |
- Resolves: #292841: CVE-2007-4826 quagga bgpd DoS
|
|
|
c5adbda |
|
|
|
bad5a82 |
* Fri Sep 14 2007 Martin Bacovsky <mbacovsk@redhat.com> - 0.99.8-1.1
|
|
|
bad5a82 |
- rebuild
|
|
|
bad5a82 |
|
|
|
0e32d5d |
* Mon Jul 30 2007 Martin Bacovsky <mbacovsk@redhat.com> - 0.99.8-1
|
|
|
0e32d5d |
- upgrade to new upstream version 0.99.8
|
|
|
0e32d5d |
- resolves: #249423: scripts in /etc/rc.d/init.d/* are marked as config files in specfile
|
|
|
0e32d5d |
- resolves: #247040: Initscript Review
|
|
|
0e32d5d |
- resolves: #249538: Inconsistencies in init scripts
|
|
|
0e32d5d |
- resolves: #220531: quagga: non-failsafe install-info usage, info files removed from index on update
|
|
|
0e32d5d |
|
|
|
5e9ee4c |
* Tue Jul 3 2007 Martin Bacovsky <mbacovsk@redhat.com> - 0.99.7-1
|
|
|
5e9ee4c |
- upgrade to new upstream 0.99.7
|
|
|
5e9ee4c |
- resolves: #240488: CVE-2007-1995 Quagga bgpd DoS
|
|
|
5e9ee4c |
|
|
|
ccf1ac7 |
* Wed Mar 28 2007 Martin Bacovsky <mbacovsk@redhat.com> - 0.99.6-1
|
|
|
ccf1ac7 |
- upgrade to new upstream 0.99.6
|
|
|
ccf1ac7 |
- Resolves: #233909: quagga: unowned directory
|
|
|
ccf1ac7 |
- removed redundant patches (#226352)
|
|
|
ccf1ac7 |
|
|
|
ccf1ac7 |
* Mon Jan 22 2007 Martin Bacovsky <mbacovsk@redhat.com> - 0.98.6-3
|
|
|
7709fc0 |
- Resolves: #172548 - quagga.spec defines with_vtysh 1 but vtysh is not enabled in the build
|
|
|
7709fc0 |
|
|
|
98228ef |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:0.98.6-2.1
|
|
|
98228ef |
- rebuild
|
|
|
98228ef |
|
|
fenlason |
ca82ec0 |
* Mon May 8 2006 Jay Fenlason <fenlason@redhat.com> 0:0.98.6-2
|
|
fenlason |
ca82ec0 |
- Upgrade to new upstream version, closing security problems:
|
|
fenlason |
ca82ec0 |
bz#191081 CVE-2006-2223 Quagga RIPd information disclosure
|
|
fenlason |
ca82ec0 |
bz#191085 CVE-2006-2224 Quagga RIPd route injection
|
|
fenlason |
ca82ec0 |
|
|
|
d9063d8 |
* Wed Mar 8 2006 Bill Nottingham <notting@redhat.com> - 0:0.98.5-4
|
|
|
d9063d8 |
- use an assigned gid for quaggavt
|
|
|
d9063d8 |
|
|
|
63f8cf7 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:0.98.5-3.2.1
|
|
|
63f8cf7 |
- bump again for double-long bug on ppc(64)
|
|
|
63f8cf7 |
|
|
|
befd6a7 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0:0.98.5-3.2
|
|
|
befd6a7 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
befd6a7 |
|
|
|
f6686fc |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
f6686fc |
- rebuilt
|
|
|
f6686fc |
|
|
fenlason |
18cfb48 |
* Wed Oct 19 2005 Jay Fenlason <fenlason@redhat.com> 0.98.5-3
|
|
fenlason |
3ef1d00 |
- add the -pie patch, to make -fPIE compiling actually work on all platforms.
|
|
fenlason |
7714ba1 |
- Include -pam patch to close
|
|
fenlason |
7714ba1 |
bz#170256 ? pam_stack is deprecated
|
|
fenlason |
7714ba1 |
- Change ucd-snmp to net-snmp to close
|
|
fenlason |
7714ba1 |
bz#164333 ? quagga 0.98.4-2 requires now obsolete package ucd-snmp-devel
|
|
fenlason |
7714ba1 |
- also fix duplicate line mentioned in bz#164333
|
|
fenlason |
7714ba1 |
|
|
fenlason |
e6c3df2 |
* Mon Aug 29 2005 Jay Fenlason <fenlason@redhat.com> 0.98.5-2
|
|
fenlason |
e6c3df2 |
- New upstream version.
|
|
fenlason |
e6c3df2 |
|
|
fenlason |
43f96eb |
* Mon Jun 27 2005 Jay Fenlason <fenlason@redhat.com> 0.98.4-2
|
|
fenlason |
43f96eb |
- New upstream version.
|
|
fenlason |
43f96eb |
|
|
fenlason |
bf230d0 |
* Mon Apr 4 2005 Jay Fenlason <fenlason@redhat.com> 0.98.3-2
|
|
fenlason |
bf230d0 |
- new upstream verison.
|
|
fenlason |
bf230d0 |
- remove the -bug157 patch.
|
|
fenlason |
bf230d0 |
|
|
fenlason |
5f8df6c |
* Tue Mar 8 2005 Jay Fenlason <fenlason@redhat.com> 0.98.2-2
|
|
fenlason |
5f8df6c |
- New upstream version, inclues my -gcc4 patch, and a patch from
|
|
fenlason |
5f8df6c |
Vladimir Ivanov <wawa@yandex-team.ru>
|
|
fenlason |
5f8df6c |
|
|
fenlason |
80eed1d |
* Sun Jan 16 2005 Jay Fenlason <fenlason@redhat.com> 0.98.0-2
|
|
fenlason |
80eed1d |
- New upstream version. This fixes bz#143796
|
|
fenlason |
80eed1d |
- --with-rtadv needs to be --enable-rtadv according to configure.
|
|
fenlason |
80eed1d |
(but it was enabled by default, so this is a cosmetic change only)
|
|
fenlason |
80eed1d |
Change /etc/logrotate.d/* to /etc/logrotate.d/quagga in this spec file.
|
|
fenlason |
80eed1d |
- Modify this spec file to move the .so files to the base package
|
|
fenlason |
80eed1d |
and close bz#140894
|
|
fenlason |
80eed1d |
- Modify this spec file to separate out %{_includedir}/quagga/ospfd
|
|
fenlason |
80eed1d |
from .../*.h and %{_includedir}/quagga/ospfapi from .../*.h
|
|
fenlason |
80eed1d |
Rpmbuild probably shouldn't allow %dir of a plain file.
|
|
fenlason |
80eed1d |
|
|
|
d66861b |
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 0.97.3-3
|
|
|
d66861b |
- Rebuilt for new readline.
|
|
|
04ffa8a |
- Don't explicitly require readline. The correct dependency is automatically
|
|
|
04ffa8a |
picked up by linking against it.
|
|
|
04ffa8a |
|
|
Florian La Roche |
12deb74 |
* Fri Nov 26 2004 Florian La Roche <laroche@redhat.com>
|
|
Florian La Roche |
12deb74 |
- remove target buildroot again to not waste disk space
|
|
Florian La Roche |
12deb74 |
|
|
fenlason |
9c6c42d |
* Wed Nov 10 2004 Jay Fenlason <fenlason@redhat.com> 0.97.3-1
|
|
fenlason |
9c6c42d |
- New upstream version.
|
|
fenlason |
9c6c42d |
|
|
fenlason |
9c6c42d |
* Tue Oct 12 2004 Jay Fenlason <fenlason@redhat.com> 0.97.2-1
|
|
fenlason |
17e0079 |
- New upstream version.
|
|
fenlason |
17e0079 |
|
|
fenlason |
2bf0bc6 |
* Fri Oct 8 2004 Jay Fenlason <fenlason@redhat.com> 0.97.0-1
|
|
fenlason |
2bf0bc6 |
- New upstream version. This obsoletes the -lib64 patch.
|
|
fenlason |
2bf0bc6 |
|
|
fenlason |
2bf0bc6 |
* Wed Oct 6 2004 Jay Fenlason <fenlason@redhat.com>
|
|
fenlason |
2bf0bc6 |
- Change the permissions of /var/run/quagga to 771 and /var/log/quagga to 770
|
|
fenlason |
2bf0bc6 |
This closes #134793
|
|
fenlason |
2bf0bc6 |
|
|
|
0e32022 |
* Thu Sep 9 2004 Bill Nottingham <notting@redhat.com> 0.96.5-2
|
|
|
0e32022 |
- don't run by default
|
|
|
0e32022 |
|
|
cvsdist |
627847f |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
627847f |
- rebuilt
|
|
cvsdist |
627847f |
|
|
cvsdist |
51567ae |
* Tue May 4 2004 Jay Fenlason <fenlason@redhat.com> 0.96.5-0
|
|
cvsdist |
51567ae |
- New upstream version
|
|
cvsdist |
51567ae |
- Change includedir
|
|
cvsdist |
51567ae |
- Change the pre scriptlet to fail if the useradd command fails.
|
|
cvsdist |
51567ae |
- Remove obsolete patches from this .spec file and renumber the two
|
|
cvsdist |
51567ae |
remaining ones.
|
|
cvsdist |
51567ae |
|
|
cvsdist |
0cc33d3 |
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
0cc33d3 |
- rebuilt
|
|
cvsdist |
0cc33d3 |
|
|
cvsdist |
51567ae |
* Fri Feb 13 2004 Jay Fenlason <fenlason@redhat.com>
|
|
cvsdist |
51567ae |
- Add --enable-rtadv, to turn ipv6 router advertisement back on. Closes
|
|
cvsdist |
51567ae |
bugzilla #114691
|
|
cvsdist |
51567ae |
|
|
cvsdist |
0cc33d3 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
0cc33d3 |
- rebuilt
|
|
cvsdist |
0cc33d3 |
|
|
cvsdist |
749b7ff |
* Mon Nov 3 2003 Jay Fenlason <fenlason@redhat.com> 0.96.4-0
|
|
cvsdist |
749b7ff |
- New upstream version
|
|
cvsdist |
749b7ff |
- include .h files in the -devel package.
|
|
cvsdist |
749b7ff |
|
|
cvsdist |
d3aa9a9 |
* Wed Oct 15 2003 Jay Fenlason <fenlason@redhat.com> 0.96.3-1
|
|
cvsdist |
d3aa9a9 |
- Patch a remote DoS attack (#107140)
|
|
cvsdist |
d3aa9a9 |
- New upstream version
|
|
cvsdist |
d3aa9a9 |
- Removed the .libcap patch, which was applied upstream
|
|
cvsdist |
d3aa9a9 |
- Renamed the vty group from quaggavty to quaggavt because quaggavty is
|
|
cvsdist |
d3aa9a9 |
too long for NIS.
|
|
cvsdist |
d3aa9a9 |
- Patch the spec file to fix #106857: /etc/quagga/zebra.conf is created with
|
|
cvsdist |
d3aa9a9 |
the wrong owner.
|
|
cvsdist |
d3aa9a9 |
- Removed the "med" part of the 0.96.1-warnings patch for . . .
|
|
cvsdist |
d3aa9a9 |
- Add a new warnings patch with a fix for #106315. This also updates
|
|
cvsdist |
d3aa9a9 |
the "med" part of the previous warnings patch.
|
|
cvsdist |
d3aa9a9 |
|
|
cvsdist |
d3aa9a9 |
* Mon Sep 22 2003 Jay Fenlason <fenlason@redhat.com> 0.96.2-5
|
|
cvsdist |
d3aa9a9 |
- merge sysconfig patch from 3E branch. This patch is from Kaj J. Niemi
|
|
cvsdist |
d3aa9a9 |
(kajtzu@basen.net), and puts Quagga configuration options in
|
|
cvsdist |
d3aa9a9 |
/etc/sysconfig/quagga, and defaults Quagga to listening on 127.0.0.1 only.
|
|
cvsdist |
d3aa9a9 |
This closes #104376
|
|
cvsdist |
d3aa9a9 |
- Use /sbin/nologin for the shell of the quagga user. This closes #103320
|
|
cvsdist |
d3aa9a9 |
- Update the quagga-0.96.1-warnings.patch patch to kill a couple more
|
|
cvsdist |
d3aa9a9 |
warnings.
|
|
cvsdist |
d3aa9a9 |
|
|
cvsdist |
d3aa9a9 |
* Mon Sep 22 2003 Nalin Dahyabhai <nalin@redhat.com>
|
|
cvsdist |
2872495 |
- Remove the directory part of paths for PAM modules in quagga.pam, allowing
|
|
cvsdist |
2872495 |
libpam to search its default directory (needed if a 64-bit libpam needs to
|
|
cvsdist |
d3aa9a9 |
look in /lib64/security instead of /lib/security).
|
|
cvsdist |
2872495 |
|
|
cvsdist |
d3aa9a9 |
* Tue Aug 26 2003 Jay Fenlason <fenlason@redhat.com> 0.96.2-1
|
|
cvsdist |
d3aa9a9 |
- New upstream version
|
|
cvsdist |
2872495 |
|
|
cvsdist |
d3aa9a9 |
* Tue Aug 19 2003 Jay Fenlason <fenlason@redhat.com> 0.96.1-3
|
|
cvsdist |
d3aa9a9 |
- Merge from quagga-3E-branch, with a fix for #102673 and a couple
|
|
cvsdist |
d3aa9a9 |
more compiler warnings quashed.
|
|
cvsdist |
2872495 |
|
|
cvsdist |
d3aa9a9 |
* Wed Aug 13 2003 Jay Fenlason <fenlason@redhat.com> 0.96-1
|
|
cvsdist |
2872495 |
- added a patch (libwrap) to allow the generated Makefiles for zebra/
|
|
cvsdist |
2872495 |
and lib/ to work on AMD64 systems. For some reason make there does
|
|
cvsdist |
2872495 |
not like a dependency on -lcap
|
|
cvsdist |
2872495 |
- added a patch (warnings) to shut up warnings about an undefined
|
|
cvsdist |
2872495 |
structure type in some function prototypes and quiet down all the
|
|
cvsdist |
2872495 |
warnings about assert(ptr) on x86_64.
|
|
cvsdist |
2872495 |
- Modified the upstream quagga-0.96/readhat/quagga.spec to work as an
|
|
cvsdist |
2872495 |
official Red Hat package (remove user and group creation and changes
|
|
cvsdist |
2872495 |
to services)
|
|
cvsdist |
2872495 |
- Trimmed changelog. See the upstream .spec file for previous
|
|
cvsdist |
2872495 |
changelog entries.
|