summaryrefslogtreecommitdiff
path: root/sys-process/acct
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/acct')
-rw-r--r--sys-process/acct/Manifest2
-rw-r--r--sys-process/acct/acct-6.6.4-r3.ebuild (renamed from sys-process/acct/acct-6.6.4-r2.ebuild)10
2 files changed, 8 insertions, 4 deletions
diff --git a/sys-process/acct/Manifest b/sys-process/acct/Manifest
index 7e3390efebe0..0d565b5fc05c 100644
--- a/sys-process/acct/Manifest
+++ b/sys-process/acct/Manifest
@@ -6,5 +6,5 @@ AUX acct.logrotate-r1 304 BLAKE2B 60ddfe6b5a8fdf75c82bdf43308ad6f2e1da0c533e5322
AUX acct.service 382 BLAKE2B 7a777c0d9195676d897bf95087a3af2175587e365969956de0d458e842144b6fa97c3e7e1bac402467c8611ef19915c55b562466104b6cbc75279225870c25dc SHA512 8c2523526eb3185765eac62676761af6758d0090d68ba48aeacc59c7a45f0722c867fb97d02ff3ceaa8d77637d2b915938d545f7d782e4f7aa46861f25364bd3
DIST acct-6.6.4.tar.gz 853273 BLAKE2B 2ee42ae849f8e7c5c6dbe33d45e944f945cef87a5fef0074ac31848547ab9b7068509bce3c4b47b35bfde49b02daf43ae812cc58284c50185e4bdc660dccae52 SHA512 413aa446caece8fd773c92e2995bbaa034f63dd0ced521815a676c49f118e02982862b9c0ab7e60be5212c87d1e82ba6325bda212cf4857392a068d359a1e2c2
EBUILD acct-6.6.4-r1.ebuild 1070 BLAKE2B 72327ad0f437dd255ad4e2fa5d8efa4a90847843991b41092ceddeacdd3b14927a0249f7569b3d04f3a9f86873498b4073130d0321229684d834c871282c9694 SHA512 136ac501b8a7f929684a518f9ef4cfa3f137e3b4caa68b9e327f6063bf064ee9291df1b2cd76e5eb285338a5f5d080ab2c08be0e0965b481bd8b999e688ca02f
-EBUILD acct-6.6.4-r2.ebuild 1081 BLAKE2B 8dab6c2bbe9951c4d60621b115c08306bbde48a46a565cc5f6fe5f1abd2d1d20cefb9c7cedf5832323c7d2618cc433d33de0d3dddc587b183b2b9c4f6a1a80ad SHA512 62bf6ec991044bf524699bce075d03bd8b5667127fd2a69d3a60543de1b5cc8144b99d0aca90c7af5c68c19c54960789b168e4af8bfbe6fba1a4aa6cbbca30c7
+EBUILD acct-6.6.4-r3.ebuild 1079 BLAKE2B 993ddf349fbe88a165afb449b67f27190e472b7ac25cdfe93d0a1363866da367a6c690f079bca062e341a3b4715847e341dad926e80deb396242420f487c9225 SHA512 57b01670e29678c998bf1c0aeb3da12ae54e2d63b83aa326899270bf0ebd37eeac69ee1109e74bc59eee05331b29b00cb0506fee6ae2d0b6aecc88547db83614
MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555
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