summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-02 03:59:21 +0100
committerSam James <sam@gentoo.org>2021-04-03 16:53:54 +0100
commit177c937b8d5677bc37b8ad61396feafa0d2de14a (patch)
treefae8ddbae216009909d9fac10f032c18f502ce5c /app-admin/tmpwatch
parentapp-admin/socklog: eutils--, sort inherit (diff)
downloadgentoo-177c937b8d5677bc37b8ad61396feafa0d2de14a.tar.gz
gentoo-177c937b8d5677bc37b8ad61396feafa0d2de14a.tar.bz2
gentoo-177c937b8d5677bc37b8ad61396feafa0d2de14a.zip
app-admin/tmpwatch: EAPI 7, depend on psmisc (fuser)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/tmpwatch')
-rw-r--r--app-admin/tmpwatch/tmpwatch-2.11-r2.ebuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/app-admin/tmpwatch/tmpwatch-2.11-r2.ebuild b/app-admin/tmpwatch/tmpwatch-2.11-r2.ebuild
index a4978b8144ad..cdc308efa9f9 100644
--- a/app-admin/tmpwatch/tmpwatch-2.11-r2.ebuild
+++ b/app-admin/tmpwatch/tmpwatch-2.11-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit toolchain-funcs eutils
+inherit toolchain-funcs
DESCRIPTION="Files which haven't been accessed are removed from specified directories"
HOMEPAGE="https://pagure.io/tmpwatch"
@@ -14,8 +14,14 @@ SLOT="0"
KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86"
IUSE="selinux"
-RDEPEND="selinux? ( sec-policy/selinux-tmpreaper )"
-DEPEND=""
+# psmisc for fuser
+DEPEND="
+ !kernel_Darwin? ( sys-process/psmisc )
+"
+RDEPEND="
+ ${DEPEND}
+ selinux? ( sec-policy/selinux-tmpreaper )
+"
PATCHES=(
"${FILESDIR}/${P}-boottime.patch"