Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1583195
 поиск   регистрация   авторизация 
 
Группа :: Мониторинг
Пакет: fprobe-ulog

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

%define name fprobe-ulog
%define fprobedir %_localstatedir/%name
%define piddir %_var/run

Name: %name
Version: 1.1
Release: alt0.M24.1
Summary: fprobe-ulog: a NetFlow probe
Group: Monitoring
License: GPL
Url: http://fprobe.sourceforge.net
Source: %name-%version.tar.bz2
Source1: %name.init
Source2: %name.sysconfig

# Automatically added by buildreq on Tue May 02 2006

BuildRequires: hostinfo

%description
fprobe-ulog - libipulog-based tool that collect network traffic data
and emit it as NetFlow flows towards the specified collector.

This daemon will be run in chroot()-ed environment (can be turned off)
as non-privileged user (can be turned off).

Also note that package builded with memory optimisation
(--with-hash=xor8). See included README for details.

%prep
%setup -q

%build
%configure --sbindir=%_sbindir --with-piddir=%piddir --with-hash=xor8
%__make

%install
%makeinstall

%__mkdir_p %buildroot%_initdir
%__install %SOURCE1 %buildroot%_initdir/%name

%__mkdir_p %buildroot%_sysconfdir/sysconfig
%__install %SOURCE2 %buildroot%_sysconfdir/sysconfig/%name

%__mkdir_p %buildroot%fprobedir%piddir

%post
%post_service %name

%preun
%preun_service %name
%files
%_initdir/%name
%_sbindir/*
%_man8dir/*
%doc AUTHORS ChangeLog NEWS README COPYING TODO

%config(noreplace) %_sysconfdir/sysconfig/%name

%fprobedir
%defattr(-,nobody,root)
%fprobedir%piddir

%changelog

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005