summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-12-05 10:08:09 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-12-05 10:08:09 +0000
commitd3d44a93626fa5901f572327f54b3fb1e905cd48 (patch)
tree87eb57bb679315ab802124f230ce1d054ecb20a4 /net-analyzer
parentx86 stable wrt #249491 (diff)
downloadhistorical-d3d44a93626fa5901f572327f54b3fb1e905cd48.tar.gz
historical-d3d44a93626fa5901f572327f54b3fb1e905cd48.tar.bz2
historical-d3d44a93626fa5901f572327f54b3fb1e905cd48.zip
Version bump with GCC 4.3 and GLIBC 2.8 patch.
Package-Manager: portage-2.1.6_rc2/cvs/Linux 2.6.27.7 i686
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nethogs/ChangeLog10
-rw-r--r--net-analyzer/nethogs/Manifest5
-rw-r--r--net-analyzer/nethogs/files/nethogs-0.6.1_pre2-gcc43.patch34
-rw-r--r--net-analyzer/nethogs/nethogs-0.6.1_pre2.ebuild36
4 files changed, 82 insertions, 3 deletions
diff --git a/net-analyzer/nethogs/ChangeLog b/net-analyzer/nethogs/ChangeLog
index 90c48742197b..f0e83104b61e 100644
--- a/net-analyzer/nethogs/ChangeLog
+++ b/net-analyzer/nethogs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/nethogs
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/ChangeLog,v 1.9 2007/04/12 17:59:22 welp Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/ChangeLog,v 1.10 2008/12/05 10:08:09 ssuominen Exp $
+
+*nethogs-0.6.1_pre2 (05 Dec 2008)
+
+ 05 Dec 2008; <ssuominen@gentoo.org> +files/nethogs-0.6.1_pre2-gcc43.patch,
+ +nethogs-0.6.1_pre2.ebuild:
+ Version bump with GCC 4.3 and GLIBC 2.8 patch.
12 Apr 2007; <welp@gentoo.org> nethogs-0.6.0.ebuild:
Stable on amd64
diff --git a/net-analyzer/nethogs/Manifest b/net-analyzer/nethogs/Manifest
index 0b0becc63466..8485949792ba 100644
--- a/net-analyzer/nethogs/Manifest
+++ b/net-analyzer/nethogs/Manifest
@@ -1,5 +1,8 @@
AUX nethogs-0.6.0-gcc34.diff 397 RMD160 75dfa5acb77592014d7c5d6e5eb729399d908f10 SHA1 5bb3bc2fd2499e82249b77f7a4f6adb691e82f4b SHA256 0f257741b696c8b952fa555787b0c42c7abf8c69416af0eed0486ebf12e418f9
+AUX nethogs-0.6.1_pre2-gcc43.patch 936 RMD160 807eab01c9e123b9c9caf09ea9190a823a5ae597 SHA1 0f8d7655e7c9a0d574e99fba459293acd530fd85 SHA256 7d3248790a6f453ca9e32bf4cb3650d3899f4f7ee62112f360930e375ffc4326
DIST nethogs-0.6.0.tar.gz 19510 RMD160 c5f4d96498b2de8f88ae369a424c605975e839e1 SHA1 7b2b6bcd342a30a67f5dc57d867f078889cf8e4f SHA256 894cc2626d3bcf7aa73d100a857be36f185b1075f43f098c4bba6b4ee784c590
+DIST nethogs-0.6.1-pre2.tar.gz 31755 RMD160 e5fe79222e1883923a53fa6faf5e4f28e6553851 SHA1 4688615dacf22e109906645875cfe9d4005cae66 SHA256 800d1572a9f7309d003bc1185477755dcdae92ace88099bb306c981af6037ad7
EBUILD nethogs-0.6.0.ebuild 958 RMD160 e0edf753093668ff70b31d57c713c7bc78af6069 SHA1 3a9064ffc473933795dab459f16055f2d322894b SHA256 138b1795eeadd7459705e3b0eacf21214bff813d8cc3699ef7260e9a14b40579
-MISC ChangeLog 1478 RMD160 fb5077cda136d93e48178b0569c5d8c450c047b9 SHA1 51f46217983dad1dcd07148926737c6055ccfba4 SHA256 eeb846cd5e9eb53513b86ea4791081e6fef918d183043cbbc67b1db693cd5735
+EBUILD nethogs-0.6.1_pre2.ebuild 850 RMD160 4fd1e0be51162f3fd157a9f47ec187eabebb1fdf SHA1 64c064547003ade916bf08163a71fc7cf02da8cd SHA256 8a1c0d1ae8dba8667056ec420f8e0b68f3d3a8c0c4367427e3937a265ae5103f
+MISC ChangeLog 1676 RMD160 c177b32e75f74e41dfc427d6ad63936504f13b9b SHA1 102cf698547fa67ab86913693a85f76fd2cd44f6 SHA256 94ff8f7f028ce9c2b394f1d4875ab140fa44cd5c582623b70b75874829bba134
MISC metadata.xml 735 RMD160 f1fa8f6ae6a47dafa4601fd13a7018dbceac8000 SHA1 385773d26a316fefe9320db9f58d0922cb1e3314 SHA256 5ce2f1397461a65b352cbaaab1ce5ef48cff10fa923198e7ceead557183250a5
diff --git a/net-analyzer/nethogs/files/nethogs-0.6.1_pre2-gcc43.patch b/net-analyzer/nethogs/files/nethogs-0.6.1_pre2-gcc43.patch
new file mode 100644
index 000000000000..2f4423532ccf
--- /dev/null
+++ b/net-analyzer/nethogs/files/nethogs-0.6.1_pre2-gcc43.patch
@@ -0,0 +1,34 @@
+diff -ur nethogs.orig/cui.cpp nethogs/cui.cpp
+--- nethogs.orig/cui.cpp 2004-09-17 22:23:20.000000000 +0300
++++ nethogs/cui.cpp 2008-12-05 12:02:58.000000000 +0200
+@@ -2,6 +2,7 @@
+ #include <string>
+ #include <pwd.h>
+ #include <sys/types.h>
++#include <stdlib.h>
+
+ #include <ncurses.h>
+ #include "nethogs.h"
+diff -ur nethogs.orig/decpcap.c nethogs/decpcap.c
+--- nethogs.orig/decpcap.c 2004-09-18 15:23:38.000000000 +0300
++++ nethogs/decpcap.c 2008-12-05 12:04:46.000000000 +0200
+@@ -5,6 +5,7 @@
+ #include <netinet/tcp.h>
+ #include <pcap.h>
+ #include "decpcap.h"
++#include <string.h>
+
+ /* data container for callback-references */
+
+diff -ur nethogs.orig/inodeproc.cpp nethogs/inodeproc.cpp
+--- nethogs.orig/inodeproc.cpp 2004-09-14 19:14:23.000000000 +0300
++++ nethogs/inodeproc.cpp 2008-12-05 12:06:30.000000000 +0200
+@@ -11,6 +11,8 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+
++#include <limits.h>
++
+ struct proginfo
+ {
+ int pid;
diff --git a/net-analyzer/nethogs/nethogs-0.6.1_pre2.ebuild b/net-analyzer/nethogs/nethogs-0.6.1_pre2.ebuild
new file mode 100644
index 000000000000..a86056a0348c
--- /dev/null
+++ b/net-analyzer/nethogs/nethogs-0.6.1_pre2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/nethogs-0.6.1_pre2.ebuild,v 1.1 2008/12/05 10:08:09 ssuominen Exp $
+
+inherit eutils toolchain-funcs
+
+HOMEPAGE="http://nethogs.sf.net/"
+SRC_URI="http://${PN}.sourceforge.net/${P/_/-}.tar.gz"
+DESCRIPTION="A small 'net top' tool, grouping bandwidth by process"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="net-libs/libpcap"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+ sed -e "s:-O2:${CFLAGS}:g" -e "s:g++:$(tc-getCXX):g" \
+ -e "s:gcc:$(tc-getCC):g" -i Makefile || die "sed failed."
+}
+
+src_compile() {
+ emake || die "emake failed."
+}
+
+src_install() {
+ dosbin ${PN}
+ doman ${PN}.8
+ dodoc Changelog DESIGN README
+}