diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-01-28 18:09:31 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-01-28 18:09:31 +0000 |
commit | 219c62c37cd044cd74e1d49b6db447dd18b08e9a (patch) | |
tree | 5f860f5c0b38907c87525d8fe22ff0aaa058359c /net-analyzer/nethogs | |
parent | Old. (diff) | |
download | historical-219c62c37cd044cd74e1d49b6db447dd18b08e9a.tar.gz historical-219c62c37cd044cd74e1d49b6db447dd18b08e9a.tar.bz2 historical-219c62c37cd044cd74e1d49b6db447dd18b08e9a.zip |
Old.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/nethogs')
-rw-r--r-- | net-analyzer/nethogs/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/nethogs/Manifest | 17 | ||||
-rw-r--r-- | net-analyzer/nethogs/files/nethogs-0.6.1_pre2-gcc43.patch | 34 | ||||
-rw-r--r-- | net-analyzer/nethogs/files/nethogs-0.7.0-Makefile.patch | 83 | ||||
-rw-r--r-- | net-analyzer/nethogs/files/nethogs-0.7.0-gcc44.patch | 10 | ||||
-rw-r--r-- | net-analyzer/nethogs/nethogs-0.6.1_pre2.ebuild | 38 | ||||
-rw-r--r-- | net-analyzer/nethogs/nethogs-0.7.0.ebuild | 36 |
7 files changed, 11 insertions, 214 deletions
diff --git a/net-analyzer/nethogs/ChangeLog b/net-analyzer/nethogs/ChangeLog index 71561c4948ae..673e8a7e26b3 100644 --- a/net-analyzer/nethogs/ChangeLog +++ b/net-analyzer/nethogs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/nethogs # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/ChangeLog,v 1.21 2012/01/28 15:07:08 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/ChangeLog,v 1.22 2012/01/28 18:09:31 jer Exp $ + + 28 Jan 2012; Jeroen Roovers <jer@gentoo.org> -nethogs-0.6.1_pre2.ebuild, + -files/nethogs-0.6.1_pre2-gcc43.patch, -nethogs-0.7.0.ebuild, + -files/nethogs-0.7.0-Makefile.patch, -files/nethogs-0.7.0-gcc44.patch: + Old. 28 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> nethogs-0.8.0-r2.ebuild: x86 stable wrt bug #400611 diff --git a/net-analyzer/nethogs/Manifest b/net-analyzer/nethogs/Manifest index e64df08fddd3..783e8974f3cb 100644 --- a/net-analyzer/nethogs/Manifest +++ b/net-analyzer/nethogs/Manifest @@ -1,21 +1,14 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA1 -AUX nethogs-0.6.1_pre2-gcc43.patch 936 RMD160 807eab01c9e123b9c9caf09ea9190a823a5ae597 SHA1 0f8d7655e7c9a0d574e99fba459293acd530fd85 SHA256 7d3248790a6f453ca9e32bf4cb3650d3899f4f7ee62112f360930e375ffc4326 -AUX nethogs-0.7.0-Makefile.patch 3267 RMD160 fd6695ef6ebdd265a8982b51865e3f046f581d9e SHA1 4588cf81b9bb1beff46da94085385cda18a41583 SHA256 ed09668778f0f981ac1fce4cc523db853759ec7a6f8cfc6b19c1b413cbc4fe6a -AUX nethogs-0.7.0-gcc44.patch 309 RMD160 d98402e10449dc70d16cbe72665d07b871e89dfa SHA1 85b0a64ca021839e853196bf5d03862a77c489c9 SHA256 9653f9b226c55028b5bf5ab53c72500b5bd734cb2b1fc6db643eb912b74291ee -DIST nethogs-0.6.1-pre2.tar.gz 31755 RMD160 e5fe79222e1883923a53fa6faf5e4f28e6553851 SHA1 4688615dacf22e109906645875cfe9d4005cae66 SHA256 800d1572a9f7309d003bc1185477755dcdae92ace88099bb306c981af6037ad7 -DIST nethogs-0.7.0.tar.gz 462155 RMD160 a0ed316b6bfc71608b2077f0040d782093199e7d SHA1 aa51f6064ffe1a3ddae351e87b5087ff92857269 SHA256 dbe45dd92ad25d19c5a38af04a26e2e2e9e0b1f692423c970239dfc421a66969 DIST nethogs-0.8.0.tar.gz 38036 RMD160 5b53e376cfd55d831bcec0cfe49acb4142fc31e0 SHA1 5c06a99efd2ac1d3e155ac63334f8d69589122ab SHA256 b09cb3c2690a522f8b1314221095d5abb1958d50b56de6d36b11a8e6f28961d0 -EBUILD nethogs-0.6.1_pre2.ebuild 911 RMD160 8f2b7e0d837460e239caf0e5a1dcacb83f45ba72 SHA1 b04360c3c013c908edee90960a2d1942341a8419 SHA256 b32a2e2805833fbe72f0040f36b34e92169dda61a55470a1a41d1509f6ee0684 -EBUILD nethogs-0.7.0.ebuild 836 RMD160 ce0606064df1e6d223b41f970a70ab355e760f3f SHA1 aa483fbbce6942694ba5dc46b015715eb38d6cea SHA256 d4438336b5b51f8f308a434a486388e88da9d33fec94de6381e488ce3925d89e EBUILD nethogs-0.8.0-r2.ebuild 833 RMD160 9b47b3e3a989e6f4ee569ab6bad5793500e4e7a4 SHA1 1c323cb32207c457e3f8d7d7a80a4975249ad02e SHA256 ec9a265d1ebda01f249088a50c757e5ac3b3ec82c9255da7742f19d5122d80ca -MISC ChangeLog 3159 RMD160 b9c643c2297fe69c00a17d750a960b27939c7cef SHA1 f0fa779deec947fc5d246e6d7b64694d0beb8aa1 SHA256 2514d264937bd1abc7104152eabbafe0ce5ef0af41bdcdba76336c7a1d618384 +MISC ChangeLog 3372 RMD160 75a775cc8f562f328ee01ec6a7998dde0cd6fc29 SHA1 7cf79b984c78ed51a5cbcb92d8a4bbf0eaa043b5 SHA256 4bdad8450cd5f8e53db7cbee737aa86894eecf738f5d4378aaa30ebf5b061522 MISC metadata.xml 637 RMD160 f2530cd6362852b46bd008b580e47fbad2a8f213 SHA1 450887855c922d838cb242690d8e156f1df95a1e SHA256 6816148b2e3fec681a27ac03458b8ed54cfebbf81bcb4b0d29628d7ba7d2b8ff -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREKAAYFAk8kDyQACgkQuUQtlDBCeQJH2wCfRs6zGLSEUUQ2iZkdgO7SX9f9 -1SQAnjQIB8y10oBN2P2U5yuK91imMiN/ -=JveH +iEYEARECAAYFAk8kOeAACgkQVWmRsqeSphMmYgCfaWXyktwP4P7Q6fe0KDOZdHUS +kDcAniMOU/1uDbN/tqF+IpqtWb3qZtI7 +=oF1v -----END PGP SIGNATURE----- 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 deleted file mode 100644 index 2f4423532ccf..000000000000 --- a/net-analyzer/nethogs/files/nethogs-0.6.1_pre2-gcc43.patch +++ /dev/null @@ -1,34 +0,0 @@ -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/files/nethogs-0.7.0-Makefile.patch b/net-analyzer/nethogs/files/nethogs-0.7.0-Makefile.patch deleted file mode 100644 index 5a3285a1cf9a..000000000000 --- a/net-analyzer/nethogs/files/nethogs-0.7.0-Makefile.patch +++ /dev/null @@ -1,83 +0,0 @@ -Replace CFLAGS for CXX target with CXXFLAGS. Add LDFLAGS to respect them. -Use DESTDIR correctly, and fix typing error of sbin. - ssuominen@gentoo.org - -diff -ur nethogs.orig/Makefile nethogs/Makefile ---- nethogs.orig/Makefile 2009-03-12 23:08:17.000000000 +0000 -+++ nethogs/Makefile 2009-04-29 09:41:11.000000000 +0000 -@@ -2,17 +2,17 @@ - SUBVERSION := 7 - MINORVERSION := 0 - --#DESTDIR := /usr --DESTDIR := /usr/local -- --sbin := $(DESTDIR)/sbin --man8 := $(DESTDIR)/share/man/man8/ -+prefix := /usr -+# prefix := /usr/local -+sbin := $(prefix)/sbin -+man8 := $(prefix)/share/man/man8 - - all: nethogs decpcap_test - # nethogs_testsum - --CFLAGS=-g -Wall -Wextra --#CFLAGS=-O2 -+CFLAGS += -Wall -+CXXFLAGS += -Wall -+ - OBJS=packet.o connection.o process.o refresh.o decpcap.o cui.o inode2prog.o conninode.o - .PHONY: tgz - -@@ -24,37 +24,37 @@ - echo "Not implemented" - - install: nethogs nethogs.8 -- install -d -m 755 $(bin) -- install -m 755 nethogs $(bin) -- install -d -m 755 $(man8) -- install -m 644 nethogs.8 $(man8) -+ install -d -m 755 $(DESTDIR)$(sbin) -+ install -m 755 nethogs $(DESTDIR)$(sbin) -+ install -d -m 755 $(DESTDIR)$(man8) -+ install -m 644 nethogs.8 $(DESTDIR)$(man8) - - nethogs: nethogs.cpp $(OBJS) -- $(CXX) $(CFLAGS) nethogs.cpp $(OBJS) -o nethogs -lpcap -lm -lncurses -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\" -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) nethogs.cpp $(OBJS) -o nethogs -lpcap -lm -lncurses -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\" - nethogs_testsum: nethogs_testsum.cpp $(OBJS) -- $(CXX) $(CFLAGS) -g nethogs_testsum.cpp $(OBJS) -o nethogs_testsum -lpcap -lm -lncurses -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\" -+ $(CXX) $(CXXFLAGS) -g $(LDFLAGS) nethogs_testsum.cpp $(OBJS) -o nethogs_testsum -lpcap -lm -lncurses -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\" - - decpcap_test: decpcap_test.cpp decpcap.o -- $(CXX) $(CFLAGS) decpcap_test.cpp decpcap.o -o decpcap_test -lpcap -lm -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) decpcap_test.cpp decpcap.o -o decpcap_test -lpcap -lm - - #-lefence - - refresh.o: refresh.cpp refresh.h nethogs.h -- $(CXX) $(CFLAGS) -c refresh.cpp -+ $(CXX) $(CXXFLAGS) -c refresh.cpp - process.o: process.cpp process.h nethogs.h -- $(CXX) $(CFLAGS) -c process.cpp -+ $(CXX) $(CXXFLAGS) -c process.cpp - packet.o: packet.cpp packet.h nethogs.h -- $(CXX) $(CFLAGS) -c packet.cpp -+ $(CXX) $(CXXFLAGS) -c packet.cpp - connection.o: connection.cpp connection.h nethogs.h -- $(CXX) $(CFLAGS) -c connection.cpp -+ $(CXX) $(CXXFLAGS) -c connection.cpp - decpcap.o: decpcap.c decpcap.h - $(CC) $(CFLAGS) -c decpcap.c - inode2prog.o: inode2prog.cpp inode2prog.h nethogs.h -- $(CXX) $(CFLAGS) -c inode2prog.cpp -+ $(CXX) $(CXXFLAGS) -c inode2prog.cpp - conninode.o: conninode.cpp nethogs.h conninode.h -- $(CXX) $(CFLAGS) -c conninode.cpp -+ $(CXX) $(CXXFLAGS) -c conninode.cpp - cui.o: cui.cpp cui.h nethogs.h -- $(CXX) $(CFLAGS) -c cui.cpp -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\" -+ $(CXX) $(CXXFLAGS) -c cui.cpp -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DMINORVERSION=\"$(MINORVERSION)\" - - .PHONY: clean - clean: diff --git a/net-analyzer/nethogs/files/nethogs-0.7.0-gcc44.patch b/net-analyzer/nethogs/files/nethogs-0.7.0-gcc44.patch deleted file mode 100644 index ab1aaf6314f7..000000000000 --- a/net-analyzer/nethogs/files/nethogs-0.7.0-gcc44.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -ur nethogs.orig/conninode.cpp nethogs/conninode.cpp ---- nethogs.orig/conninode.cpp 2008-12-06 11:28:29.000000000 +0000 -+++ nethogs/conninode.cpp 2009-05-07 16:53:03.000000000 +0000 -@@ -1,5 +1,6 @@ - #include <netinet/in.h> - #include <map> -+#include <stdio.h> - #include <stdlib.h> - - #include "nethogs.h" diff --git a/net-analyzer/nethogs/nethogs-0.6.1_pre2.ebuild b/net-analyzer/nethogs/nethogs-0.6.1_pre2.ebuild deleted file mode 100644 index 6cdc74285f11..000000000000 --- a/net-analyzer/nethogs/nethogs-0.6.1_pre2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# 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.4 2009/04/29 06:52:33 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="" - -RDEPEND="net-libs/libpcap - sys-libs/ncurses" -DEPEND="${RDEPEND}" - -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} || die "dosbin failed." - doman ${PN}.8 - dodoc Changelog DESIGN README -} diff --git a/net-analyzer/nethogs/nethogs-0.7.0.ebuild b/net-analyzer/nethogs/nethogs-0.7.0.ebuild deleted file mode 100644 index ff71d5298291..000000000000 --- a/net-analyzer/nethogs/nethogs-0.7.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/nethogs-0.7.0.ebuild,v 1.4 2009/11/03 17:27:16 armin76 Exp $ - -EAPI=2 -inherit eutils toolchain-funcs - -DESCRIPTION="A small 'net top' tool, grouping bandwidth by process" -HOMEPAGE="http://nethogs.sf.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-1" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~x86" -IUSE="" - -RDEPEND="net-libs/libpcap - sys-libs/ncurses" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${PN} - -src_prepare() { - epatch "${FILESDIR}"/${P}-Makefile.patch \ - "${FILESDIR}"/${P}-gcc44.patch -} - -src_compile() { - tc-export CC CXX - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc Changelog DESIGN README -} |