summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Riley <justin.t.riley@gmail.com>2014-03-20 11:41:12 -0400
committerJustin Riley <justin.t.riley@gmail.com>2014-03-20 11:41:12 -0400
commit6b65dd7b8b8b93582b543890a62b1fa4ffda826e (patch)
treea740c9d40ce6d327b570a089207cb35941ed349f
parentstarcluster: update deps and tests for live ebuild (diff)
downloadjtriley-6b65dd7b8b8b93582b543890a62b1fa4ffda826e.tar.gz
jtriley-6b65dd7b8b8b93582b543890a62b1fa4ffda826e.tar.bz2
jtriley-6b65dd7b8b8b93582b543890a62b1fa4ffda826e.zip
add patched nmon-14i.ebuild (fixes #505114)
-rw-r--r--sys-process/nmon/ChangeLog33
-rw-r--r--sys-process/nmon/Manifest1
-rw-r--r--sys-process/nmon/metadata.xml5
-rw-r--r--sys-process/nmon/nmon-14i.ebuild48
4 files changed, 87 insertions, 0 deletions
diff --git a/sys-process/nmon/ChangeLog b/sys-process/nmon/ChangeLog
new file mode 100644
index 0000000..577c395
--- /dev/null
+++ b/sys-process/nmon/ChangeLog
@@ -0,0 +1,33 @@
+# ChangeLog for sys-process/nmon
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/nmon/ChangeLog,v 1.6 2014/03/19 20:58:31 polynomial-c Exp $
+
+*nmon-14i (19 Mar 2014)
+
+ 19 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> +nmon-14i.ebuild:
+ Version bump.
+
+ 31 Jul 2012; Michael Palimaka <kensington@gentoo.org> -nmon-14f.ebuild:
+ Remove old.
+
+*nmon-14g (13 Dec 2011)
+
+ 13 Dec 2011; Jeroen Roovers <jer@gentoo.org> -nmon-13g.ebuild,
+ -nmon-14a.ebuild, +nmon-14g.ebuild:
+ Version bump.
+
+*nmon-14f (23 Jan 2011)
+
+ 23 Jan 2011; Sebastian Pipping <sping@gentoo.org> +nmon-14f.ebuild:
+ Bump to 14f
+
+*nmon-14a (03 Sep 2010)
+
+ 03 Sep 2010; Jeroen Roovers <jer@gentoo.org> +nmon-14a.ebuild:
+ Version bump.
+
+*nmon-13g (04 Aug 2010)
+
+ 04 Aug 2010; Mike Frysinger <vapier@gentoo.org> +nmon-13g.ebuild,
+ +metadata.xml:
+ Initial ebuild #132948 by Aaron Tygart.
diff --git a/sys-process/nmon/Manifest b/sys-process/nmon/Manifest
new file mode 100644
index 0000000..d5c67b7
--- /dev/null
+++ b/sys-process/nmon/Manifest
@@ -0,0 +1 @@
+DIST lmon14i.c 201877 SHA256 d401cb5048e3e8e8f1ad63e68a0499c73ec64d5d2b7c41a1aeb2b596374eaa86 SHA512 fe739044516f1e11a30a83ea49a4db6dc65175fcbb5c6e305320e2763a6936bfa565910984008279b1f3595473166b8e3371472f76bd2472928892ab97c0fbfa WHIRLPOOL e924e79171037239f701f889cffd80f36d435a9d0b36febc573e9fb168dc0d1a9fadca2a8b7d67fb58fc4a859b01bd82b85c0a8a3649ca4fdd46a976cbf1f72e
diff --git a/sys-process/nmon/metadata.xml b/sys-process/nmon/metadata.xml
new file mode 100644
index 0000000..4538a68
--- /dev/null
+++ b/sys-process/nmon/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer><email>maintainer-needed@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/sys-process/nmon/nmon-14i.ebuild b/sys-process/nmon/nmon-14i.ebuild
new file mode 100644
index 0000000..cb376e7
--- /dev/null
+++ b/sys-process/nmon/nmon-14i.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/nmon/nmon-14i.ebuild,v 1.1 2014/03/19 20:58:31 polynomial-c Exp $
+
+EAPI=5
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="Nigel's performance MONitor for CPU, memory, network, disks, etc..."
+HOMEPAGE="http://nmon.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/lmon${PV}.c"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_unpack() {
+ cp "${DISTDIR}"/lmon${PV}.c "${S}"/nmon.c || die
+}
+
+src_compile() {
+ # if ncurses is built with separate tinfo libs, then...
+ if has_version "sys-libs/ncurses[tinfo]" ; then
+ if has_version "sys-libs/ncurses[unicode]" ; then
+ CURSES_LIB="-lncursesw -ltinfow"
+ else
+ CURSES_LIB="-lncurses -ltinfo"
+ fi
+ else
+ if has_version "sys-libs/ncurses[unicode]" ; then
+ CURSES_LIB="-lncursesw"
+ else
+ CURSES_LIB="-lncurses"
+ fi
+ fi
+ append-cppflags -DJFS -DGETUSER -DLARGEMEM -DPOWER
+ emake CC="$(tc-getCC)" LDLIBS="${CURSES_LIB}" nmon
+}
+
+src_install() {
+ dobin nmon
+}