diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-12-23 01:11:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-12-23 01:11:00 +0000 |
commit | 780a97972218104b1458b65c1fe452c6adf2b227 (patch) | |
tree | 853c8b2017905ca7528b8c62a4b82e9119a38e35 /sys-apps/coreutils | |
parent | old (diff) | |
download | historical-780a97972218104b1458b65c1fe452c6adf2b227.tar.gz historical-780a97972218104b1458b65c1fe452c6adf2b227.tar.bz2 historical-780a97972218104b1458b65c1fe452c6adf2b227.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha8/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 | 18 | ||||
-rw-r--r-- | sys-apps/coreutils/coreutils-8.8.ebuild | 154 |
3 files changed, 164 insertions, 15 deletions
diff --git a/sys-apps/coreutils/ChangeLog b/sys-apps/coreutils/ChangeLog index d0523aad616e..38f9bbd8a40a 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.313 2010/12/22 01:36:08 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.314 2010/12/23 01:11:00 vapier Exp $ + +*coreutils-8.8 (23 Dec 2010) + + 23 Dec 2010; Mike Frysinger <vapier@gentoo.org> +coreutils-8.8.ebuild: + Version bump. 22 Dec 2010; Markos Chandras <hwoarang@gentoo.org> coreutils-8.7.ebuild: Stable on amd64 wrt bug #348471 diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest index 4ff285b58765..5f764d94270e 100644 --- a/sys-apps/coreutils/Manifest +++ b/sys-apps/coreutils/Manifest @@ -1,23 +1,13 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - 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 -DIST coreutils-8.6-patches-1.tar.xz 4496 RMD160 c7808fde7a9cd81139b7e2f516903af2e1ea818a SHA1 9610d9d7e0581a39e8187153e107906132e963c4 SHA256 32546755e22f17bac71697a36635c648d06c5f9f9033b70047e96d27ba6800e5 -DIST coreutils-8.6.tar.xz 4662112 RMD160 bf941a6e96ed4e25296c4a8dcaa9a47f295ee1a8 SHA1 838c623a8763370cc3aa309b171e44e08f4f1bb9 SHA256 78355c37dfeb9d2df1413caee5832d3ac561d1c54debee3fbfc9afbd87f5ed41 DIST coreutils-8.7-patches-1.tar.xz 4496 RMD160 bbd983bbe52d933d582e59372b2cad97ac6a895b SHA1 68527e017542e76da612d25f79db894aba867786 SHA256 4d428712bf911ec01d12a64c65335b30a4a60cabeb24ece503c2ff8208129277 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 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.6.ebuild 5032 RMD160 db86a47935e5094cd691aabd53a23d431db99dfd SHA1 58f0387ca92c4faf19ef424596b0ab043f40e732 SHA256 516138add6e17d7dea2d00f9949b5ad3c851f9644ea528051010c03d09b678a3 EBUILD coreutils-8.7.ebuild 5141 RMD160 963e0ed06b04f7c013c939a11ef9c496b1879ec6 SHA1 6b8a6bacc814f28360e8d3568f6b849916006839 SHA256 55fe110af5ea322eb0dfccb94eeb431fdbd21fd142a4933bfb37859758687cdc -MISC ChangeLog 45245 RMD160 e6f1f273b5106cc4065de63823a9483e715db10e SHA1 1d979a6db782a21300c3f5707965e34eb3d3c6c2 SHA256 76e9d7cbc9dcbe4965640fc888073fcf2e8b34951b0306f0f959e7e0a47d870f +EBUILD coreutils-8.8.ebuild 5145 RMD160 e66c157ddb649bb6fee4d45aa15bbcb262ee2f82 SHA1 d9c56eabce12de75136f88022a0d7d0db1b22f09 SHA256 1c8109eec38ae771ed1d542b926e1f10b28ca07dfedfc4ade50540856c7cc2b2 +MISC ChangeLog 45363 RMD160 28049fe9d2e987ccdc152ba1aad870ad829ce192 SHA1 8667fe2bea7a77c97e76f615e1544a2ba90cce0a SHA256 3164f59350a013de4a33e71af477f0b3866a83d1ebe02584a75175e5c43f6491 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) - -iEYEARECAAYFAk0RY44ACgkQ9/cejkQaxBDDswCdEsf1QRG8KgJKYMFf2H7DWu/u -EZsAn0KpgQvnyQHbwDTj90duaR4XSJfl -=uar5 ------END PGP SIGNATURE----- diff --git a/sys-apps/coreutils/coreutils-8.8.ebuild b/sys-apps/coreutils/coreutils-8.8.ebuild new file mode 100644 index 000000000000..fc2fbac35252 --- /dev/null +++ b/sys-apps/coreutils/coreutils-8.8.ebuild @@ -0,0 +1,154 @@ +# 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.8.ebuild,v 1.1 2010/12/23 01:11:00 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 + >=sys-libs/ncurses-5.3-r5" +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 +} |