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

Группа :: Мониторинг
Пакет: iftop

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

Name: iftop
Version: 0.17
Release: alt5

Summary: Display bandwidth usage on an interface
License: GPL
Group: Monitoring

Url: http://www.ex-parrot.com/~pdw/iftop/
Packager: Michael Shigorin <mike at altlinux.org>

# %url/download/iftop-%version.tar.gz

Source: iftop-%version.tar
Patch: iftop-%version-%release.patch

Summary(ru_RU.UTF-8): п·я┌п╬п╠я─п╟п╤п╟п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ п©п╬п╩п╬я│я▀ п©я─п╬п©я┐я│п╨п╟п╫п╦я▐ я│п╣я┌п╦

Requires(pre): shadow-utils
Requires: /var/resolv

# Automatically added by buildreq on Wed Jan 20 2010

BuildRequires: libncurses-devel libpcap-devel

%description
iftop does for network usage what top(1) does for CPU usage.
It listens to network traffic on a named interface and displays
a table of current bandwidth usage by pairs of hosts.  Handy for
answering the question "why is our internet link so slow?".

%description -l ru_RU.UTF-8
iftop - п╟п╫п╟п╩п╬пЁ top(1) п©п╬ я┤п╟я│я┌п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ я│п╣я┌п╦: я│п╩я┐я┬п╟п╣я┌
я┌я─п╟я└п╦п╨ п╫п╟ я┐п╨п╟п╥п╟п╫п╫п╬п╪ п╦п╫я┌п╣я─я└п╣п╧я│п╣ п╦ п╬я┌п╬п╠я─п╟п╤п╟п╣я┌ я┌п╟п╠п╩п╦я├я┐ я┌п╣п╨я┐я┴п╣пЁп╬
п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п©п╬ п©п╟я─п╟п╪ я┘п╬я│я┌п╬п╡.  пёп╢п╬п╠п╫п╬ п╢п╩я▐ п╬я┌п╡п╣я┌п╟ п╫п╟ п╡п╬п©я─п╬я│
"п©п╬я┤п╣п╪я┐ п╫п╟я┬ п╨п╟п╫п╟п╩ я┌п╟п╨ я┌п╬я─п╪п╬п╥п╦я┌?".

%prep
%setup
%patch -p1

%build
%add_optflags -fno-strict-aliasing -DNO_SYSTEM
%autoreconf
%configure --with-user=_iftop --with-chroot=/var/resolv
%make_build

%install
%makeinstall
mkdir -p %buildroot%_bindir
chmod 700 %buildroot%_sbindir/iftop
mv %buildroot%_sbindir/iftop %buildroot%_bindir/
ln -sr %buildroot{%_bindir,%_sbindir}/iftop
install -pDm755 iftop.control %buildroot%_controldir/iftop

%pre
%_sbindir/groupadd -r -f netadmin
%pre_control iftop

%post
%_sbindir/groupadd -r -f _iftop
%_sbindir/useradd -r -g _iftop -d /dev/null -s /dev/null -n _iftop >/dev/null 2>&1 ||:
%post_control -s netadmin iftop

%files
%_bindir/*
%_sbindir/*
%_controldir/iftop
%_man8dir/*
%doc ChangeLog README TODO

%changelog

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

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