Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
network:utilities
rate
rate.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rate.spec of Package rate
# # spec file for package rate # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: rate Version: 0.9 Release: 0 Summary: Traffic Analysis Tool Source: http://s-tech.elsat.net.pl/bmtools/rate-%{version}.tar.gz Patch1: rate-optflags.diff Patch2: rate-fix-pcap.diff Patch3: rate-add_missing_includes.patch Url: http://s-tech.elsat.net.pl/bmtools/ Group: Productivity/Networking/Diagnostic License: GPL-2.0+ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc glibc-devel make BuildRequires: libpcap-devel %description 'rate' is a swiss-army-knife commandline traffic analysis tool, designed to help a network administrator to see what is happening at a router at the moment. Unlike tcpdump(1), rate uses statistical and stream-oriented methods, and will never produce an output stream at a speed beyond human perception. The output is less accurate, however. Rate features four different operating modes, designed to perform the following tasks: estimating overall traffic rates, determining nodes generating the highest traffic, determining connections and flows generating the highest traffic and extracting strings from packets. %prep %setup -q %patch1 %patch2 %patch3 %build %__make %{?jobs:-j%{jobs}} CC="%__cc" OPTFLAGS="%{optflags}" %install %__install -D -m 0755 rate "%{buildroot}%{_sbindir}/rate" %__install -D -m 0644 doc/rate.1 "%{buildroot}%{_mandir}/man1/rate.1" %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %doc COPYING README doc/rate.html %{_sbindir}/rate %{_mandir}/man1/rate.1* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor