Репозитории ALT
5.1: | 0.68-alt4 |
4.1: | 0.68-alt3.1 |
4.0: | 0.68-alt2.0 |
3.0: | 0.67-alt6 |
Группа :: Мониторинг
Пакет: flow-tools
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# Optional builds
# _with_mysql
# _with_pgsql
# --with mysql --with pgsql
Version: 0.67
Name: flow-tools
Summary: Tool set for working with NetFlow data version %version
Release: alt6
Group: Monitoring
Copyright: BSD
Source0: ftp://ftp.eng.oar.net/pub/flow-tools/%name-%version.tar.gz
Source1: config.guess
Source2: config.sub
Source3: ltmain.sh
Patch1: flow-tools-0.67-shared.patch
Patch2: flow-tools-0.67-config.patch
Patch3: flow-tools-0.67-docs.patch
Patch4: flow-tools-0.67-gcc34.patch
Patch5: flow-tools-0.67-gcc4_amd64.patch
Patch6: flow-tools-0.67-debug.patch
Patch20: flow-tools-0.67-mysql.patch
Provides: flow-tools
BuildPreReq: flex zlib-devel %{?_with_mysql: libMySQL-devel} %{?_with_pgsql: postgresql-devel}
%description
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 devel
Summary: Development headers and libraries for %{name}
Group: Development/C
Requires: %name = %version-%release
%description devel
Development headers and libraries for %name
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
#%patch4 -p1
%patch5 -p1
%patch6 -p1
%if_with mysql
%patch20 -p1
%endif
%__cp %SOURCE1 config.guess
%__cp %SOURCE2 config.sub
%__cp %SOURCE3 ltmain.sh
%build
aclocal; automake; autoconf
%configure \
%{?_with_mysql:--with-mysql} \
%{?_with_pgsql:--with-pgsql}
%make_build
%install
%makeinstall
%__install -m 644 configs/filter-acl %buildroot%_sysconfdir/flow-tools
%__install -m 644 configs/flow.acl %buildroot%_sysconfdir/flow-tools
%__rm -f %buildroot%_libdir/*.la
%clean
%files
%doc AUTHORS ChangeLog INSTALL README SECURITY TODO contrib docs/*.html
%config(noreplace) %_sysconfdir/flow-tools/cfg/*
%_sysconfdir/flow-tools/filter-acl
%_sysconfdir/flow-tools/flow.acl
%_datadir/flow-tools/sym/*
%_bindir/*
%_libdir/*.so.*
%_man1dir/*
%files devel
%_includedir/*
%_libdir/*.so
%_libdir/*.a
%changelog
…
Полный changelog можно просмотреть здесь
# _with_mysql
# _with_pgsql
# --with mysql --with pgsql
Version: 0.67
Name: flow-tools
Summary: Tool set for working with NetFlow data version %version
Release: alt6
Group: Monitoring
Copyright: BSD
Source0: ftp://ftp.eng.oar.net/pub/flow-tools/%name-%version.tar.gz
Source1: config.guess
Source2: config.sub
Source3: ltmain.sh
Patch1: flow-tools-0.67-shared.patch
Patch2: flow-tools-0.67-config.patch
Patch3: flow-tools-0.67-docs.patch
Patch4: flow-tools-0.67-gcc34.patch
Patch5: flow-tools-0.67-gcc4_amd64.patch
Patch6: flow-tools-0.67-debug.patch
Patch20: flow-tools-0.67-mysql.patch
Provides: flow-tools
BuildPreReq: flex zlib-devel %{?_with_mysql: libMySQL-devel} %{?_with_pgsql: postgresql-devel}
%description
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 devel
Summary: Development headers and libraries for %{name}
Group: Development/C
Requires: %name = %version-%release
%description devel
Development headers and libraries for %name
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
#%patch4 -p1
%patch5 -p1
%patch6 -p1
%if_with mysql
%patch20 -p1
%endif
%__cp %SOURCE1 config.guess
%__cp %SOURCE2 config.sub
%__cp %SOURCE3 ltmain.sh
%build
aclocal; automake; autoconf
%configure \
%{?_with_mysql:--with-mysql} \
%{?_with_pgsql:--with-pgsql}
%make_build
%install
%makeinstall
%__install -m 644 configs/filter-acl %buildroot%_sysconfdir/flow-tools
%__install -m 644 configs/flow.acl %buildroot%_sysconfdir/flow-tools
%__rm -f %buildroot%_libdir/*.la
%clean
%files
%doc AUTHORS ChangeLog INSTALL README SECURITY TODO contrib docs/*.html
%config(noreplace) %_sysconfdir/flow-tools/cfg/*
%_sysconfdir/flow-tools/filter-acl
%_sysconfdir/flow-tools/flow.acl
%_datadir/flow-tools/sym/*
%_bindir/*
%_libdir/*.so.*
%_man1dir/*
%files devel
%_includedir/*
%_libdir/*.so
%_libdir/*.a
%changelog
…
Полный changelog можно просмотреть здесь