Репозиторий Sisyphus
Последнее обновление: 1 октября 2020 | Пакетов: 17705 | Посещений: 19327826
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: iptables-ratelimit

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

Name: iptables-ratelimit
Version: 0.3
Release: alt1
Summary: ipt-ratelimit module implements traffic policing
Group: System/Libraries

Packager: Alexei Takaseev <taf at altlinux.ru>

License: GPLv2
Url: https://github.com/aabc/ipt-ratelimit
Source0: %name-%version.tar
Patch0: %name-%version-%release.patch

BuildRequires: iptables-devel
BuildPreReq: rpm-build-kernel

%description
ipt-ratelimit module implements traffic policing (i.e. limiting traffic bit
rate) using, standard for this purpose, token bucket filter (TBF) algorithm.
Particular implementation is based on FreeBSD's implementation of Cisco's TBF
with extended burst value (which is used to implement RED-like drop
behavior)

%package -n kernel-source-%name
Summary: Kernel module for ipt-ratelimit
License: GPLv2
Group: Development/Kernel
BuildArch: noarch

%description -n kernel-source-%name
Provide ipt-ratelimit kernel module


%prep
%setup
%patch0 -p1
tar -cjf ../%name-%version.tar.bz2 ../%name-%version

%build

make libxt_ratelimit.so

%install
make linstall DESTDIR=%buildroot

mkdir -p %kernel_srcdir
install -pDm0644 ../%name-%version.tar.bz2 %kernel_srcdir/%name-%version.tar.bz2

%files
%doc CREDITS NEWS README
/%_lib/iptables/*.so

%files -n kernel-source-%name
%attr(0644,root,root) %kernel_src/%name-%version.tar.bz2

%changelog

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

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