From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1355793-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id E3C04158087
	for <garchives@archives.gentoo.org>; Fri,  7 Jan 2022 05:15:13 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D86A22BC01C;
	Fri,  7 Jan 2022 05:15:04 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8B2842BC007
	for <gentoo-commits@lists.gentoo.org>; Fri,  7 Jan 2022 05:14:59 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 7B379343040
	for <gentoo-commits@lists.gentoo.org>; Fri,  7 Jan 2022 05:14:57 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 023CD285
	for <gentoo-commits@lists.gentoo.org>; Fri,  7 Jan 2022 05:14:56 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1641531843.087dbe4a60e74623378a185e50665d20ac5daf49.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/atop/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-process/atop/atop-2.7.0-r1.ebuild sys-process/atop/atop-2.7.0.ebuild
X-VCS-Directories: sys-process/atop/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 087dbe4a60e74623378a185e50665d20ac5daf49
X-VCS-Branch: master
Date: Fri,  7 Jan 2022 05:14:56 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 2a78471e-5648-42ac-a50d-82c207d43c7d
X-Archives-Hash: f6d162e6ae5a649d18220f6f3139a7b5

commit:     087dbe4a60e74623378a185e50665d20ac5daf49
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  7 05:03:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan  7 05:04:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=087dbe4a

sys-process/atop: install init script for netatop

Already in FILESDIR but forgot to actually add it
again in the ebuild (didn't test on the same
machine as I committed it on).

Closes: https://github.com/gentoo/gentoo/pull/23520
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/atop/{atop-2.7.0.ebuild => atop-2.7.0-r1.ebuild} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys-process/atop/atop-2.7.0.ebuild b/sys-process/atop/atop-2.7.0-r1.ebuild
similarity index 95%
rename from sys-process/atop/atop-2.7.0.ebuild
rename to sys-process/atop/atop-2.7.0-r1.ebuild
index 224879742c4a..4e4a270b83e0 100644
--- a/sys-process/atop/atop-2.7.0.ebuild
+++ b/sys-process/atop/atop-2.7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -85,8 +85,7 @@ src_install() {
 
 		systemd_dounit "${NETATOP_S}"/netatop.service
 
-		# TODO: openrc init script
-		#install -T -m 0755 netatop.init /etc/init.d/netatop
+		newinitd "${FILESDIR}"/netatop.rc netatop
 	fi
 
 	emake DESTDIR="${D}" genericinstall