debian/0000755000000000000000000000000011626227025007171 5ustar debian/rules0000755000000000000000000000006511626226554010260 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 %: dh $@ debian/patches/0000755000000000000000000000000011626226420010616 5ustar debian/patches/04_makefile.diff0000644000000000000000000000064411626226376013546 0ustar --- ../orig/nethogs-0.8.0/Makefile 2011-08-27 17:28:50.000000000 +0000 +++ ./Makefile 2011-08-27 17:44:00.000000000 +0000 @@ -5,10 +5,11 @@ #DESTDIR := /usr DESTDIR := /usr/local -sbin := $(DESTDIR)/sbin -man8 := $(DESTDIR)/share/man/man8/ +sbin := $(DESTDIR)/usr/sbin +man8 := $(DESTDIR)/usr/share/man/man8/ -all: nethogs decpcap_test +all: nethogs +# decpcap_test # nethogs_testsum CFLAGS=-g -Wall -Wextra debian/patches/02_geteuid.diff0000644000000000000000000000050711626225337013407 0ustar --- ../orig/nethogs-0.7.0/nethogs.cpp 2009-03-12 22:28:14.000000000 +0100 +++ ./nethogs.cpp 2009-09-29 20:22:58.000000000 +0200 @@ -320,7 +320,7 @@ init_ui(); } - if (NEEDROOT && (getuid() != 0)) + if (NEEDROOT && (geteuid() != 0)) forceExit("You need to be root to run NetHogs!"); char errbuf[PCAP_ERRBUF_SIZE]; debian/patches/series0000644000000000000000000000004111626226420012026 0ustar 02_geteuid.diff 04_makefile.diff debian/dirs0000644000000000000000000000002311626226577010063 0ustar usr/share/man/man8 debian/watch0000644000000000000000000000006611626224733010227 0ustar version=3 http://sf.net/nethogs/nethogs-(.*)\.tar\.gz debian/compat0000644000000000000000000000000211626221734010370 0ustar 8 debian/docs0000644000000000000000000000000711626223233010036 0ustar README debian/changelog0000644000000000000000000000500311626227012011035 0ustar nethogs (0.8.0-1) unstable; urgency=low * Switch to dpkg-source 3.0 (quilt) format. * New upstream release. Closes: #635977. * debian/patches/01_gcc44.diff: Removed. * debian/patches/03_sbin.diff: Removed. * debian/patches/04_makefile.diff: Moved existing change to this patch. * debian/README.Debian-source: Removed. -- Bart Martens Sat, 27 Aug 2011 17:05:26 +0000 nethogs (0.7.0-3) unstable; urgency=low * debian/patches/02_geteuid.diff: Added. Use geteuid. Closes: #548093. * debian/patches/03_sbin.diff: Added. Install the binary in /usr/sbin. -- Bart Martens Sun, 27 Sep 2009 16:20:41 +0200 nethogs (0.7.0-2) unstable; urgency=low * debian/patches/01_gcc44.diff: Added. Closes: #526208. * debian/watch: Updated. -- Bart Martens Fri, 01 May 2009 18:18:53 +0200 nethogs (0.7.0-1) unstable; urgency=low * New upstream release. * debian/control: Fixed package-uses-deprecated-debhelper-compat-version. -- Bart Martens Fri, 10 Apr 2009 19:21:30 +0200 nethogs (0.6.0+cvs20070620-2) unstable; urgency=low * Moving from experimental to unstable. * inode2prog.cpp: Fixed FTBFS by including stdlib.h. * Makefile: Don't build decpcap_test. * connection.cpp: Don't write debug info. Closes: #444683. * debian/control, debian/rules: Now using cdbs. * debian/dirs: Fixed package-contains-empty-directory usr/sbin/. * nethogs.8: Fixed manpage-has-bad-whatis-entry. * debian/control: Fixed description-contains-homepage. -- Bart Martens Sat, 08 Mar 2008 18:57:25 +0100 nethogs (0.6.0+cvs20070620-1) experimental; urgency=low * New upstream version from upstream cvs. * Includes revision 1.2, closes: #419883. * debian/README.Debian-source: Added. * Updated existing patches. * Makefile: Don't try to build nethogs_testsum. * Makefile: Fixed values of bin and man8. * debian/rule: Edited clean rule. -- Bart Martens Wed, 20 Jun 2007 11:27:52 +0200 nethogs (0.6.0-3) unstable; urgency=low * cui.cpp: Changed for gcc 4.3. Closes: #417443. Thanks to Martin Michlmayr . -- Bart Martens Fri, 6 Apr 2007 17:17:58 +0200 nethogs (0.6.0-2) unstable; urgency=low * nethogs.cpp: Fix segfault. Closes: #405609. -- Bart Martens Sat, 6 Jan 2007 15:49:12 +0100 nethogs (0.6.0-1) unstable; urgency=low * Initial release. Closes: #271040. -- Bart Martens Sat, 29 Apr 2006 17:42:35 +0200 debian/source/0000755000000000000000000000000011626221734010472 5ustar debian/source/format0000644000000000000000000000001411626221734011700 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000265711626223001011124 0ustar This package was debianized by Bart Martens on Sat, 29 Apr 2006 17:42:35 +0200. It was downloaded from http://nethogs.sourceforge.net/ Copyright 2004-2005, 2008, 2010-2011 Arnout Engelen License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is Copyright (c) 2006-2009 Bart Martens and is licensed under the GPL version 2, see above. The file nethogs.8 contains this: .\" This page Copyright (C) 2004 Fabian Frederick .\" Content based on Nethogs homepage by Arnout Engelen and is assumed to be licensed under the same license as nethogs, so GPL version 2. debian/control0000644000000000000000000000110711626222213010565 0ustar Source: nethogs Section: net Priority: optional Maintainer: Bart Martens Build-Depends: debhelper (>= 8.0.0), libncurses5-dev, libpcap0.8-dev Standards-Version: 3.9.2 Homepage: http://nethogs.sourceforge.net/ Package: nethogs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Net top tool grouping bandwidth per process NetHogs is a small 'net top' tool. Instead of breaking the traffic down per protocol or per subnet, like most tools do, it groups bandwidth by process. NetHogs does not rely on a special kernel module to be loaded.