Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37569837
en ru br
Репозитории ALT
5.1: 1.1-alt4
4.1: 1.1-alt4
4.0: 1.1-alt2
3.0:
+backports:1.1-alt0.C30.1
www.altlinux.org/Changes

Группа :: Мониторинг
Пакет: fprobe-ulog

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

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

Name: %name
Version: 1.1
Release: alt0.C30.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 можно просмотреть здесь

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