public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2016-05-12 13:41 Michael Haubenwallner
  0 siblings, 0 replies; 19+ messages in thread
From: Michael Haubenwallner @ 2016-05-12 13:41 UTC (permalink / raw
  To: gentoo-commits

commit:     cc17b17ba7645aa6d0b31bdddabcebed94aa7aaf
Author:     Michael Haubenwallner <michael.haubenwallner <AT> ssi-schaefer <DOT> com>
AuthorDate: Thu May 12 10:57:52 2016 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Thu May 12 13:37:16 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=cc17b17b

coreutils-8.25: support /bin being a symlink

Disable symlinks from /usr/bin/ to /bin/ when /bin is a symlink.
This is necessary for Cygwin to have all the dlls in the same directory
as all the exes, as there is no such thing like an embedded runpath.

 sys-apps/coreutils/Manifest              | 3 ++-
 sys-apps/coreutils/coreutils-8.25.ebuild | 4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 98f2d6b..5a51305 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -3,6 +3,7 @@ AUX coreutils-7.4-hppa-hpux.patch 502 SHA256 d9e1c3f4db41393752d0e4ca8aefff8c3bd
 AUX coreutils-7.5-interix-setgroups.patch 439 SHA256 9b8cd13c7273effe0c9355efb89159a4235c42d7c6c7573448bb06249323afaa SHA512 391d60645d6f8ab4e78f917c08e5ef939c662ed429a47b3b7c85b670c52e39da35db26d8f9dd9fe8bf0d7726744f3cdaa2542a1cd44ffb1a148dc93c5d1737f9 WHIRLPOOL 706b0d016f6a9dadee1fbbaae90695be2329809470c6da53e6c7ad9fddcd19614b8cf8ba26beb10b5bf26f5f4c3f0bba2d8eea4fdd5c60740cacfcba68fa2978
 AUX coreutils-8.22-mint.patch 3894 SHA256 1853e4f86c8455b41037acf4f2bd65a428b050f302920ad23358f30730a2291e SHA512 3f779203d6751bdbeec5ac2d4fc9d1b10d52ae97c7c83f9edb7ac783b075e0e312ad4f12e27772cbedfc240dc4bb9f5232dd7f7edc81a492a530e655eb9d2d30 WHIRLPOOL cb33f6e89a2a1edcdd550c16f821085529045eed08405a44fe99385f83c1ce9b620a56a249eed7e539a6053a7bc2bc486d594193f6817e247ed6cfebe46ba285
 AUX coreutils-8.23-non-elf.patch 847 SHA256 8f877e4b51c9d6d287418db25cebeae47b464945758d03aeb43181c311e8d0f2 SHA512 b3863be7f37d4e57101438885da160d23c4178ee325941a603cdec3595a9886beff0f4d3ba6b4490ba6f89eb8cb7bc1c54e47ffe4d62c8acbca5ab933131489e WHIRLPOOL 32a43b70a6537e034f241855d299872c711f97a32a13cba5742419e7e07b9a147d905f8504295ebe85daa46263d0e6bbdc3347d654428a9b87b9d2f439949a6e
+AUX coreutils-8.25-cygwin-3.patch 50429 SHA256 49de897135e8641db0e5ccc0f764bbac7b3e12aa8fe438f53c0a70e0b0136bf9 SHA512 44ce2be687eae10c5aa406fbcb6c2cc49ad571478742a1305b0a73404ef3f0118d3251e5bf4a5dbc2b3a65e22e6331219b14854dc14dbd990ad82bd358862298 WHIRLPOOL 416d7163e87c86f882e726669d514ee818e32de1e89dae6f8daa2269b5f5119d702d79bf5bcceb49bef66a23d41f297f522adfe2d818b5e017319d6ed933e081
 AUX coreutils-8.5-interix-double.patch 2019 SHA256 1cdcccdcd972bfb5935fc1b2d2b160ba656c67c13a7d3db40d10f8d8752c0c6a SHA512 28d6b492f232517c038a59b713284c5a6dd8f360d463583e0481d373609ac8447ed8793ca91524fbddd6c59f588434c1d05b9d6587d168c1a042e6c9776278b4 WHIRLPOOL 189a2fb5e0b9bbd3477d62b6ad7301f8bdfeeeb6b2a2fb44a2e1e8ec06b90636bb224ce1ca16ab3a7225fdca7e73e5d821558b539c93fadd2ccf4082c149ea39
 AUX coreutils-8.5-interix-warn-mount.patch 716 SHA256 9eb15d7afd7db3fe3dd77544e863d3e093ed85f45a2d585faee64526cc64e16a SHA512 95565e680b41c658b8f5bcd84b2d09c482e1514d34afcbc721151fa5595baccf87aa3ecaa03df14d1904a7246daa350affbcd20065da87252231fdf47ff6b3fb WHIRLPOOL 2e62f5d73ccd37c404c462bc41f8ca06619130fd691242dcff26fbce491752ea36c0977a4cb6b57ad2ae69b5f8d9ae39cd194dd13567a69003e0cd07acf4d12f
 AUX coreutils-8.8-hppa-hpux.patch 478 SHA256 585bbf80cd12bb60de6be8dd4bd6ea3b0cf3724081ba02688764c939ddfacffe SHA512 51a6336a2a6db61d6e2894b8c75fe6b2242e62001d411b8e0b4e4c949e4c81499b1df4990b82b81507a329bedb486440322f5f5246ab4735584896d71fa1f4d9 WHIRLPOOL bee1672b2e6614f1744215d6c0e4a99b83530509c5f3fa83f5d18700d2b5fdbeb58041c38907cc3c6117d09548ba206d202c49a56ef9393d2022cbd3716ed4a3
@@ -27,5 +28,5 @@ EBUILD coreutils-8.22-r1.ebuild 6015 SHA256 08c11cfbd5947d24c48ef169ebf0fe2bc87e
 EBUILD coreutils-8.22.ebuild 6317 SHA256 7962673e3eeece23fa543eeec7f4ebc9d3bc14254ddc5c98d1c1778508121b9b SHA512 63203170b5378158fed7fdfdb203e3fddf4ac8be79428e7fe4eb475fc800870a9ecda12dcc63a37dfe811aa57b543b414dad847568b18a00f63bbd5a88446914 WHIRLPOOL 45f47540f7114f3e45e41fa36d4d1cace21bafbadac80d29ad6372487f63d9f36537ee03b7a0a4923e743d3294c17a7e1cb96c8ef42e386706bd152a58d2aa28
 EBUILD coreutils-8.23-r00.1.ebuild 6267 SHA256 53c2a4bef763782b3dc6f9c00a3b32ca37dd9fcc1c8096fd41633e2a91e2eb4e SHA512 dc5f1f83dc592a6e0fbf37afb3494d7300f34f63a9b81f8eee08c6f5d2826487fb1c06d3c94ababd6e3ce4430737ffa917ffa00e77e2e51ed07b156d21b45e6d WHIRLPOOL 49548aad93722d42720dd3bd99fdc6eba76eb272cc320e49875a1dc784cc411eadfe2048d0399e8936c26c360861b30c92a0975186e8de008233ca48bbddd4c3
 EBUILD coreutils-8.24.ebuild 6596 SHA256 1e82dda3c1a0b1b6c47af214dffac24ffee45bc19efdd2c403e05890267d078b SHA512 e78d9f8f6e99a767cbc809126284161643af220808753adff57b52e129686ee3a208e7d1742694fd0dd8f3b28d238df759169866da861b7539e9a79b490bd930 WHIRLPOOL 08e2b1ce22af8a0b3b40b62dfc0b6fb739bd22b5db349874ff2c9b70cb14fa247bbb2c896b4db9564f5e6466d62b2483a96fb3c58c2e781419eedb6373108e37
-EBUILD coreutils-8.25.ebuild 6851 SHA256 d3b1a63c2358050268bd664c688d4aa7fece44df146af9133e52bb23a493f152 SHA512 9726525fa87d75d972c6e29032f63808167f8f6dbc83c0cf658cbb29dd1c12f34e4bcad63697f9b76801d108324036d30f7642bd0a74279e697e3640a9a18b4c
+EBUILD coreutils-8.25.ebuild 6900 SHA256 98f61ae6a343f0a438a34468b5117ad91ec1ec205ea72a94f3c5f9c2539a81a3 SHA512 258344167c076450bed2a94b34beda6f0bc8b6c159228bedda2749d883a7b0f703d3990968567b0ad947e776acc626920a4b0c6cd26a7b495224073e7b2725a4 WHIRLPOOL 32aff23c4f8883afee59948549ea35f106f3d605b108aa60f70796d9a7de252617a500b7b8bc8c70aeb2136ec2e3c0422bdce57429fb030ae57c375bc1527a67
 MISC metadata.xml 668 SHA256 5861c2e0c2723f166f6c52bd9726f5d5020286f6e475c4746516f0cfd59ebe47 SHA512 347e830a93a0fcbaa2ab9104761ad0e0c42dbbe28d4cf29fc953bc21055051afd3c8e0ab0dbecf5c27faf1335f82b3601be78cc8980365b85db5a7a86419bb1c WHIRLPOOL 091d55503649ee267113ab47f3192b5740961b18f1f542d4ffacded2f7ccfff528ac31ac771b9da220d3486dc10812b91c26a8f6859b4cc51a55d2c2648419ea

diff --git a/sys-apps/coreutils/coreutils-8.25.ebuild b/sys-apps/coreutils/coreutils-8.25.ebuild
index b34f290..c5d8b13 100644
--- a/sys-apps/coreutils/coreutils-8.25.ebuild
+++ b/sys-apps/coreutils/coreutils-8.25.ebuild
@@ -176,8 +176,10 @@ src_install() {
 		local com="basename chroot cut dir dirname du env expr head mkfifo
 		           mktemp readlink seq sleep sort tail touch tr tty vdir wc yes"
 		mv ${com} ../../bin/ || die "could not move common bins"
-		# create a symlink for uname in /usr/bin/ since autotools require it
+		# create a symlink for uname in /usr/bin/ since autotools require it,
+		# as long as /bin is not a symlink (to /usr/bin eventually)
 		local x
+		[[ -L ${EROOT}/bin ]] ||
 		for x in ${com} uname ; do
 			dosym /bin/${x} /usr/bin/${x}
 		done


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2021-12-28 15:29 Fabian Groffen
  0 siblings, 0 replies; 19+ messages in thread
From: Fabian Groffen @ 2021-12-28 15:29 UTC (permalink / raw
  To: gentoo-commits

commit:     f7fb3c000689f3cd63cb8e3af8fb60b6088996d7
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 28 15:28:55 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Dec 28 15:28:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=f7fb3c00

sys-apps/coreutils-9.0: fix/update stdbuf darwin bootstrap workaround

Package-Manager: Portage-3.0.21-prefix, Repoman-3.0.3
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-apps/coreutils/coreutils-9.0-r2.ebuild | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.0-r2.ebuild b/sys-apps/coreutils/coreutils-9.0-r2.ebuild
index 5d2550bf69..1774109986 100644
--- a/sys-apps/coreutils/coreutils-9.0-r2.ebuild
+++ b/sys-apps/coreutils/coreutils-9.0-r2.ebuild
@@ -84,16 +84,16 @@ src_prepare() {
 
 	# fixup libstdbuf non-libtool stuff
 	if [[ ${CHOST} == *-darwin* ]] ; then
-		if [[ ${CHOST} == *-darwin9* ]] ; then
-			# we need replacement libs from libcoreutils.a here in order
-			# to finish the linking
-			sed -i \
-				-e "/src_libstdbuf_so_LDADD/s:$: lib/libcoreutils.a:" \
-				Makefile.in \
-				|| die
-			# and we need serial building :(
-			export MAKEOPTS+=" -j1"
-		fi
+		# we need replacement libs from libcoreutils.a here in order
+		# to finish the linking (they try to avoid this, but it doesn't
+		# during bootstrap, a re-install is fine though)
+		sed -i \
+			-e "/src_libstdbuf_so_LDADD/s:$: lib/libcoreutils.a:" \
+			Makefile.in \
+			|| die
+		# and we need serial building :(
+		export MAKEOPTS+=" -j1"
+		# set a proper install_name
 		sed -i \
 			-e "/src_libstdbuf_so_LDFLAGS = -shared/s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/libexec/coreutils/libstdbuf.dylib:" \
 			Makefile.in \


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2021-12-23  8:49 Sam James
  0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2021-12-23  8:49 UTC (permalink / raw
  To: gentoo-commits

commit:     69798b825dac0ee3f4086c85f7e47ac0b2285803
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 23 08:43:40 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 23 08:43:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=69798b82

sys-apps/coreutils: revbump for chmod patch

Not sure why I didn't earlier!

Bug: https://bugs.gentoo.org/829836
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/coreutils/{coreutils-9.0-r1.ebuild => coreutils-9.0-r2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-9.0-r1.ebuild b/sys-apps/coreutils/coreutils-9.0-r2.ebuild
similarity index 100%
rename from sys-apps/coreutils/coreutils-9.0-r1.ebuild
rename to sys-apps/coreutils/coreutils-9.0-r2.ebuild


^ permalink raw reply	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2021-11-09  7:59 Sam James
  0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2021-11-09  7:59 UTC (permalink / raw
  To: gentoo-commits

commit:     639d50cb4b91308b3ad344ba9c28b0566ece8606
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  9 07:57:34 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov  9 07:57:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=639d50cb

sys-apps/coreutils: add 9.0

Package-Manager: Portage-3.0.21-prefix, Repoman-3.0.3
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/coreutils/Manifest                |   1 +
 sys-apps/coreutils/coreutils-9.0-r1.ebuild | 249 +++++++++++++++++++++++++++++
 2 files changed, 250 insertions(+)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 23cda18b29..b0fcebe2bb 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -1,3 +1,4 @@
 DIST coreutils-8.28-cygwin-8.26-3.patch 36792 BLAKE2B f494be97595ff9532f57ca3d5386d185d813647fb07480dc1b22434fa5eecfa22acb6940b82cc733ae4448757e5f69cf2c7c746a5752409fe4aa11dd47482e63 SHA512 53d05262118a0063a0b3992b80dcda28256516da4d077a691117384ea808e5468488443d9c4b0e38a4d5148e5e721e733dcb0562dcf23a1370d4090251458951
 DIST coreutils-8.30-patches-01.tar.xz 5788 BLAKE2B a41511ce39ac570cb14b7f12d125eebef92217469a9490808719fa0665f5e5c0adb96fbd02c4bac4d280d1502295669575790a81dbc01afe2ca3a9d384cbefb0 SHA512 b1e1933637de4581d5f8c6ede4e80a012435d13f0cf5550a76ab5bbe9441e3c15ce19ef3f78a7ea3b8368d5e9a3bb17c1207c471d26171b59786f38adeba0454
 DIST coreutils-8.32.tar.xz 5547836 BLAKE2B 0ad99c176c19ec214fcfd0845523e5362f0151827707c759bd46c0fe8d2501c6ad1c29c5b71266f6525857bc0d56c472db0d7fe29953b6c65e2e6c76bdf3c515 SHA512 1c8f3584efd61b4b02e7ac5db8e103b63cfb2063432caaf1e64cb2dcc56d8c657d1133bbf10bd41468d6a1f31142e6caa81d16ae68fa3e6e84075c253613a145
+DIST coreutils-9.0.tar.xz 5612752 BLAKE2B 59617cd25fd4c70f51bfbef851bd83e73f9c9ba5c11eb539f7f75c0184d55832e004b28e9268fb8064db145cb071ead2b9c0c3346bc35a11934ffe1b15bf17ac SHA512 9be08212891dbf48e5b22e7689dc27dac50df4631ebf29313470b72b7921f0b2aa5242917d05587785358495ca56e3b21f5b3ca81043d53cab92354da6c53a03

diff --git a/sys-apps/coreutils/coreutils-9.0-r1.ebuild b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
new file mode 100644
index 0000000000..4bb595cdec
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-9.0-r1.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9,10} )
+
+inherit eutils flag-o-matic python-any-r1 toolchain-funcs
+
+PATCH="${PN}-8.30-patches-01"
+DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, who,...)"
+HOMEPAGE="https://www.gnu.org/software/coreutils/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
+	!vanilla? (
+		mirror://gentoo/${PATCH}.tar.xz
+		https://dev.gentoo.org/~polynomial-c/dist/${PATCH}.tar.xz
+	)
+	elibc_Cygwin? (
+		https://dev.gentoo.org/~grobian/distfiles/${PN}-8.28-cygwin-8.26-3.patch
+	)
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="acl caps gmp hostname kill multicall nls selinux +split-usr static test userland_BSD vanilla xattr"
+RESTRICT="!test? ( test )"
+
+LIB_DEPEND="acl? ( sys-apps/acl[static-libs] )
+	caps? ( sys-libs/libcap )
+	gmp? ( dev-libs/gmp:=[static-libs] )
+	xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
+	selinux? ( sys-libs/libselinux )
+	nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+	static? ( ${LIB_DEPEND} )
+	app-arch/xz-utils
+	test? (
+		dev-lang/perl
+		dev-perl/Expect
+		!userland_BSD? (
+			dev-util/strace
+		)
+		${PYTHON_DEPS}
+		$(python_gen_any_dep 'dev-python/pyinotify[${PYTHON_USEDEP}]')
+	)"
+RDEPEND+="
+	hostname? ( !sys-apps/net-tools[hostname] )
+	kill? (
+		!sys-apps/util-linux[kill]
+		!sys-process/procps[kill]
+	)
+	!app-misc/realpath
+	!<sys-apps/util-linux-2.13
+	!<sys-apps/sandbox-2.10-r4
+	!sys-apps/stat
+	!net-mail/base64
+	!sys-apps/mktemp
+	!<app-forensics/tct-1.18-r1
+	!<net-fs/netatalk-2.0.3-r4"
+
+pkg_setup() {
+	if use test ; then
+		python-any-r1_pkg_setup
+	fi
+}
+
+src_prepare() {
+	local PATCHES=()
+
+	if ! use vanilla ; then
+		PATCHES+=( "${WORKDIR}"/patch )
+		PATCHES+=( "${FILESDIR}"/${PN}-8.32-sandbox-env-test.patch )
+	fi
+
+	if use elibc_Cygwin ; then
+		PATCHES+=( "${DISTDIR}"/${PN}-8.28-cygwin-8.26-3.patch )
+	fi
+
+	default
+
+	# fixup libstdbuf non-libtool stuff
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		if [[ ${CHOST} == *-darwin9* ]] ; then
+			# we need replacement libs from libcoreutils.a here in order
+			# to finish the linking
+			sed -i \
+				-e "/src_libstdbuf_so_LDADD/s:$: lib/libcoreutils.a:" \
+				Makefile.in \
+				|| die
+			# and we need serial building :(
+			export MAKEOPTS+=" -j1"
+		fi
+		sed -i \
+			-e "/src_libstdbuf_so_LDFLAGS = -shared/s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/libexec/coreutils/libstdbuf.dylib:" \
+			Makefile.in \
+			|| die
+	elif use elibc_Cygwin ; then
+		sed -i -e 's|\(libstdbuf\.so\)$(EXEEXT)|\1|g' Makefile.in || die
+	fi
+	sed -i \
+		-e "s/libstdbuf\\.so/libstdbuf$(get_libname)/" \
+		src/stdbuf.c \
+		Makefile.in \
+		configure \
+		|| die
+
+	# Since we've patched many .c files, the make process will try to
+	# re-build the manpages by running `./bin --help`.  When doing a
+	# cross-compile, we can't do that since 'bin' isn't a native bin.
+	# Also, it's not like we changed the usage on any of these things,
+	# so let's just update the timestamps and skip the help2man step.
+	set -- man/*.x
+	touch ${@/%x/1}
+
+	# Avoid perl dep for compiled in dircolors default #348642
+	if ! has_version dev-lang/perl ; then
+		touch src/dircolors.h
+		touch ${@/%x/1}
+	fi
+}
+
+src_configure() {
+	local myconf=(
+		--with-packager="Gentoo"
+		--with-packager-version="${PVR} (p${PATCH_VER:-0})"
+		--with-packager-bug-reports="https://bugs.gentoo.org/"
+		--enable-install-program="arch,$(usev hostname),$(usev kill)"
+		--enable-no-install-program="groups,$(usev !hostname),$(usev !kill),su,uptime"
+		--enable-largefile
+		$(usex caps '' --disable-libcap)
+		$(use_enable nls)
+		$(use_enable acl)
+		$(use_enable multicall single-binary)
+		$(use_enable xattr)
+		$(use_with gmp libgmp)
+	)
+	if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
+		export fu_cv_sys_stat_statfs2_bsize=yes #311569
+		export gl_cv_func_realpath_works=yes #416629
+	fi
+
+	export gl_cv_func_mknod_works=yes #409919
+	use static && append-ldflags -static && sed -i '/elf_sys=yes/s:yes:no:' configure #321821
+	use selinux || export ac_cv_{header_selinux_{context,flash,selinux}_h,search_setfilecon}=no #301782
+	use userland_BSD && myconf+=( -program-prefix=g --program-transform-name=s/stat/nustat/ )
+	# kill/uptime - procps
+	# groups/su   - shadow
+	# hostname    - net-tools
+	econf "${myconf[@]}"
+}
+
+src_test() {
+	# Known to fail with FEATURES=usersandbox (bug #439574):
+	#   -  tests/du/long-from-unreadable.sh} (bug #413621)
+	#   -  tests/rm/deep-2.sh (bug #413621)
+	#   -  tests/dd/no-allocate.sh (bug #629660)
+	if has usersandbox ${FEATURES} ; then
+		ewarn "You are emerging ${P} with 'usersandbox' enabled." \
+			"Expect some test failures or emerge with 'FEATURES=-usersandbox'!"
+	fi
+
+	# Non-root tests will fail if the full path isn't
+	# accessible to non-root users
+	chmod -R go-w "${WORKDIR}"
+	chmod a+rx "${WORKDIR}"
+
+	# coreutils tests like to do `mount` and such with temp dirs
+	# so make sure /etc/mtab is writable #265725
+	# make sure /dev/loop* can be mounted #269758
+	mkdir -p "${T}"/mount-wrappers || die
+	mkwrap() {
+		local w ww
+		for w in "${@}" ; do
+			ww="${T}/mount-wrappers/${w}"
+			cat <<-EOF > "${ww}"
+				#!${EPREFIX}/bin/sh
+				exec env SANDBOX_WRITE="\${SANDBOX_WRITE}:/etc/mtab:/dev/loop" $(type -P ${w}) "\$@"
+			EOF
+			chmod a+rx "${ww}"
+		done
+	}
+	mkwrap mount umount
+
+	addwrite /dev/full
+	#export RUN_EXPENSIVE_TESTS="yes"
+	#export FETISH_GROUPS="portage wheel"
+	env PATH="${T}/mount-wrappers:${PATH}" \
+	emake -j1 -k check
+}
+
+src_install() {
+	default
+
+	insinto /etc
+	newins src/dircolors.hin DIR_COLORS
+
+	if [[ ${USERLAND} == "GNU" ]] ; then
+		cd "${ED%/}"/usr/bin || die
+		dodir /bin
+		# move critical binaries into /bin (required by FHS)
+		local fhs="cat chgrp chmod chown cp date dd df echo false ln ls
+		           mkdir mknod mv pwd rm rmdir stty sync true uname"
+		mv ${fhs} ../../bin/ || die "could not move fhs bins"
+		if use hostname; then
+			mv hostname ../../bin/ || die
+		fi
+		if use kill; then
+			mv kill ../../bin/ || die
+		fi
+		if use split-usr ; then
+			# move critical binaries into /bin (common scripts)
+			local com="basename chroot cut dir dirname du env expr head mkfifo
+			           mktemp readlink seq sleep sort tail touch tr tty vdir wc yes"
+			mv ${com} ../../bin/ || die "could not move common bins"
+			# create a symlink for uname in /usr/bin/ since autotools require it
+			local x
+			for x in ${com} uname ; do
+				dosym ../../bin/${x} /usr/bin/${x}
+			done
+		fi
+	else
+		# For now, drop the man pages, collides with the ones of the system.
+		rm -rf "${ED%/}"/usr/share/man
+	fi
+
+	if use elibc_Cygwin ; then
+		! use kill || mv "${ED}"/bin/{,g}kill || die
+		mv "${ED}"/usr/libexec/${PN}/libstdbuf$(get_libname){.exe,} || die
+	fi
+}
+
+pkg_postinst() {
+	ewarn "Make sure you run 'hash -r' in your active shells."
+	ewarn "You should also re-source your shell settings for LS_COLORS"
+	ewarn "  changes, such as: source /etc/profile"
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${EROOT%/}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2021-01-24  9:47 Fabian Groffen
  0 siblings, 0 replies; 19+ messages in thread
From: Fabian Groffen @ 2021-01-24  9:47 UTC (permalink / raw
  To: gentoo-commits

commit:     870c287bf5713a85c9bd8d8288c9b569c032c1ed
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 09:46:11 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 09:46:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=870c287b

sys-apps/coreutils: drop ~x86-macos

Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-apps/coreutils/coreutils-8.32.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-8.32.ebuild b/sys-apps/coreutils/coreutils-8.32.ebuild
index 302190d759..2e794c6590 100644
--- a/sys-apps/coreutils/coreutils-8.32.ebuild
+++ b/sys-apps/coreutils/coreutils-8.32.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -22,7 +22,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="acl caps gmp hostname kill multicall nls selinux +split-usr static test userland_BSD vanilla xattr"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2019-01-03 14:39 Fabian Groffen
  0 siblings, 0 replies; 19+ messages in thread
From: Fabian Groffen @ 2019-01-03 14:39 UTC (permalink / raw
  To: gentoo-commits

commit:     034b056bf18dd4938a67a654a639f7939a0c03d5
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  3 14:38:56 2019 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Jan  3 14:38:56 2019 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=034b056b

sys-apps/coreutils: fix MAKEOPTS argument

Package-Manager: Portage-2.3.52.2-prefix, Repoman-2.3.12
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-apps/coreutils/coreutils-8.30.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-8.30.ebuild b/sys-apps/coreutils/coreutils-8.30.ebuild
index fb0b646972..b8303c115b 100644
--- a/sys-apps/coreutils/coreutils-8.30.ebuild
+++ b/sys-apps/coreutils/coreutils-8.30.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -78,7 +78,7 @@ src_prepare() {
 				Makefile.in \
 				|| die
 			# and we need serial building :(
-			export MAKEOPTS+="-j1"
+			export MAKEOPTS+=" -j1"
 		fi
 		sed -i \
 			-e "/src_libstdbuf_so_LDFLAGS = -shared/s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/libexec/coreutils/libstdbuf.dylib:" \


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2018-12-30 11:36 Fabian Groffen
  0 siblings, 0 replies; 19+ messages in thread
From: Fabian Groffen @ 2018-12-30 11:36 UTC (permalink / raw
  To: gentoo-commits

commit:     578a5b4f5715016adb421fbb274daefd9f80ff54
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 30 11:35:25 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Dec 30 11:35:49 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=578a5b4f

sys-apps/coreutils: try and get 8.30 building on darwin9

Package-Manager: Portage-2.3.52.2-prefix, Repoman-2.3.12
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-apps/coreutils/coreutils-8.30.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-8.30.ebuild b/sys-apps/coreutils/coreutils-8.30.ebuild
index 7b19bd0c46..fb0b646972 100644
--- a/sys-apps/coreutils/coreutils-8.30.ebuild
+++ b/sys-apps/coreutils/coreutils-8.30.ebuild
@@ -70,6 +70,16 @@ src_prepare() {
 
 	# fixup libstdbuf non-libtool stuff
 	if [[ ${CHOST} == *-darwin* ]] ; then
+		if [[ ${CHOST} == *-darwin9* ]] ; then
+			# we need replacement libs from libcoreutils.a here in order
+			# to finish the linking
+			sed -i \
+				-e "/src_libstdbuf_so_LDADD/s:$: lib/libcoreutils.a:" \
+				Makefile.in \
+				|| die
+			# and we need serial building :(
+			export MAKEOPTS+="-j1"
+		fi
 		sed -i \
 			-e "/src_libstdbuf_so_LDFLAGS = -shared/s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/libexec/coreutils/libstdbuf.dylib:" \
 			Makefile.in \


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2018-12-29 13:34 Fabian Groffen
  0 siblings, 0 replies; 19+ messages in thread
From: Fabian Groffen @ 2018-12-29 13:34 UTC (permalink / raw
  To: gentoo-commits

commit:     1b392016b38669dfc9fd540380b358e39f90dba4
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 29 13:33:39 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Dec 29 13:33:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=1b392016

sys-apps/coreutils: sync with gx86

Package-Manager: Portage-2.3.52.2-prefix, Repoman-2.3.12
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-apps/coreutils/Manifest              |  25 +---
 sys-apps/coreutils/coreutils-8.30.ebuild | 228 +++++++++++++++++++++++++++++++
 sys-apps/coreutils/metadata.xml          |   1 +
 3 files changed, 231 insertions(+), 23 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index a2672d3187..fb0c4db2ce 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -1,25 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-AUX coreutils-8.22-mint.patch 3894 BLAKE2B 5e057efc95691d601989e8b6b8a8aef30222f207cdd9cfb56a0844902c9346eed13e2ecb8cf4c24dafc139c80074c014b1e980afdf50b58720a1d7242685c23e SHA512 3f779203d6751bdbeec5ac2d4fc9d1b10d52ae97c7c83f9edb7ac783b075e0e312ad4f12e27772cbedfc240dc4bb9f5232dd7f7edc81a492a530e655eb9d2d30
-AUX coreutils-8.28-cygwin-8.26-3.patch 36792 BLAKE2B f494be97595ff9532f57ca3d5386d185d813647fb07480dc1b22434fa5eecfa22acb6940b82cc733ae4448757e5f69cf2c7c746a5752409fe4aa11dd47482e63 SHA512 53d05262118a0063a0b3992b80dcda28256516da4d077a691117384ea808e5468488443d9c4b0e38a4d5148e5e721e733dcb0562dcf23a1370d4090251458951
 DIST coreutils-8.29-patches-1.0.tar.xz 5772 BLAKE2B 8f05185404d527ad524684231f0b8bef3b65e7752527b6bf55371f474035b8a92cdcaa8349a321784d14c6700a0d49e9d10ee2e3a96b78e8f6423ee8c5b9ec02 SHA512 0f7db6744a6a6bad8d582bb2d32e1a0ad0ab5f48a53b54c371d27494967832ddec2570e45dbf7e66c7091496bcecd66aab21644f603d2c8878a87f51a1a9b1a2
 DIST coreutils-8.29.tar.xz 5286588 BLAKE2B cbb66d9054bdd2db5b9a6010876484b16d178f8f4d935836b1e42830178647fac4e0a75052a6e7e2fbc50e74e4e7ff6f8da43f1137b96d0c2d027c4ebac28a98 SHA512 546bbcd5741beae7a68e7c4ca14d6d634f7c8be87feecdeddd00e226f4865bb89d503437c3a95622ba7bb0cb70addbb5bdf3767fa18d0b7410ab90ee53b29dfd
-EBUILD coreutils-8.29.ebuild 7189 BLAKE2B fc45ed65d0fb36282943ebda46743cc8b183340e0c00e8c7b32364785540a75b9272e69c59f0df9a8be62db2a574a0e166f722eb18add2d36ead4a229b14e786 SHA512 a6de14a69cedd38391a892007767e4bd8bb3dcac862151f0396daebdfb438b3669e5b2d8eaf738d8f10b269a09bb0bc6e0fc5d207351999b7af81571a8566e10
-MISC metadata.xml 869 BLAKE2B 397aa866d67eb1d6ff5f604194cf071be0f75606092d78e1cf7f0ced85cf4474d67677307e7e8566ba402c1f94ae2f3e3906ef5006a50e73d6673edb25d517fa SHA512 19e07c93cbe1cfe087eb7fdc8647aa4c264f1e6a193a0ed4e1ceb302bda92565aa76966b6ef2efa15d7535082ef0e6a1454fee20eca4797466f5de5e37ac4957
------BEGIN PGP SIGNATURE-----
-
-iQIzBAEBCAAdFiEEqGPdSmYcJzzTeG67KfsOnscZ7iAFAls15f8ACgkQKfsOnscZ
-7iB0OA/9EauonM1/bg8U5dWvJovssW7TVAKpIkKVQBQwLtf/rxgMucr3UmREa/RX
-sFKcK7Kb6jEBbv1ng8YlWz5x54oDzQnt5adg9I6g7L4EG8entHzYs1y42iTzM0WQ
-78LNoPc1Qmq8iRA+KAk/bpfbK93dOtcuotV/Lkg3tgej7XpF5OC/RLs/yQoQueGO
-geSVp/yeN4LodfqicM8enu6EQIKTsL+59kvoJbIZFRvoHcadUMUjxPLFGBc0TACo
-FtCB9vF3Z0KfummPl15Kp18+AgNQfWaYe4AdMhR9jwjYUTUG0FdQHQkS9f8GLKFX
-yDYS/7iMA/6cv6YMKXkG2rRFyJSwTyYMIZ3VPwJcw7aIysQGx5FQYIxgey7vv8x8
-xuRFEdC2NWKepr0LIEjUD82/LfKyEBH9mDI7uk52DMaGnYeAtRNWQl+2AnKilEae
-W/AaF8X+CahK7HiIcH96tAb37o7dKMTQ+q/o+vlE2WR/rqI4kSQrM7Ygs0P7P0L2
-SHidWWURSkoNTmelTIGOqiCIY9B307/3cOZxluKa1gReaMJl3ywKWeY6cM8s7JJu
-JOCG8hDplD2fFw2YSuxP4vWYlGeedD5+5qy2B2KnPy4ynJ111Rfvm0aKvMH6qaEK
-4R7o4AHFutkSZ5FB7JBBBtUFT7b6bvGjg47SapNjQV5I+7Ri71A=
-=Lc9g
------END PGP SIGNATURE-----
+DIST coreutils-8.30-patches-01.tar.xz 5788 BLAKE2B a41511ce39ac570cb14b7f12d125eebef92217469a9490808719fa0665f5e5c0adb96fbd02c4bac4d280d1502295669575790a81dbc01afe2ca3a9d384cbefb0 SHA512 b1e1933637de4581d5f8c6ede4e80a012435d13f0cf5550a76ab5bbe9441e3c15ce19ef3f78a7ea3b8368d5e9a3bb17c1207c471d26171b59786f38adeba0454
+DIST coreutils-8.30.tar.xz 5359532 BLAKE2B b66ccd112a6c2c8b90e58ff1c3371e7f5827937035769329885e5bdae197466189f3715720b8f8cf0b5047fe16d6c86984dcee994117c2d3c7b8dbd597027255 SHA512 25bc132c0d89ce71c33e417f04649c9fcfce6c5ef8b19f093b2e9e2851bfde9b5a31e20499d9c427332228ba54b88d445ddb445551e1944bb8f5cbff5ffa4eda

diff --git a/sys-apps/coreutils/coreutils-8.30.ebuild b/sys-apps/coreutils/coreutils-8.30.ebuild
new file mode 100644
index 0000000000..7b19bd0c46
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.30.ebuild
@@ -0,0 +1,228 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit eutils flag-o-matic python-any-r1 toolchain-funcs
+
+PATCH_VER="01"
+DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, who,...)"
+HOMEPAGE="https://www.gnu.org/software/coreutils/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
+	mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz
+	https://dev.gentoo.org/~polynomial-c/dist/${P}-patches-${PATCH_VER}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="acl caps gmp hostname kill multicall nls selinux +split-usr static test userland_BSD vanilla xattr"
+
+LIB_DEPEND="acl? ( sys-apps/acl[static-libs] )
+	caps? ( sys-libs/libcap )
+	gmp? ( dev-libs/gmp:=[static-libs] )
+	xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
+	selinux? ( sys-libs/libselinux )
+	nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+	static? ( ${LIB_DEPEND} )
+	app-arch/xz-utils
+	test? (
+		dev-lang/perl
+		dev-perl/Expect
+		!userland_BSD? (
+			dev-util/strace
+		)
+		${PYTHON_DEPS}
+		$(python_gen_any_dep 'dev-python/pyinotify[${PYTHON_USEDEP}]')
+	)"
+RDEPEND+="
+	hostname? ( !sys-apps/net-tools[hostname] )
+	kill? (
+		!sys-apps/util-linux[kill]
+		!sys-process/procps[kill]
+	)
+	!app-misc/realpath
+	!<sys-apps/util-linux-2.13
+	!<sys-apps/sandbox-2.10-r4
+	!sys-apps/stat
+	!net-mail/base64
+	!sys-apps/mktemp
+	!<app-forensics/tct-1.18-r1
+	!<net-fs/netatalk-2.0.3-r4"
+
+pkg_setup() {
+	if use test ; then
+		python-any-r1_pkg_setup
+	fi
+}
+
+src_prepare() {
+	if ! use vanilla ; then
+		eapply "${WORKDIR}"/patch/*.patch
+	fi
+
+	eapply_user
+
+	epatch "${FILESDIR}"/${PN}-8.22-mint.patch
+
+	# fixup libstdbuf non-libtool stuff
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		sed -i \
+			-e "/src_libstdbuf_so_LDFLAGS = -shared/s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/libexec/coreutils/libstdbuf.dylib:" \
+			Makefile.in \
+			|| die
+	elif use elibc_Cygwin ; then
+		epatch "${FILESDIR}"/${PN}-8.28-cygwin-8.26-3.patch
+		sed -i -e 's|\(libstdbuf\.so\)$(EXEEXT)|\1|g' Makefile.in || die
+	fi
+	sed -i \
+		-e "s/libstdbuf\\.so/libstdbuf$(get_libname)/" \
+		src/stdbuf.c \
+		Makefile.in \
+		configure \
+		|| die
+
+	# Since we've patched many .c files, the make process will try to
+	# re-build the manpages by running `./bin --help`.  When doing a
+	# cross-compile, we can't do that since 'bin' isn't a native bin.
+	# Also, it's not like we changed the usage on any of these things,
+	# so let's just update the timestamps and skip the help2man step.
+	set -- man/*.x
+	touch ${@/%x/1}
+
+	# Avoid perl dep for compiled in dircolors default #348642
+	if ! has_version dev-lang/perl ; then
+		touch src/dircolors.h
+		touch ${@/%x/1}
+	fi
+}
+
+src_configure() {
+	local myconf=(
+		--with-packager="Gentoo"
+		--with-packager-version="${PVR} (p${PATCH_VER:-0})"
+		--with-packager-bug-reports="https://bugs.gentoo.org/"
+		--enable-install-program="arch,$(usev hostname),$(usev kill)"
+		--enable-no-install-program="groups,$(usev !hostname),$(usev !kill),su,uptime"
+		--enable-largefile
+		$(usex caps '' --disable-libcap)
+		$(use_enable nls)
+		$(use_enable acl)
+		$(use_enable multicall single-binary)
+		$(use_enable xattr)
+		$(use_with gmp)
+	)
+	if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
+		export fu_cv_sys_stat_statfs2_bsize=yes #311569
+		export gl_cv_func_realpath_works=yes #416629
+	fi
+
+	export gl_cv_func_mknod_works=yes #409919
+	use static && append-ldflags -static && sed -i '/elf_sys=yes/s:yes:no:' configure #321821
+	use selinux || export ac_cv_{header_selinux_{context,flash,selinux}_h,search_setfilecon}=no #301782
+	use userland_BSD && myconf+=( -program-prefix=g --program-transform-name=s/stat/nustat/ )
+	# kill/uptime - procps
+	# groups/su   - shadow
+	# hostname    - net-tools
+	econf "${myconf[@]}"
+}
+
+src_test() {
+	# Known to fail with FEATURES=usersandbox (bug #439574):
+	#   -  tests/du/long-from-unreadable.sh} (bug #413621)
+	#   -  tests/rm/deep-2.sh (bug #413621)
+	#   -  tests/dd/no-allocate.sh (bug #629660)
+	if has usersandbox $FEATURES ; then
+		ewarn "You are emerging ${P} with 'usersandbox' enabled." \
+			"Expect some test failures or emerge with 'FEATURES=-usersandbox'!"
+	fi
+
+	# Non-root tests will fail if the full path isn't
+	# accessible to non-root users
+	chmod -R go-w "${WORKDIR}"
+	chmod a+rx "${WORKDIR}"
+
+	# coreutils tests like to do `mount` and such with temp dirs
+	# so make sure /etc/mtab is writable #265725
+	# make sure /dev/loop* can be mounted #269758
+	mkdir -p "${T}"/mount-wrappers
+	mkwrap() {
+		local w ww
+		for w in "$@" ; do
+			ww="${T}/mount-wrappers/${w}"
+			cat <<-EOF > "${ww}"
+				#!${EPREFIX}/bin/sh
+				exec env SANDBOX_WRITE="\${SANDBOX_WRITE}:/etc/mtab:/dev/loop" $(type -P $w) "\$@"
+			EOF
+			chmod a+rx "${ww}"
+		done
+	}
+	mkwrap mount umount
+
+	addwrite /dev/full
+	#export RUN_EXPENSIVE_TESTS="yes"
+	#export FETISH_GROUPS="portage wheel"
+	env PATH="${T}/mount-wrappers:${PATH}" \
+	emake -j1 -k check
+}
+
+src_install() {
+	default
+
+	insinto /etc
+	newins src/dircolors.hin DIR_COLORS
+
+	if [[ ${USERLAND} == "GNU" ]] ; then
+		cd "${ED%/}"/usr/bin || die
+		dodir /bin
+		# move critical binaries into /bin (required by FHS)
+		local fhs="cat chgrp chmod chown cp date dd df echo false ln ls
+		           mkdir mknod mv pwd rm rmdir stty sync true uname"
+		mv ${fhs} ../../bin/ || die "could not move fhs bins"
+		if use hostname; then
+			mv hostname ../../bin/ || die
+		fi
+		if use kill; then
+			mv kill ../../bin/ || die
+		fi
+		if use split-usr ; then
+			# move critical binaries into /bin (common scripts)
+			local com="basename chroot cut dir dirname du env expr head mkfifo
+			           mktemp readlink seq sleep sort tail touch tr tty vdir wc yes"
+			mv ${com} ../../bin/ || die "could not move common bins"
+			# create a symlink for uname in /usr/bin/ since autotools require it
+			local x
+			for x in ${com} uname ; do
+				dosym ../../bin/${x} /usr/bin/${x}
+			done
+		fi
+	else
+		# For now, drop the man pages, collides with the ones of the system.
+		rm -rf "${ED%/}"/usr/share/man
+	fi
+
+	if use elibc_Cygwin ; then
+		! use kill || mv "${ED}"/bin/{,g}kill || die
+		mv "${ED}"/usr/libexec/${PN}/libstdbuf$(get_libname){.exe,} || die
+	fi
+}
+
+pkg_postinst() {
+	ewarn "Make sure you run 'hash -r' in your active shells."
+	ewarn "You should also re-source your shell settings for LS_COLORS"
+	ewarn "  changes, such as: source /etc/profile"
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${EROOT%/}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/metadata.xml b/sys-apps/coreutils/metadata.xml
index 9241968a46..4e46af051b 100644
--- a/sys-apps/coreutils/metadata.xml
+++ b/sys-apps/coreutils/metadata.xml
@@ -12,6 +12,7 @@
 	<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>
+	<flag name="split-usr">Enable this if /bin and /usr/bin are separate directories</flag>
 </use>
 <upstream>
 	<remote-id type="cpe">cpe:/a:gnu:coreutils</remote-id>


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2018-06-29  7:56 Michael Haubenwallner
  0 siblings, 0 replies; 19+ messages in thread
From: Michael Haubenwallner @ 2018-06-29  7:56 UTC (permalink / raw
  To: gentoo-commits

commit:     3755cdfe74690e92ddfb654e1110d6399a8f1733
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 29 07:55:45 2018 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Fri Jun 29 07:56:07 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3755cdfe

sys-apps/coreutils: touch more files to avoid perl dep

The cygwin patch changes src/stat.c, a prerequisite for src/fs.h and
src/fs-is-local.h, which are created using some perl command too.

Package-Manager: Portage-2.3.24, Repoman-2.3.6
Manifest-Sign-Key: 0x29FB0E9EC719EE20

 sys-apps/coreutils/Manifest              | 23 +++++++++++++++++++++++
 sys-apps/coreutils/coreutils-8.29.ebuild |  2 +-
 2 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index db2d3f03f5..a2672d3187 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -1,2 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX coreutils-8.22-mint.patch 3894 BLAKE2B 5e057efc95691d601989e8b6b8a8aef30222f207cdd9cfb56a0844902c9346eed13e2ecb8cf4c24dafc139c80074c014b1e980afdf50b58720a1d7242685c23e SHA512 3f779203d6751bdbeec5ac2d4fc9d1b10d52ae97c7c83f9edb7ac783b075e0e312ad4f12e27772cbedfc240dc4bb9f5232dd7f7edc81a492a530e655eb9d2d30
+AUX coreutils-8.28-cygwin-8.26-3.patch 36792 BLAKE2B f494be97595ff9532f57ca3d5386d185d813647fb07480dc1b22434fa5eecfa22acb6940b82cc733ae4448757e5f69cf2c7c746a5752409fe4aa11dd47482e63 SHA512 53d05262118a0063a0b3992b80dcda28256516da4d077a691117384ea808e5468488443d9c4b0e38a4d5148e5e721e733dcb0562dcf23a1370d4090251458951
 DIST coreutils-8.29-patches-1.0.tar.xz 5772 BLAKE2B 8f05185404d527ad524684231f0b8bef3b65e7752527b6bf55371f474035b8a92cdcaa8349a321784d14c6700a0d49e9d10ee2e3a96b78e8f6423ee8c5b9ec02 SHA512 0f7db6744a6a6bad8d582bb2d32e1a0ad0ab5f48a53b54c371d27494967832ddec2570e45dbf7e66c7091496bcecd66aab21644f603d2c8878a87f51a1a9b1a2
 DIST coreutils-8.29.tar.xz 5286588 BLAKE2B cbb66d9054bdd2db5b9a6010876484b16d178f8f4d935836b1e42830178647fac4e0a75052a6e7e2fbc50e74e4e7ff6f8da43f1137b96d0c2d027c4ebac28a98 SHA512 546bbcd5741beae7a68e7c4ca14d6d634f7c8be87feecdeddd00e226f4865bb89d503437c3a95622ba7bb0cb70addbb5bdf3767fa18d0b7410ab90ee53b29dfd
+EBUILD coreutils-8.29.ebuild 7189 BLAKE2B fc45ed65d0fb36282943ebda46743cc8b183340e0c00e8c7b32364785540a75b9272e69c59f0df9a8be62db2a574a0e166f722eb18add2d36ead4a229b14e786 SHA512 a6de14a69cedd38391a892007767e4bd8bb3dcac862151f0396daebdfb438b3669e5b2d8eaf738d8f10b269a09bb0bc6e0fc5d207351999b7af81571a8566e10
+MISC metadata.xml 869 BLAKE2B 397aa866d67eb1d6ff5f604194cf071be0f75606092d78e1cf7f0ced85cf4474d67677307e7e8566ba402c1f94ae2f3e3906ef5006a50e73d6673edb25d517fa SHA512 19e07c93cbe1cfe087eb7fdc8647aa4c264f1e6a193a0ed4e1ceb302bda92565aa76966b6ef2efa15d7535082ef0e6a1454fee20eca4797466f5de5e37ac4957
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAEBCAAdFiEEqGPdSmYcJzzTeG67KfsOnscZ7iAFAls15f8ACgkQKfsOnscZ
+7iB0OA/9EauonM1/bg8U5dWvJovssW7TVAKpIkKVQBQwLtf/rxgMucr3UmREa/RX
+sFKcK7Kb6jEBbv1ng8YlWz5x54oDzQnt5adg9I6g7L4EG8entHzYs1y42iTzM0WQ
+78LNoPc1Qmq8iRA+KAk/bpfbK93dOtcuotV/Lkg3tgej7XpF5OC/RLs/yQoQueGO
+geSVp/yeN4LodfqicM8enu6EQIKTsL+59kvoJbIZFRvoHcadUMUjxPLFGBc0TACo
+FtCB9vF3Z0KfummPl15Kp18+AgNQfWaYe4AdMhR9jwjYUTUG0FdQHQkS9f8GLKFX
+yDYS/7iMA/6cv6YMKXkG2rRFyJSwTyYMIZ3VPwJcw7aIysQGx5FQYIxgey7vv8x8
+xuRFEdC2NWKepr0LIEjUD82/LfKyEBH9mDI7uk52DMaGnYeAtRNWQl+2AnKilEae
+W/AaF8X+CahK7HiIcH96tAb37o7dKMTQ+q/o+vlE2WR/rqI4kSQrM7Ygs0P7P0L2
+SHidWWURSkoNTmelTIGOqiCIY9B307/3cOZxluKa1gReaMJl3ywKWeY6cM8s7JJu
+JOCG8hDplD2fFw2YSuxP4vWYlGeedD5+5qy2B2KnPy4ynJ111Rfvm0aKvMH6qaEK
+4R7o4AHFutkSZ5FB7JBBBtUFT7b6bvGjg47SapNjQV5I+7Ri71A=
+=Lc9g
+-----END PGP SIGNATURE-----

diff --git a/sys-apps/coreutils/coreutils-8.29.ebuild b/sys-apps/coreutils/coreutils-8.29.ebuild
index a7ce6492fd..e430e60c93 100644
--- a/sys-apps/coreutils/coreutils-8.29.ebuild
+++ b/sys-apps/coreutils/coreutils-8.29.ebuild
@@ -102,7 +102,7 @@ src_prepare() {
 
 	# Avoid perl dep for compiled in dircolors default #348642
 	if ! has_version dev-lang/perl ; then
-		touch src/dircolors.h
+		touch src/{dircolors.h,fs.h,fs-is-local.h}
 		touch ${@/%x/1}
 	fi
 }


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2018-04-07 15:59 Fabian Groffen
  0 siblings, 0 replies; 19+ messages in thread
From: Fabian Groffen @ 2018-04-07 15:59 UTC (permalink / raw
  To: gentoo-commits

commit:     1ef7ed6d2fa96eabbc5d8ade7132fc096578b69f
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  7 15:59:03 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Apr  7 15:59:03 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=1ef7ed6d

sys-apps/coreutils: fix sed not to produce invalid code

Package-Manager: Portage-2.3.18-prefix, Repoman-2.3.6

 sys-apps/coreutils/coreutils-8.29.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-8.29.ebuild b/sys-apps/coreutils/coreutils-8.29.ebuild
index 6c8a9c89a4..a7ce6492fd 100644
--- a/sys-apps/coreutils/coreutils-8.29.ebuild
+++ b/sys-apps/coreutils/coreutils-8.29.ebuild
@@ -73,7 +73,7 @@ src_prepare() {
 			# we need replacement libs from libcoreutils.a here in order
 			# to finish the linking
 			sed -i \
-				-e "/src_libstdbuf_so_LDADD/s:$:lib/libcoreutils.a:" \
+				-e "/src_libstdbuf_so_LDADD/s:$: lib/libcoreutils.a:" \
 				Makefile.in \
 				|| die
 		fi


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2018-03-19 14:24 Fabian Groffen
  0 siblings, 0 replies; 19+ messages in thread
From: Fabian Groffen @ 2018-03-19 14:24 UTC (permalink / raw
  To: gentoo-commits

commit:     b3fa78fce756ce172c4568aefd2bc08dcf5221dc
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 14:24:26 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 14:24:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=b3fa78fc

sys-apps/coreutils: fix linking on ppc-macos

Package-Manager: Portage-2.3.18-prefix, Repoman-2.3.6

 sys-apps/coreutils/coreutils-8.29.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-8.29.ebuild b/sys-apps/coreutils/coreutils-8.29.ebuild
index 2a152c1656..6c8a9c89a4 100644
--- a/sys-apps/coreutils/coreutils-8.29.ebuild
+++ b/sys-apps/coreutils/coreutils-8.29.ebuild
@@ -69,6 +69,14 @@ src_prepare() {
 	epatch "${FILESDIR}"/${PN}-8.22-mint.patch
 	# fixup libstdbuf non-libtool stuff
 	if [[ ${CHOST} == *-darwin* ]] ; then
+		if [[ ${CHOST} == *-darwin9* ]] ; then
+			# we need replacement libs from libcoreutils.a here in order
+			# to finish the linking
+			sed -i \
+				-e "/src_libstdbuf_so_LDADD/s:$:lib/libcoreutils.a:" \
+				Makefile.in \
+				|| die
+		fi
 		sed -i \
 			-e "/src_libstdbuf_so_LDFLAGS = -shared/s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/libexec/coreutils/libstdbuf.dylib:" \
 			Makefile.in \


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2018-02-19 16:10 Michael Haubenwallner
  0 siblings, 0 replies; 19+ messages in thread
From: Michael Haubenwallner @ 2018-02-19 16:10 UTC (permalink / raw
  To: gentoo-commits

commit:     464b6e47a967de71a260d748d9e5eb00647a8e0d
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 19 12:41:24 2018 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 12:41:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=464b6e47

sys-apps/coreutils: use 8.28 cygwin patch for 8.29

Package-Manager: Portage-2.3.19, Repoman-2.3.6
Manifest-Sign-Key: 0x29FB0E9EC719EE20

 sys-apps/coreutils/coreutils-8.29.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-8.29.ebuild b/sys-apps/coreutils/coreutils-8.29.ebuild
index bbbb8867ae..2a152c1656 100644
--- a/sys-apps/coreutils/coreutils-8.29.ebuild
+++ b/sys-apps/coreutils/coreutils-8.29.ebuild
@@ -74,7 +74,7 @@ src_prepare() {
 			Makefile.in \
 			|| die
 	elif use elibc_Cygwin ; then
-		epatch "${FILESDIR}"/${P}-cygwin-8.26-3.patch
+		epatch "${FILESDIR}"/${PN}-8.28-cygwin-8.26-3.patch
 		sed -i -e 's|\(libstdbuf\.so\)$(EXEEXT)|\1|g' Makefile.in || die
 	fi
 	sed -i \


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2018-02-17  7:16 Fabian Groffen
  0 siblings, 0 replies; 19+ messages in thread
From: Fabian Groffen @ 2018-02-17  7:16 UTC (permalink / raw
  To: gentoo-commits

commit:     592f652fd2387627411c99bdbb203bbe2339c587
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 17 07:15:54 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Feb 17 07:15:54 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=592f652f

sys-apps/coreutils: add back libstdbuf fixes, bug #647708

Closes: https://bugs.gentoo.org/647708
Package-Manager: Portage-2.3.18-prefix, Repoman-2.3.6

 sys-apps/coreutils/coreutils-8.29.ebuild | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/sys-apps/coreutils/coreutils-8.29.ebuild b/sys-apps/coreutils/coreutils-8.29.ebuild
index fc62029cf3..bbbb8867ae 100644
--- a/sys-apps/coreutils/coreutils-8.29.ebuild
+++ b/sys-apps/coreutils/coreutils-8.29.ebuild
@@ -67,6 +67,23 @@ src_prepare() {
 	eapply_user
 
 	epatch "${FILESDIR}"/${PN}-8.22-mint.patch
+	# fixup libstdbuf non-libtool stuff
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		sed -i \
+			-e "/src_libstdbuf_so_LDFLAGS = -shared/s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/libexec/coreutils/libstdbuf.dylib:" \
+			Makefile.in \
+			|| die
+	elif use elibc_Cygwin ; then
+		epatch "${FILESDIR}"/${P}-cygwin-8.26-3.patch
+		sed -i -e 's|\(libstdbuf\.so\)$(EXEEXT)|\1|g' Makefile.in || die
+	fi
+	sed -i \
+		-e "s/libstdbuf\\.so/libstdbuf$(get_libname)/" \
+		src/stdbuf.c \
+		Makefile.in \
+		configure \
+		|| die
+
 	# Since we've patched many .c files, the make process will try to
 	# re-build the manpages by running `./bin --help`.  When doing a
 	# cross-compile, we can't do that since 'bin' isn't a native bin.


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2018-02-12 16:24 Fabian Groffen
  0 siblings, 0 replies; 19+ messages in thread
From: Fabian Groffen @ 2018-02-12 16:24 UTC (permalink / raw
  To: gentoo-commits

commit:     32d9641af90ab02558ff0f54ec7ee05249019142
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 12 16:24:50 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Feb 12 16:24:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=32d9641a

sys-apps/coreutils: sync

Package-Manager: Portage-2.3.18-prefix, Repoman-2.3.6

 sys-apps/coreutils/Manifest              |   2 +
 sys-apps/coreutils/coreutils-8.29.ebuild | 207 +++++++++++++++++++++++++++++++
 2 files changed, 209 insertions(+)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 6a020b516f..9b00c6fe99 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -7,3 +7,5 @@ DIST coreutils-8.25.tar.xz 5725008 BLAKE2B 6dd5d6179476e0e0c801dc23fab006b3f8142
 DIST coreutils-8.28-man.tar.xz 43832 BLAKE2B 18ea22a89daac64444da8b91c82c62e4c6dfe27e0e9c2d2ec1de4dc9c3ee44fb91f197e3122803a8a18c2619c6daf683e0b3b07c36e0e9b8dd73c2cdf44ba6b7 SHA512 363cf595e0f6fc69eb6a9d1ca258a5f012404cee99887494ab6e40fe2c6de5e49e7cad953aecb394c5612043efe6b407e657811d8251b10e159c97b849dd8b3e
 DIST coreutils-8.28-patches-1.1.tar.xz 7336 BLAKE2B 9cd5db3e1d5545da5cb38f919ae5528d8642efb7f7e11994c6603f49b097f0f804cf1553dfce65682f9d725964cd6a3d142916cbc018f707cc617ad8c9b9f471 SHA512 af47aaa614550e5cd82b2386fafd9f90beb0564b8bbedfe92238906e7c6f040fb7468c1929f0951d4f98038b6e1df7da2408204be78219e6a041658507385957
 DIST coreutils-8.28.tar.xz 5252336 BLAKE2B 30e3c05311834b19a941ddaa6a405cb0033b0e3518211dd0d33e9a1aa91c60f4d597fca9419b467ade2b54e3bf81ba5149cebfc93a02fa1e546c1b0f71ee91c9 SHA512 1e592d0dd03b9227bf92af9a82bed6dc3bcbee46e984c7fb09833dea0962e86b309aa34d5e43823b73d4522c066bfa5cdc8ec694aa190910fb246ff32ceb63a1
+DIST coreutils-8.29-patches-1.0.tar.xz 5772 BLAKE2B 8f05185404d527ad524684231f0b8bef3b65e7752527b6bf55371f474035b8a92cdcaa8349a321784d14c6700a0d49e9d10ee2e3a96b78e8f6423ee8c5b9ec02 SHA512 0f7db6744a6a6bad8d582bb2d32e1a0ad0ab5f48a53b54c371d27494967832ddec2570e45dbf7e66c7091496bcecd66aab21644f603d2c8878a87f51a1a9b1a2
+DIST coreutils-8.29.tar.xz 5286588 BLAKE2B cbb66d9054bdd2db5b9a6010876484b16d178f8f4d935836b1e42830178647fac4e0a75052a6e7e2fbc50e74e4e7ff6f8da43f1137b96d0c2d027c4ebac28a98 SHA512 546bbcd5741beae7a68e7c4ca14d6d634f7c8be87feecdeddd00e226f4865bb89d503437c3a95622ba7bb0cb70addbb5bdf3767fa18d0b7410ab90ee53b29dfd

diff --git a/sys-apps/coreutils/coreutils-8.29.ebuild b/sys-apps/coreutils/coreutils-8.29.ebuild
new file mode 100644
index 0000000000..fc62029cf3
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.29.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit eutils flag-o-matic python-any-r1 toolchain-funcs
+
+PATCH_VER="1.0"
+DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, who,...)"
+HOMEPAGE="https://www.gnu.org/software/coreutils/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
+	mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz
+	https://dev.gentoo.org/~whissi/dist/${PN}/${P}-patches-${PATCH_VER}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="acl caps gmp hostname kill multicall nls selinux static test userland_BSD vanilla xattr"
+
+LIB_DEPEND="acl? ( sys-apps/acl[static-libs] )
+	caps? ( sys-libs/libcap )
+	gmp? ( dev-libs/gmp:=[static-libs] )
+	xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
+	selinux? ( sys-libs/libselinux )
+	nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+	static? ( ${LIB_DEPEND} )
+	app-arch/xz-utils
+	test? (
+		dev-lang/perl
+		dev-perl/Expect
+		!userland_BSD? (
+			dev-util/strace
+		)
+		${PYTHON_DEPS}
+		$(python_gen_any_dep 'dev-python/pyinotify[${PYTHON_USEDEP}]')
+	)"
+RDEPEND+="
+	hostname? ( !sys-apps/net-tools[hostname] )
+	kill? (
+		!sys-apps/util-linux[kill]
+		!sys-process/procps[kill]
+	)
+	!app-misc/realpath
+	!<sys-apps/util-linux-2.13
+	!<sys-apps/sandbox-2.10-r4
+	!sys-apps/stat
+	!net-mail/base64
+	!sys-apps/mktemp
+	!<app-forensics/tct-1.18-r1
+	!<net-fs/netatalk-2.0.3-r4"
+
+pkg_setup() {
+	if use test ; then
+		python-any-r1_pkg_setup
+	fi
+}
+
+src_prepare() {
+	if ! use vanilla ; then
+		eapply "${WORKDIR}"/patch/*.patch
+	fi
+
+	eapply_user
+
+	epatch "${FILESDIR}"/${PN}-8.22-mint.patch
+	# Since we've patched many .c files, the make process will try to
+	# re-build the manpages by running `./bin --help`.  When doing a
+	# cross-compile, we can't do that since 'bin' isn't a native bin.
+	# Also, it's not like we changed the usage on any of these things,
+	# so let's just update the timestamps and skip the help2man step.
+	set -- man/*.x
+	touch ${@/%x/1}
+
+	# Avoid perl dep for compiled in dircolors default #348642
+	if ! has_version dev-lang/perl ; then
+		touch src/dircolors.h
+		touch ${@/%x/1}
+	fi
+}
+
+src_configure() {
+	local myconf=(
+		--with-packager="Gentoo"
+		--with-packager-version="${PVR} (p${PATCH_VER:-0})"
+		--with-packager-bug-reports="https://bugs.gentoo.org/"
+		--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)
+		$(use_enable acl)
+		$(use_enable multicall single-binary)
+		$(use_enable xattr)
+		$(use_with gmp)
+	)
+	if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
+		export fu_cv_sys_stat_statfs2_bsize=yes #311569
+		export gl_cv_func_realpath_works=yes #416629
+	fi
+
+	export gl_cv_func_mknod_works=yes #409919
+	use static && append-ldflags -static && sed -i '/elf_sys=yes/s:yes:no:' configure #321821
+	use selinux || export ac_cv_{header_selinux_{context,flash,selinux}_h,search_setfilecon}=no #301782
+	use userland_BSD && myconf+=( -program-prefix=g --program-transform-name=s/stat/nustat/ )
+	# kill/uptime - procps
+	# groups/su   - shadow
+	# hostname    - net-tools
+	econf "${myconf[@]}"
+}
+
+src_test() {
+	# Known to fail with FEATURES=usersandbox (bug #439574):
+	#   -  tests/du/long-from-unreadable.sh} (bug #413621)
+	#   -  tests/rm/deep-2.sh (bug #413621)
+	#   -  tests/dd/no-allocate.sh (bug #629660)
+	if has usersandbox $FEATURES ; then
+		ewarn "You are emerging ${P} with 'usersandbox' enabled." \
+			"Expect some test failures or emerge with 'FEATURES=-usersandbox'!"
+	fi
+
+	# Non-root tests will fail if the full path isn't
+	# accessible to non-root users
+	chmod -R go-w "${WORKDIR}"
+	chmod a+rx "${WORKDIR}"
+
+	# coreutils tests like to do `mount` and such with temp dirs
+	# so make sure /etc/mtab is writable #265725
+	# make sure /dev/loop* can be mounted #269758
+	mkdir -p "${T}"/mount-wrappers
+	mkwrap() {
+		local w ww
+		for w in "$@" ; do
+			ww="${T}/mount-wrappers/${w}"
+			cat <<-EOF > "${ww}"
+				#!${EPREFIX}/bin/sh
+				exec env SANDBOX_WRITE="\${SANDBOX_WRITE}:/etc/mtab:/dev/loop" $(type -P $w) "\$@"
+			EOF
+			chmod a+rx "${ww}"
+		done
+	}
+	mkwrap mount umount
+
+	addwrite /dev/full
+	#export RUN_EXPENSIVE_TESTS="yes"
+	#export FETISH_GROUPS="portage wheel"
+	env PATH="${T}/mount-wrappers:${PATH}" \
+	emake -j1 -k check
+}
+
+src_install() {
+	default
+
+	insinto /etc
+	newins src/dircolors.hin DIR_COLORS
+
+	if [[ ${USERLAND} == "GNU" ]] ; then
+		cd "${ED%/}"/usr/bin || die
+		dodir /bin
+		# move critical binaries into /bin (required by FHS)
+		local fhs="cat chgrp chmod chown cp date dd df echo false ln ls
+		           mkdir mknod mv pwd rm rmdir stty sync true uname"
+		mv ${fhs} ../../bin/ || die "could not move fhs bins"
+		if use kill; then
+			mv kill ../../bin/ || die
+		fi
+		# move critical binaries into /bin (common scripts)
+		local com="basename chroot cut dir dirname du env expr head mkfifo
+		           mktemp readlink seq sleep sort tail touch tr tty vdir wc yes"
+		mv ${com} ../../bin/ || die "could not move common bins"
+		# create a symlink for uname in /usr/bin/ since autotools require it
+		# as long as /bin resolves to a different directory than /usr/bin
+		local x
+		[[ ${EROOT}bin/. -ef ${EROOT}usr/bin/. ]] ||
+		for x in ${com} uname ; do
+			dosym ../../bin/${x} /usr/bin/${x}
+		done
+	else
+		# For now, drop the man pages, collides with the ones of the system.
+		rm -rf "${ED%/}"/usr/share/man
+	fi
+
+	if use elibc_Cygwin ; then
+		! use kill || mv "${ED}"/bin/{,g}kill || die
+		mv "${ED}"/usr/libexec/${PN}/libstdbuf$(get_libname){.exe,} || die
+	fi
+}
+
+pkg_postinst() {
+	ewarn "Make sure you run 'hash -r' in your active shells."
+	ewarn "You should also re-source your shell settings for LS_COLORS"
+	ewarn "  changes, such as: source /etc/profile"
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${EROOT%/}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2017-11-29  9:40 Michael Haubenwallner
  0 siblings, 0 replies; 19+ messages in thread
From: Michael Haubenwallner @ 2017-11-29  9:40 UTC (permalink / raw
  To: gentoo-commits

commit:     0024a42d0b22e6adb2a64e264c1f1c9399c3fb25
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 29 09:40:32 2017 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Wed Nov 29 09:40:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=0024a42d

sys-apps/coreutils: quote econf args, bug#639146

Package-Manager: Portage-2.3.10-prefix, Repoman-2.3.3

 sys-apps/coreutils/coreutils-8.28-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-8.28-r1.ebuild b/sys-apps/coreutils/coreutils-8.28-r1.ebuild
index 5f96825a94..814ca215cf 100644
--- a/sys-apps/coreutils/coreutils-8.28-r1.ebuild
+++ b/sys-apps/coreutils/coreutils-8.28-r1.ebuild
@@ -140,7 +140,7 @@ src_configure() {
 	# kill/uptime - procps
 	# groups/su   - shadow
 	# hostname    - net-tools
-	econf ${myconf[@]}
+	econf "${myconf[@]}"
 }
 
 src_test() {


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2016-04-18 11:04 Michael Haubenwallner
  0 siblings, 0 replies; 19+ messages in thread
From: Michael Haubenwallner @ 2016-04-18 11:04 UTC (permalink / raw
  To: gentoo-commits

commit:     9af13d76d23ad2fb5696d9bd6786bf4f0adf0964
Author:     Michael Haubenwallner <michael.haubenwallner <AT> ssi-schaefer <DOT> com>
AuthorDate: Mon Apr 18 10:53:55 2016 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Mon Apr 18 10:53:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=9af13d76

coreutils-8.25: apply prefix diffs; add IUSE='+stdbuf uptime' for MiNT

Package-Manager: portage-2.2.28-prefix

 sys-apps/coreutils/Manifest              |  4 ++--
 sys-apps/coreutils/coreutils-8.25.ebuild | 33 +++++++++++++++++++++++++-------
 sys-apps/coreutils/metadata.xml          |  2 ++
 3 files changed, 30 insertions(+), 9 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 224baa7..0b97bc7 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -27,5 +27,5 @@ EBUILD coreutils-8.22-r1.ebuild 6015 SHA256 08c11cfbd5947d24c48ef169ebf0fe2bc87e
 EBUILD coreutils-8.22.ebuild 6317 SHA256 7962673e3eeece23fa543eeec7f4ebc9d3bc14254ddc5c98d1c1778508121b9b SHA512 63203170b5378158fed7fdfdb203e3fddf4ac8be79428e7fe4eb475fc800870a9ecda12dcc63a37dfe811aa57b543b414dad847568b18a00f63bbd5a88446914 WHIRLPOOL 45f47540f7114f3e45e41fa36d4d1cace21bafbadac80d29ad6372487f63d9f36537ee03b7a0a4923e743d3294c17a7e1cb96c8ef42e386706bd152a58d2aa28
 EBUILD coreutils-8.23-r00.1.ebuild 6267 SHA256 53c2a4bef763782b3dc6f9c00a3b32ca37dd9fcc1c8096fd41633e2a91e2eb4e SHA512 dc5f1f83dc592a6e0fbf37afb3494d7300f34f63a9b81f8eee08c6f5d2826487fb1c06d3c94ababd6e3ce4430737ffa917ffa00e77e2e51ed07b156d21b45e6d WHIRLPOOL 49548aad93722d42720dd3bd99fdc6eba76eb272cc320e49875a1dc784cc411eadfe2048d0399e8936c26c360861b30c92a0975186e8de008233ca48bbddd4c3
 EBUILD coreutils-8.24.ebuild 6596 SHA256 1e82dda3c1a0b1b6c47af214dffac24ffee45bc19efdd2c403e05890267d078b SHA512 e78d9f8f6e99a767cbc809126284161643af220808753adff57b52e129686ee3a208e7d1742694fd0dd8f3b28d238df759169866da861b7539e9a79b490bd930 WHIRLPOOL 08e2b1ce22af8a0b3b40b62dfc0b6fb739bd22b5db349874ff2c9b70cb14fa247bbb2c896b4db9564f5e6466d62b2483a96fb3c58c2e781419eedb6373108e37
-EBUILD coreutils-8.25.ebuild 5919 SHA256 c8918878e626054233da010b381143d8ffda3690ec166ecaedc8e58f005e2f82 SHA512 a7db176b9aa62fb818d67e6852f78a0393287c586728374e71f26f73835d0b31c43d5c8fff825b1da9921c23f1e196efc235f0b6ef966f3953053b10fab58a8e WHIRLPOOL d37b3be9bb09a1289a2b7e8777c48ad0474001d336da9aeb91e338903846b0db47f0c31cd0eb67ff735285d890539e4029a10a958cc7d0d960a337508678dc5b
-MISC metadata.xml 562 SHA256 80a6788324cad291fc488dd7e1a6cc2578acae197b7ad2d42860109d45d8e12d SHA512 1372dac2fe4990f6cf47a56a56f3fab9c2eb96eb687bdabc0b5b79fc5dbad69e6c434deb5a0904e18ee8032b777fdea0f997c855e3fca86923ab0f04c969b206 WHIRLPOOL ea7e54219becc762b04fe41de75eb511449821b889606f13c617be68b6c1cc64a3e765b90cdd66820b4549709a022e1d9405bbc4c51033996cb2d04a72c7c53f
+EBUILD coreutils-8.25.ebuild 6563 SHA256 7e2d7d2b1f87e0c35c95ab595ddee1c5053a666a93d2de4826fb4c427d034cc7 SHA512 7180fe2b3a446659824226111f24516178dbb8e51ec631c346c2a9fdaab6302ee4353eb3e7c1ff1d1344480ec333438f5c04360af2507400039ea975d4b5120d WHIRLPOOL aceacf2b77b3311d96ea4fc1da77181d0b325a6e54ee4ae7232e5bd48d2505486b2a5046561baa6b4239c64af057d2960785e29624b4a0a519fca90e47bc9759
+MISC metadata.xml 668 SHA256 5861c2e0c2723f166f6c52bd9726f5d5020286f6e475c4746516f0cfd59ebe47 SHA512 347e830a93a0fcbaa2ab9104761ad0e0c42dbbe28d4cf29fc953bc21055051afd3c8e0ab0dbecf5c27faf1335f82b3601be78cc8980365b85db5a7a86419bb1c WHIRLPOOL 091d55503649ee267113ab47f3192b5740961b18f1f542d4ffacded2f7ccfff528ac31ac771b9da220d3486dc10812b91c26a8f6859b4cc51a55d2c2648419ea

diff --git a/sys-apps/coreutils/coreutils-8.25.ebuild b/sys-apps/coreutils/coreutils-8.25.ebuild
index 6b1aa55..ef6ae84 100644
--- a/sys-apps/coreutils/coreutils-8.25.ebuild
+++ b/sys-apps/coreutils/coreutils-8.25.ebuild
@@ -10,7 +10,7 @@
 
 EAPI="4"
 
-inherit eutils flag-o-matic toolchain-funcs
+inherit eutils flag-o-matic toolchain-funcs multilib
 
 PATCH_VER="1.1"
 DESCRIPTION="Standard GNU file utilities (chmod, cp, dd, dir, ls...), text utilities (sort, tr, head, wc..), and shell utilities (whoami, who,...)"
@@ -23,13 +23,13 @@ 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 hostname kill multicall nls selinux static userland_BSD vanilla xattr"
+KEYWORDS="~ppc-aix ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="acl caps elibc_glibc gmp hostname kill multicall nls selinux static +stdbuf uptime userland_BSD vanilla xattr"
 
 LIB_DEPEND="acl? ( sys-apps/acl[static-libs] )
 	caps? ( sys-libs/libcap )
 	gmp? ( dev-libs/gmp[static-libs] )
-	xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) )"
+	xattr? ( elibc_glibc? ( sys-apps/attr[static-libs] ) )"
 RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
 	selinux? ( sys-libs/libselinux )
 	nls? ( virtual/libintl )"
@@ -59,6 +59,22 @@ src_prepare() {
 		epatch
 	fi
 
+	epatch "${FILESDIR}"/${PN}-8.22-mint.patch
+
+	# fixup libstdbuf non-libtool stuff
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		sed -i \
+			-e "/src_libstdbuf_so_LDFLAGS = -shared/s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/libexec/coreutils/libstdbuf.dylib:" \
+			Makefile.in \
+			|| die
+	fi
+	sed -i \
+		-e "s/libstdbuf\\.so/libstdbuf$(get_libname)/" \
+		src/stdbuf.c \
+		Makefile.in \
+		configure \
+		|| die
+
 	# Since we've patched many .c files, the make process will try to
 	# re-build the manpages by running `./bin --help`.  When doing a
 	# cross-compile, we can't do that since 'bin' isn't a native bin.
@@ -66,6 +82,8 @@ src_prepare() {
 	# so let's just update the timestamps and skip the help2man step.
 	set -- man/*.x
 	touch ${@/%x/1}
+	# docs depend on configure as well
+	touch -r doc/stamp-vti configure
 
 	# Avoid perl dep for compiled in dircolors default #348642
 	if ! has_version dev-lang/perl ; then
@@ -92,8 +110,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 hostname),$(usev kill)" \
-		--enable-no-install-program="groups,$(usev !hostname),$(usev !kill),su,uptime" \
+		--enable-install-program="arch,$(usev hostname),$(usev kill),$(usev stdbuf),$(usev uptime)" \
+		--enable-no-install-program="groups,$(usev !hostname),$(usev !kill),$(usev !stdbuf),su,$(usev !uptime)" \
 		--enable-largefile \
 		$(use caps || echo --disable-libcap) \
 		$(use_enable nls) \
@@ -145,7 +163,8 @@ src_install() {
 		dodir /bin
 		# move critical binaries into /bin (required by FHS)
 		local fhs="cat chgrp chmod chown cp date dd df echo false ln ls
-		           mkdir mknod mv pwd rm rmdir stty sync true uname"
+		           mkdir mknod mv pwd rm rmdir stty sync true uname
+		           $(usev hostname)"
 		mv ${fhs} ../../bin/ || die "could not move fhs bins"
 		if use kill; then
 			mv kill ../../bin/ || die

diff --git a/sys-apps/coreutils/metadata.xml b/sys-apps/coreutils/metadata.xml
index f9a7962..5ddcbee 100644
--- a/sys-apps/coreutils/metadata.xml
+++ b/sys-apps/coreutils/metadata.xml
@@ -9,6 +9,8 @@
 	<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>
+	<flag name="stdbuf">Build the stdbuf program</flag>
+	<flag name="uptime">Build the uptime program</flag>
 </use>
 <upstream>
 	<remote-id type="cpe">cpe:/a:gnu:coreutils</remote-id>


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2016-04-18 11:04 Michael Haubenwallner
  0 siblings, 0 replies; 19+ messages in thread
From: Michael Haubenwallner @ 2016-04-18 11:04 UTC (permalink / raw
  To: gentoo-commits

commit:     b6d76528d790508796ff0c25b49a7b1858696f60
Author:     Michael Haubenwallner <michael.haubenwallner <AT> ssi-schaefer <DOT> com>
AuthorDate: Mon Apr 18 08:58:56 2016 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Mon Apr 18 08:58:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=b6d76528

import coreutils-8.25 from gentoo.git-rev 74ca4a1e0ebd5a86cd91442851b93829645dd674

Package-Manager: portage-2.2.28-prefix

 sys-apps/coreutils/Manifest              |  19 ++++
 sys-apps/coreutils/coreutils-8.25.ebuild | 184 +++++++++++++++++++++++++++++++
 sys-apps/coreutils/metadata.xml          |  15 ++-
 3 files changed, 213 insertions(+), 5 deletions(-)

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 74488bd..224baa7 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -1,3 +1,12 @@
+AUX coreutils-7.2-mint.patch 3428 SHA256 a4387ae8d994f53f856f443cbfde9e5ca0184e4f5f07762601954d0d5562748c SHA512 72c04e78dbba5c50383b7c624dd2dab2795202879f3f65bd24da0384d8df7611f760623d30295ba7f14d317bfa5a28c9c98b373b0f9386b92f0f223ee77699b4 WHIRLPOOL eae956fac65d794db42a029a55a2fbe3cc45731aeb050bebb663a289a287a22495f72f39d9a567ce16e798668ad52937a1a637aae893f9dc56ce1c08956c21f0
+AUX coreutils-7.4-hppa-hpux.patch 502 SHA256 d9e1c3f4db41393752d0e4ca8aefff8c3bd409c055d7b0401d442fa4ffc282c6 SHA512 99ce4a81f2d89b9d23c3d3f100848d1a552069b9d3d6480ee4a3b1f796e1a4746802e293e2764ff2200b8e4e95d483fd48da14f97d8698a88e5e3eadacd2e724 WHIRLPOOL c0c2741363540fdd1fbd8b4ac4872e43325d05969e71ed30dd65eaaf10f5ac5855d80eb6810b458baa0b2a4f2ef812cfce753cfa05c943cd91cca5265f7546b2
+AUX coreutils-7.5-interix-setgroups.patch 439 SHA256 9b8cd13c7273effe0c9355efb89159a4235c42d7c6c7573448bb06249323afaa SHA512 391d60645d6f8ab4e78f917c08e5ef939c662ed429a47b3b7c85b670c52e39da35db26d8f9dd9fe8bf0d7726744f3cdaa2542a1cd44ffb1a148dc93c5d1737f9 WHIRLPOOL 706b0d016f6a9dadee1fbbaae90695be2329809470c6da53e6c7ad9fddcd19614b8cf8ba26beb10b5bf26f5f4c3f0bba2d8eea4fdd5c60740cacfcba68fa2978
+AUX coreutils-8.22-mint.patch 3894 SHA256 1853e4f86c8455b41037acf4f2bd65a428b050f302920ad23358f30730a2291e SHA512 3f779203d6751bdbeec5ac2d4fc9d1b10d52ae97c7c83f9edb7ac783b075e0e312ad4f12e27772cbedfc240dc4bb9f5232dd7f7edc81a492a530e655eb9d2d30 WHIRLPOOL cb33f6e89a2a1edcdd550c16f821085529045eed08405a44fe99385f83c1ce9b620a56a249eed7e539a6053a7bc2bc486d594193f6817e247ed6cfebe46ba285
+AUX coreutils-8.23-non-elf.patch 847 SHA256 8f877e4b51c9d6d287418db25cebeae47b464945758d03aeb43181c311e8d0f2 SHA512 b3863be7f37d4e57101438885da160d23c4178ee325941a603cdec3595a9886beff0f4d3ba6b4490ba6f89eb8cb7bc1c54e47ffe4d62c8acbca5ab933131489e WHIRLPOOL 32a43b70a6537e034f241855d299872c711f97a32a13cba5742419e7e07b9a147d905f8504295ebe85daa46263d0e6bbdc3347d654428a9b87b9d2f439949a6e
+AUX coreutils-8.5-interix-double.patch 2019 SHA256 1cdcccdcd972bfb5935fc1b2d2b160ba656c67c13a7d3db40d10f8d8752c0c6a SHA512 28d6b492f232517c038a59b713284c5a6dd8f360d463583e0481d373609ac8447ed8793ca91524fbddd6c59f588434c1d05b9d6587d168c1a042e6c9776278b4 WHIRLPOOL 189a2fb5e0b9bbd3477d62b6ad7301f8bdfeeeb6b2a2fb44a2e1e8ec06b90636bb224ce1ca16ab3a7225fdca7e73e5d821558b539c93fadd2ccf4082c149ea39
+AUX coreutils-8.5-interix-warn-mount.patch 716 SHA256 9eb15d7afd7db3fe3dd77544e863d3e093ed85f45a2d585faee64526cc64e16a SHA512 95565e680b41c658b8f5bcd84b2d09c482e1514d34afcbc721151fa5595baccf87aa3ecaa03df14d1904a7246daa350affbcd20065da87252231fdf47ff6b3fb WHIRLPOOL 2e62f5d73ccd37c404c462bc41f8ca06619130fd691242dcff26fbce491752ea36c0977a4cb6b57ad2ae69b5f8d9ae39cd194dd13567a69003e0cd07acf4d12f
+AUX coreutils-8.8-hppa-hpux.patch 478 SHA256 585bbf80cd12bb60de6be8dd4bd6ea3b0cf3724081ba02688764c939ddfacffe SHA512 51a6336a2a6db61d6e2894b8c75fe6b2242e62001d411b8e0b4e4c949e4c81499b1df4990b82b81507a329bedb486440322f5f5246ab4735584896d71fa1f4d9 WHIRLPOOL bee1672b2e6614f1744215d6c0e4a99b83530509c5f3fa83f5d18700d2b5fdbeb58041c38907cc3c6117d09548ba206d202c49a56ef9393d2022cbd3716ed4a3
+AUX coreutils-8.8-interix.patch 739 SHA256 c6fdd213340db6dcdd486e308035af425e37c0e25ad450ca44ec08b62bd049df SHA512 27fe91becfc3a0f9af7aadda4c80978125aa34e1fc6b93c63c6c8aa6eb4b924c5aeedbb89d0a5442aed27af440ca3afaed199962d0290e952d8aebd0bb2efc07 WHIRLPOOL 60bfd640d1e35baed563b9f17493e15bb741f894866da1fc71bae252b69090aab3f0148aaaecbfaadbacc17afd21d4ad4f067a504cb1cfa0cfd7d0388bc0187a
 DIST coreutils-8.20-patches-1.1.tar.xz 19504 SHA256 0a1a3cc578e8872ebc93113edd76d1f1d88fb4d6596a047cfbb6c5fd4e82c22d SHA512 258116ff52d1d28acbedd2383c8d0f488c272b297c4f146231ea45fb76902bb56c9fad2d74d50c22371e67a4178dcff7b65950fcc034f56fc02c3c2ff290224f WHIRLPOOL ae4436a6ae655affbc02ee2d3d6a87345dc7b63b67aaecf01e034d2e40237c6e76b00a909d852f6ea96e348ef43e8e3f6f4c5bdb01aaf6d30a1b51036cbfe31b
 DIST coreutils-8.20.tar.xz 5273788 SHA256 dbcb798764827a0f74be738662ecb516705cf520330cd3d7b2640fdffa499eb2 SHA512 adbeab5af780ae70d2a98a81e96ad2cdfbcbc20153372b0085f6ac75ae9fadff82bd09b460400820057692b4145d7f2d276630b76b0ed509303587972ed175cd WHIRLPOOL 3cf911cf785c6e6acab4f37bc75805687f91fe74d5727782903d242669ee6b7ad444b18395d6808b1f2569703cca1992983d3bfef41f65ea461f6d0aa25908e2
 DIST coreutils-8.22-man-r1.tar.xz 42748 SHA256 eb9882286a6355674e607506318ccc9e361b6a985d64073b797fd56a5e0d256c SHA512 b0123e3c8cd037d006a2bb64e8047636329ac3fd3d685db8e52a19e83df87da0428896af9bdcd8f1208f7aad3665ec2a871bbbfa98cbe5293c697431a23d7b4c WHIRLPOOL 7e705060f5af2d28152531ad3b5ae8e6cca2dabdec7dc1a30bcf7b74951462bb58ee610d1e080abc812e1291fae904b3e931a35d3d2566fb7b85f6a37415e04b
@@ -10,3 +19,13 @@ DIST coreutils-8.23.tar.xz 5375612 SHA256 ec43ca5bcfc62242accb46b7f121f6b684ee21
 DIST coreutils-8.24-man.tar.xz 42920 SHA256 cf0333b5f134a331e0b46e2ddf90666f8bdc3281c1ca2c7ccbb75b437589ce37 SHA512 9dfe614402bc35c43301ebf97d2d36ac5db1433f48171bda15f2ba76bd9944742665b30a764df0cf773ebcad1845aae57c8e36a1cd3848c1e82a7c996d6cc78a WHIRLPOOL d702a372031fe52262204c00bee641084c099c45150d82abd5915535ab3bbe1efb63c4f00173bb88725ba49126a6ecf368d14b12843b570c08165b757b78710b
 DIST coreutils-8.24-patches-1.1.tar.xz 6688 SHA256 79cb0dc5b58cb97e17b11b5e821ed88fae88f728d9fd07986bbb397824e49c6f SHA512 cf340ccb918e307be8bbfd19a299bcfe5b295a26f59a8eeb8657f5dda1361100a350e996b31097948e63890987a2f83d05d2e7175c6304f4a4812b9974679c2c WHIRLPOOL 3b4d4676b119e4f22a01c8450be13d6eb40720d3c57aac5631454df24814943e6e6024fbdcd27a2b262d42c1446d9c04cbdc163371ff20a4b28d9cd9a77c5c9c
 DIST coreutils-8.24.tar.xz 5649896 SHA256 a2d75286a4b9ef3a13039c2da3868a61be4ee9f17d8ae380a35a97e506972170 SHA512 b42bb233340353647bb9a1c3d9122c1a5379cf3602ba9197c3c935fc899897e7d4685148dfaf93eccc096bee0a9b03416d79dc9bb81d5d2dea6e04ed134a3d1b WHIRLPOOL 68598e0c93375522714b9bc0dd092386a9466725b2b4b5715e2926c5087e1ce887d5e5b8e0b872347a053edcb39ba1f8c6949ee659a06ed554703a0ba07064e2
+DIST coreutils-8.25-man.tar.xz 43420 SHA256 2ee31c3a6d2276f49c5515375d4a0c1047580da6ac10536898e0f0de81707f29 SHA512 412afc9909d30618ab9daba51c965c0fd22420c32f6c5a7e32ba32d957a92e8a65b977bccaba4b76c55d435a57065dc6103ff11c5fa31d02f117c13a2b09f75e WHIRLPOOL f2a9458d71cfbf6227ece5b688adb34653dacda0dfbcfd5332a36e33cda58b081d9b37c4ec910c92feba485e8e182f52327f4860f1ff5e0b0b7ae2f9b82045ee
+DIST coreutils-8.25-patches-1.1.tar.xz 7196 SHA256 68e116eb70a69e94458197cde81165c9902bec0c6661be31f6fffb84ba8d809c SHA512 19326ab7dd8d4515f7239133772f715aac4e722a1e28f4b0f19d8d629abe54a2309fa7c469797dc0f9e88991906883a891622c791ef940b9a5af6608d2e9110e WHIRLPOOL e7931e16e267b817a86f11b9e01d82dfac8144dbabd91d5cea036c819303895bd852809f374a76b6e4e474b559505d6fc907ddcb113ca1915b76d880e291bc76
+DIST coreutils-8.25.tar.xz 5725008 SHA256 31e67c057a5b32a582f26408c789e11c2e8d676593324849dcf5779296cdce87 SHA512 571f95d44987d373081ed4c6ac82155ad3dcd95621d7b1a7163597e80ecbbafef2cd74b2ef594587a443a1a4355083879f898a286bb0230c48112d43d076ccd6 WHIRLPOOL e871e177ffaf96bfdd9e668eb9a09df9fd952ff095796cffd1ac2b8b3943c9c2ae79c31890fa02b5ed2609b6c6c84b64d2292454b043d62260a9560d2f7b9457
+EBUILD coreutils-8.20.ebuild 6341 SHA256 18731f622a34d93385ada46dc6713f59ed890543c5c2868c7bf562d313a1313d SHA512 cc34f1e5ff404b23093d74d9d1c6ac5525902652a67cf1a3840ae6b790062842b6869c7a2e9a3711775c17fcc46a99983acbc327b5078d9ed85c85ca72034a4f WHIRLPOOL e873160d0d0dc46f98ac52db8701a1e337491ab207b834968e4763a59f6554d750c63e108dbf54de0a936c93e98241283bcb2c1724dd79f066e9fe11de8f5c74
+EBUILD coreutils-8.22-r1.ebuild 6015 SHA256 08c11cfbd5947d24c48ef169ebf0fe2bc87ee5ceb37d811d294e2e03f77624a5 SHA512 f3b2c5c790eee32dfae480b837be655191216d3cc9b0cbb53d7d64841dce139c127fc2153721e48ab82404ed4fdf353bd578b04db828aad46e0d61a19129e3a7 WHIRLPOOL 84a2655e72aaeee7eb6f9e3afc74124df0baf1a7782a806ddee75d0a178ff5aa6872c997f9c7bfcfe0b1929b8c23ce7a2b50f8bfc2120757be08c2b508082e7c
+EBUILD coreutils-8.22.ebuild 6317 SHA256 7962673e3eeece23fa543eeec7f4ebc9d3bc14254ddc5c98d1c1778508121b9b SHA512 63203170b5378158fed7fdfdb203e3fddf4ac8be79428e7fe4eb475fc800870a9ecda12dcc63a37dfe811aa57b543b414dad847568b18a00f63bbd5a88446914 WHIRLPOOL 45f47540f7114f3e45e41fa36d4d1cace21bafbadac80d29ad6372487f63d9f36537ee03b7a0a4923e743d3294c17a7e1cb96c8ef42e386706bd152a58d2aa28
+EBUILD coreutils-8.23-r00.1.ebuild 6267 SHA256 53c2a4bef763782b3dc6f9c00a3b32ca37dd9fcc1c8096fd41633e2a91e2eb4e SHA512 dc5f1f83dc592a6e0fbf37afb3494d7300f34f63a9b81f8eee08c6f5d2826487fb1c06d3c94ababd6e3ce4430737ffa917ffa00e77e2e51ed07b156d21b45e6d WHIRLPOOL 49548aad93722d42720dd3bd99fdc6eba76eb272cc320e49875a1dc784cc411eadfe2048d0399e8936c26c360861b30c92a0975186e8de008233ca48bbddd4c3
+EBUILD coreutils-8.24.ebuild 6596 SHA256 1e82dda3c1a0b1b6c47af214dffac24ffee45bc19efdd2c403e05890267d078b SHA512 e78d9f8f6e99a767cbc809126284161643af220808753adff57b52e129686ee3a208e7d1742694fd0dd8f3b28d238df759169866da861b7539e9a79b490bd930 WHIRLPOOL 08e2b1ce22af8a0b3b40b62dfc0b6fb739bd22b5db349874ff2c9b70cb14fa247bbb2c896b4db9564f5e6466d62b2483a96fb3c58c2e781419eedb6373108e37
+EBUILD coreutils-8.25.ebuild 5919 SHA256 c8918878e626054233da010b381143d8ffda3690ec166ecaedc8e58f005e2f82 SHA512 a7db176b9aa62fb818d67e6852f78a0393287c586728374e71f26f73835d0b31c43d5c8fff825b1da9921c23f1e196efc235f0b6ef966f3953053b10fab58a8e WHIRLPOOL d37b3be9bb09a1289a2b7e8777c48ad0474001d336da9aeb91e338903846b0db47f0c31cd0eb67ff735285d890539e4029a10a958cc7d0d960a337508678dc5b
+MISC metadata.xml 562 SHA256 80a6788324cad291fc488dd7e1a6cc2578acae197b7ad2d42860109d45d8e12d SHA512 1372dac2fe4990f6cf47a56a56f3fab9c2eb96eb687bdabc0b5b79fc5dbad69e6c434deb5a0904e18ee8032b777fdea0f997c855e3fca86923ab0f04c969b206 WHIRLPOOL ea7e54219becc762b04fe41de75eb511449821b889606f13c617be68b6c1cc64a3e765b90cdd66820b4549709a022e1d9405bbc4c51033996cb2d04a72c7c53f

diff --git a/sys-apps/coreutils/coreutils-8.25.ebuild b/sys-apps/coreutils/coreutils-8.25.ebuild
new file mode 100644
index 0000000..6b1aa55
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.25.ebuild
@@ -0,0 +1,184 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# To generate the man pages, unpack the upstream tarball and run:
+# ./configure --enable-install-program=arch,coreutils,hostname,kill
+# make
+# cd ..
+# tar cf - coreutils-*/man/*.[0-9] | xz > coreutils-<ver>-man.tar.xz
+
+EAPI="4"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+PATCH_VER="1.1"
+DESCRIPTION="Standard GNU file utilities (chmod, cp, dd, dir, ls...), text utilities (sort, tr, head, wc..), and shell utilities (whoami, who,...)"
+HOMEPAGE="https://www.gnu.org/software/coreutils/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
+	mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz
+	https://dev.gentoo.org/~vapier/dist/${P}-patches-${PATCH_VER}.tar.xz
+	mirror://gentoo/${P}-man.tar.xz
+	https://dev.gentoo.org/~vapier/dist/${P}-man.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 hostname kill multicall nls selinux static userland_BSD vanilla xattr"
+
+LIB_DEPEND="acl? ( sys-apps/acl[static-libs] )
+	caps? ( sys-libs/libcap )
+	gmp? ( dev-libs/gmp[static-libs] )
+	xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
+	selinux? ( sys-libs/libselinux )
+	nls? ( virtual/libintl )"
+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]
+	)
+	!app-misc/realpath
+	!<sys-apps/util-linux-2.13
+	!sys-apps/stat
+	!net-mail/base64
+	!sys-apps/mktemp
+	!<app-forensics/tct-1.18-r1
+	!<net-fs/netatalk-2.0.3-r4"
+
+src_prepare() {
+	if ! use vanilla ; then
+		use_if_iuse unicode || rm -f "${WORKDIR}"/patch/000_all_coreutils-i18n.patch
+		EPATCH_SUFFIX="patch" \
+		PATCHDIR="${WORKDIR}/patch" \
+		EPATCH_EXCLUDE="001_all_coreutils-gen-progress-bar.patch" \
+		epatch
+	fi
+
+	# Since we've patched many .c files, the make process will try to
+	# re-build the manpages by running `./bin --help`.  When doing a
+	# cross-compile, we can't do that since 'bin' isn't a native bin.
+	# Also, it's not like we changed the usage on any of these things,
+	# so let's just update the timestamps and skip the help2man step.
+	set -- man/*.x
+	touch ${@/%x/1}
+
+	# Avoid perl dep for compiled in dircolors default #348642
+	if ! has_version dev-lang/perl ; then
+		touch src/dircolors.h
+		touch ${@/%x/1}
+	fi
+}
+
+src_configure() {
+	local myconf=''
+	if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
+		export fu_cv_sys_stat_statfs2_bsize=yes #311569
+		export gl_cv_func_realpath_works=yes #416629
+	fi
+
+	export gl_cv_func_mknod_works=yes #409919
+	use static && append-ldflags -static && sed -i '/elf_sys=yes/s:yes:no:' configure #321821
+	use selinux || export ac_cv_{header_selinux_{context,flash,selinux}_h,search_setfilecon}=no #301782
+	use userland_BSD && myconf="${myconf} -program-prefix=g --program-transform-name=s/stat/nustat/"
+	# kill/uptime - procps
+	# groups/su   - shadow
+	# hostname    - net-tools
+	econf \
+		--with-packager="Gentoo" \
+		--with-packager-version="${PVR} (p${PATCH_VER:-0})" \
+		--with-packager-bug-reports="https://bugs.gentoo.org/" \
+		--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) \
+		$(use_enable acl) \
+		$(use_enable multicall single-binary) \
+		$(use_enable xattr) \
+		$(use_with gmp) \
+		${myconf}
+}
+
+src_test() {
+	# Non-root tests will fail if the full path isn't
+	# accessible to non-root users
+	chmod -R go-w "${WORKDIR}"
+	chmod a+rx "${WORKDIR}"
+
+	# coreutils tests like to do `mount` and such with temp dirs
+	# so make sure /etc/mtab is writable #265725
+	# make sure /dev/loop* can be mounted #269758
+	mkdir -p "${T}"/mount-wrappers
+	mkwrap() {
+		local w ww
+		for w in "$@" ; do
+			ww="${T}/mount-wrappers/${w}"
+			cat <<-EOF > "${ww}"
+				#!${EPREFIX}/bin/sh
+				exec env SANDBOX_WRITE="\${SANDBOX_WRITE}:/etc/mtab:/dev/loop" $(type -P $w) "\$@"
+			EOF
+			chmod a+rx "${ww}"
+		done
+	}
+	mkwrap mount umount
+
+	addwrite /dev/full
+	#export RUN_EXPENSIVE_TESTS="yes"
+	#export FETISH_GROUPS="portage wheel"
+	env PATH="${T}/mount-wrappers:${PATH}" \
+	emake -j1 -k check
+}
+
+src_install() {
+	default
+
+	insinto /etc
+	newins src/dircolors.hin DIR_COLORS
+
+	if [[ ${USERLAND} == "GNU" ]] ; then
+		cd "${ED}"/usr/bin
+		dodir /bin
+		# move critical binaries into /bin (required by FHS)
+		local fhs="cat chgrp chmod chown cp date dd df echo false ln ls
+		           mkdir mknod mv pwd rm rmdir stty sync true uname"
+		mv ${fhs} ../../bin/ || die "could not move fhs bins"
+		if use kill; then
+			mv kill ../../bin/ || die
+		fi
+		# move critical binaries into /bin (common scripts)
+		local com="basename chroot cut dir dirname du env expr head mkfifo
+		           mktemp readlink seq sleep sort tail touch tr tty vdir wc yes"
+		mv ${com} ../../bin/ || die "could not move common bins"
+		# create a symlink for uname in /usr/bin/ since autotools require it
+		local x
+		for x in ${com} uname ; do
+			dosym /bin/${x} /usr/bin/${x}
+		done
+	else
+		# For now, drop the man pages, collides with the ones of the system.
+		rm -rf "${ED}"/usr/share/man
+	fi
+
+}
+
+pkg_postinst() {
+	ewarn "Make sure you run 'hash -r' in your active shells."
+	ewarn "You should also re-source your shell settings for LS_COLORS"
+	ewarn "  changes, such as: source /etc/profile"
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${EROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/metadata.xml b/sys-apps/coreutils/metadata.xml
index 02d1ba7..f9a7962 100644
--- a/sys-apps/coreutils/metadata.xml
+++ b/sys-apps/coreutils/metadata.xml
@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>base-system</herd>
-<upstream>
-  <remote-id type="cpe">cpe:/a:gnu:coreutils</remote-id>
-</upstream>
+<maintainer type="project">
+	<email>base-system@gentoo.org</email>
+	<name>Gentoo Base System</name>
+</maintainer>
 <use>
-  <flag name='multicall'>Build all tools into a single `coreutils` program akin to busybox to save space</flag>
+	<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>
+<upstream>
+	<remote-id type="cpe">cpe:/a:gnu:coreutils</remote-id>
+</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2016-02-04  8:11 Fabian Groffen
  0 siblings, 0 replies; 19+ messages in thread
From: Fabian Groffen @ 2016-02-04  8:11 UTC (permalink / raw
  To: gentoo-commits

commit:     be688d01214b00bee11b52c2ca98f3f54f704381
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  4 08:10:42 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Feb  4 08:10:48 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=be688d01

sys-apps/coreutils: attempt to fixup build by not replacing more than intended

Package-Manager: portage-2.2.20-prefix

 sys-apps/coreutils/coreutils-8.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/coreutils/coreutils-8.24.ebuild b/sys-apps/coreutils/coreutils-8.24.ebuild
index f11f21d..24680c4 100644
--- a/sys-apps/coreutils/coreutils-8.24.ebuild
+++ b/sys-apps/coreutils/coreutils-8.24.ebuild
@@ -64,7 +64,7 @@ src_prepare() {
 			|| die
 	fi
 	sed -i \
-		-e "s/libstdbuf.so/libstdbuf$(get_libname)/" \
+		-e "s/libstdbuf\\.so/libstdbuf$(get_libname)/" \
 		src/stdbuf.c \
 		Makefile.in \
 		configure \


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/
@ 2016-01-22 16:33 Fabian Groffen
  0 siblings, 0 replies; 19+ messages in thread
From: Fabian Groffen @ 2016-01-22 16:33 UTC (permalink / raw
  To: gentoo-commits

commit:     c8cf02db312402227e166bd038083e3011c63e9e
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 22 16:33:42 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 16:33:42 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=c8cf02db

sys-apps/coreutils: don't require sys-apps/attr on non-glibc hosts

Package-Manager: portage-2.2.20-prefix

 sys-apps/coreutils/coreutils-8.24.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/coreutils/coreutils-8.24.ebuild b/sys-apps/coreutils/coreutils-8.24.ebuild
index 808dd41..f11f21d 100644
--- a/sys-apps/coreutils/coreutils-8.24.ebuild
+++ b/sys-apps/coreutils/coreutils-8.24.ebuild
@@ -24,12 +24,12 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~ppc-aix ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="acl caps gmp multicall nls selinux static userland_BSD vanilla xattr"
+IUSE="acl caps gmp multicall nls selinux static elibc_glibc vanilla xattr"
 
 LIB_DEPEND="acl? ( sys-apps/acl[static-libs] )
 	caps? ( sys-libs/libcap )
 	gmp? ( dev-libs/gmp[static-libs] )
-	xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) )"
+	xattr? ( elibc_glibc? ( sys-apps/attr[static-libs] ) )"
 RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
 	selinux? ( sys-libs/libselinux )
 	nls? ( virtual/libintl )


^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2021-12-28 15:29 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-12 13:41 [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/ Michael Haubenwallner
  -- strict thread matches above, loose matches on Subject: below --
2021-12-28 15:29 Fabian Groffen
2021-12-23  8:49 Sam James
2021-11-09  7:59 Sam James
2021-01-24  9:47 Fabian Groffen
2019-01-03 14:39 Fabian Groffen
2018-12-30 11:36 Fabian Groffen
2018-12-29 13:34 Fabian Groffen
2018-06-29  7:56 Michael Haubenwallner
2018-04-07 15:59 Fabian Groffen
2018-03-19 14:24 Fabian Groffen
2018-02-19 16:10 Michael Haubenwallner
2018-02-17  7:16 Fabian Groffen
2018-02-12 16:24 Fabian Groffen
2017-11-29  9:40 Michael Haubenwallner
2016-04-18 11:04 Michael Haubenwallner
2016-04-18 11:04 Michael Haubenwallner
2016-02-04  8:11 Fabian Groffen
2016-01-22 16:33 Fabian Groffen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox