Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/files/, sci-misc/boinc/
Date: Mon, 01 Aug 2022 10:30:13
Message-Id: 1659349709.b95bc9d5e8e3d87f75c2cc56822b184eec299a45.flow@gentoo
1 commit: b95bc9d5e8e3d87f75c2cc56822b184eec299a45
2 Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 1 10:23:38 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 1 10:28:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b95bc9d5
7
8 sci-misc/boinc: fix newinit call
9
10 That one is on me.
11
12 My last-minute modifcation of b19f0b8c6415 ("sci-misc/boinc: Simplify
13 the init script") did not respect that the removed sed was not using
14 --in-place.
15
16 Fixes: b19f0b8c6415 ("sci-misc/boinc: Simplify the init script")
17 Closes: https://bugs.gentoo.org/862783
18 Closes: https://bugs.gentoo.org/862786
19 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
20
21 sci-misc/boinc/boinc-7.20.2-r2.ebuild | 2 +-
22 sci-misc/boinc/boinc-9999.ebuild | 2 +-
23 sci-misc/boinc/files/{boinc.init.in => boinc.init} | 0
24 3 files changed, 2 insertions(+), 2 deletions(-)
25
26 diff --git a/sci-misc/boinc/boinc-7.20.2-r2.ebuild b/sci-misc/boinc/boinc-7.20.2-r2.ebuild
27 index f14534027d69..f7d156f21794 100644
28 --- a/sci-misc/boinc/boinc-7.20.2-r2.ebuild
29 +++ b/sci-misc/boinc/boinc-7.20.2-r2.ebuild
30 @@ -161,7 +161,7 @@ src_install() {
31 rm -r "${ED}"/etc || die "rm failed"
32 find "${D}" -name '*.la' -delete || die "Removing .la files failed"
33
34 - newinitd ${PN}.init ${PN}
35 + newinitd "${FILESDIR}"/${PN}.init ${PN}
36 newconfd "${FILESDIR}"/${PN}.conf ${PN}
37 }
38
39
40 diff --git a/sci-misc/boinc/boinc-9999.ebuild b/sci-misc/boinc/boinc-9999.ebuild
41 index 07b9716f2970..bb39d825d04c 100644
42 --- a/sci-misc/boinc/boinc-9999.ebuild
43 +++ b/sci-misc/boinc/boinc-9999.ebuild
44 @@ -164,7 +164,7 @@ src_install() {
45 rm -r "${ED}"/etc || die "rm failed"
46 find "${D}" -name '*.la' -delete || die "Removing .la files failed"
47
48 - newinitd ${PN}.init ${PN}
49 + newinitd "${FILESDIR}"/${PN}.init ${PN}
50 newconfd "${FILESDIR}"/${PN}.conf ${PN}
51 }
52
53
54 diff --git a/sci-misc/boinc/files/boinc.init.in b/sci-misc/boinc/files/boinc.init
55 similarity index 100%
56 rename from sci-misc/boinc/files/boinc.init.in
57 rename to sci-misc/boinc/files/boinc.init