diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-05-10 22:09:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-05-10 22:09:26 +0000 |
commit | 03091a6f1c2691959326e64d93831b4d3eb1147f (patch) | |
tree | 2db7494cae40864103e688f59a5d7352f71822fe | |
parent | Version bump. (diff) | |
download | historical-03091a6f1c2691959326e64d93831b4d3eb1147f.tar.gz historical-03091a6f1c2691959326e64d93831b4d3eb1147f.tar.bz2 historical-03091a6f1c2691959326e64d93831b4d3eb1147f.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
-rw-r--r-- | sys-apps/coreutils/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/coreutils/Manifest | 33 | ||||
-rw-r--r-- | sys-apps/coreutils/coreutils-8.17.ebuild | 169 |
3 files changed, 193 insertions, 16 deletions
diff --git a/sys-apps/coreutils/ChangeLog b/sys-apps/coreutils/ChangeLog index 54f41f05a1bf..fb28ac98bce3 100644 --- a/sys-apps/coreutils/ChangeLog +++ b/sys-apps/coreutils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/coreutils # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.337 2012/03/28 04:26:58 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.338 2012/05/10 22:09:26 vapier Exp $ + +*coreutils-8.17 (10 May 2012) + + 10 May 2012; Mike Frysinger <vapier@gentoo.org> +coreutils-8.17.ebuild: + Version bump. 28 Mar 2012; Mike Frysinger <vapier@gentoo.org> coreutils-8.16.ebuild: Force mknod test to avoid dying when running as root #409919 by Paweł diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest index d326988c3ffb..7c4ccbc31f6c 100644 --- a/sys-apps/coreutils/Manifest +++ b/sys-apps/coreutils/Manifest @@ -15,6 +15,8 @@ DIST coreutils-8.15-patches-1.tar.xz 4496 RMD160 c5376396205a3f2caa92406ad25de19 DIST coreutils-8.15.tar.xz 4943172 RMD160 9cc728b0d7136931ed73e42cbe897edae364732e SHA1 d5d2035ff6443ff63dc507420b52f54cf7a89545 SHA256 837eb377414eae463fee17d0f77e6d76bed79b87bc97ef0c23887710107fd49c DIST coreutils-8.16-patches-1.tar.xz 4496 RMD160 c2c3ba3803c4f4aec49f8df824d0c8043277e17d SHA1 5e1ff1a973eeb57e216dd1bb229a8b32c9df9d0e SHA256 2912855202866b0ee8fd30063859f50a8ee6bcbb5b8f252f8f994f78b80099b2 DIST coreutils-8.16.tar.xz 5042844 RMD160 0f69e5cf554cc5758108ce2151306e0a05bef377 SHA1 973f1dfee67f60a878c2dd7cb6a5675dabc67ad6 SHA256 2a458fead15d9336f46bb4304cc3eaa6ed9407b9130e7ee2ec533909881d2067 +DIST coreutils-8.17-patches-1.tar.xz 4496 RMD160 74680ca3087c82a2c3616c67232bbce5e8bec865 SHA1 011187e4deb39efcc203e4fd8d1e16c9d1cdc344 SHA256 7054fc3cbb33ea7f6fc3f4d25697a3a0600c28cfe188f8296d98736f6936cb8b +DIST coreutils-8.17.tar.xz 5077388 RMD160 0df232795cc7ae429e3090db3035d9e7c133ee73 SHA1 34139edf28d72ff26626a221aba0d73d485a0ad9 SHA256 4e075a0d238072a5bd079046e1f024dc5e0d9133d43a39c73d0b86b0d1e2c5e5 DIST coreutils-8.5-patches-1.tar.lzma 4456 RMD160 c91df722421089c9598a194bf5ae4d614d8ea990 SHA1 8bba5c4b0f946cdfe6d208dc5e507606b45a5c60 SHA256 5c805201cd08a3a9f8989c77239606d5266a037aeb7c00ec1d2224219af9a1a7 DIST coreutils-8.5-patches-2.tar.lzma 25979 RMD160 fe00a23185cc62a4c9f9ce7b0eea832106e9782b SHA1 c320aad0ffb011f752d9078257893197af5f404a SHA256 3fe98017886f0c97e15552caf4b38ba6085f15209c30ea9e5a2b65bee324f105 DIST coreutils-8.5.tar.gz 10740866 RMD160 2fdba2f8b64c818b459533ba40f94ba7325720b3 SHA1 939144f16d05691753a87134436dd2bb8ea89851 SHA256 dd243e2ac7d0ed203b170ecfb8299643779e7501fec2b45ae1cea8a450fa8ca0 @@ -31,27 +33,28 @@ EBUILD coreutils-8.13.ebuild 5467 RMD160 ac9ff5602ed8f628a8b7466e0d58434cb569070 EBUILD coreutils-8.14.ebuild 5489 RMD160 5b60c43c46b19fa9ecab1441c063bea734ce2cef SHA1 8f14b2e4871c6ce643e33894b6030f7a71fefdd1 SHA256 43a7d0e57e1719f0e29c4f53826b1262c709429614420deffadd5ec3d1dfaeba EBUILD coreutils-8.15.ebuild 5520 RMD160 e197dd8ff63308b895b2465f9d50bd7993a1ceaa SHA1 d939ddc017cfbb88e64696313f6c192e80530156 SHA256 a7e8f2ab975bbd87d2c5d5179ed406a5a2e327dd9a556288c53ab330d5dbb255 EBUILD coreutils-8.16.ebuild 5563 RMD160 388af5e677ef7417d6fdf55c015de7b0fbb8a87a SHA1 f21db8c36cdfab390f9993781ccb0edfa901fe7a SHA256 97669e585b0818195fdf899e784295f0de960cf139fd2b82864d198065509340 +EBUILD coreutils-8.17.ebuild 5563 RMD160 ea0a49d78ae3b9bb03c5b2edd6619dd1a51b2e4e SHA1 b487874c117bd83e025e8de6bc82ae02222225b8 SHA256 887ba0d3b7be2deace1bab1c90d124f856ca8543f1e4505d3ca370728e678157 EBUILD coreutils-8.5-r1.ebuild 5087 RMD160 d4ed5a423d2f7b0c635d40215f7317cb0d85180d SHA1 54a8b0c67420b720669bb293e4def5a2f55a2239 SHA256 7a99ca3814451fbb86457c279ecf3f5aa54b603756a9f58745a7b33b988f9f8f EBUILD coreutils-8.5.ebuild 5073 RMD160 7f7b5cd7107625caf66c3a6c7ca20a93a2470e1b SHA1 b8e929bfcb06ff47e1f873ecc29bf4068a9639da SHA256 99940239d3f2efe17ce491bf23ba811598c955952cd60f1d2b4e2d157400d3e3 EBUILD coreutils-8.7.ebuild 5102 RMD160 97145d91f1f134900c13b54fcfe93294603482b8 SHA1 74e956380922d5a64711a324891f434df96bfa2f SHA256 8d2f466643f82ec762b6f46c266eba2b0bc37f51e17764704b4893322ddba68f EBUILD coreutils-8.8.ebuild 5113 RMD160 4bc02c5bd57588537bda4ba79410e13a3d88f3d3 SHA1 626576b2fd4676e4bc04bcfd02075f4ac73f04cf SHA256 98dba1fcb86b41d1753bc305db5344d02075909314d1d4275ccbf5f31cbf59ab EBUILD coreutils-8.9.ebuild 5113 RMD160 d6e5154ef764a769b7360a5e4eeb4d6868b604e3 SHA1 4491f624e101a919ea6a71ed837ef1c36e1bfc79 SHA256 94a3521bc5493f9ae4487a6190fab0c699eea9870fa91d7ca30917833b59e7e8 -MISC ChangeLog 48408 RMD160 848bd52a913667b42dcc7165d5c5e1e33938c5fe SHA1 6050445727a85780fbf0127ba96046b098b9c6f9 SHA256 a1bf7fd52d2e1ae8a55b7800c550aa13c081605e2f2cafbb502e53084a8c7c7d +MISC ChangeLog 48530 RMD160 a94c1d84ebe08789e05c90a8811a40e4db95ca24 SHA1 21eb81950d81d81f59771b98008b145c7efe5aa6 SHA256 4137789c56a1418999c5579ae18facbdb4b862c0430c656657b07111151a3e63 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBAgAGBQJPcpMcAAoJELEHsLL7fEFWoo4QAMSO1TRGKvkmJIDRfRMbe6jF -i2KIfowrP9wyvXbFA+Pz4mAk1JylY2BD7fgQ2mlW6dhcM6vtrgQKMMgS8yR0Rma4 -0OvG7ILRMtxGDcZ8dGtNjF9klAjjFxhCUzdkDvfinIfh86IQ7Fitdn9YsQEJFNci -+1ZlAwSGL8Tsv4BJ5bmmOL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m44JUr4/PvvS5mo4Spuqo3pvcW6RWOWx +0lVqIE5RXH0XfEEAkf080s40TVyFIj/TmsmLwjwX+0DrYOUFMWAjDLe3li0hgHUc +2UAgAbil14GshVlmm/siiVnaIvvXdDG1CmN0cLdEN1G7y4ds4W9AaeaS+lliMRLl +FnrlKVCKBJ2Wtj7oGvKV +=ykdE -----END PGP SIGNATURE----- diff --git a/sys-apps/coreutils/coreutils-8.17.ebuild b/sys-apps/coreutils/coreutils-8.17.ebuild new file mode 100644 index 000000000000..730a8d6aa8d5 --- /dev/null +++ b/sys-apps/coreutils/coreutils-8.17.ebuild @@ -0,0 +1,169 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.17.ebuild,v 1.1 2012/05/10 22:09:26 vapier Exp $ + +EAPI="3" + +inherit eutils flag-o-matic toolchain-funcs + +PATCH_VER="1" +DESCRIPTION="Standard GNU file utilities (chmod, cp, dd, dir, ls...), text utilities (sort, tr, head, wc..), and shell utilities (whoami, who,...)" +HOMEPAGE="http://www.gnu.org/software/coreutils/" +SRC_URI="mirror://gnu-alpha/coreutils/${P}.tar.xz + mirror://gnu/${PN}/${P}.tar.xz + mirror://gentoo/${P}.tar.xz + mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz + http://dev.gentoo.org/~vapier/dist/${P}-patches-${PATCH_VER}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="acl caps gmp nls selinux static unicode vanilla xattr" + +RDEPEND="caps? ( sys-libs/libcap ) + gmp? ( dev-libs/gmp ) + selinux? ( sys-libs/libselinux ) + acl? ( sys-apps/acl ) + xattr? ( sys-apps/attr ) + nls? ( >=sys-devel/gettext-0.15 ) + !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 + !<sci-chemistry/ccp4-6.1.1" +DEPEND="${RDEPEND} + app-arch/xz-utils" + +src_prepare() { + if ! use vanilla ; then + use 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 + tc-is-cross-compiler && 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() { + tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] && export fu_cv_sys_stat_statfs2_bsize=yes #311569 + + 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 + # 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="http://bugs.gentoo.org/" \ + --enable-install-program="arch" \ + --enable-no-install-program="groups,hostname,kill,su,uptime" \ + --enable-largefile \ + $(use caps || echo --disable-libcap) \ + $(use_enable nls) \ + $(use_enable acl) \ + $(use_enable xattr) \ + $(use_with gmp) +} + +src_test() { + # Non-root tests will fail if the full path isnt + # 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}" + #!/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 || die "make check failed" +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc AUTHORS ChangeLog* NEWS README* THANKS TODO + + insinto /etc + newins src/dircolors.hin DIR_COLORS || die + + if [[ ${USERLAND} == "GNU" ]] ; then + cd "${D}"/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" + # 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} || die + done + else + # For now, drop the man pages, collides with the ones of the system. + rm -rf "${D}"/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" + + # /bin/dircolors sometimes sticks around #224823 + if [ -e "${ROOT}/usr/bin/dircolors" ] && [ -e "${ROOT}/bin/dircolors" ] ; then + if strings "${ROOT}/bin/dircolors" | grep -qs "GNU coreutils" ; then + einfo "Deleting orphaned GNU /bin/dircolors for you" + rm -f "${ROOT}/bin/dircolors" + fi + fi + + # Help out users using experimental filesystems + if grep -qs btrfs "${ROOT}"/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 +} |