Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37537482
en ru br
Репозитории ALT

Группа :: Мониторинг
Пакет: flow-tools-ng

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

Name: flow-tools-ng
Version: 0.68.5
Release: alt5

Summary: Tool set for working with NetFlow data version %version
License: BSD
Group: Monitoring

Url: http://code.google.com/p/flow-tools/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: %name-%version.tar
Patch1: %name-%version-gcc-10-extern.patch

Provides: flow-tools
Conflicts: flow-tools

BuildPreReq: flex zlib-devel %{?_with_mysql: libMySQL-devel} %{?_with_pgsql: postgresql-devel}

BuildRequires: docbook-utils flex postgresql-devel

Requires: lib%name = %version-%release

%description
This fork was created because original flow-tools upstream disappeared.

Flow-tools is library and a collection of programs used to
collect, send, process, and generate reports from NetFlow data.
The tools can be used together on a single server or distributed
to multiple servers for large deployments. The flow-toools library
provides an API for development of custom applications for NetFlow
export versions 1,5,6 and the 14 currently defined version 8
subversions.

Optional : mysql pgsql
Enabled  :%{?_with_mysql: mysql} %{?_with_pgsql: pgsql}

%package -n lib%name
Summary: Shared libraries of %name
Group: System/Libraries

Conflicts: libflow-tools

%description -n lib%name
Shared libraries of %name.

%package -n lib%name-devel
Summary: Development headers and libraries for %name
Group: Development/C

Requires: lib%name = %version-%release
Conflicts: libflow-tools-devel

%description -n lib%name-devel
Development headers and libraries for %name

%package utils
Summary: %name utilities
Group: Monitoring
Requires: %name = %version-%release
BuildArch: noarch
Conflicts: flow-tools-utils

%description utils
This package contains scripts to provide ASCII, HTML, RRD output

%prep
%setup
%patch1 -p1
# fix broken env path
find -type f | xargs subst "s|#!/bin/env|#/!/usr/bin/env|g"

%build
%autoreconf
%configure --sysconfdir=%_sysconfdir/%name/ \
--disable-static \
%{?_with_mysql:--with-mysql} \
%{?_with_pgsql:--with-pgsql}

%make_build

%install
%makeinstall_std

install -pm644 configs/filter-acl %buildroot/%_sysconfdir/%name/
install -pm644 configs/flow.acl %buildroot/%_sysconfdir/%name/

rm -f %buildroot%_libdir/*.la

%files
%doc  AUTHORS README SECURITY TODO contrib docs/*.html
%dir %_sysconfdir/%name/
%dir %_sysconfdir/%name/cfg/
%dir %_sysconfdir/%name/sym/
%config(noreplace) %_sysconfdir/%name/cfg/*
%config(noreplace) %_sysconfdir/%name/sym/*
%config(noreplace) %_sysconfdir/%name/filter-acl
%config(noreplace) %_sysconfdir/%name/flow.acl
%_datadir/flow-tools/
%_bindir/*
%exclude %_bindir/flow-rpt2rrd
%exclude %_bindir/flow-log2rrd
%exclude %_bindir/flow-rptfmt
%_man1dir/*

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so

%files utils
%_bindir/flow-rpt2rrd
%_bindir/flow-log2rrd
%_bindir/flow-rptfmt

%changelog

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

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