Sisyphus repositório
Última atualização: 13 abril 2021 | SRPMs: 17839 | Visitas: 20707362
en ru br
ALT Linux repositórios

Group :: Rede/Outros
RPM: bird

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _localstatedir %_var

Name: bird
Version: 1.6.8
Release: alt3
Summary: BIRD Internet Routing Daemon

Group: Networking/Other
License: GPLv2

# Cloned from git://

Source: %name-%version.tar
Source1: %name.init
Source2: %name.service
Source3: %{name}6.init
Source4: %{name}6.service

Patch: %name-%version-alt.patch

Packager: Vladimir Lettiev <crux at>

BuildRequires: libreadline-devel libncurses-devel flex glibc-kernheaders OpenSP linuxdoc-tools

BIRD is an Internet Routing Daemon designed to support all the routing
technology used in the today's Internet or planned to be used in near
future and to have a clean extensible architecture allowing new routing
protocols to be incorporated easily. Among other features, BIRD supports:

* both IPv4 and IPv6 protocols
* multiple routing tables
* the Border Gateway Protocol (BGPv4)
* the Routing Information Protocol (RIPv2)
* the Open Shortest Path First protocol (OSPFv2)
* a virtual protocol for exchange of routes between different routing
  tables on a single host
* a command-line interface allowing on-line control and inspection of
  status of the daemon
* soft reconfiguration (no need to use complex online commands to
  change the configuration, just edit the configuration file and notify
  BIRD to re-read it and it will smoothly switch itself to the new
  configuration, not disturbing routing protocols unless they are
  affected by the configuration changes)
* a powerful language for route filtering

BIRD has been developed at the Faculty of Math and Physics, Charles
University, Prague, Czech Republic as a student project. It can be
freely distributed under the terms of the GNU General Public License.

%package -n bird6
Group: Networking/Other
Summary: BIRD Internet Routing Daemon, ipv6 enabled
Requires: %name = %version-%release
%description -n bird6

%patch -p1

%define _configure_script ../configure

# gcc detects overflow in strncpy at proto/rip/auth.c:134

# but it's false alarm, relax gcc
export CFLAGS="%optflags -D_FORTIFY_SOURCE=1"

mkdir build-bird6
pushd build-bird6
%configure --enable-ipv6 --with-protocols=all

mkdir build-bird4
pushd build-bird4
%configure --with-protocols=all

pushd doc
   make prog.sgml
   ./sgml2html prog.sgml
   ./sgml2html bird.sgml

%makeinstall -C build-bird6
%makeinstall -C build-bird4

install -pD -m755 %SOURCE1 %buildroot%_initdir/%name
install -pD -m644 %SOURCE2 %buildroot%_unitdir/%name.service
install -pD -m755 %SOURCE3 %buildroot%_initdir/%{name}6
install -pD -m644 %SOURCE4 %buildroot%_unitdir/%{name}6.service

%post_service bird

%preun_service bird

%post -n bird6
%post_service bird6

%preun -n bird6
%preun_service bird6

%config(noreplace) %_sysconfdir/%name.conf
%doc NEWS README doc/*.html

%files -n bird6
%config(noreplace) %_sysconfdir/%{name}6.conf


Todas as alterações você pod ver aqui

projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009