Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
netflow
>
softflowd
> softflowd.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File softflowd.spec of Package softflowd (Revision 2)
Currently displaying revision
2
,
show latest
Name: softflowd Summary: Network traffic analyser capable of Cisco NetFlow data export Version: 0.9.8 Release: 1 Source0: %{name}-%{version}.tar.gz Source1: %{name}.sysconfig Source2: %{name}.init Group: System/Utilities License: BSD BuildRoot: %{_tmppath}/%{name}-build URL: http://www.mindrot.org/softflowd.html %description softflowd is a software implementation of a flow-based network traffic monitor. softflowd reads network traffic and gathers information about active traffic flows. A "traffic flow" is communication between two IP addresses or (if the overlying protocol is TCP or UDP) address/port tuples. The intended use of softflowd is as a software implementation of Cisco’s NetFlow traffic account system. softflowd supports data export using versions 1, 5 or 9 of the NetFlow protocol. %prep %setup %build %configure %__make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc/sysconfig %if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d cp %_sourcedir/softflowd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/softflowd cp %_sourcedir/softflowd.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/softflowd %fi %if 0%{?suse_version} mkdir -p $RPM_BUILD_ROOT/etc/init.d mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates/ cp %{S:1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.%{name} cp %{S:2} $RPM_BUILD_ROOT/etc/init.d/%{name} %fi %post %if 0%{?suse_version} %{fillup_and_insserv softflowd} %{fillup_only -an softflowd} %fi %preun %if 0%{?suse_version} %stop_on_removal softflowd %fi %files %defattr(-,root,root) %doc ChangeLog README TODO %{_sbindir}/* %{_mandir}/* %if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} %attr(0755,root,root) /etc/rc.d/init.d/softflowd %config(noreplace) %attr(0644,root,root) /etc/sysconfig/softflowd %fi %if 0%{?suse_version} %attr(0755,root,root) /etc/init.d/softflowd /var/adm/fillup-templates/sysconfig.%{name} %fi %clean rm -rf $RPM_BUILD_ROOT %changelog * Sat Aug 30 2008 Carsten Schoene <cs@linux-administrator.com> - initial build