|
|
cc09909 |
Version: 0.68
|
|
|
cc09909 |
Name: flow-tools
|
|
|
cc09909 |
Summary: Tool set for working with NetFlow data
|
|
|
3209043 |
Release: 15%{?dist}
|
|
|
cc09909 |
Group: Applications/System
|
|
|
cc09909 |
License: BSD
|
|
|
cc09909 |
URL: http://www.splintered.net/sw/flow-tools/
|
|
|
cc09909 |
Source0: ftp://ftp.eng.oar.net/pub/flow-tools/flow-tools-%{version}.tar.gz
|
|
|
2edfb0e |
Patch1: flow-tools-0.68-0001-Fix-first-line-of-included-python-scripts.patch
|
|
|
2edfb0e |
Patch2: flow-tools-0.68-0002-Fix-an-invalid-lvalue-in-assignment-compile-error.patch
|
|
|
2edfb0e |
Patch3: flow-tools-0.68-0003-Avoid-external-debug-variable.patch
|
|
|
2edfb0e |
Patch4: flow-tools-0.68-0004-Make-flow-tools-more-FHS-compliant-and-buildable-by-newer-toolchain.patch
|
|
|
2edfb0e |
Patch5: flow-tools-0.68-0005-Fix-breakage-on-64bit-platforms.patch
|
|
|
2edfb0e |
Patch6: flow-tools-0.68-0006-Fix-unitialized-variable-in-flow-send.patch
|
|
|
2edfb0e |
Patch7: flow-tools-0.68-0007-Add-extra-debugging-to-ftpdu_verify.patch
|
|
|
2edfb0e |
Patch8: flow-tools-0.68-0008-Fix-unitialized-variable-in-flow-export.c.patch
|
|
|
5314da1 |
Patch9: flow-tools-0.68.rpt72.patch
|
|
|
2edfb0e |
|
|
|
3209043 |
Requires: rrdtool-python
|
|
|
3209043 |
|
|
|
cc09909 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
897d754 |
BuildRequires: openssl-devel mysql-devel postgresql-devel autoconf automake libtool zlib-devel bison flex tcp_wrappers
|
|
|
cc09909 |
|
|
|
cc09909 |
%description
|
|
|
cc09909 |
Flow-tools is library and a collection of programs used to collect,
|
|
|
cc09909 |
send, process, and generate reports from NetFlow data. The tools can be
|
|
|
cc09909 |
used together on a single server or distributed to multiple servers for
|
|
|
cc09909 |
large deployments. The flow-toools library provides an API for development
|
|
|
cc09909 |
of custom applications for NetFlow export versions 1,5,6 and the 14 currently
|
|
|
cc09909 |
defined version 8 subversions. A Perl and Python interface have been
|
|
|
cc09909 |
contributed and are included in the distribution.
|
|
|
cc09909 |
|
|
|
cc09909 |
%package devel
|
|
|
cc09909 |
Summary: Development files for flow-tools
|
|
|
cc09909 |
Group: Development/Libraries
|
|
|
a381234 |
Requires: %{name} = %{version}-%{release} zlib-devel
|
|
|
cc09909 |
|
|
|
cc09909 |
%description devel
|
|
|
cc09909 |
Flow-tools is library and a collection of programs used to collect,
|
|
|
cc09909 |
send, process, and generate reports from NetFlow data. The tools can be
|
|
|
cc09909 |
used together on a single server or distributed to multiple servers for
|
|
|
cc09909 |
large deployments. The flow-toools library provides an API for development
|
|
|
cc09909 |
of custom applications for NetFlow export versions 1,5,6 and the 14 currently
|
|
|
cc09909 |
defined version 8 subversions. A Perl and Python interface have been
|
|
|
cc09909 |
contributed and are included in the distribution.
|
|
|
cc09909 |
|
|
|
cc09909 |
This package contains header files required to build applications that use
|
|
|
cc09909 |
libft.
|
|
|
cc09909 |
|
|
|
cc09909 |
%prep
|
|
|
cc09909 |
%setup -q
|
|
|
3eeb44a |
%patch1 -p1
|
|
|
2edfb0e |
%patch2 -p1
|
|
|
2edfb0e |
%patch3 -p1
|
|
|
2edfb0e |
%patch4 -p1
|
|
|
2edfb0e |
%patch5 -p1
|
|
|
2edfb0e |
%patch6 -p1
|
|
|
2edfb0e |
%patch7 -p1
|
|
|
2edfb0e |
%patch8 -p1
|
|
|
5314da1 |
%patch9 -p1
|
|
|
cc09909 |
|
|
|
cc09909 |
%build
|
|
|
cc09909 |
autoreconf -f -i -s
|
|
|
cc09909 |
%configure --localstatedir=%{_localstatedir}/ft --sysconfdir=%{_sysconfdir}/flow-tools --enable-static=no --with-mysql --with-pgsql --with-openssl
|
|
|
cc09909 |
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
|
|
cc09909 |
|
|
|
cc09909 |
%install
|
|
|
cc09909 |
rm -rf $RPM_BUILD_ROOT
|
|
|
cc09909 |
%makeinstall localstatedir=$RPM_BUILD_ROOT%{_localstatedir}/ft sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir}/flow-tools
|
|
|
cc09909 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
cc09909 |
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/ft
|
|
|
cc09909 |
|
|
|
cc09909 |
%clean
|
|
|
cc09909 |
rm -rf $RPM_BUILD_ROOT
|
|
|
cc09909 |
|
|
|
cc09909 |
%post -p /sbin/ldconfig
|
|
|
cc09909 |
|
|
|
cc09909 |
%postun -p /sbin/ldconfig
|
|
|
cc09909 |
|
|
|
cc09909 |
%files
|
|
|
cc09909 |
%defattr(-,root,root)
|
|
|
cc09909 |
%doc README TODO COPYING SECURITY ChangeLog docs/*.html
|
|
|
cc09909 |
%{_mandir}/man1/*
|
|
|
cc09909 |
%{_bindir}/*
|
|
|
cc09909 |
%{_libdir}/*.so.*
|
|
|
cc09909 |
%dir %{_sysconfdir}/flow-tools/
|
|
|
cc09909 |
%dir %{_sysconfdir}/flow-tools/cfg/
|
|
|
cc09909 |
%dir %{_sysconfdir}/flow-tools/sym/
|
|
|
cc09909 |
%config(noreplace) %{_sysconfdir}/flow-tools/cfg/*
|
|
|
cc09909 |
%config(noreplace) %{_sysconfdir}/flow-tools/sym/*
|
|
|
cc09909 |
%{_localstatedir}/ft/
|
|
|
cc09909 |
|
|
|
cc09909 |
%files devel
|
|
|
cc09909 |
%defattr(-,root,root,-)
|
|
|
cc09909 |
%{_libdir}/*.so
|
|
|
cc09909 |
%{_includedir}/*.h
|
|
|
cc09909 |
|
|
|
cc09909 |
%changelog
|
|
|
3209043 |
* Sun Mar 18 2007 Paul P Komkoff Jr <i@stingr.net> - 0.68-15
|
|
|
3209043 |
- Add runtime dependency for python-rrdtool
|
|
|
3209043 |
|
|
|
ac8187c |
* Fri Dec 15 2006 Paul P. Komkoff Jr <i@stingr.net>
|
|
|
ac8187c |
- rebuilt
|
|
|
ac8187c |
|
|
|
a119c43 |
* Thu Dec 14 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.68-13
|
|
|
a119c43 |
- Rebuild for new Postgres
|
|
|
a119c43 |
|
|
|
5314da1 |
* Thu Nov 16 2006 Paul P Komkoff Jr <i@stingr.net> - 0.68-12
|
|
|
5314da1 |
- Fix flow report 72 (by reaper@surnet.ru) bz#212928
|
|
|
5314da1 |
|
|
|
7796f6e |
* Sun Sep 10 2006 Paul P Komkoff Jr <i@stingr.net> - 0.68-11
|
|
|
7796f6e |
- rebuild
|
|
|
7796f6e |
|
|
|
c626ff9 |
* Sun Jul 9 2006 Paul P Komkoff Jr <i@stingr.net> 0.68-10
|
|
|
c626ff9 |
- Rebuild
|
|
|
c626ff9 |
|
|
|
897d754 |
* Sun Jul 9 2006 Paul P Komkoff Jr <i@stingr.net> 0.68-9
|
|
|
897d754 |
- Fix build in mock with minimal build environment #197706
|
|
|
897d754 |
|
|
|
2edfb0e |
* Sat Jun 10 2006 Paul P Komkoff Jr <i@stingr.net> 0.68-8
|
|
|
2edfb0e |
- Split patches in more convenient way (and bug upstream)
|
|
|
2edfb0e |
- Fix 2 unitialized variable bugs
|
|
|
2edfb0e |
|
|
|
b76e121 |
* Sun Feb 19 2006 Paul P Komkoff Jr <i@stingr.net> 0.68-7
|
|
|
b76e121 |
- Rebuild
|
|
|
b76e121 |
|
|
|
b3df5d4 |
* Mon Nov 14 2005 Paul P Komkoff Jr <i@stingr.net> 0.68-6
|
|
|
b3df5d4 |
- Rebuild
|
|
|
b3df5d4 |
|
|
|
3eeb44a |
* Sun Oct 30 2005 Paul P Komkoff Jr <i@stingr.net> 0.68-5
|
|
|
3eeb44a |
- Fix flow-capture segfaults on platforms with 64bit time_t
|
|
|
3eeb44a |
|
|
|
a285761 |
* Thu Oct 20 2005 Paul P Komkoff Jr <i@stingr.net> 0.68-4
|
|
|
a285761 |
- Fix accidential damage
|
|
|
a285761 |
|
|
|
a381234 |
* Wed Oct 19 2005 Paul P Komkoff Jr <i@stingr.net> 0.68-3
|
|
|
a381234 |
- add zlib-devel to build-requires of main package and to
|
|
|
a381234 |
requires of -devel package
|
|
|
a381234 |
|
|
|
cc09909 |
* Tue Sep 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.68-2
|
|
|
cc09909 |
- simplify %%files
|
|
|
cc09909 |
- use more macros
|
|
|
cc09909 |
- change Group to Application/System
|
|
|
cc09909 |
- own/create %{_localstatedir}/ft/
|
|
|
cc09909 |
- add BR: autoconf
|
|
|
cc09909 |
- don't need generic INSTALL
|
|
|
cc09909 |
- mark config files as such
|
|
|
cc09909 |
- own all directories we create
|
|
|
cc09909 |
- run ldconfig on post/postun
|
|
|
cc09909 |
|
|
|
cc09909 |
* Tue Sep 6 2005 Paul P Komkoff Jr <i@stingr.net> 0.68-1
|
|
|
cc09909 |
- Submit to fedora-extras
|
|
|
cc09909 |
- Change volatile data location to /var/ft and nonvolatile
|
|
|
cc09909 |
to /etc/flow-tools (FHS)
|
|
|
cc09909 |
- Make libft shared library
|
|
|
cc09909 |
- Split to plain/devel
|
|
|
cc09909 |
|
|
|
cc09909 |
* Fri Jan 7 2004 William Emmanuel S. Yu <wyu@ateneo.edu>
|
|
|
cc09909 |
- updated RPM file for version 0.67
|
|
|
cc09909 |
|
|
|
cc09909 |
* Tue Aug 8 2003 William Emmanuel S. Yu <wyu@ateneo.edu>
|
|
|
cc09909 |
- fixed SQL bug
|
|
|
cc09909 |
- update flow-export documentation
|
|
|
cc09909 |
|
|
|
cc09909 |
* Tue Apr 29 2003 William Emmanuel S. Yu <wyu@ateneo.edu>
|
|
|
cc09909 |
- add support for checking null symbols filename
|
|
|
cc09909 |
|
|
|
cc09909 |
* Fri Apr 4 2003 William Emmanuel S. Yu <wyu@ateneo.edu>
|
|
|
cc09909 |
- updated RPM file for version 0.66
|
|
|
cc09909 |
|
|
|
cc09909 |
* Fri Apr 4 2003 William Emmanuel S. Yu <wyu@ateneo.edu>
|
|
|
cc09909 |
- updated RPM file for version 0.65
|
|
|
cc09909 |
- included PostgreSQL support patch
|
|
|
cc09909 |
|
|
|
cc09909 |
* Mon Feb 3 2003 Larry Fahnoe <fahnoe@FahnoeTech.com>
|
|
|
cc09909 |
- added makefile patches to use RPM_OPT_FLAGS
|
|
|
cc09909 |
- added manpages and html files to spec file
|
|
|
cc09909 |
|
|
|
cc09909 |
* Tue Dec 17 2002 William Emmanuel S. Yu <wyu@ateneo.edu>
|
|
|
cc09909 |
- added tagging and ip-port patches
|
|
|
cc09909 |
|
|
|
cc09909 |
* Thu Dec 12 2002 William Emmanuel S. Yu <wyu@ateneo.edu>
|
|
|
cc09909 |
- updated RPM file for version 0.63
|
|
|
cc09909 |
|
|
|
cc09909 |
* Wed Oct 16 2002 William Emmanuel S. Yu <wyu@ateneo.edu>
|
|
|
cc09909 |
- initial creation of RPM file for version 0.62
|