Group :: Monitoramento
RPM: iftop
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: iftop
Version: 0.17
Release: alt3
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.ru>
# %url/download/iftop-%version.tar.gz
Source: iftop-%version.tar
Patch: iftop-%version-%release.patch
Summary(ru_RU.KOI8-R): ïÔÏÂÒÁÖÁÅÔ ÉÓÐÏÌØÚÏ×ÁÎÉÅ ÐÏÌÏÓÙ ÐÒÏÐÕÓËÁÎÉÑ ÓÅÔÉ
Summary(uk_UA.KOI8-U): ÷¦ÄÂÉ×Á¤ ×ÉËÏÒÉÓÔÁÎÎÑ ÍÅÒÅÖ¦
Requires(pre): shadow-utils
Requires: /var/resolv
# Automatically added by buildreq on Wed Mar 24 2004
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 ADSL link so slow?".
%description -l ru_RU.KOI8-R
iftop -- ÁÎÁÌÏÇ top(1) ÐÏ ÞÁÓÔÉ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÓÅÔÉ: ÓÌÕÛÁÅÔ ÔÒÁÆÉË ÎÁ
ÕËÁÚÁÎÎÏÍ ÉÎÔÅÒÆÅÊÓÅ É ÏÔÏÂÒÁÖÁÅÔ ÔÁÂÌÉÃÕ ÔÅËÕÝÅÇÏ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÐÏ ÐÁÒÁÍ
ÈÏÓÔÏ×. õÄÏÂÎÏ ÄÌÑ ÏÔ×ÅÔÁ ÎÁ ×ÏÐÒÏÓ "ÐÏÞÅÍÕ ÎÁÛ ADSL ÔÁË ÔÏÒÍÏÚÉÔ?".
%description -l uk_UA.KOI8-U
iftop -- ÁÎÁÌÏÇ top(1) ÝÏÄÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÍÅÒÅÖ¦: ÓÌÕÈÁ¤ ÔÒÁÆ¦Ë ÎÁ
×ËÁÚÁÎÏÍÕ ¦ÎÔÅÒÆÅÊÓ¦ Ê ÚÏÂÒÁÖÕ¤ ÔÁÂÌÉÃÀ ÐÏÔÏÞÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÚÁ ÐÁÒÁÍÉ
ÈÏÓÔ¦×. úÒÕÞÎÏ ÄÌÑ ×¦ÄÐÏצĦ ÎÁ ÚÁÐÉÔÁÎÎÑ "ÞÏÍÕ ÎÁÛ ADSL ÔÁË ÇÁÌØÍÕ¤?".
%prep
%setup -q
%patch -p1
%build
%add_optflags -fno-strict-aliasing
autoreconf -fisv
%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 -s `relative %_bindir/iftop %_sbindir/` %buildroot%_sbindir/
install -pD -m755 iftop.control %buildroot%_controldir/iftop
%pre
/usr/sbin/groupadd -r -f netadmin
%pre_control iftop
%post
/usr/sbin/groupadd -r -f _iftop
/usr/sbin/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
…
Todas as alterações você pod ver aqui
Version: 0.17
Release: alt3
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.ru>
# %url/download/iftop-%version.tar.gz
Source: iftop-%version.tar
Patch: iftop-%version-%release.patch
Summary(ru_RU.KOI8-R): ïÔÏÂÒÁÖÁÅÔ ÉÓÐÏÌØÚÏ×ÁÎÉÅ ÐÏÌÏÓÙ ÐÒÏÐÕÓËÁÎÉÑ ÓÅÔÉ
Summary(uk_UA.KOI8-U): ÷¦ÄÂÉ×Á¤ ×ÉËÏÒÉÓÔÁÎÎÑ ÍÅÒÅÖ¦
Requires(pre): shadow-utils
Requires: /var/resolv
# Automatically added by buildreq on Wed Mar 24 2004
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 ADSL link so slow?".
%description -l ru_RU.KOI8-R
iftop -- ÁÎÁÌÏÇ top(1) ÐÏ ÞÁÓÔÉ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÓÅÔÉ: ÓÌÕÛÁÅÔ ÔÒÁÆÉË ÎÁ
ÕËÁÚÁÎÎÏÍ ÉÎÔÅÒÆÅÊÓÅ É ÏÔÏÂÒÁÖÁÅÔ ÔÁÂÌÉÃÕ ÔÅËÕÝÅÇÏ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÐÏ ÐÁÒÁÍ
ÈÏÓÔÏ×. õÄÏÂÎÏ ÄÌÑ ÏÔ×ÅÔÁ ÎÁ ×ÏÐÒÏÓ "ÐÏÞÅÍÕ ÎÁÛ ADSL ÔÁË ÔÏÒÍÏÚÉÔ?".
%description -l uk_UA.KOI8-U
iftop -- ÁÎÁÌÏÇ top(1) ÝÏÄÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÍÅÒÅÖ¦: ÓÌÕÈÁ¤ ÔÒÁÆ¦Ë ÎÁ
×ËÁÚÁÎÏÍÕ ¦ÎÔÅÒÆÅÊÓ¦ Ê ÚÏÂÒÁÖÕ¤ ÔÁÂÌÉÃÀ ÐÏÔÏÞÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÚÁ ÐÁÒÁÍÉ
ÈÏÓÔ¦×. úÒÕÞÎÏ ÄÌÑ ×¦ÄÐÏצĦ ÎÁ ÚÁÐÉÔÁÎÎÑ "ÞÏÍÕ ÎÁÛ ADSL ÔÁË ÇÁÌØÍÕ¤?".
%prep
%setup -q
%patch -p1
%build
%add_optflags -fno-strict-aliasing
autoreconf -fisv
%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 -s `relative %_bindir/iftop %_sbindir/` %buildroot%_sbindir/
install -pD -m755 iftop.control %buildroot%_controldir/iftop
%pre
/usr/sbin/groupadd -r -f netadmin
%pre_control iftop
%post
/usr/sbin/groupadd -r -f _iftop
/usr/sbin/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
…
Todas as alterações você pod ver aqui