rpms/nethogs/F-8 import.log, NONE, 1.1 nethogs-0.7-1.20080627cvs-gcc.patch, NONE, 1.1 nethogs.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Anderson de Farias Silva (afsilva) fedora-extras-commits at redhat.com
Fri Jun 27 18:21:15 UTC 2008


Author: afsilva

Update of /cvs/pkgs/rpms/nethogs/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29717/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	import.log nethogs-0.7-1.20080627cvs-gcc.patch nethogs.spec 
Log Message:



--- NEW FILE import.log ---
nethogs-0_7-2_20080627cvs_fc9:F-8:nethogs-0.7-2.20080627cvs.fc9.src.rpm:1214590483

nethogs-0.7-1.20080627cvs-gcc.patch:

--- NEW FILE nethogs-0.7-1.20080627cvs-gcc.patch ---
diff -Naur nethogs-upstream/conninode.cpp nethogs/conninode.cpp
--- nethogs-upstream/conninode.cpp	2008-06-27 16:40:44.000000000 +0200
+++ nethogs/conninode.cpp	2008-06-27 16:42:36.000000000 +0200
@@ -1,5 +1,6 @@
 #include <netinet/in.h>
 #include <map>
+#include <cstdlib>
 
 #
 #include "nethogs.h"


--- NEW FILE nethogs.spec ---
Name:           nethogs
Version:        0.7
Release:        2.20080627cvs%{?dist}
Summary:        A tool resembling top for network traffic

Group:          Applications/Internet
License:        GPL+
URL:			http://nethogs.sourceforge.net

# The source for this package was pulled from upstream's vcs.  Use the
# following commands to generate the tarball:
# cvs -z3 -d:pserver:anonymous at nethogs.cvs.sourceforge.net:/cvsroot/nethogs co -P nethogs 
# tar -zcf nethogs-20080627.tar.gz nethogs/  
Source0: nethogs-20080627.tar.gz
Patch0: nethogs-0.7-1.20080627cvs-gcc.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires:       ncurses 
BuildRequires:  libstdc++-devel, ncurses-devel, libpcap-devel, gcc-c++

%description
NetHogs is a small "net top" tool.

Instead of breaking the traffic down per protocol or per subnet, like
most such tools do, it groups bandwidth by process and does not rely
on a special kernel module to be loaded.

So if there's suddenly a lot of network traffic, you can fire up
NetHogs and immediately see which PID is causing this, and if it's
some kind of spinning process, kill it.

%prep
%setup -q -n "nethogs"
%patch -p1 -b .gcc34

%build
make %{?_smp_mflags} CFLAGS="${RPM_OPT_FLAGS}"

%install
rm -rf "${RPM_BUILD_ROOT}"

mkdir -p "${RPM_BUILD_ROOT}%{_sbindir}"
install -m 0755 -s nethogs "${RPM_BUILD_ROOT}%{_sbindir}/"

mkdir -p "${RPM_BUILD_ROOT}%{_mandir}/man8"
install -m 0644 nethogs.8 "${RPM_BUILD_ROOT}%{_mandir}/man8/"

%clean
rm -rf "${RPM_BUILD_ROOT}"

%files
%defattr(-,root,root)
%doc Changelog DESIGN README
%{_sbindir}/nethogs
%doc %{_mandir}/man*/*

%changelog
* Fri Jun 27 2008 Anderson Silva <ansilva at redhat.com> 0.7-2.20080627cvs
- Patch provided by Marek Mahut to compile under Fedora 9
- Removed BuildArch restrictions
* Fri Jun 27 2008 Anderson Silva <ansilva at redhat.com> 0.7-1.20080627cvs
- Stable package of nethogs


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/nethogs/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 Jun 2008 17:04:28 -0000	1.1
+++ .cvsignore	27 Jun 2008 18:20:27 -0000	1.2
@@ -0,0 +1 @@
+nethogs-20080627.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/nethogs/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 Jun 2008 17:04:28 -0000	1.1
+++ sources	27 Jun 2008 18:20:27 -0000	1.2
@@ -0,0 +1 @@
+e0171a1b30e488fdc354a68ad15c5833  nethogs-20080627.tar.gz




More information about the fedora-extras-commits mailing list