Группа :: Сети/Прочее
Пакет: bird
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: bird
Version: 1.2.3
Release: alt0.M51.1
Summary: BIRD Internet Routing Daemon
Group: Networking/Other
License: GPL
URL: http://bird.network.cz
Source: %name-%version.tar
Source1: %name.init
Packager: Vladimir Lettiev <crux at altlinux.ru>
BuildRequires: libreadline-devel libncurses-devel flex glibc-kernheaders
%description
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
%summary
%prep
%setup
%build
./configure --prefix=%_usr --sysconfdir=%_sysconfdir --localstatedir=%_var \
--enable-ipv6 --with-protocols=all
%make_build
mv bird bird6
mv birdc birdc6
%make clean
./configure --prefix=%_usr --sysconfdir=%_sysconfdir --localstatedir=%_var \
--with-protocols=all
%make_build
%install
%make_install install \
prefix=%buildroot%_prefix \
sysconfdir=%buildroot%_sysconfdir \
sbindir=%buildroot%_sbindir \
localstatedir=%buildroot%_var
install -d %buildroot%_sbindir
install bird6 %buildroot%_sbindir
install birdc6 %buildroot%_sbindir
install -d %buildroot%_initdir
install %SOURCE1 %buildroot%_initdir/%name
%post
%post_service bird
%preun
%preun_service bird
%files
%_initdir/%name
%config(noreplace) %_sysconfdir/%name.conf
%_sbindir/%name
%_sbindir/%{name}c
%doc NEWS README TODO doc/*.html
%files -n bird6
%_sbindir/%{name}6
%_sbindir/%{name}c6
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.2.3
Release: alt0.M51.1
Summary: BIRD Internet Routing Daemon
Group: Networking/Other
License: GPL
URL: http://bird.network.cz
Source: %name-%version.tar
Source1: %name.init
Packager: Vladimir Lettiev <crux at altlinux.ru>
BuildRequires: libreadline-devel libncurses-devel flex glibc-kernheaders
%description
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
%summary
%prep
%setup
%build
./configure --prefix=%_usr --sysconfdir=%_sysconfdir --localstatedir=%_var \
--enable-ipv6 --with-protocols=all
%make_build
mv bird bird6
mv birdc birdc6
%make clean
./configure --prefix=%_usr --sysconfdir=%_sysconfdir --localstatedir=%_var \
--with-protocols=all
%make_build
%install
%make_install install \
prefix=%buildroot%_prefix \
sysconfdir=%buildroot%_sysconfdir \
sbindir=%buildroot%_sbindir \
localstatedir=%buildroot%_var
install -d %buildroot%_sbindir
install bird6 %buildroot%_sbindir
install birdc6 %buildroot%_sbindir
install -d %buildroot%_initdir
install %SOURCE1 %buildroot%_initdir/%name
%post
%post_service bird
%preun
%preun_service bird
%files
%_initdir/%name
%config(noreplace) %_sysconfdir/%name.conf
%_sbindir/%name
%_sbindir/%{name}c
%doc NEWS README TODO doc/*.html
%files -n bird6
%_sbindir/%{name}6
%_sbindir/%{name}c6
%changelog
…
Полный changelog можно просмотреть здесь