From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0D20659CB2 for ; Mon, 18 Apr 2016 11:04:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92FA021C035; Mon, 18 Apr 2016 11:04:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F25B721C035 for ; Mon, 18 Apr 2016 11:04:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D06CD340A60 for ; Mon, 18 Apr 2016 11:04:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3964686F for ; Mon, 18 Apr 2016 11:04:17 +0000 (UTC) From: "Michael Haubenwallner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Haubenwallner" Message-ID: <1460976835.9af13d76d23ad2fb5696d9bd6786bf4f0adf0964.haubi@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: sys-apps/coreutils/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: sys-apps/coreutils/Manifest sys-apps/coreutils/coreutils-8.25.ebuild sys-apps/coreutils/metadata.xml X-VCS-Directories: sys-apps/coreutils/ X-VCS-Committer: haubi X-VCS-Committer-Name: Michael Haubenwallner X-VCS-Revision: 9af13d76d23ad2fb5696d9bd6786bf4f0adf0964 X-VCS-Branch: master Date: Mon, 18 Apr 2016 11:04:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2922b8a9-f804-4bae-beec-3c8648ca740b X-Archives-Hash: f4dabf6f28eecdfa729891ddc161be0f commit: 9af13d76d23ad2fb5696d9bd6786bf4f0adf0964 Author: Michael Haubenwallner ssi-schaefer com> AuthorDate: Mon Apr 18 10:53:55 2016 +0000 Commit: Michael Haubenwallner gentoo 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 @@ Build the hostname program Build the kill program Build all tools into a single `coreutils` program akin to busybox to save space + Build the stdbuf program + Build the uptime program cpe:/a:gnu:coreutils