Репозитории ALT
Группа :: Мониторинг
Пакет: ngrep
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: ngrep
Version: 1.46
Release: alt0.2
Summary: ngrep - network grep
License: BSD-style
Group: Monitoring
Url: http://ngrep.sourceforge.net
# http://git.altlinux.org/gears/n/ngrep.git
Source: %name-%version-%release.tar
Requires: /var/resolv
BuildRequires: libpcap-devel libpcre-devel
Summary(ru_RU.UTF-8): ngrep - п©п╬п╦я│п╨ я│я┌я─п╬п╨п╬п╡я▀я┘ п╪п╟я│п╬п╨ п╡ я│п╣я┌п╣п╡п╬п╪ я┌я─п╟я└п╦п╨п╣
%description
ngrep strives to provide most of GNU grep's common features, applying them
to the network layer. ngrep is a pcap-aware tool that will allow you to
specify extended regular expressions to match against data payloads of
packets. It currently recognizes TCP and UDP across ethernet, ppp and
slip interfaces, and understands bpf filter logic in the same fashion
as more common packet sniffing tools, like tcpdump and snoop.
%description -l ru_RU.UTF-8
ngrep я─п╣п╟п╩п╦п╥я┐п╣я┌ п╠п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╣п╧, п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣п╪я▀я┘ я┐я┌п╦п╩п╦я┌п╬п╧ GNU grep
п╢п╩я▐ п©п╬п╦я│п╨п╟ п©п╬ п╬п╠я─п╟п╥я├п╟п╪, п╫п╬ п╬п╠я─п╟п╠п╟я┌я▀п╡п╟п╣я┌ п╫п╣ я└п╟п╧п╩я▀, п╟ п©п╟п╨п╣я┌я▀ я│п╣я┌п╣п╡п╬пЁп╬ я┌я─п╟я└п╦п╨п╟.
п■п╩я▐ п╥п╟п╢п╟п╫п╦я▐ п©я─п╟п╡п╦п╩ п©п╬п╦я│п╨п╟ п╪п╬п╤п╫п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я─п╟я│я┬п╦я─п╣п╫п╫я▀п╣ я─п╣пЁя┐п╩я▐я─п╫я▀п╣ п╡я▀я─п╟п╤п╣п╫п╦я▐.
п■п╩я▐ п©я─п╬я│п╪п╬я┌я─п╟ я│п╣я┌п╣п╡п╬пЁп╬ я┌я─п╟я└п╦п╨п╟ ngrep (я┌п╟п╨ п╤п╣, п╨п╟п╨ п╦ п╢я─я┐пЁп╦п╣ п©п╬п©я┐п╩я▐я─п╫я▀п╣ я│я─п╣п╢я│я┌п╡п╟
п©п╣я─п╣я┘п╡п╟я┌п╟ п©п╟п╨п╣я┌п╬п╡ п╫п╟п©п╬п╢п╬п╠п╦п╣ tcpdump п╦ snoop) п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╠п╦п╠п╩п╦п╬я┌п╣п╨я┐ pcap.
п▓ п╫п╟я│я┌п╬я▐я┴п╦п╧ п╪п╬п╪п╣п╫я┌ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌я│я▐ п©я─п╬я│п╪п╬я┌я─ п©п╟п╨п╣я┌п╬п╡ TCP п╦ UDP п╡ Ethernet-,
PPP- п╦ SLIP-я│п╬п╣п╢п╦п╫п╣п╫п╦я▐я┘.
%prep
%setup -n %name-%version-%release
%build
%autoreconf
%configure \
--with-dropprivs-user=%name \
--with-pcap-includes=%_includedir/pcap \
--with-regex-impl=sys \
--enable-ipv6 \
--enable-pcre \
--disable-pcap-restart
%make_build STRIPFLAG=
%install
install -pD -m755 %name %buildroot%_sbindir/%name
install -pD -m644 %name.8 %buildroot%_man8dir/%name.8
%pre
%_sbindir/groupadd -r -f %name
%_sbindir/useradd -r -g %name -d /dev/null -s /dev/null -n %name >/dev/null 2>&1 ||:
%files
%_sbindir/%name
%_mandir/man?/*
%doc doc/*.txt usage.html
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.46
Release: alt0.2
Summary: ngrep - network grep
License: BSD-style
Group: Monitoring
Url: http://ngrep.sourceforge.net
# http://git.altlinux.org/gears/n/ngrep.git
Source: %name-%version-%release.tar
Requires: /var/resolv
BuildRequires: libpcap-devel libpcre-devel
Summary(ru_RU.UTF-8): ngrep - п©п╬п╦я│п╨ я│я┌я─п╬п╨п╬п╡я▀я┘ п╪п╟я│п╬п╨ п╡ я│п╣я┌п╣п╡п╬п╪ я┌я─п╟я└п╦п╨п╣
%description
ngrep strives to provide most of GNU grep's common features, applying them
to the network layer. ngrep is a pcap-aware tool that will allow you to
specify extended regular expressions to match against data payloads of
packets. It currently recognizes TCP and UDP across ethernet, ppp and
slip interfaces, and understands bpf filter logic in the same fashion
as more common packet sniffing tools, like tcpdump and snoop.
%description -l ru_RU.UTF-8
ngrep я─п╣п╟п╩п╦п╥я┐п╣я┌ п╠п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╣п╧, п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣п╪я▀я┘ я┐я┌п╦п╩п╦я┌п╬п╧ GNU grep
п╢п╩я▐ п©п╬п╦я│п╨п╟ п©п╬ п╬п╠я─п╟п╥я├п╟п╪, п╫п╬ п╬п╠я─п╟п╠п╟я┌я▀п╡п╟п╣я┌ п╫п╣ я└п╟п╧п╩я▀, п╟ п©п╟п╨п╣я┌я▀ я│п╣я┌п╣п╡п╬пЁп╬ я┌я─п╟я└п╦п╨п╟.
п■п╩я▐ п╥п╟п╢п╟п╫п╦я▐ п©я─п╟п╡п╦п╩ п©п╬п╦я│п╨п╟ п╪п╬п╤п╫п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я─п╟я│я┬п╦я─п╣п╫п╫я▀п╣ я─п╣пЁя┐п╩я▐я─п╫я▀п╣ п╡я▀я─п╟п╤п╣п╫п╦я▐.
п■п╩я▐ п©я─п╬я│п╪п╬я┌я─п╟ я│п╣я┌п╣п╡п╬пЁп╬ я┌я─п╟я└п╦п╨п╟ ngrep (я┌п╟п╨ п╤п╣, п╨п╟п╨ п╦ п╢я─я┐пЁп╦п╣ п©п╬п©я┐п╩я▐я─п╫я▀п╣ я│я─п╣п╢я│я┌п╡п╟
п©п╣я─п╣я┘п╡п╟я┌п╟ п©п╟п╨п╣я┌п╬п╡ п╫п╟п©п╬п╢п╬п╠п╦п╣ tcpdump п╦ snoop) п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╠п╦п╠п╩п╦п╬я┌п╣п╨я┐ pcap.
п▓ п╫п╟я│я┌п╬я▐я┴п╦п╧ п╪п╬п╪п╣п╫я┌ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌я│я▐ п©я─п╬я│п╪п╬я┌я─ п©п╟п╨п╣я┌п╬п╡ TCP п╦ UDP п╡ Ethernet-,
PPP- п╦ SLIP-я│п╬п╣п╢п╦п╫п╣п╫п╦я▐я┘.
%prep
%setup -n %name-%version-%release
%build
%autoreconf
%configure \
--with-dropprivs-user=%name \
--with-pcap-includes=%_includedir/pcap \
--with-regex-impl=sys \
--enable-ipv6 \
--enable-pcre \
--disable-pcap-restart
%make_build STRIPFLAG=
%install
install -pD -m755 %name %buildroot%_sbindir/%name
install -pD -m644 %name.8 %buildroot%_man8dir/%name.8
%pre
%_sbindir/groupadd -r -f %name
%_sbindir/useradd -r -g %name -d /dev/null -s /dev/null -n %name >/dev/null 2>&1 ||:
%files
%_sbindir/%name
%_mandir/man?/*
%doc doc/*.txt usage.html
%changelog
…
Полный changelog можно просмотреть здесь