summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-01-04 19:19:38 +0000
committerMike Frysinger <vapier@gentoo.org>2011-01-04 19:19:38 +0000
commit2db51738e146b518b1d563db3044760058d445e6 (patch)
tree24761cdcb5f521494a2e72940a4d58e07b5a0f15 /sys-apps/coreutils
parentRemove old ebuild (diff)
downloadhistorical-2db51738e146b518b1d563db3044760058d445e6.tar.gz
historical-2db51738e146b518b1d563db3044760058d445e6.tar.bz2
historical-2db51738e146b518b1d563db3044760058d445e6.zip
Version bump.
Package-Manager: portage-2.2.0_alpha10/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/coreutils')
-rw-r--r--sys-apps/coreutils/ChangeLog7
-rw-r--r--sys-apps/coreutils/Manifest15
-rw-r--r--sys-apps/coreutils/coreutils-8.9.ebuild153
3 files changed, 173 insertions, 2 deletions
diff --git a/sys-apps/coreutils/ChangeLog b/sys-apps/coreutils/ChangeLog
index f66c5e23e099..48309f3d0e16 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.317 2011/01/03 17:03:11 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.318 2011/01/04 19:19:38 vapier Exp $
+
+*coreutils-8.9 (04 Jan 2011)
+
+ 04 Jan 2011; Mike Frysinger <vapier@gentoo.org> +coreutils-8.9.ebuild:
+ Version bump.
03 Jan 2011; Michael Weber <xmw@gentoo.org> coreutils-8.7.ebuild:
sparc stable (bug 348471)
diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 0f874405c549..f8e2b6e8ca41 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
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
@@ -5,9 +8,19 @@ DIST coreutils-8.7-patches-1.tar.xz 4496 RMD160 bbd983bbe52d933d582e59372b2cad97
DIST coreutils-8.7.tar.xz 4709556 RMD160 9263aa82a6663ff55d38cbaf245bbaf82cbef91c SHA1 73d55feaa36849c99a17139817e515b59a25203a SHA256 6701979aeccbca0b197718c00754aaf4a801f9ee7419edf14b829d20b9f8076b
DIST coreutils-8.8-patches-1.tar.xz 4500 RMD160 5431d0dac4fb29a7c5aa0df1bdbc99a0067ffb33 SHA1 3e48e20a5a8ef673fdf0ea41860a75a74528a7cd SHA256 6969f31ce6eb3d76516def06f59b9efbd791f045d55ad375abccc72a8624bf11
DIST coreutils-8.8.tar.xz 4729080 RMD160 ee281ea7ccc4e196968ee0f60d6cf27c51bad15b SHA1 240fcece92463af3d7a7e68422341957185055e0 SHA256 a92ed61ae68408a7f5eaa09db54333014a87295d05ab5a96ce2d55e3144b6336
+DIST coreutils-8.9-patches-1.tar.xz 4496 RMD160 b23458ba140eae23ae0bc4cefb4f7904e71db158 SHA1 07f0bffc2053da7487b13b33768c6ef84a1e8a90 SHA256 d4949932ee5b582d3802d11afaccdea7a6f29c97f0204c1b66b7b54b72509ae4
+DIST coreutils-8.9.tar.xz 4726864 RMD160 c97cbcc827af209575823ae1cc0d454aa8ff8b6e SHA1 8cb711149daaa3af0d285fa83a4e9727912fd3a9 SHA256 ca22d06effd0c8bc506a7c57932d0ed08d7dbc75629a92264d67d34982f2b5b7
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
-MISC ChangeLog 45722 RMD160 076baa71e3fab91ecbf459ee779d116221baaabf SHA1 b703406ab53fc022977180ac597f5c0d5d192145 SHA256 334e0d3bcdeac07853c4032329118c7dd40ce980a2e248617e267266bdad98c5
+EBUILD coreutils-8.9.ebuild 5118 RMD160 3a093bac74854ca289376a678056b104b1ac6960 SHA1 75b03d8636b14b730331f0d5003d373e62aea659 SHA256 ba38db2a7a071493aaa638c55c07515953d2a84540df9b5a405324e22b582741
+MISC ChangeLog 45845 RMD160 3cc5acefb27c25756c2c67f8f1b6b6971cc670df SHA1 1e65b74e2d88537d1a68cbb720b51064229fd5b0 SHA256 7726871feceb57ee52d653c252cc4af23fc93d9872f2b43c0c93c5b526cc39d9
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iF4EAREIAAYFAk0jcqMACgkQaC/OocHi7JZmSgD5AcvKVS8YuaPRT1WDRhMLpT4q
+FtF+ztzBTWOMHnwpvoMA/ixkUACU7h15WpFWVU1wVsDVHB+eZsYdsJt74jshYv5J
+=Xhk8
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/coreutils/coreutils-8.9.ebuild b/sys-apps/coreutils/coreutils-8.9.ebuild
new file mode 100644
index 000000000000..810ff7ffbaad
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.9.ebuild
@@ -0,0 +1,153 @@
+# 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.9.ebuild,v 1.1 2011/01/04 19:19:38 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
+}