diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-11-19 09:42:52 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-11-19 11:37:03 +0100 |
commit | fd7f284c1cbc22e582e72528318da31d59571ea7 (patch) | |
tree | 525e77b4c45abe7a259cccddac25f4e5f318cf75 /sys-apps/util-linux | |
parent | sys-apps/util-linux: Removed old (diff) | |
download | gentoo-fd7f284c1cbc22e582e72528318da31d59571ea7.tar.gz gentoo-fd7f284c1cbc22e582e72528318da31d59571ea7.tar.bz2 gentoo-fd7f284c1cbc22e582e72528318da31d59571ea7.zip |
sys-apps/util-linux: Introduced "logger" and "su" USE flags
Thanks-to: fling <fling@member.fsf.org>
Bug: https://bugs.gentoo.org/699930
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/util-linux')
-rw-r--r-- | sys-apps/util-linux/metadata.xml | 2 | ||||
-rw-r--r-- | sys-apps/util-linux/util-linux-9999.ebuild | 12 |
2 files changed, 11 insertions, 3 deletions
diff --git a/sys-apps/util-linux/metadata.xml b/sys-apps/util-linux/metadata.xml index ed7b2cf02a02..dd6f8b1b1ccf 100644 --- a/sys-apps/util-linux/metadata.xml +++ b/sys-apps/util-linux/metadata.xml @@ -11,7 +11,9 @@ <flag name="fdformat">build fdformat (floppy disk format)</flag> <flag name="hardlink">build hardlink program</flag> <flag name="kill">build the kill program</flag> + <flag name="logger">build the logger program</flag> <flag name="pam">build runuser helper</flag> + <flag name="su">build the su program</flag> <flag name="suid"> install mount/umount as setuid so non-root users may mount/umount devices, and wall/write as setgid so non-root users can notify other users diff --git a/sys-apps/util-linux/util-linux-9999.ebuild b/sys-apps/util-linux/util-linux-9999.ebuild index fcdde6fa5796..ba69e1349e11 100644 --- a/sys-apps/util-linux/util-linux-9999.ebuild +++ b/sys-apps/util-linux/util-linux-9999.ebuild @@ -25,7 +25,7 @@ HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/ https://github.com/ LICENSE="GPL-2 LGPL-2.1 BSD-4 MIT public-domain" SLOT="0" -IUSE="build caps +cramfs fdformat hardlink kill ncurses nls pam python +readline selinux slang static-libs +suid systemd test tty-helpers udev unicode userland_GNU" +IUSE="build caps +cramfs 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}. @@ -49,10 +49,15 @@ BDEPEND=" " RDEPEND="${DEPEND} hardlink? ( !app-arch/hardlink ) + logger? ( !>=app-admin/sysklogd-2.0[logger] ) kill? ( !sys-apps/coreutils[kill] !sys-process/procps[kill] ) + su? ( + !<sys-apps/shadow-4.7-r2 + !>=sys-apps/shadow-4.7-r2[su] + ) !net-wireless/rfkill !sys-process/schedutils !sys-apps/setarch @@ -168,7 +173,6 @@ multilib_src_configure() { --disable-login --disable-nologin --disable-pylibmount - --disable-su --enable-agetty --enable-bash-completion --enable-line @@ -182,10 +186,12 @@ multilib_src_configure() { $(use_enable cramfs) $(use_enable fdformat) $(use_enable hardlink) + $(use_enable kill) + $(use_enable logger) + $(use_enable su) $(use_enable tty-helpers mesg) $(use_enable tty-helpers wall) $(use_enable tty-helpers write) - $(use_enable kill) ) else myeconfargs+=( |