From: Robin H. Johnson Date: Fri, 3 Apr 2020 22:53:39 +0000 (-0700) Subject: sys-apps/util-linux: support libaudit usage X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cb0ca61319ecb831a5c87f0e2d09dbbe5bd9c319;p=gentoo.git sys-apps/util-linux: support libaudit usage Signed-off-by: Robin H. Johnson --- diff --git a/sys-apps/util-linux/metadata.xml b/sys-apps/util-linux/metadata.xml index d707189c1c8d..121dd51cf546 100644 --- a/sys-apps/util-linux/metadata.xml +++ b/sys-apps/util-linux/metadata.xml @@ -6,6 +6,7 @@ Gentoo Base System + Use sys-process/audit to emit audit messages about system changes build setpriv helper (run programs with diff capabilities) build mkfs/fsck helpers for cramfs filesystems Use sys-fs/cryptsetup to have built-in dm-verity in libmount diff --git a/sys-apps/util-linux/util-linux-2.35.1-r1.ebuild b/sys-apps/util-linux/util-linux-2.35.1-r1.ebuild index 9abd2b066aab..aeb4cff8ef2f 100644 --- a/sys-apps/util-linux/util-linux-2.35.1-r1.ebuild +++ b/sys-apps/util-linux/util-linux-2.35.1-r1.ebuild @@ -25,12 +25,13 @@ HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/ https://github.com/ LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain" SLOT="0" -IUSE="build caps +cramfs cryptsetup fdformat hardlink kill +logger ncurses nls pam python +readline selinux slang static-libs su +suid systemd test tty-helpers udev unicode userland_GNU" +IUSE="audit build caps +cramfs cryptsetup fdformat hardlink kill +logger ncurses nls pam python +readline selinux slang static-libs su +suid systemd test tty-helpers udev unicode userland_GNU" # Most lib deps here are related to programs rather than our libs, # so we rarely need to specify ${MULTILIB_USEDEP}. RDEPEND=" virtual/libcrypt:= + audit? ( >=sys-process/audit-2.6:= ) caps? ( sys-libs/libcap-ng ) cramfs? ( sys-libs/zlib:= ) cryptsetup? ( sys-fs/cryptsetup ) @@ -171,6 +172,7 @@ multilib_src_configure() { $(multilib_native_use_with udev) $(multilib_native_usex ncurses "$(use_with unicode ncursesw)" '--without-ncursesw') $(multilib_native_usex ncurses "$(use_with !unicode ncurses)" '--without-ncurses') + $(multilib_native_use_with audit) $(tc-has-tls || echo --disable-tls) $(use_enable nls) $(use_enable unicode widechar)