summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-10-16 09:42:28 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-10-16 09:42:28 +0000
commit4887b5f628998539d59f6a8a309a59bf498c3f25 (patch)
tree218e560e45cc14992949e9e152f55cf2ba679bea /app-admin/cpulimit
parentRemove old versions. (diff)
downloadhistorical-4887b5f628998539d59f6a8a309a59bf498c3f25.tar.gz
historical-4887b5f628998539d59f6a8a309a59bf498c3f25.tar.bz2
historical-4887b5f628998539d59f6a8a309a59bf498c3f25.zip
Add live ebuild. Bug #324757. Thank to Paulo da Silva <psdasilva@yahoo.com>
Package-Manager: portage-2.2.0_alpha55/cvs/Linux x86_64
Diffstat (limited to 'app-admin/cpulimit')
-rw-r--r--app-admin/cpulimit/ChangeLog10
-rw-r--r--app-admin/cpulimit/Manifest24
-rw-r--r--app-admin/cpulimit/cpulimit-9999.ebuild32
-rw-r--r--app-admin/cpulimit/files/cpulimit-9999-cflags.patch17
4 files changed, 74 insertions, 9 deletions
diff --git a/app-admin/cpulimit/ChangeLog b/app-admin/cpulimit/ChangeLog
index 168a1d1b4361..b96362d05a5f 100644
--- a/app-admin/cpulimit/ChangeLog
+++ b/app-admin/cpulimit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/cpulimit
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/cpulimit/ChangeLog,v 1.8 2009/09/14 21:02:40 volkmar Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/cpulimit/ChangeLog,v 1.9 2011/10/16 09:42:28 hwoarang Exp $
+
+*cpulimit-9999 (16 Oct 2011)
+
+ 16 Oct 2011; Markos Chandras <hwoarang@gentoo.org> +cpulimit-9999.ebuild,
+ +files/cpulimit-9999-cflags.patch:
+ Add live ebuild. Bug #324757. Thank to Paulo da Silva <psdasilva@yahoo.com>
14 Sep 2009; Mounir Lamouri <volkmar@gentoo.org> cpulimit-1.1.ebuild:
Keywording for ppc.
diff --git a/app-admin/cpulimit/Manifest b/app-admin/cpulimit/Manifest
index 7542d24185ce..c67c9eebbfdc 100644
--- a/app-admin/cpulimit/Manifest
+++ b/app-admin/cpulimit/Manifest
@@ -1,18 +1,28 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
AUX cpulimit-1.1-makefile.patch 312 RMD160 3c05cf4523b143c2749afb012d74bcac6e63fcbe SHA1 ebff73033e96a4f78f9ce2f97b683b77111dc5e2 SHA256 dfea481a0301615594a3d9cd0275c7eccaf3e8350c4b7d730ed3c39e6ef123e1
+AUX cpulimit-9999-cflags.patch 486 RMD160 a3ea7c2fe8caa09b8f5a23e0dc9b03753e8fb316 SHA1 2a020dbe6a5c1ee8113cab6e7f999d2e020989bf SHA256 860bbba18acbd4a3fe73bcd8d873a33cbaada1ded5daf88203e13adef3f16592
AUX cpulimit.8 1451 RMD160 166fb87d39249d5244f2e1cb24ae0a385f945195 SHA1 0625163a3e5d52985ac0c89d8f368ca83bbf14d2 SHA256 4c3591679acf33f82d7e282cf63b3ff42683a7e7553ecc7b02ad2714285e013c
DIST cpulimit-1.1.tar.gz 5130 RMD160 386a7c0cd248273c7dff1a2dc48e5269160fa3c3 SHA1 9f020c22d633e3f6289c69844bd7136c1f2704f1 SHA256 ee734e82692dc496a083c003340b326bd779567f5de99fcae99e451606c85c00
EBUILD cpulimit-1.1.ebuild 682 RMD160 665b9913e9ae173c312cdadee9e5b66ee061a140 SHA1 81573ebe03ff033d66e6ae8d228f71ef5c48199d SHA256 b9f6bba7cb8c0b2b98d3053affd61491c2ee2d9100442191951ba13085b99acc
-MISC ChangeLog 1299 RMD160 c9ee6b3390fba811c51d085b0d8ae44285b19dfc SHA1 c700d3a20fe23046a1aa0de927b484bb75a21091 SHA256 7f015f301798f3077567d2651c26157f0d8332313d46f48c02595a74faf29785
+EBUILD cpulimit-9999.ebuild 728 RMD160 427736f04eb691ee57d425a4dacd3f48923db6e3 SHA1 711736a63d03139ba70a8f9b74480a4719802d88 SHA256 6a9ab685ff9c092fe9e5faaf9b4977758a701c8b81f24d48c0208e83d92d9377
+MISC ChangeLog 1522 RMD160 6ee8abaeea38e17ad52063e5f5ee3fa09825dd51 SHA1 bf5133f14f9f87e5d519837804a0ec70a50a8584 SHA256 a628f7aab057407237b9d15b2c99860f7fe1445578ee3c1fd9a4f92469daf7b6
MISC metadata.xml 211 RMD160 f0c4ad6ccb0152d62a300bc77956ea3bf7c170a2 SHA1 6f46be7ecc51754f0679bc5a779c151e1b701016 SHA256 84ff2341253cdd21a6782e14ebc076a8bcae11428aacfe2454f4b32165504727
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iJwEAQEIAAYFAk589RYACgkQfXuS5UK5QB3Y+wP+P4nnHyUWRp4VbTjR0gYKGQG/
-17THG1ZCsRSeQelj2w7U4Z+qNPVwRV770td8INPPiMGOhiko4UnbQ2Mr1K2ZuEU7
-2TR9GXXiv8+darUebcDR3vqTBzgpC9sydWtRAdBiUmYyCLUWq7jtftMEr6u2vBVT
-Oz5tiK5i15/Rkd9echA=
-=TL6o
+iQIcBAEBCgAGBQJOmqbSAAoJEPqDWhW0r/LCulgP/RnmWTF9Wy5LffzW81UEKiMU
+NlYAUYvbTkF3x6lN3LCBhCz1YTr/3tXwjfTUxI9h/VUkZCKgPmDHB6V667MSFnr+
+WtnRBI8s533vQNWG6mZwFPtXhos9Qe2qNXOaUPBecNcFXA4LJPiqWiRDHmtXPlPM
+9u4xPQxpckL8HUW7r8WPXDBwJhR1rl8aO7cx5KMU6NwnRpalaHemSgHpy3D68TXc
+Wp1M2MMuOwoPkWVUR5d3iGQ3HniRrZjhWtDsrQTo8IBhGVLhc7eDXFmGthZ/9dyx
+D3Cm/fgeukPbReTg3/W5nB61NkX82A+4fKN2xn3O5TRfwIMm7s9NCBN0NKK11kjr
+0pYSYHrW2yhbifslUzmN6ZOBDIzH7ibXjB00T4oJ8J3UgqPgjDsGWnnGKSUc7Ca3
+Iwl6loIX9OO4LtNe8GPkXlAX/eiKVDnUYsFyHMmidQUEan33HHRquFriYYRaWPs4
+KFEzIUbaaG9joJhyhbfQ6dPWrlKduPzs1nK0+3ZI8++jpUFY+vfxQ+UJ8xFANCXT
+hKkN0XJOphTewpYi2DuwMT8DJyxVKCUkrmocD8IjeCh+jrxejCRXiDGlQ/pRtJGN
+GyCEk/Ngcj1wivAZynnqx2cdzGN3I5Ew9XNJAhjcYzV3JTR+x5iC2iVPOx5jo7Sh
+n76Q4FdgZkd2NXUptmx9
+=9f+D
-----END PGP SIGNATURE-----
diff --git a/app-admin/cpulimit/cpulimit-9999.ebuild b/app-admin/cpulimit/cpulimit-9999.ebuild
new file mode 100644
index 000000000000..d316ab07d6b7
--- /dev/null
+++ b/app-admin/cpulimit/cpulimit-9999.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/cpulimit/cpulimit-9999.ebuild,v 1.1 2011/10/16 09:42:28 hwoarang Exp $
+
+EAPI="3"
+inherit subversion eutils toolchain-funcs
+
+DESCRIPTION="Limits the CPU usage of a process"
+HOMEPAGE="http://cpulimit.sourceforge.net"
+SRC_URI=""
+ESVN_REPO_URI="https://cpulimit.svn.sourceforge.net/svnroot/cpulimit/trunk"
+ESVN_PROJECT="cpulimit"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-cflags.patch"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+ dosbin ${PN} || die
+ doman "${FILESDIR}/${PN}.8"
+}
diff --git a/app-admin/cpulimit/files/cpulimit-9999-cflags.patch b/app-admin/cpulimit/files/cpulimit-9999-cflags.patch
new file mode 100644
index 000000000000..4de4db44cd8c
--- /dev/null
+++ b/app-admin/cpulimit/files/cpulimit-9999-cflags.patch
@@ -0,0 +1,17 @@
+diff -burN cpulimit-9999~/Makefile cpulimit-9999/Makefile
+--- cpulimit-9999~/Makefile 2010-06-20 02:55:22.046518587 +0100
++++ cpulimit-9999/Makefile 2010-06-20 03:05:25.439517679 +0100
+@@ -6,7 +6,7 @@
+ all:: $(TARGETS)
+
+ cpulimit: cpulimit.c $(LIBS)
+- $(CC) -o cpulimit cpulimit.c $(LIBS) $(CFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o cpulimit cpulimit.c $(LIBS) -lrt
+
+ process.o: process.c process.h
+ $(CC) -c process.c $(CFLAGS)
+@@ -19,4 +19,3 @@
+
+ clean:
+ rm -f *~ *.o $(TARGETS)
+-