Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37422426
en ru br
Репозитории ALT
S:1.5-alt3
5.1: 1.4-alt2
4.1: 1.4-alt1
4.0: 1.2-alt2
3.0: 1.0.6-alt1
www.altlinux.org/Changes

Группа :: Система/Основа
Пакет: bridge-utils

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: bridge-utils
Version: 1.4
Release: alt2

Packager: Victor Forsyuk <force at altlinux.org>

Summary: Utilities for configuring the linux ethernet bridge
License: GPLv2+
Group: System/Base

URL: http://www.linux-foundation.org/en/Net:Bridge
Source: http://dl.sf.net/bridge/bridge-utils-%version.tar.gz
Source1: bridge.init
Source2: bridge.sysconfig

Patch0: bridge-utils-1.0.4-inc.patch
Patch1: bridge-utils-1.0.4-kernheaders.patch
Patch2: bridge-utils-1.4-fixsegfault.patch
Patch3: bridge-utils-1.4-unknown-command.patch

%package -n libbridge-devel
Summary: Development libraries for configuring the linux ethernet bridge
Group: Development/C

Obsoletes: bridgex

# /usr may be network-mounted, hence /usr/sbin/ is a bad place for brctl

%define _sbindir /sbin

%description
This package contains utilities for configuring the linux ethernet bridge. The
linux ethernet bridge can be used for connecting multiple ethernet devices
together. The connecting is fully transparent: hosts connected to one ethernet
device see hosts connected to the other ethernet devices directly.

%description -n libbridge-devel
The libbridge-devel package contains the header and object files necessary for
developing programs which use 'libbridge.a', the interface to the linux kernel
ethernet bridge. If you are developing programs which need to configure the
linux ethernet bridge, your system needs to have these standard header and
object files available in order to create the executables.

%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1

%build
autoconf
%configure --with-linux-headers=`pwd`
%make_build CFLAGS="%optflags"

%install
make DESTDIR=%buildroot install

install -m755 %SOURCE1 -D %buildroot%_initrddir/bridge
install -m644 %SOURCE2 -D %buildroot%_sysconfdir/sysconfig/bridge

%files
%config(noreplace) %_sysconfdir/sysconfig/*
%config(noreplace) %_initrddir/*
%_sbindir/*
%_man8dir/*
%doc AUTHORS ChangeLog README THANKS TODO doc/[A-LN-Z]* tests

%files -n libbridge-devel
%_libdir/*.a
%_includedir/*

%post
%post_service bridge

%preun
%preun_service bridge

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin