summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-07 19:45:58 +0000
committerMike Frysinger <vapier@gentoo.org>2009-05-07 19:45:58 +0000
commita6f3cd94e307cae98f58c0a3fe3c6fae73b5be9a (patch)
tree27821ebc4e2dee366b0fef1dca66f8a0b04753ec /sys-apps
parentRemove kde 4.2.3 mask (diff)
downloadhistorical-a6f3cd94e307cae98f58c0a3fe3c6fae73b5be9a.tar.gz
historical-a6f3cd94e307cae98f58c0a3fe3c6fae73b5be9a.tar.bz2
historical-a6f3cd94e307cae98f58c0a3fe3c6fae73b5be9a.zip
old
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/coreutils/coreutils-6.10-r1.ebuild150
-rw-r--r--sys-apps/coreutils/coreutils-6.10-r2.ebuild150
-rw-r--r--sys-apps/coreutils/coreutils-6.10-r3.ebuild155
-rw-r--r--sys-apps/coreutils/coreutils-6.11.ebuild146
-rw-r--r--sys-apps/coreutils/coreutils-6.12-r1.ebuild150
-rw-r--r--sys-apps/coreutils/coreutils-6.12-r2.ebuild156
-rw-r--r--sys-apps/coreutils/coreutils-6.9-r1.ebuild157
-rw-r--r--sys-apps/coreutils/files/coreutils-6.10-selinux-opt.patch39
-rw-r--r--sys-apps/coreutils/files/gnulib-futimens-rename.patch39
-rw-r--r--sys-apps/coreutils/files/gnulib-utimens-update.patch113
10 files changed, 0 insertions, 1255 deletions
diff --git a/sys-apps/coreutils/coreutils-6.10-r1.ebuild b/sys-apps/coreutils/coreutils-6.10-r1.ebuild
deleted file mode 100644
index 7a2916cc2492..000000000000
--- a/sys-apps/coreutils/coreutils-6.10-r1.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-6.10-r1.ebuild,v 1.12 2008/04/19 22:09:24 vapier Exp $
-
-inherit eutils flag-o-matic toolchain-funcs autotools
-
-PATCH_VER="1.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.lzma
- mirror://gnu/${PN}/${P}.tar.lzma
- mirror://gentoo/${P}.tar.lzma
- mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2
- http://dev.gentoo.org/~vapier/dist/${P}-patches-${PATCH_VER}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
-IUSE="acl nls selinux static xattr vanilla"
-
-RDEPEND="selinux? ( sys-libs/libselinux )
- acl? ( sys-apps/acl )
- xattr? ( sys-apps/attr )
- nls? ( >=sys-devel/gettext-0.15 )
- !<sys-apps/util-linux-2.13
- !net-mail/base64
- !sys-apps/mktemp
- >=sys-libs/ncurses-5.3-r5"
-DEPEND="${RDEPEND}
- app-arch/lzma-utils
- >=sys-devel/automake-1.10.1
- >=sys-devel/autoconf-2.61
- >=sys-devel/m4-1.4-r1"
-
-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}"
-
- 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.
- touch man/*.1
- # There's no reason for this crap to use the private version
- sed -i 's:__mempcpy:mempcpy:g' lib/*.c
-
- use vanilla || 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=/usr/libexec/gnu"
- if echo "#include <regex.h>" | $(tc-getCPP) > /dev/null ; then
- myconf="${myconf} --without-included-regex"
- fi
-
- # cross-compile workaround #177061
- [[ ${CHOST} == *-linux* ]] && export fu_cv_sys_stat_statvfs=yes
-
- 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 nls) \
- $(use_enable acl) \
- $(use_enable xattr) \
- ${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 -k check || die "make check failed"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
- rm -f "${D}"/usr/lib/charset.alias
- dodoc AUTHORS ChangeLog* NEWS README* THANKS TODO
-
- insinto /etc
- newins src/dircolors.hin DIR_COLORS || die
-
- # workaround bug in build system where `group` does not
- # work with --enable-no-install-program configure option
- rm "${D}"/usr/bin/groups "${D}"/usr/share/man/man1/groups.1 || 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."
-}
diff --git a/sys-apps/coreutils/coreutils-6.10-r2.ebuild b/sys-apps/coreutils/coreutils-6.10-r2.ebuild
deleted file mode 100644
index b4c56f7813f1..000000000000
--- a/sys-apps/coreutils/coreutils-6.10-r2.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-6.10-r2.ebuild,v 1.11 2008/06/22 15:31:02 vapier Exp $
-
-inherit eutils flag-o-matic toolchain-funcs autotools
-
-PATCH_VER="1.3"
-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.lzma
- mirror://gnu/${PN}/${P}.tar.lzma
- mirror://gentoo/${P}.tar.lzma
- 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 nls selinux static xattr vanilla"
-
-RDEPEND="selinux? ( sys-libs/libselinux )
- acl? ( sys-apps/acl )
- xattr? ( sys-apps/attr )
- nls? ( >=sys-devel/gettext-0.15 )
- !<sys-apps/util-linux-2.13
- !net-mail/base64
- !sys-apps/mktemp
- >=sys-libs/ncurses-5.3-r5"
-DEPEND="${RDEPEND}
- app-arch/lzma-utils
- >=sys-devel/automake-1.10.1
- >=sys-devel/autoconf-2.61
- >=sys-devel/m4-1.4-r1"
-
-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}"
-
- 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.
- touch man/*.1
- # There's no reason for this crap to use the private version
- sed -i 's:__mempcpy:mempcpy:g' lib/*.c
-
- use vanilla || 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=/usr/libexec/gnu"
- if echo "#include <regex.h>" | $(tc-getCPP) > /dev/null ; then
- myconf="${myconf} --without-included-regex"
- fi
-
- # cross-compile workaround #177061
- [[ ${CHOST} == *-linux* ]] && export fu_cv_sys_stat_statvfs=yes
-
- 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 nls) \
- $(use_enable acl) \
- $(use_enable xattr) \
- ${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 -k check || die "make check failed"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
- rm -f "${D}"/usr/lib/charset.alias
- dodoc AUTHORS ChangeLog* NEWS README* THANKS TODO
-
- insinto /etc
- newins src/dircolors.hin DIR_COLORS || die
-
- # workaround bug in build system where `group` does not
- # work with --enable-no-install-program configure option
- rm "${D}"/usr/bin/groups "${D}"/usr/share/man/man1/groups.1 || 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."
-}
diff --git a/sys-apps/coreutils/coreutils-6.10-r3.ebuild b/sys-apps/coreutils/coreutils-6.10-r3.ebuild
deleted file mode 100644
index cb0cf28cadd3..000000000000
--- a/sys-apps/coreutils/coreutils-6.10-r3.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-6.10-r3.ebuild,v 1.1 2008/10/16 03:06:16 robbat2 Exp $
-
-inherit eutils flag-o-matic toolchain-funcs autotools
-
-PATCH_VER="1.3"
-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.lzma
- mirror://gnu/${PN}/${P}.tar.lzma
- mirror://gentoo/${P}.tar.lzma
- 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 nls selinux static xattr vanilla"
-
-RDEPEND="selinux? ( sys-libs/libselinux )
- acl? ( sys-apps/acl )
- xattr? ( sys-apps/attr )
- nls? ( >=sys-devel/gettext-0.15 )
- !<sys-apps/util-linux-2.13
- !net-mail/base64
- !sys-apps/mktemp
- >=sys-libs/ncurses-5.3-r5"
-DEPEND="${RDEPEND}
- app-arch/lzma-utils
- >=sys-devel/automake-1.10.1
- >=sys-devel/autoconf-2.61
- >=sys-devel/m4-1.4-r1"
-
-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}"
-
- if ! use vanilla ; then
- EPATCH_SUFFIX="patch" \
- PATCHDIR="${WORKDIR}/patch" \
- EPATCH_EXCLUDE="001_all_coreutils-gen-progress-bar.patch" \
- epatch
- fi
-
- #Fix bug 230073
- # Do not blindly include libselinux
- epatch "${FILESDIR}/${PN}"-6.10-selinux-opt.patch
-
- # 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.
- touch man/*.1
- # There's no reason for this crap to use the private version
- sed -i 's:__mempcpy:mempcpy:g' lib/*.c
-
- use vanilla || 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=/usr/libexec/gnu"
- if echo "#include <regex.h>" | $(tc-getCPP) > /dev/null ; then
- myconf="${myconf} --without-included-regex"
- fi
-
- # cross-compile workaround #177061
- [[ ${CHOST} == *-linux* ]] && export fu_cv_sys_stat_statvfs=yes
-
- 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 nls) \
- $(use_enable acl) \
- $(use_enable xattr) \
- $(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 -k check || die "make check failed"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
- rm -f "${D}"/usr/lib/charset.alias
- dodoc AUTHORS ChangeLog* NEWS README* THANKS TODO
-
- insinto /etc
- newins src/dircolors.hin DIR_COLORS || die
-
- # workaround bug in build system where `group` does not
- # work with --enable-no-install-program configure option
- rm "${D}"/usr/bin/groups "${D}"/usr/share/man/man1/groups.1 || 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."
-}
diff --git a/sys-apps/coreutils/coreutils-6.11.ebuild b/sys-apps/coreutils/coreutils-6.11.ebuild
deleted file mode 100644
index 9239f4a54ad0..000000000000
--- a/sys-apps/coreutils/coreutils-6.11.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-6.11.ebuild,v 1.1 2008/04/19 22:20:22 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.lzma
- mirror://gnu/${PN}/${P}.tar.lzma
- mirror://gentoo/${P}.tar.lzma
- 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 nls selinux static xattr vanilla"
-
-RDEPEND="selinux? ( sys-libs/libselinux )
- acl? ( sys-apps/acl )
- xattr? ( sys-apps/attr )
- nls? ( >=sys-devel/gettext-0.15 )
- !<sys-apps/util-linux-2.13
- !net-mail/base64
- !sys-apps/mktemp
- >=sys-libs/ncurses-5.3-r5"
-DEPEND="${RDEPEND}
- app-arch/lzma-utils
- >=sys-devel/automake-1.10.1
- >=sys-devel/autoconf-2.61
- >=sys-devel/m4-1.4-r1"
-
-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}"
-
- 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.
- touch man/*.1
- # There's no reason for this crap to use the private version
- sed -i 's:__mempcpy:mempcpy:g' lib/*.c
-
- use vanilla || 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=/usr/libexec/gnu"
- if echo "#include <regex.h>" | $(tc-getCPP) > /dev/null ; then
- myconf="${myconf} --without-included-regex"
- fi
-
- # cross-compile workaround #177061
- [[ ${CHOST} == *-linux* ]] && export fu_cv_sys_stat_statvfs=yes
-
- 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 nls) \
- $(use_enable acl) \
- $(use_enable xattr) \
- ${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 -k check || die "make check failed"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
- rm -f "${D}"/usr/lib/charset.alias
- 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."
-}
diff --git a/sys-apps/coreutils/coreutils-6.12-r1.ebuild b/sys-apps/coreutils/coreutils-6.12-r1.ebuild
deleted file mode 100644
index 95dde5a74b82..000000000000
--- a/sys-apps/coreutils/coreutils-6.12-r1.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-6.12-r1.ebuild,v 1.1 2008/07/27 19:39:23 loki_val 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.lzma
- mirror://gnu/${PN}/${P}.tar.lzma
- mirror://gentoo/${P}.tar.lzma
- 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 nls selinux static xattr vanilla"
-
-RDEPEND="selinux? ( sys-libs/libselinux )
- acl? ( sys-apps/acl )
- xattr? ( sys-apps/attr )
- nls? ( >=sys-devel/gettext-0.15 )
- !<sys-apps/util-linux-2.13
- !net-mail/base64
- !sys-apps/mktemp
- >=sys-libs/ncurses-5.3-r5"
-DEPEND="${RDEPEND}
- app-arch/lzma-utils
- >=sys-devel/automake-1.10.1
- >=sys-devel/autoconf-2.61
- >=sys-devel/m4-1.4-r1"
-
-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}"
-
- if ! use vanilla ; then
- EPATCH_SUFFIX="patch" \
- PATCHDIR="${WORKDIR}/patch" \
- EPATCH_EXCLUDE="001_all_coreutils-gen-progress-bar.patch" \
- epatch
- fi
-
- #Fix bug 224483
- #sys-apps/coreutils-6.12 - touch uses unknown system call utimensat
- epatch "${FILESDIR}"/gnulib-utimens-update.patch
-
- # 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.
- touch man/*.1
- # There's no reason for this crap to use the private version
- sed -i 's:__mempcpy:mempcpy:g' lib/*.c
-
- use vanilla || 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=/usr/libexec/gnu"
- if echo "#include <regex.h>" | $(tc-getCPP) > /dev/null ; then
- myconf="${myconf} --without-included-regex"
- fi
-
- # cross-compile workaround #177061
- [[ ${CHOST} == *-linux* ]] && export fu_cv_sys_stat_statvfs=yes
-
- 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 nls) \
- $(use_enable acl) \
- $(use_enable xattr) \
- ${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 -k check || die "make check failed"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
- rm -f "${D}"/usr/lib/charset.alias
- 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."
-}
diff --git a/sys-apps/coreutils/coreutils-6.12-r2.ebuild b/sys-apps/coreutils/coreutils-6.12-r2.ebuild
deleted file mode 100644
index 89832d7144b2..000000000000
--- a/sys-apps/coreutils/coreutils-6.12-r2.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-6.12-r2.ebuild,v 1.2 2008/11/27 18:38:13 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.lzma
- mirror://gnu/${PN}/${P}.tar.lzma
- mirror://gentoo/${P}.tar.lzma
- 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 nls selinux static xattr vanilla"
-
-RDEPEND="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
- >=sys-libs/ncurses-5.3-r5"
-DEPEND="${RDEPEND}
- app-arch/lzma-utils
- >=sys-devel/automake-1.10.1
- >=sys-devel/autoconf-2.61
- >=sys-devel/m4-1.4-r1"
-
-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}"
-
- if ! use vanilla ; then
- EPATCH_SUFFIX="patch" \
- PATCHDIR="${WORKDIR}/patch" \
- EPATCH_EXCLUDE="001_all_coreutils-gen-progress-bar.patch" \
- epatch
- fi
-
- #Fix bug 224483
- #sys-apps/coreutils-6.12 - touch uses unknown system call utimensat
- epatch "${FILESDIR}"/gnulib-utimens-update.patch
-
- #Fix bug 230073
- # Do not blindly include libselinux
- epatch "${FILESDIR}/${PN}"-6.10-selinux-opt.patch
-
- # 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.
- touch man/*.1
- # There's no reason for this crap to use the private version
- sed -i 's:__mempcpy:mempcpy:g' lib/*.c
-
- use vanilla || 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=/usr/libexec/gnu"
- if echo "#include <regex.h>" | $(tc-getCPP) > /dev/null ; then
- myconf="${myconf} --without-included-regex"
- fi
-
- # cross-compile workaround #177061
- [[ ${CHOST} == *-linux* ]] && export fu_cv_sys_stat_statvfs=yes
-
- 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 nls) \
- $(use_enable acl) \
- $(use_enable xattr) \
- $(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 -k check || die "make check failed"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
- rm -f "${D}"/usr/lib/charset.alias
- 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."
-}
diff --git a/sys-apps/coreutils/coreutils-6.9-r1.ebuild b/sys-apps/coreutils/coreutils-6.9-r1.ebuild
deleted file mode 100644
index 12b9f9229fec..000000000000
--- a/sys-apps/coreutils/coreutils-6.9-r1.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-6.9-r1.ebuild,v 1.19 2008/02/23 04:15:50 vapier Exp $
-
-inherit eutils flag-o-matic toolchain-funcs autotools
-
-PATCH_VER="1.3"
-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 xattr"
-
-RDEPEND="selinux? ( sys-libs/libselinux )
- acl? ( sys-apps/acl )
- xattr? ( sys-apps/attr )
- nls? ( >=sys-devel/gettext-0.15 )
- !net-mail/base64
- >=sys-libs/ncurses-5.3-r5"
-DEPEND="${RDEPEND}
- >=sys-devel/automake-1.10
- >=sys-devel/autoconf-2.61
- >=sys-devel/m4-1.4-r1"
-
-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}"
-
- epatch "${FILESDIR}"/gnulib-futimens-rename.patch #180764
- sed -i 's:\<futimens\>:gl_futimens:' src/{copy,touch}.c
-
- 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
- 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
- chmod a+rx tests/ls/x-option
-
- # 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.
- 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=/usr/libexec/gnu"
- if echo "#include <regex.h>" | $(tc-getCPP) > /dev/null ; then
- myconf="${myconf} --without-included-regex"
- fi
-
- # cross-compile workaround #177061
- [[ ${CHOST} == *-linux* ]] && export fu_cv_sys_stat_statvfs=yes
-
- use static && append-ldflags -static
- econf \
- --enable-largefile \
- $(use_enable nls) \
- $(use_enable acl) \
- $(use_enable xattr) \
- $(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() {
- emake 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}"/usr/bin/{kill,uptime} # procps
- rm "${D}"/usr/bin/{groups,su} # shadow
- rm "${D}"/usr/bin/hostname # net-tools
- rm "${D}"/usr/share/man/man1/{groups,kill,hostname,su,uptime}.1
-
- insinto /etc
- newins src/dircolors.hin DIR_COLORS
-
- 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
- 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."
-}
diff --git a/sys-apps/coreutils/files/coreutils-6.10-selinux-opt.patch b/sys-apps/coreutils/files/coreutils-6.10-selinux-opt.patch
deleted file mode 100644
index 3c03f8e7ab62..000000000000
--- a/sys-apps/coreutils/files/coreutils-6.10-selinux-opt.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Disable automagical building of stuff with libselinux.
-
-Gentoo-Bug: 230073
-Acked-by: Robin H. Johnson <robbat2@gentoo.org>
-
---- coreutils-6.10/m4/gnulib-comp.m4.orig 2008-07-06 18:44:54.000000000 +0200
-+++ coreutils-6.10/m4/gnulib-comp.m4 2008-07-06 20:17:37.000000000 +0200
-@@ -263,16 +263,25 @@
- gl_SAVEWD
- # FIXME: put this in an .m4 file?
- # For runcon.
-- AC_CHECK_HEADERS([selinux/flask.h])
-- AC_LIBOBJ([selinux-at])
-- ac_save_LIBS="$LIBS"
-+ AC_LIBOBJ([selinux-at])
-+ AC_ARG_ENABLE([selinux],
-+ AC_HELP_STRING([--disable-selinux], [disable support for SELinux]),
-+ , [enable_selinux=auto])
-+ if test "x$enable_selinux" != "xno" ; then
-+ AC_CHECK_HEADERS([selinux/flask.h])
-+ ac_save_LIBS="$LIBS"
- AC_SEARCH_LIBS(setfilecon, selinux,
- [test "$ac_cv_search_setfilecon" = "none required" ||
- LIB_SELINUX=$ac_cv_search_setfilecon])
- AC_SUBST(LIB_SELINUX)
-- LIBS="$ac_save_LIBS"
-- gl_HEADERS_SELINUX_SELINUX_H
-- gl_HEADERS_SELINUX_CONTEXT_H
-+ LIBS="$ac_save_LIBS"
-+ gl_HEADERS_SELINUX_SELINUX_H
-+ gl_HEADERS_SELINUX_CONTEXT_H
-+ else
-+ AC_SUBST(LIB_SELINUX,"")
-+ AC_SUBST(SELINUX_CONTEXT_H,selinux/context.h)
-+ AC_SUBST(SELINUX_SELINUX_H,selinux/selinux.h)
-+ fi
- gl_FUNC_SETENV
- gl_STDLIB_MODULE_INDICATOR([setenv])
- gl_SETTIME
diff --git a/sys-apps/coreutils/files/gnulib-futimens-rename.patch b/sys-apps/coreutils/files/gnulib-futimens-rename.patch
deleted file mode 100644
index dfb5023b4b3c..000000000000
--- a/sys-apps/coreutils/files/gnulib-futimens-rename.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-http://lists.gnu.org/archive/html/bug-gnulib/2007-05/msg00089.html
-
-2007-05-19 Jim Meyering <jim@meyering.net>
-
- * lib/utimens.c (gl_futimens): Rename from futimens,
- now that glibc-2.6 declares futimens.
- * lib/utimens.h: Likewise.
-
-diff --git a/lib/utimens.c b/lib/utimens.c
-index 71bc510..7e3175a 100644
---- a/lib/utimens.c
-+++ b/lib/utimens.c
-@@ -75,8 +75,8 @@ struct utimbuf
- Return 0 on success, -1 (setting errno) on failure. */
-
- int
--futimens (int fd ATTRIBUTE_UNUSED,
-- char const *file, struct timespec const timespec[2])
-+gl_futimens (int fd ATTRIBUTE_UNUSED,
-+ char const *file, struct timespec const timespec[2])
- {
- /* Some Linux-based NFS clients are buggy, and mishandle time stamps
- of files in NFS file systems in some cases. We have no
-@@ -185,5 +185,5 @@ futimens (int fd ATTRIBUTE_UNUSED,
- int
- utimens (char const *file, struct timespec const timespec[2])
- {
-- return futimens (-1, file, timespec);
-+ return gl_futimens (-1, file, timespec);
- }
-diff --git a/lib/utimens.h b/lib/utimens.h
-index 0097aaa..169521d 100644
---- a/lib/utimens.h
-+++ b/lib/utimens.h
-@@ -1,3 +1,3 @@
- #include <time.h>
--int futimens (int, char const *, struct timespec const [2]);
-+int gl_futimens (int, char const *, struct timespec const [2]);
- int utimens (char const *, struct timespec const [2]);
diff --git a/sys-apps/coreutils/files/gnulib-utimens-update.patch b/sys-apps/coreutils/files/gnulib-utimens-update.patch
deleted file mode 100644
index d3e3fec789b1..000000000000
--- a/sys-apps/coreutils/files/gnulib-utimens-update.patch
+++ /dev/null
@@ -1,113 +0,0 @@
---- coreutils-6.12/lib/utimens.c 2008-05-29 09:21:57.000000000 -0400
-+++ lib/utimens.c 2008-06-07 11:36:50.000000000 -0400
-@@ -96,20 +96,42 @@
- #endif
-
- /* POSIX 200x added two interfaces to set file timestamps with
-- nanosecond resolution. */
-+ nanosecond resolution. We provide a fallback for ENOSYS (for
-+ example, compiling against Linux 2.6.25 kernel headers and glibc
-+ 2.7, but running on Linux 2.6.18 kernel). */
- #if HAVE_UTIMENSAT
- if (fd < 0)
-- return utimensat (AT_FDCWD, file, timespec, 0);
-+ {
-+ int result = utimensat (AT_FDCWD, file, timespec, 0);
-+#ifdef __linux__
-+ /* Work around what might be a kernel bug:
-+ http://bugzilla.redhat.com/442352
-+ http://bugzilla.redhat.com/449910
-+ It appears that utimensat can mistakenly return 280 rather
-+ than 0 to indicate success.
-+ FIXME: remove in 2010 or whenever the offending kernels
-+ are no longer in common use. */
-+ if (0 < result)
-+ result = 0;
-+#endif
-+
-+ if (result == 0 || errno != ENOSYS)
-+ return result;
-+ }
- #endif
- #if HAVE_FUTIMENS
-- return futimens (fd, timespec);
--#else
-+ {
-+ int result = futimens (fd, timespec);
-+ if (result == 0 || errno != ENOSYS)
-+ return result;
-+ }
-+#endif
-
- /* The platform lacks an interface to set file timestamps with
- nanosecond resolution, so do the best we can, discarding any
- fractional part of the timestamp. */
- {
--# if HAVE_FUTIMESAT || HAVE_WORKING_UTIMES
-+#if HAVE_FUTIMESAT || HAVE_WORKING_UTIMES
- struct timeval timeval[2];
- struct timeval const *t;
- if (timespec)
-@@ -125,9 +147,9 @@
-
- if (fd < 0)
- {
--# if HAVE_FUTIMESAT
-+# if HAVE_FUTIMESAT
- return futimesat (AT_FDCWD, file, t);
--# endif
-+# endif
- }
- else
- {
-@@ -141,21 +163,21 @@
- worth optimizing, and who knows what other messed-up systems
- are out there? So play it safe and fall back on the code
- below. */
--# if HAVE_FUTIMESAT
-+# if HAVE_FUTIMESAT
- if (futimesat (fd, NULL, t) == 0)
- return 0;
--# elif HAVE_FUTIMES
-+# elif HAVE_FUTIMES
- if (futimes (fd, t) == 0)
- return 0;
--# endif
-+# endif
- }
--# endif /* HAVE_FUTIMESAT || HAVE_WORKING_UTIMES */
-+#endif /* HAVE_FUTIMESAT || HAVE_WORKING_UTIMES */
-
- if (!file)
- {
--# if ! (HAVE_FUTIMESAT || (HAVE_WORKING_UTIMES && HAVE_FUTIMES))
-+#if ! (HAVE_FUTIMESAT || (HAVE_WORKING_UTIMES && HAVE_FUTIMES))
- errno = ENOSYS;
--# endif
-+#endif
-
- /* Prefer EBADF to ENOSYS if both error numbers apply. */
- if (errno == ENOSYS)
-@@ -170,9 +192,9 @@
- return -1;
- }
-
--# if HAVE_WORKING_UTIMES
-+#if HAVE_WORKING_UTIMES
- return utimes (file, t);
--# else
-+#else
- {
- struct utimbuf utimbuf;
- struct utimbuf const *ut;
-@@ -187,9 +209,8 @@
-
- return utime (file, ut);
- }
--# endif /* !HAVE_WORKING_UTIMES */
-+#endif /* !HAVE_WORKING_UTIMES */
- }
--#endif /* !HAVE_FUTIMENS */
- }
-
- /* Set the access and modification time stamps of FILE to be