summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-09-09 13:35:55 +0200
committerDavid Seifert <soap@gentoo.org>2021-09-09 13:35:55 +0200
commitf671fa169899157c4cd14e0a6de5abc1d3c49833 (patch)
treede540dfe8ce32b3204ae4ee74910c431ceecc7dc /sys-process/acct
parentprofiles: mask new rssguard (incompatible database) (diff)
downloadgentoo-f671fa169899157c4cd14e0a6de5abc1d3c49833.tar.gz
gentoo-f671fa169899157c4cd14e0a6de5abc1d3c49833.tar.bz2
gentoo-f671fa169899157c4cd14e0a6de5abc1d3c49833.zip
sys-process/acct: update to EAPI 7
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-process/acct')
-rw-r--r--sys-process/acct/acct-6.6.4-r3.ebuild (renamed from sys-process/acct/acct-6.6.4-r2.ebuild)10
1 files 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
index cd281dbfe1b5..4a561b723628 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