Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/atop/
Date: Fri, 07 Jan 2022 05:15:13
Message-Id: 1641531843.087dbe4a60e74623378a185e50665d20ac5daf49.sam@gentoo
1 commit: 087dbe4a60e74623378a185e50665d20ac5daf49
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 7 05:03:47 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 7 05:04:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=087dbe4a
7
8 sys-process/atop: install init script for netatop
9
10 Already in FILESDIR but forgot to actually add it
11 again in the ebuild (didn't test on the same
12 machine as I committed it on).
13
14 Closes: https://github.com/gentoo/gentoo/pull/23520
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 sys-process/atop/{atop-2.7.0.ebuild => atop-2.7.0-r1.ebuild} | 5 ++---
18 1 file changed, 2 insertions(+), 3 deletions(-)
19
20 diff --git a/sys-process/atop/atop-2.7.0.ebuild b/sys-process/atop/atop-2.7.0-r1.ebuild
21 similarity index 95%
22 rename from sys-process/atop/atop-2.7.0.ebuild
23 rename to sys-process/atop/atop-2.7.0-r1.ebuild
24 index 224879742c4a..4e4a270b83e0 100644
25 --- a/sys-process/atop/atop-2.7.0.ebuild
26 +++ b/sys-process/atop/atop-2.7.0-r1.ebuild
27 @@ -1,4 +1,4 @@
28 -# Copyright 1999-2021 Gentoo Authors
29 +# Copyright 1999-2022 Gentoo Authors
30 # Distributed under the terms of the GNU General Public License v2
31
32 EAPI=7
33 @@ -85,8 +85,7 @@ src_install() {
34
35 systemd_dounit "${NETATOP_S}"/netatop.service
36
37 - # TODO: openrc init script
38 - #install -T -m 0755 netatop.init /etc/init.d/netatop
39 + newinitd "${FILESDIR}"/netatop.rc netatop
40 fi
41
42 emake DESTDIR="${D}" genericinstall