1 |
commit: 1328d09617fb30725b2dc3c41c0a4bfb3680f6aa |
2 |
Author: Amy Liffey <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 8 09:11:54 2017 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 8 09:11:54 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1328d096 |
7 |
|
8 |
app-benchmarks/forkbomb: EAPI 6 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
.../{forkbomb-1.4.ebuild => forkbomb-1.4-r1.ebuild} | 13 +++++++------ |
13 |
1 file changed, 7 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/app-benchmarks/forkbomb/forkbomb-1.4.ebuild b/app-benchmarks/forkbomb/forkbomb-1.4-r1.ebuild |
16 |
similarity index 68% |
17 |
rename from app-benchmarks/forkbomb/forkbomb-1.4.ebuild |
18 |
rename to app-benchmarks/forkbomb/forkbomb-1.4-r1.ebuild |
19 |
index e7d22f39cf2..67adb9ea370 100644 |
20 |
--- a/app-benchmarks/forkbomb/forkbomb-1.4.ebuild |
21 |
+++ b/app-benchmarks/forkbomb/forkbomb-1.4-r1.ebuild |
22 |
@@ -1,6 +1,8 @@ |
23 |
-# Copyright 1999-2008 Gentoo Foundation |
24 |
+# Copyright 1999-2017 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
+EAPI=6 |
28 |
+ |
29 |
DESCRIPTION="Controlled fork() bomber for testing heavy system load" |
30 |
HOMEPAGE="http://home.tiscali.cz:8080/~cz210552/forkbomb.html" |
31 |
SRC_URI="http://home.tiscali.cz:8080/~cz210552/distfiles/${P}.tar.gz" |
32 |
@@ -10,13 +12,12 @@ SLOT="0" |
33 |
KEYWORDS="~x86 ~amd64" |
34 |
IUSE="" |
35 |
|
36 |
-src_unpack() { |
37 |
- unpack ${A} |
38 |
- cd "${S}" |
39 |
- sed -i '/^all/s/tags//' Makefile || die "sed failed" |
40 |
+src_prepare() { |
41 |
+ sed -i '/^all/s/tags//' Makefile || die |
42 |
+ default |
43 |
} |
44 |
|
45 |
src_install() { |
46 |
- dobin ${PN} || die "dobin failed" |
47 |
+ dobin ${PN} |
48 |
doman ${PN}.8 |
49 |
} |