From 44cabedd25819cd8c3d18b4a179af117dc664328 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Mon, 14 Nov 2011 19:38:30 +0000 Subject: Install binary in /usr/sbin by Samuli Suominen (bug #390385). (Portage version: 2.2.0_alpha74/cvs/Linux x86_64) --- net-analyzer/nethogs/ChangeLog | 8 +++++- net-analyzer/nethogs/nethogs-0.8.0-r1.ebuild | 36 --------------------------- net-analyzer/nethogs/nethogs-0.8.0-r2.ebuild | 37 ++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 37 deletions(-) delete mode 100644 net-analyzer/nethogs/nethogs-0.8.0-r1.ebuild create mode 100644 net-analyzer/nethogs/nethogs-0.8.0-r2.ebuild (limited to 'net-analyzer/nethogs') diff --git a/net-analyzer/nethogs/ChangeLog b/net-analyzer/nethogs/ChangeLog index 9170cb564144..99f144b40505 100644 --- a/net-analyzer/nethogs/ChangeLog +++ b/net-analyzer/nethogs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/nethogs # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/ChangeLog,v 1.17 2011/11/14 12:00:14 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/ChangeLog,v 1.18 2011/11/14 19:38:30 jer Exp $ + +*nethogs-0.8.0-r2 (14 Nov 2011) + + 14 Nov 2011; Jeroen Roovers -nethogs-0.8.0-r1.ebuild, + +nethogs-0.8.0-r2.ebuild: + Install binary in /usr/sbin by Samuli Suominen (bug #390385). *nethogs-0.8.0-r1 (14 Nov 2011) diff --git a/net-analyzer/nethogs/nethogs-0.8.0-r1.ebuild b/net-analyzer/nethogs/nethogs-0.8.0-r1.ebuild deleted file mode 100644 index 6ad663e6043b..000000000000 --- a/net-analyzer/nethogs/nethogs-0.8.0-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/nethogs-0.8.0-r1.ebuild,v 1.1 2011/11/14 12:00:14 jer Exp $ - -EAPI="4" - -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} - sys-apps/sed" - -S=${WORKDIR}/${PN} - -src_prepare() { - sed -i Makefile \ - -e '/^CFLAGS=/{s|=|+=|;s|-g||};/ -o /s|$(CFLAGS)|& $(LDFLAGS)|g' \ - -e 's|share/man/|usr/&|g' \ - || die - tc-export CC CXX -} - -src_install() { - default - dodoc Changelog DESIGN README -} diff --git a/net-analyzer/nethogs/nethogs-0.8.0-r2.ebuild b/net-analyzer/nethogs/nethogs-0.8.0-r2.ebuild new file mode 100644 index 000000000000..c0d0dda132e3 --- /dev/null +++ b/net-analyzer/nethogs/nethogs-0.8.0-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/nethogs-0.8.0-r2.ebuild,v 1.1 2011/11/14 19:38:30 jer Exp $ + +EAPI="4" + +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} + sys-apps/sed" + +S=${WORKDIR}/${PN} + +src_prepare() { + sed -i Makefile \ + -e '/^CFLAGS=/{s|=|+=|;s|-g||};/ -o /s|$(CFLAGS)|& $(LDFLAGS)|g' \ + -e 's|share/man/|usr/&|g' \ + -e 's|/sbin|/usr&|g' \ + || die + tc-export CC CXX +} + +src_install() { + default + dodoc Changelog DESIGN README +} -- cgit v1.2.3-65-gdbad