commit:     f671fa169899157c4cd14e0a6de5abc1d3c49833
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  9 11:35:55 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Sep  9 11:35:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f671fa16

sys-process/acct: update to EAPI 7

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../acct/{acct-6.6.4-r2.ebuild => acct-6.6.4-r3.ebuild}        | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/sys-process/acct/acct-6.6.4-r2.ebuild 
b/sys-process/acct/acct-6.6.4-r3.ebuild
similarity index 96%
rename from sys-process/acct/acct-6.6.4-r2.ebuild
rename to sys-process/acct/acct-6.6.4-r3.ebuild
index cd281dbfe1b..4a561b72362 100644
--- a/sys-process/acct/acct-6.6.4-r2.ebuild
+++ b/sys-process/acct/acct-6.6.4-r3.ebuild
@@ -1,7 +1,8 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
+
 inherit autotools systemd
 
 DESCRIPTION="GNU system accounting utilities"
@@ -11,9 +12,8 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
-IUSE=""
 
-DEPEND="sys-apps/texinfo"
+BDEPEND="sys-apps/texinfo"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-6.6.4-cross-compile-fixed.patch
@@ -30,10 +30,14 @@ src_configure() {
 
 src_install() {
        default
+
        keepdir /var/account
+
        newinitd "${FILESDIR}"/acct.initd-r2 acct
        newconfd "${FILESDIR}"/acct.confd-r1 acct
+
        systemd_dounit "${FILESDIR}"/acct.service
+
        insinto /etc/logrotate.d
        newins "${FILESDIR}"/acct.logrotate-r1 psacct
 

Reply via email to