summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-08-20 21:57:00 +0000
committerMike Frysinger <vapier@gentoo.org>2009-08-20 21:57:00 +0000
commit6b3b25911b55c8ad113e1165ecd0fe486c92bdfb (patch)
treefd3ef80a5212499a4ebb21e13d70b2d38ca327d2 /sys-apps
parentVersion bump, bug fix release. http://releases.xfce.org/feeds/project/exo (diff)
downloadhistorical-6b3b25911b55c8ad113e1165ecd0fe486c92bdfb.tar.gz
historical-6b3b25911b55c8ad113e1165ecd0fe486c92bdfb.tar.bz2
historical-6b3b25911b55c8ad113e1165ecd0fe486c92bdfb.zip
Version bump.
Package-Manager: portage-2.2_rc38/cvs/Linux x86_64
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/coreutils/ChangeLog7
-rw-r--r--sys-apps/coreutils/Manifest15
-rw-r--r--sys-apps/coreutils/coreutils-7.5.ebuild145
3 files changed, 165 insertions, 2 deletions
diff --git a/sys-apps/coreutils/ChangeLog b/sys-apps/coreutils/ChangeLog
index baa667efb2e9..b24d3b357c2e 100644
--- a/sys-apps/coreutils/ChangeLog
+++ b/sys-apps/coreutils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/coreutils
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.260 2009/08/19 16:54:22 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.261 2009/08/20 21:57:00 vapier Exp $
+
+*coreutils-7.5 (20 Aug 2009)
+
+ 20 Aug 2009; Mike Frysinger <vapier@gentoo.org> +coreutils-7.5.ebuild:
+ Version bump.
19 Aug 2009; Jeroen Roovers <jer@gentoo.org> coreutils-7.4.ebuild:
Stable for HPPA (bug #281699).
diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
index 6c60ad4815a1..f96d37caaf13 100644
--- a/sys-apps/coreutils/Manifest
+++ b/sys-apps/coreutils/Manifest
@@ -1,11 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST coreutils-7.1-patches-3.tar.lzma 7634 RMD160 4e8887cd7af4c9a58909cc5fabe427d0d2160dda SHA1 f1a1850ba22fe8712169d95f60df23ce5fe1d6f2 SHA256 d25d78ff014d45bab81ff5b39eee634fceb6129a2f8fe03448d34c7f964ae40c
DIST coreutils-7.1.tar.gz 9533070 RMD160 e2ef184ca0917c38bec8a54b858862f9d02449c5 SHA1 e5f57aed49da5d2e1c7833f7b7cc31aa96fe8a4e SHA256 813cb19fa19a885f342664109c7c5810f0081b624ff317bba8d1b6ccd83c2a05
DIST coreutils-7.2-patches-2.tar.lzma 7672 RMD160 a3e6fa01876f0087a9f4a3a74140d28b244e536a SHA1 c008f547cd58132b28ded0b89c0e1f7fb10e98e2 SHA256 e15a09e165403d0f163abd3604dcc0e605a6735ac839fafc111265fc3f4954ba
DIST coreutils-7.2.tar.gz 9664198 RMD160 fbe573b70bafd5d482e519383c0b86aaaa48a665 SHA1 76b10f5b8cfab62d549c3dd9647425887e5ea238 SHA256 dd77bfec92e5a3ad48abd8a5bda3f8d40149c4e24744e4173abc3cc6a731fdb2
DIST coreutils-7.4-patches-1.tar.lzma 7658 RMD160 b15e0775320e378631fa683301fb311efc5eaa16 SHA1 fc9fd5622de13a1441c9df8f4839088f06f3051e SHA256 7bdcffc0c4a3d95f9947b06a0e911787ea71d511bce79586a1a60bac037f37b7
DIST coreutils-7.4.tar.gz 9708910 RMD160 a7f53f50154e8473d1d859468c8e02fa85c3c6bb SHA1 cfb399b1d121abde8c1b68b2651a645b7170547f SHA256 613c57d0df3616c2684a1e6a59259439b72dbc5eea4b90ac16bde714fefb7c83
+DIST coreutils-7.5-patches-1.tar.lzma 7591 RMD160 ec69e54b41874c425c40695f5dcbc87f785fe4e0 SHA1 536f93c57cbd2bb51159805e5f6380125f270479 SHA256 f3c7070f4dc40eac391427ddc625f4f9cb0f16b5c065c0d4639d9b6969da748e
+DIST coreutils-7.5.tar.gz 9956013 RMD160 17785526e6820705aa5790454af1bd3d0d4104aa SHA1 97e1486a33bf42eb7686d8f131c80ab533f1f683 SHA256 341f49b9434f83ca9a8b6c2266813092ef08a5fca25f15dcc1a0ba82fc18c3c1
EBUILD coreutils-7.1.ebuild 4196 RMD160 7f086153113b3d7ac3ecebe9803c0fd4b6837f75 SHA1 72a6a74c7f3932c4af09b09dfc16e455b9391b90 SHA256 9d508a650dc85adee27dc7395fef8df26d600fb8234821e76d7a3e854f5e2f4f
EBUILD coreutils-7.2.ebuild 4207 RMD160 6614a22eb41dc4e504615a8edaf44fb0f865ba11 SHA1 1eaf22ab2cc4d15a7443d5026227d96c294e82c3 SHA256 5c2a3bf1cc0d0e6298f98379f6d8c2e886f68e20b702e2f67116cee414d6ce8b
EBUILD coreutils-7.4.ebuild 4501 RMD160 f031f5645e823a664768543c6488f4e480f96fa4 SHA1 f1a7808e7ead13cbf93fcfb4cea935cb7a197c37 SHA256 5ee75e98ab2413bf7816facb6489cc51c1274f3a0b8da8b9e918e40a81b1373b
-MISC ChangeLog 38820 RMD160 c53d97c764f8b0ac9ecfbd5410e71872e2938194 SHA1 42b7361394f4a0e6a3557ea964a4c4a71a88c8a9 SHA256 3c56c2f68222a2bd13a3b9bcc0783e38ff327756159aa348e70260edde38cac4
+EBUILD coreutils-7.5.ebuild 4507 RMD160 4da07a8dc54a8266567b69cc81529e2e22bb6c99 SHA1 1004787c2b7957404a7b30524ac1977745af33f3 SHA256 e54dd60b92aa2c2a3c86342749d12056f164e7ea8ea350d414a173986ba21406
+MISC ChangeLog 38943 RMD160 4c0d3ea7bcb8693ce7d0d4c6dba62c7fc3e577f7 SHA1 03a56f5bc95ef993c87a4a236f18b49fbdf48ff6 SHA256 c64f7494a5636cd60ace20ea33ccf9215d876f8dc8b45bf93c7eca36e3d57587
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkqNxq8ACgkQlPl3HsVfCDqOCgCfUah63/LNsrZRtYOZCcfylimc
+9ZMAnjm6/wtf5OMMDMxhabx8Cg5nsyro
+=jWb9
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/coreutils/coreutils-7.5.ebuild b/sys-apps/coreutils/coreutils-7.5.ebuild
new file mode 100644
index 000000000000..c523ee161804
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-7.5.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-7.5.ebuild,v 1.1 2009/08/20 21:57:00 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 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 app-arch/lzma-utils )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ if ! use vanilla ; then
+ 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 \
+ --enable-install-program="arch" \
+ --enable-no-install-program="groups,hostname,kill,su,uptime" \
+ --enable-largefile \
+ $(use_enable caps 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"
+
+ # /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
+}