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

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

# This spec for backport to M24 is autogenerated. Do not edit it.
Name: ipcad
Version: 3.7
Release: alt0.M24.1
Summary: IP accounting daemon
License: BSD-style
Group: Monitoring
Url: http://ipcad.sf.net
Source0: %name-%version.tar.gz
Source1: %name.init
Source2: %name.sysconfig
Source3: %name.conf

# Automatically added by buildreq on Wed Jun 16 2004

BuildRequires: flex hostinfo iptables-devel libpcap-devel

BuildRequires: rpm-build-compat >= 0.4

%description
IPCAD stands for IP Cisco Accounting Daemon. It runs in background and
listens traffic on specified interfaces. ipcad uses raw BPF devices
(/dev/bpf*), PCAP library (pcap(3)), Linux iptables' ULOG (>=2.4.18-pre8)
and IPQ (libipq(3)), BSD divert(4) and tee packet sources.

IPCAD exports the collected information via rsh or NetFlow protocols.
Alternatively, a table can be dumped into the specified file, or printed
to the standard output or console

%prep
%setup

%build


%configure
%make_build

%install
%makeinstall
%__mkdir_p %buildroot%_initdir
%__mkdir_p %buildroot%_sbindir
%__mkdir_p %buildroot%_man8dir
%__mkdir_p %buildroot%_man5dir
%__mkdir_p %buildroot%_sysconfdir/sysconfig
%__mkdir_p %buildroot%_var/lib/%name

%__cp %buildroot%_bindir/%name %buildroot%_sbindir/%name

%__install %SOURCE1 %buildroot%_initdir/%name
%__install ipcad.8 %buildroot%_man8dir
%__install ipcad.conf.5 %buildroot%_man5dir
%__install -pD -m644 %SOURCE2 %buildroot%_sysconfdir/sysconfig/%name
%__install -pD -m644 %SOURCE3 %buildroot%_sysconfdir/%name.conf


%files
%config %_initdir/*
%config(noreplace) %_sysconfdir/%name.conf
%_sysconfdir/%name.conf.default
%_sysconfdir/%name.conf.simple
%config(noreplace) %_sysconfdir/sysconfig/*
%_sbindir/%name
%_mandir/man[58]/*
%doc AUTHORS BUGS COPYING ChangeLog FAQ INSTALL README
%dir %_var/lib/%name

%changelog

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

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