diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-04-26 20:01:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-04-26 20:01:08 +0000 |
commit | 97998ad9402309eb7548019810142b85844ff215 (patch) | |
tree | bf8ae972090a9cb87d83db33f9bace559cf240d5 /sys-apps/coreutils | |
parent | Stable on amd64 wrt bug #362333 (diff) | |
download | historical-97998ad9402309eb7548019810142b85844ff215.tar.gz historical-97998ad9402309eb7548019810142b85844ff215.tar.bz2 historical-97998ad9402309eb7548019810142b85844ff215.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha28/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/coreutils')
-rw-r--r-- | sys-apps/coreutils/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/coreutils/Manifest | 11 | ||||
-rw-r--r-- | sys-apps/coreutils/coreutils-8.12.ebuild | 164 |
3 files changed, 177 insertions, 5 deletions
diff --git a/sys-apps/coreutils/ChangeLog b/sys-apps/coreutils/ChangeLog index e774db549a61..b3d9620ce46e 100644 --- a/sys-apps/coreutils/ChangeLog +++ b/sys-apps/coreutils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/coreutils # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.322 2011/04/14 00:15:44 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.323 2011/04/26 20:01:08 vapier Exp $ + +*coreutils-8.12 (26 Apr 2011) + + 26 Apr 2011; Mike Frysinger <vapier@gentoo.org> +coreutils-8.12.ebuild: + Version bump. *coreutils-8.11 (14 Apr 2011) diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest index 07bd03d7bf59..7a4c26fdf761 100644 --- a/sys-apps/coreutils/Manifest +++ b/sys-apps/coreutils/Manifest @@ -5,6 +5,8 @@ DIST coreutils-8.10-patches-2.tar.xz 5436 RMD160 85bab011059719fdfe4b06d36448021 DIST coreutils-8.10.tar.xz 4753304 RMD160 5585e0cfad01f8ce984b35722a02dbb23cc4e479 SHA1 a5689b41efa2dbf31d500cea26c5fe60760f6580 SHA256 8258785cbab6580f2e0376769a7b98ab3e1ddfca2d6f48e5490a51688d0bee83 DIST coreutils-8.11-patches-1.tar.xz 4492 RMD160 0b6b4f4cc35fdc271c8a48347c19ea2fb8f8ffb0 SHA1 216eb49a98656621078b4335423e8c5d14ffe42e SHA256 f9f8708830e235dcb748bf01e975a928d6ce7b4f82b51aa88c44ce9f93517332 DIST coreutils-8.11.tar.xz 4841952 RMD160 1d969307523a8c96801fdbad3e661e1dbe430d21 SHA1 3a2a5b06d496b0b60d67c14aab57392e921d08b3 SHA256 9c03e0de95ac6ec65129eaf0b3605982a77d8fedaeca5b665ad44fe901695b3b +DIST coreutils-8.12-patches-1.tar.xz 4496 RMD160 2a6296a2e1f40ea6d1905f0f5ed477c98f87e26a SHA1 384ef5a6f3c7b1fc322f5c0fd6bc21296353fadd SHA256 c3b9ba86277d46505c1d01734f00728725173af0ff87ecb746830cbf5691a964 +DIST coreutils-8.12.tar.xz 4842776 RMD160 dbb62d8859708aa23a05dd02fd94de591aaf27f8 SHA1 c27b1578a96a57a6ac3cd6ac927ce480db122ee8 SHA256 1e3c0182cdd0042871741d694ae1166dd90eb9f03a16c0aac0a9072a7aa92faf 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 @@ -16,17 +18,18 @@ DIST coreutils-8.9-patches-1.tar.xz 4496 RMD160 b23458ba140eae23ae0bc4cefb4f7904 DIST coreutils-8.9.tar.xz 4726864 RMD160 c97cbcc827af209575823ae1cc0d454aa8ff8b6e SHA1 8cb711149daaa3af0d285fa83a4e9727912fd3a9 SHA256 ca22d06effd0c8bc506a7c57932d0ed08d7dbc75629a92264d67d34982f2b5b7 EBUILD coreutils-8.10.ebuild 5472 RMD160 5adde475a12ca22de6ad590b78887007fbfef46d SHA1 24f64b0cf5ee4193c27223d75e58348140f6eca8 SHA256 c5119f425ec19c5b7c1206127268f3a0d17b0c910e1a98bad3850e3fc01a1e37 EBUILD coreutils-8.11.ebuild 5472 RMD160 7c04758691871a3deb82755378d1d1504ffa77cd SHA1 112566bf3c00f773a1c7a5b0a2afc8f5b8d11b9a SHA256 9b0de23c04b1dcda80bdcec3b5533668fd6d8b401b8997ed181b13bff23ee15f +EBUILD coreutils-8.12.ebuild 5472 RMD160 767dae36d2968c1c142d8efaa78ca74d8cb19ea8 SHA1 85e1481835fe9a2d7ad423e010007976301adb80 SHA256 e04c1143146043af29e54b9367191e8a11c9a3bf741763a5fb13aec471fdffe9 EBUILD coreutils-8.5-r1.ebuild 5092 RMD160 581fd98b19c19507fc4362e1b315b3f81c6ffba4 SHA1 2f5c99678a8653939e6b91a9d2d0ed42783916a7 SHA256 2c537534ff389f926635dcd39cb4d7a48eff5e5d3825aa7af02a8a03a4ce5cc1 EBUILD coreutils-8.5.ebuild 5078 RMD160 a500ac6b5d8a93dcb8f5863104a8a8e31b1d84ee SHA1 8300896fb3be6280b882bcb9ca62ffc768ec5c97 SHA256 a22d449686212e48dc39bd7b0b1de22bd0ce73d78c758229b3fcc8cb025eb932 EBUILD coreutils-8.7.ebuild 5104 RMD160 53fe85675d68535ae53f276c5268b65177a5d0e8 SHA1 cc383887e6927281bd67317c23296159bff61cec SHA256 e5b6d11ad984e0d8c93328a2a2a0d2e5f0bace971aabf22d535793fee02cb750 EBUILD coreutils-8.8.ebuild 5118 RMD160 ab648eef66d5a4a60435d16089bfadf65b830302 SHA1 820383ee5be1902ee43d0b0f1d7eb08e99b584a6 SHA256 de92ab9516bc39f976c3ed0959412d003ff8a83d0b76293657f6524efbe7903b EBUILD coreutils-8.9.ebuild 5118 RMD160 3a093bac74854ca289376a678056b104b1ac6960 SHA1 75b03d8636b14b730331f0d5003d373e62aea659 SHA256 ba38db2a7a071493aaa638c55c07515953d2a84540df9b5a405324e22b582741 -MISC ChangeLog 46384 RMD160 1493744d34572cb7c29fe1905507b4e50096e9a7 SHA1 429086ebabb1eaede335a2c2f98c3e38f3fdd222 SHA256 1b9b0fc19b85d4e3042c39de02ed7c48cd6992a08bc1e8da7804448c28e60d62 +MISC ChangeLog 46506 RMD160 1d10645cb8fe34ef4f5de47c268ec41dc51e7475 SHA1 08d7eeaf6bd96b79ccfa8b36a658275b3ca03f44 SHA256 f21534880ee1573b1d307870db62e4bcbbaef1aff6ef83620fc3b2c359c326a6 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk2mPLUACgkQaC/OocHi7JZmeQD6AvhnYcL5OL6bNClNTob6PgEc -dpR5333i8BFj6M+RAAwBAISYRZh3JUPvF0n2QIvgp1nelhL2jN/iTd/pJFRCEBLI -=n2ON +iF4EAREIAAYFAk23JGEACgkQaC/OocHi7JYT+wD9GBCgGtJF7mhJ/vhpkAcpx/0I +DslawaVLgfd1JmMEUyoA/1GDMS3amf310YuIrZMuZbHKTKOxQUHTcrRsp71MXkNm +=UnGc -----END PGP SIGNATURE----- diff --git a/sys-apps/coreutils/coreutils-8.12.ebuild b/sys-apps/coreutils/coreutils-8.12.ebuild new file mode 100644 index 000000000000..1183ee8bae8e --- /dev/null +++ b/sys-apps/coreutils/coreutils-8.12.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.12.ebuild,v 1.1 2011/04/26 20:01:08 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="ftp://alpha.gnu.org/gnu/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 ) + !<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 + + # Avoid perl dep for compiled in dircolors default #348642 + has_version dev-lang/perl || touch src/dircolors.h + + # 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} +} + +src_configure() { + tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] && export fu_cv_sys_stat_statfs2_bsize=yes #311569 + + 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 +} |