commit: 766f18f974e1f035898802f70ddea3707d1292cf Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> AuthorDate: Tue Nov 24 21:26:03 2015 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Tue Nov 24 22:01:27 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=766f18f9
sys-apps/coreutils: add USE=hostname #128538 This controls just the hostname program. sys-apps/coreutils/coreutils-8.24.ebuild | 7 ++++--- sys-apps/coreutils/metadata.xml | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sys-apps/coreutils/coreutils-8.24.ebuild b/sys-apps/coreutils/coreutils-8.24.ebuild index 8b60db7..b350b02 100644 --- a/sys-apps/coreutils/coreutils-8.24.ebuild +++ b/sys-apps/coreutils/coreutils-8.24.ebuild @@ -24,7 +24,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux" -IUSE="acl caps gmp kill multicall nls selinux static userland_BSD vanilla xattr" +IUSE="acl caps gmp hostname kill multicall nls selinux static userland_BSD vanilla xattr" LIB_DEPEND="acl? ( sys-apps/acl[static-libs] ) caps? ( sys-libs/libcap ) @@ -37,6 +37,7 @@ DEPEND="${RDEPEND} static? ( ${LIB_DEPEND} ) app-arch/xz-utils" RDEPEND+=" + hostname? ( !sys-apps/net-tools[hostname] ) kill? ( !sys-apps/util-linux[kill] !sys-process/procps[kill] @@ -91,8 +92,8 @@ src_configure() { --with-packager="Gentoo" \ --with-packager-version="${PVR} (p${PATCH_VER:-0})" \ --with-packager-bug-reports="https://bugs.gentoo.org/" \ - --enable-install-program="arch,$(usev kill)" \ - --enable-no-install-program="groups,hostname,$(usev !kill),su,uptime" \ + --enable-install-program="arch,$(usev hostname),$(usev kill)" \ + --enable-no-install-program="groups,$(usev !hostname),$(usev !kill),su,uptime" \ --enable-largefile \ $(use caps || echo --disable-libcap) \ $(use_enable nls) \ diff --git a/sys-apps/coreutils/metadata.xml b/sys-apps/coreutils/metadata.xml index 95b8f3e..cdf7134 100644 --- a/sys-apps/coreutils/metadata.xml +++ b/sys-apps/coreutils/metadata.xml @@ -3,6 +3,7 @@ <pkgmetadata> <herd>base-system</herd> <use> + <flag name='hostname'>Build the hostname program</flag> <flag name='kill'>Build the kill program</flag> <flag name='multicall'>Build all tools into a single `coreutils` program akin to busybox to save space</flag> </use>