DIST coreutils-6.2.tar.bz2 5007535 RMD160 d8b17a66b71e1071d29dfdb1f74af1f5b6ad97f4 SHA1 c7561cee8a5f4170e2908048d8a7a0bd528d1e37 SHA256 adcd3ef2b1a66d26a4bad6ffd9d65817e446845bfd198964bb4fba64e8a1aae8
DIST coreutils-6.3-patches-1.0.tar.bz2 48130 RMD160 381ead47c1a48d18da6bb6d8cdd3b8dc499f25ae SHA1 86709f46b5eaebbc9bece44345e4b9731d82a376 SHA256 8e85d0826703c73bc20558ec6ee66f8adeaa96db5969247055553103176a0f25
DIST coreutils-6.3.tar.bz2 5071144 RMD160 114911667800cb1d96de967963172091ea5da50c SHA1 3e042447b4674f4527965e5aee38f85c2c38a9de SHA256 8815a918867a14dcfeb623786b3a7f7483a039a78dd5a94e9b562667684c07a1
+DIST coreutils-6.4-patches-1.0.tar.bz2 47993 RMD160 122882cf72088c7abaff96bff9220efddfc6b1d7 SHA1 dab3b74d668ddcc43c74d41769782460f8bf387e SHA256 daf083f0d37a8988aadb6e2fe030481add139f1cb2f9cfc60b9b62241ff459bc
+DIST coreutils-6.4.tar.bz2 5294210 RMD160 5e3628115ea814cddcfc6630a77c9079bd8676e0 SHA1 b93484cdd4bad11d6c60a015bf57b679849816d1 SHA256 75a6b82bb7e3d07bec5b9bd0fcdfdfdfb88f32728e5089972001b50e4148b87b
EBUILD coreutils-5.2.1-r7.ebuild 4574 RMD160 29716ddcca9bbd9d90369395d104bf6a8a4fd268 SHA1 788510720116cc6b596f21b2774a5f7450054ded SHA256 f3a846cdf629f53455043b8857fcb8d46cd2ed4aed666ea173599b0c26454a7c
MD5 c1f9157af3a6f2c2f2e10bac139be7ec coreutils-5.2.1-r7.ebuild 4574
RMD160 29716ddcca9bbd9d90369395d104bf6a8a4fd268 coreutils-5.2.1-r7.ebuild 4574
MD5 aeff3105060c17f33e5103543b1a96bf coreutils-6.3.ebuild 4561
RMD160 23e013e95245c4b49ac54a4561a0b1954caee6c6 coreutils-6.3.ebuild 4561
SHA256 bff284a9fd162faa2d31ba2fa8fba5d65af9da67c6f1f5c1e5be2955e0727fdf coreutils-6.3.ebuild 4561
-MISC ChangeLog 28358 RMD160 981e18759ce3d3c617045367464ef5d9ad3f18f1 SHA1 9197ed432ba5675773f79e49c4fa242a3756a6c3 SHA256 08a83a7bdb6a8d033e52db25542e503db6c90a5a8deb16dae24fa41c540054c8
-MD5 972eb2cf95beccaeb67be2424177d85d ChangeLog 28358
-RMD160 981e18759ce3d3c617045367464ef5d9ad3f18f1 ChangeLog 28358
-SHA256 08a83a7bdb6a8d033e52db25542e503db6c90a5a8deb16dae24fa41c540054c8 ChangeLog 28358
+EBUILD coreutils-6.4.ebuild 4561 RMD160 52df657b2abd0f389b3d65d765f30ee08756d1a2 SHA1 5d1c2b29ceda8d135d21e3976be38f1a90be6a02 SHA256 6b7c2a397464bd6ce3290c63d1217fd9834544ee653a4176562f44cfd7d79862
+MD5 bb64d2c91da81929bf69a2f23d39f106 coreutils-6.4.ebuild 4561
+RMD160 52df657b2abd0f389b3d65d765f30ee08756d1a2 coreutils-6.4.ebuild 4561
+SHA256 6b7c2a397464bd6ce3290c63d1217fd9834544ee653a4176562f44cfd7d79862 coreutils-6.4.ebuild 4561
+MISC ChangeLog 28478 RMD160 8c091e047123bee2aaf0c09eefcae60a364278ff SHA1 b535a4c9ea359cb7225071b225bd8a59cfbad9ed SHA256 89cbd17d9907001ef43518c8c126044e47fdcb6a885cb255a22931b4c4641450
+MD5 196a4887981c816498df5a61d1d31486 ChangeLog 28478
+RMD160 8c091e047123bee2aaf0c09eefcae60a364278ff ChangeLog 28478
+SHA256 89cbd17d9907001ef43518c8c126044e47fdcb6a885cb255a22931b4c4641450 ChangeLog 28478
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
MD5 4728d2ee43cc38dfc573c5393db52372 files/digest-coreutils-6.3 524
RMD160 29bff5e9ebb36d9e7fbadab20fba35e9247e0fdf files/digest-coreutils-6.3 524
SHA256 0762d074219cab6a188b6b1582b9f6d456ef43c99143495a1d43fffe99cc1cc1 files/digest-coreutils-6.3 524
+MD5 67478b3ad9a07d4c97e272dd51c6ac17 files/digest-coreutils-6.4 524
+RMD160 8201f3c3a0f7efec6c3b02db99810c4493b6ed9f files/digest-coreutils-6.4 524
+SHA256 bdaa6b3e2cbd8bb7063828d82bd6c8217bdcfa38f55fa2196799a5484561750d files/digest-coreutils-6.4 524
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFHtm/amhnQswr0vIRAkz3AKCeOxv1nzk3KGjbkaYV/I4qmlOKRQCfV8EC
-LS0LHQfZc2s/mJlc1pdNvCk=
-=IGBb
+iD8DBQFFPBBiamhnQswr0vIRAmepAJ9T1R9GS8LXzNYtRiQ+V/EJJaCe4QCfck7a
+er0R2RowQ0nXN8ZOIiMw1A4=
+=ENZG
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-6.4.ebuild,v 1.1 2006/10/23 00:43:30 vapier Exp $
+
+inherit eutils flag-o-matic toolchain-funcs autotools
+
+PATCH_VER="1.0"
+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.bz2
+ mirror://gnu/${PN}/${P}.tar.bz2
+ mirror://gentoo/${P}.tar.bz2
+ mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2
+ http://dev.gentoo.org/~vapier/dist/${P}-patches-${PATCH_VER}.tar.bz2
+ http://dev.gentoo.org/~kingtaco/mirror/${P}-patches-${PATCH_VER}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="acl nls selinux static"
+
+RDEPEND="selinux? ( sys-libs/libselinux )
+ acl? ( sys-apps/acl sys-apps/attr )
+ nls? ( >=sys-devel/gettext-0.15 )
+ !net-mail/base64
+ >=sys-libs/ncurses-5.3-r5"
+DEPEND="${RDEPEND}
+ =sys-devel/automake-1.9*
+ >=sys-devel/autoconf-2.59d
+ >=sys-devel/m4-1.4-r1
+ sys-apps/help2man"
+
+RESTRICT="confcache"
+
+pkg_setup() {
+ # fixup expr for #123342
+ if [[ $(/bin/expr a : '\(a\)') != "a" ]] ; then
+ if [[ -x /bin/busybox ]] ; then
+ ln -sf /bin/busybox /bin/expr
+ else
+ eerror "Your expr binary appears to be broken, please fix it."
+ eerror "For more info, see http://bugs.gentoo.org/123342"
+ die "your expr is broke"
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ PATCHDIR="${WORKDIR}/patch"
+ rm -f "${PATCHDIR}"/generic/001_*progress*
+
+ # Apply the ACL/SELINUX patches.
+ if use selinux ; then
+ EPATCH_MULTI_MSG="Applying SELINUX patches ..." \
+ EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"/selinux
+ ( cd "${PATCHDIR}" ; epatch selinux/GLUE* ) || die "glue failed"
+ elif use acl ; then
+ EPATCH_MULTI_MSG="Applying ACL patches ..." \
+ EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"/acl
+ fi
+
+ EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"/generic
+ chmod a+rx tests/sort/sort-mb-tests
+
+ # Since we've patched many .c files, the make process will
+ # try to re-build the manpages by running `./bin --help`.
+ # When cross-compiling, we can't do that since 'bin' isn't
+ # a native binary, so let's just install outdated man-pages.
+ tc-is-cross-compiler && touch man/*.1
+ # There's no reason for this crap to use the private version
+ sed -i 's:__mempcpy:mempcpy:g' lib/*.c
+
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_compile() {
+ if ! type -p cvs > /dev/null ; then
+ # Fix issues with gettext's autopoint if cvs is not installed,
+ # bug #28920.
+ export AUTOPOINT="/bin/true"
+ fi
+
+ local myconf=""
+ [[ ${USERLAND} == "GNU" ]] \
+ && myconf="${myconf} --bindir=/bin" \
+ || myconf="${myconf} --bindir=/usr/libexec/gnu"
+
+ [[ ${ELIBC} == "glibc" || ${ELIBC} == "uclibc" ]] \
+ && myconf="${myconf} --without-included-regex"
+
+ use static && append-ldflags -static
+ econf \
+ --enable-largefile \
+ $(use_enable nls) \
+ $(use_enable selinux) \
+ ${myconf} \
+ || 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}"
+ addwrite /dev/full
+ export RUN_EXPENSIVE_TESTS="yes"
+ #export FETISH_GROUPS="portage wheel"
+ make check || die "make check failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ rm -f "${D}"/usr/lib/charset.alias
+ dodoc AUTHORS ChangeLog* NEWS README* THANKS TODO
+
+ # remove files provided by other packages
+ rm "${D}"/bin/{kill,uptime} # procps
+ rm "${D}"/bin/{groups,su} # shadow
+ rm "${D}"/bin/hostname # net-tools
+ rm "${D}"/usr/share/man/man1/{groups,kill,hostname,su,uptime}.1
+ # provide by the man-pages package
+ rm "${D}"/usr/share/man/man1/{chgrp,chmod,chown,cp,dd,df,dir,dircolors}.1
+ rm "${D}"/usr/share/man/man1/{du,install,ln,ls,mkdir,mkfifo,mknod,mv}.1
+ rm "${D}"/usr/share/man/man1/{rm,rmdir,touch,vdir}.1
+
+ insinto /etc
+ newins src/dircolors.hin DIR_COLORS
+
+ if [[ ${USERLAND} == "GNU" ]] ; then
+ # move non-critical packages into /usr
+ cd "${D}"
+ dodir /usr/bin
+ mv bin/{csplit,expand,factor,fmt,fold,join,md5sum,nl,od} usr/bin
+ mv bin/{paste,pathchk,pinky,pr,printf,sha1sum,shred,sum,tac} usr/bin
+ mv bin/{tail,test,[,tsort,unexpand,users} usr/bin
+ cd bin
+ local x
+ for x in * ; do
+ dosym /bin/${x} /usr/bin/${x}
+ done
+ else
+ # For now, drop the man pages, collides with the ones of the system.
+ rm -rf "${D}"/usr/share/man
+ fi
+}