diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-01-08 03:35:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-01-08 03:35:07 +0000 |
commit | 1b74930198ae3810aa1734e2a10eece51b565fd5 (patch) | |
tree | 9e5f11d603d5777b7489a42e2959841df42f806d /sys-apps/coreutils | |
parent | stability issue fix for dns (diff) | |
download | historical-1b74930198ae3810aa1734e2a10eece51b565fd5.tar.gz historical-1b74930198ae3810aa1734e2a10eece51b565fd5.tar.bz2 historical-1b74930198ae3810aa1734e2a10eece51b565fd5.zip |
Version bump.
Package-Manager: portage-2.2_rc61/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 | 15 | ||||
-rw-r--r-- | sys-apps/coreutils/coreutils-8.3.ebuild | 151 |
3 files changed, 171 insertions, 2 deletions
diff --git a/sys-apps/coreutils/ChangeLog b/sys-apps/coreutils/ChangeLog index 84bade3000a0..cd2eaf8648da 100644 --- a/sys-apps/coreutils/ChangeLog +++ b/sys-apps/coreutils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/coreutils # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.282 2010/01/05 05:01:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.283 2010/01/08 03:35:07 vapier Exp $ + +*coreutils-8.3 (08 Jan 2010) + + 08 Jan 2010; Mike Frysinger <vapier@gentoo.org> +coreutils-8.3.ebuild: + Version bump. 05 Jan 2010; Mike Frysinger <vapier@gentoo.org> coreutils-8.2.ebuild: Add tac/-lrt build fix from upstream #298581 by Yuri Vasilevski. Include diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest index 26f1557990ca..007afc4a95bf 100644 --- a/sys-apps/coreutils/Manifest +++ b/sys-apps/coreutils/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST coreutils-7.5-patches-2.tar.lzma 8370 RMD160 fef456359dd907c8264686720676ea1dabb90b63 SHA1 55f1b88bfeca34cd09c4ba305f6c0d45cfa3fd3f SHA256 1ee33146c960671f6cb54ca4916f6a828db904dae84841ec690eae7c0205e9a2 DIST coreutils-7.5.tar.gz 9956013 RMD160 17785526e6820705aa5790454af1bd3d0d4104aa SHA1 97e1486a33bf42eb7686d8f131c80ab533f1f683 SHA256 341f49b9434f83ca9a8b6c2266813092ef08a5fca25f15dcc1a0ba82fc18c3c1 DIST coreutils-7.6-patches-2.tar.lzma 5394 RMD160 d32618ce5de121515957227a03cbe5ba08794bb5 SHA1 b901596d5c085e157ae8a37fc805a05804cd32a9 SHA256 4bcd2b5977701bb652621d26f0e3d619d007488a45f378f88ef58bc24806ca19 @@ -6,9 +9,19 @@ DIST coreutils-8.1-patches-1.tar.lzma 5187 RMD160 85e626095e4539c4dec13559e06a0d DIST coreutils-8.1.tar.gz 10379352 RMD160 aac4a5cfa6afb0eae1d53aea060838f8c2281d5b SHA1 4a8bdbffa1201e51ca256292f43d0fc35e04adcc SHA256 5ea1adda4df2ad61e0184f5c7b08a2ad13db1a581d5da19610dd3c4718c1c8b0 DIST coreutils-8.2-patches-2.tar.lzma 27476 RMD160 6b2f590796e421f4ac9ba94944857bbd4126c625 SHA1 be40b2d592d68119ae7d49e792f23ba3dad5b19d SHA256 7a0e2c4cc9ff3ded9e9384934d0b6058844a30ea21c836f2ba5a71ccf777f330 DIST coreutils-8.2.tar.gz 10697533 RMD160 72ad3df1e0d2ebb982ce993e03410a11234b7acb SHA1 f25f9240f6da5400f36aebdd1e21e85110ab9f0f SHA256 d3c3055d16554ded9ec3b06f31337588179f15d715c4c32104ddf351f1ad4f41 +DIST coreutils-8.3-patches-1.tar.lzma 26720 RMD160 89d3945d1e72899c7630131510bf7c643ed5eff5 SHA1 a35e2e307d81a8a55af5f1e905ab22cacaa3ae12 SHA256 3dd611b4c859836b07f1ea96e38bfc0172be2bbbc057a7f256034a3930ae3f1b +DIST coreutils-8.3.tar.gz 10734711 RMD160 36811004533df6e5fdc26bfafb21eff36c9ed87e SHA1 2ab33c39f971716e2fd64770b1e86a9da4226cce SHA256 10a64f0f0e223ff5c005e2dce6f1234d3ff39af85fd8068f82fdd76aaaacf051 EBUILD coreutils-7.5-r1.ebuild 4628 RMD160 f611f4ca3a1da2ebf2350f2b864fcbe09319b61e SHA1 99c7c9dd3437971c13ef38e42566e59a6a3a4545 SHA256 44faf0c5fa187e04696fe752b3ed0a95f8d4b40c6e045ec6c065094ca721129f EBUILD coreutils-7.6.ebuild 4780 RMD160 f40ce165aa7888045a0f28e4198e4d11cb605897 SHA1 0ca2e0228801651ee81454f6a04aef73db832e05 SHA256 22150c0c7cbd7d2709224445821558ffdeace828355bd29316033c35caa3d276 EBUILD coreutils-8.1.ebuild 4753 RMD160 9d59de121f11f960978715d317d83b1b61333827 SHA1 98852deff3756da9fe11c7dfb0f6878b41084c6d SHA256 e3838607adab48571ac6ea97205d959097cda06967f766e6eee27ce1721b59b6 EBUILD coreutils-8.2.ebuild 4832 RMD160 95f463395ca3bce514c1affc035117a86f86596d SHA1 7bd10cde1d6fbb811da3394799ef0819ac9ce6f9 SHA256 2c686ef13d86dbdb1c1621ae7dceb2fbdbb0f0d01180765caa1a1a4d1102b072 -MISC ChangeLog 41652 RMD160 38e48c05fccb834401a1d61860d3b61f0c5c7d15 SHA1 c6c3b22064d4589bd11f29a6d2083dfd18268600 SHA256 e0dc73da85814a6e08aa7b617799761681955b05a38ed82745c5d7c2cef395fd +EBUILD coreutils-8.3.ebuild 4832 RMD160 759752fb06d0fceac178485a6f6171a99ef6ca0a SHA1 3c3b7afc79971f638cb7fc10d2ce4533bb8ef4dd SHA256 0f4c3425ef6d8fe79d96289cb66efebae9e0967810cb0c6217457168dabf9a06 +MISC ChangeLog 41772 RMD160 2dbf458ea46e6aeefd605934fea5f8562ec63e75 SHA1 b49002139ddb2f89dc1fdd9308cb8f9e6798563c SHA256 83f0a28b41ae40b1a8e1b77581699630e2e1ab61a4843d8df812f0d106f19002 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iF4EAREIAAYFAktGp/AACgkQTwhj9JtAlp5iuAD+MJlAx685ZjdCP7pBUDBEiX3R +ZZcRivQc8TeZ7cN9n+QBAJQuE3ry2Cak2KWk07c+l3Ov1dq+fcXv/we5Gswbi7Yr +=PeAA +-----END PGP SIGNATURE----- diff --git a/sys-apps/coreutils/coreutils-8.3.ebuild b/sys-apps/coreutils/coreutils-8.3.ebuild new file mode 100644 index 000000000000..0a435738ebb3 --- /dev/null +++ b/sys-apps/coreutils/coreutils-8.3.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.3.ebuild,v 1.1 2010/01/08 03:35:07 vapier Exp $ + +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.gz + mirror://gnu/${PN}/${P}.tar.gz + mirror://gentoo/${P}.tar.gz + mirror://gentoo/${P}-patches-${PATCH_VER}.tar.lzma + http://dev.gentoo.org/~vapier/dist/${P}-patches-${PATCH_VER}.tar.lzma" + +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 + >=sys-libs/ncurses-5.3-r5" +DEPEND="${RDEPEND} + app-arch/xz-utils" + +src_unpack() { + unpack ${A} + cd "${S}" + + 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} +} + +src_compile() { + use static && append-ldflags -static + # 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) \ + || die "econf" + emake || die "emake" +} + +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 +} |