Version bump.
authorMike Frysinger <vapier@gentoo.org>
Fri, 8 Dec 2006 00:32:10 +0000 (00:32 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 8 Dec 2006 00:32:10 +0000 (00:32 +0000)
Package-Manager: portage-2.1.2_rc2-r4

sys-apps/coreutils/ChangeLog
sys-apps/coreutils/Manifest
sys-apps/coreutils/coreutils-6.7.ebuild [new file with mode: 0644]
sys-apps/coreutils/files/digest-coreutils-6.7 [new file with mode: 0644]

index 7182a29706c7a89923497a13d63d10eb02622622..fbddccc3acf40717353947bcecd7ff0684650025 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sys-apps/coreutils
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.186 2006/12/01 16:13:49 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.187 2006/12/08 00:32:10 vapier Exp $
+
+*coreutils-6.7 (08 Dec 2006)
+
+  08 Dec 2006; Mike Frysinger <vapier@gentoo.org> +coreutils-6.7.ebuild:
+  Version bump.
 
   01 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org>
   coreutils-6.4.ebuild:
index 3bd43c0e0b95024d8d30d8be26940233cc16709a..266f137a63f4842fbb959e2be9fc1bdf75e744ac 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX 130_all_coreutils-gnulibs-regex-symbol-hiding.patch 1024 RMD160 cedf30f1dedfe4893f6f01cd45e288a59211ff1a SHA1 49e8da9f939b2758a7e3f54661ea2ecfe08f46d2 SHA256 7ad379725aec72a27173c2e9297019d94525af654f3eae41ddf1654f28cc6cbc
 MD5 55735adb690972eec2c296929d3c7856 files/130_all_coreutils-gnulibs-regex-symbol-hiding.patch 1024
 RMD160 cedf30f1dedfe4893f6f01cd45e288a59211ff1a files/130_all_coreutils-gnulibs-regex-symbol-hiding.patch 1024
@@ -26,6 +29,8 @@ DIST coreutils-6.4-patches-1.0.tar.bz2 47993 RMD160 122882cf72088c7abaff96bff922
 DIST coreutils-6.4.tar.bz2 5294210 RMD160 5e3628115ea814cddcfc6630a77c9079bd8676e0 SHA1 b93484cdd4bad11d6c60a015bf57b679849816d1 SHA256 75a6b82bb7e3d07bec5b9bd0fcdfdfdfb88f32728e5089972001b50e4148b87b
 DIST coreutils-6.6-patches-1.0.tar.bz2 48149 RMD160 6d0636decce37e2df7cf3c86bd8ffa372ec45f00 SHA1 b9bfb6deb28a1947c10b3e760ffa325b084d184b SHA256 ac117004148ef5194715db458cd309712e2e4648f479dd6bc54d7851846fa9ca
 DIST coreutils-6.6.tar.bz2 5347197 RMD160 4bdc08de8179c556f93b207bc034c2adce1a678c SHA1 9019a32b122db851eff22ace8669d7cdedf39e7b SHA256 39382e8eb5747e63a835bdd8b56628de947285103ebfb1e64b282a093fa9996e
+DIST coreutils-6.7-patches-1.0.tar.bz2 32171 RMD160 431ee64bfb8ec89f460b199aa3a42994d51ad990 SHA1 9cb0d80c7c5f1ab1eec96314bca8518f5ad19b50 SHA256 8e665c1008514dc50795aaa02e26710812337c6a1704da31242af9cef8d8004c
+DIST coreutils-6.7.tar.bz2 5315342 RMD160 593acd266431db1777505bd181a7ffe095774beb SHA1 55a6037365f749a4ebb9e88a92132a4f938ac90e SHA256 4d7027cc803682decdadf850095dce7e22cc08eba2b1283e16d0fb7a675ac1f0
 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
@@ -70,10 +75,14 @@ EBUILD coreutils-6.6.ebuild 4539 RMD160 69e250077d4a3f9fbf298657dafe098b4e29026f
 MD5 323c423c1ab08f838f424a2c239da4bc coreutils-6.6.ebuild 4539
 RMD160 69e250077d4a3f9fbf298657dafe098b4e29026f coreutils-6.6.ebuild 4539
 SHA256 98528886bbab2c792a65d5ed4df24fd3ee842f61de17834453c2d76889102b59 coreutils-6.6.ebuild 4539
-MISC ChangeLog 29138 RMD160 262589faff979ceb8818d061921802319c8bdf30 SHA1 4df764ec38171a6ea2638be3cfa22f0db0eebc2b SHA256 755fc78beb956ddda1d668a6c08bb1c65c5af4111ef73d2c670d3162fb423028
-MD5 689abb99e180b27e80b74286a6eb3d5f ChangeLog 29138
-RMD160 262589faff979ceb8818d061921802319c8bdf30 ChangeLog 29138
-SHA256 755fc78beb956ddda1d668a6c08bb1c65c5af4111ef73d2c670d3162fb423028 ChangeLog 29138
+EBUILD coreutils-6.7.ebuild 4539 RMD160 d59f56e55d0045ab32484b18ca7134f912936f8b SHA1 60ffe86f4b4771130bcc98f87c0e892b76cac946 SHA256 b79614040ac8ceee6ecfe1b0b5cf94b7a555f949c5147f617d19968a82ee0989
+MD5 7a22938b9193303b2c6a4676a1e376db coreutils-6.7.ebuild 4539
+RMD160 d59f56e55d0045ab32484b18ca7134f912936f8b coreutils-6.7.ebuild 4539
+SHA256 b79614040ac8ceee6ecfe1b0b5cf94b7a555f949c5147f617d19968a82ee0989 coreutils-6.7.ebuild 4539
+MISC ChangeLog 29254 RMD160 2802e5b82e77aae24afdd901aa537a0f467b165e SHA1 eb06c723b744955d4a4312fe3be1769e42c8f149 SHA256 01905a2144c464cd5e8cab2114192fec3538cc64a5b105e6383a7a67ab1c826a
+MD5 66ef15f9a43ec7b71531278bc4a05df2 ChangeLog 29254
+RMD160 2802e5b82e77aae24afdd901aa537a0f467b165e ChangeLog 29254
+SHA256 01905a2144c464cd5e8cab2114192fec3538cc64a5b105e6383a7a67ab1c826a ChangeLog 29254
 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
@@ -111,3 +120,13 @@ SHA256 bdaa6b3e2cbd8bb7063828d82bd6c8217bdcfa38f55fa2196799a5484561750d files/di
 MD5 5e9b1df3879974adef8cb26070c223fc files/digest-coreutils-6.6 524
 RMD160 eeb851c8bea7f81752d03afe277c22de83c45dd1 files/digest-coreutils-6.6 524
 SHA256 3602c16f56dd74a03fed827b185741446b7806056b679a0302545d44f0c7d943 files/digest-coreutils-6.6 524
+MD5 3767fddf63f9f267b0eaffb54238d372 files/digest-coreutils-6.7 524
+RMD160 c0972faeadaae125b37ff47cb80bd606e2ce02bd files/digest-coreutils-6.7 524
+SHA256 e54bf8b4e1020e5c102b26466f52273a255391afd62baa76898d01a14860a7cf files/digest-coreutils-6.7 524
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFeLKqamhnQswr0vIRAluUAJ9hA2A9w05DSS6DGgyrlgm4xJgcUwCfbln5
+a8NMKcvpskstryxR/LfzMfw=
+=n6fU
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/coreutils/coreutils-6.7.ebuild b/sys-apps/coreutils/coreutils-6.7.ebuild
new file mode 100644 (file)
index 0000000..0f43888
--- /dev/null
@@ -0,0 +1,150 @@
+# 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.7.ebuild,v 1.1 2006/12/08 00:32:10 vapier Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="acl nls selinux static"
+RESTRICT="confcache"
+
+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"
+
+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"
+       else
+               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 acl) \
+               $(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
+}
diff --git a/sys-apps/coreutils/files/digest-coreutils-6.7 b/sys-apps/coreutils/files/digest-coreutils-6.7
new file mode 100644 (file)
index 0000000..bd0efe4
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 4e491d77b463c13c8054150dcce84e6b coreutils-6.7-patches-1.0.tar.bz2 32171
+RMD160 431ee64bfb8ec89f460b199aa3a42994d51ad990 coreutils-6.7-patches-1.0.tar.bz2 32171
+SHA256 8e665c1008514dc50795aaa02e26710812337c6a1704da31242af9cef8d8004c coreutils-6.7-patches-1.0.tar.bz2 32171
+MD5 a16465d0856cd011a1acc1c21040b7f4 coreutils-6.7.tar.bz2 5315342
+RMD160 593acd266431db1777505bd181a7ffe095774beb coreutils-6.7.tar.bz2 5315342
+SHA256 4d7027cc803682decdadf850095dce7e22cc08eba2b1283e16d0fb7a675ac1f0 coreutils-6.7.tar.bz2 5315342