Репозиторий Sisyphus
Последнее обновление: 31 мая 2023 | Пакетов: 18442 | Посещений: 27878247
en ru br
Репозитории ALT
5.1: 0.1.6-alt0.M51.1

Группа :: Сети/WWW
Пакет: httpry

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

Summary: specialized packet sniffer designed for displaying and logging HTTP traffic
Name: httpry
Version: 0.1.7
Release: alt2
License: GPLv2
Group: Networking/WWW
Url: http://dumpsterventures.com/jason/httpry/
Source: %name-%version.tar

BuildRequires: libpcap-devel perl-DBD-mysql

%def_disable daemon

httpry is a tool designed for displaying and logging HTTP traffic. It is not
intended to perform analysis itself, but instead to capture, parse and/or
log the traffic for later analysis. It can be run in real-time displaying
the live traffic on the wire, or as a daemon process that logs to an output
file. It is written to be as lightweight and flexible as possible, so that
it can be easily adaptable to different applications. It does not display
the raw HTTP data transferred, but instead focuses on parsing and displaying
the request/response line along with associated header fields.

%package scripts
Summary: Plugins for %name
Group: Networking/WWW
Requires: perl-DBD-mysql
%description scripts
A number of Perl scripts are included with the project to provide a basic
log parsing framework.

Read perl-tools for detail information.

%if_enabled daemon
%package daemon
Summary: Iniscript for %name
Group: Networking/WWW
%description daemon
Plugins for %name

sed -i '/DEFAULT_PLUGIN_DIR/s/plugins/\/usr\/share\/perl5\/httpry/' scripts/parse_log.pl


install -D -m 0755 %name %buildroot%_sbindir/%name
install -D -m 0755 scripts/parse_log.pl %buildroot%_bindir/parse_log
install -D -m 0644 %name.1 %buildroot%_mandir/man1/%name.1
%if_enabled daemon
install -D -m 0755 rc.%name %buildroot%_initdir/%name
mkdir -p %buildroot%perl_vendor_privlib/%name
cp -r scripts/plugins/* %buildroot%perl_vendor_privlib/%name

%if_enabled daemon
%post_service %name
%preun_service %name

%doc doc

%if_enabled daemon
%files daemon

%files scripts


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

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