public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/heroxbd:master commit in: profiles/default/linux/arm/10.0/armv6j/developer/, net-analyzer/ssldump/files/, ...
@ 2013-09-30 14:03 Benda XU
  0 siblings, 0 replies; only message in thread
From: Benda XU @ 2013-09-30 14:03 UTC (permalink / raw
  To: gentoo-commits

commit:     ca8b722d736e84e4a21b7555b1ca0a905cb7693f
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 30 13:32:58 2013 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Sep 30 13:32:58 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/heroxbd.git;a=commit;h=ca8b722d

RAP update, for profiles and glibc

---
 .gitignore                                         |    2 +
 app-misc/pax-utils/ChangeLog                       |  593 +++++
 app-misc/pax-utils/Manifest                        |   19 +
 .../files/pax-utils-0.7-lddtree-prefix.patch       |   28 +
 app-misc/pax-utils/metadata.xml                    |   16 +
 app-misc/pax-utils/pax-utils-0.2.1.ebuild          |   29 +
 app-misc/pax-utils/pax-utils-0.2.2.ebuild          |   29 +
 app-misc/pax-utils/pax-utils-0.2.3.ebuild          |   30 +
 app-misc/pax-utils/pax-utils-0.3.0.ebuild          |   30 +
 app-misc/pax-utils/pax-utils-0.4.ebuild            |   30 +
 app-misc/pax-utils/pax-utils-0.5.ebuild            |   30 +
 app-misc/pax-utils/pax-utils-0.6.ebuild            |   38 +
 app-misc/pax-utils/pax-utils-0.7.ebuild            |   47 +
 cross-armv5tel-softfloat-linux-gnueabi/gdb         |    2 +-
 dev-java/ecj-gcj/files/ecj-gcj-3.5                 |    0
 dev-java/ecj-gcj/files/ecj-gcj-3.6                 |    0
 dev-lang/perl/ChangeLog                            | 2006 +++++++++++++++
 dev-lang/perl/Manifest                             |   86 +
 dev-lang/perl/files/eblits/common-v50160001.eblit  |   71 +
 .../perl/files/eblits/pkg_postinst-v50160001.eblit |   67 +
 .../perl/files/eblits/pkg_postrm-v50160001.eblit   |   12 +
 .../perl/files/eblits/pkg_setup-v50160001.eblit    |   69 +
 .../files/eblits/src_configure-v50160001.eblit     |  146 ++
 .../perl/files/eblits/src_install-v50160001.eblit  |   61 +
 .../perl/files/eblits/src_prepare-v50160001.eblit  |   72 +
 .../perl/files/eblits/src_test-v50160001.eblit     |   12 +
 .../perl/files/perl-5.10.1-cleanup-paths.patch     |  100 +
 dev-lang/perl/files/perl-5.10.1-hpux.patch         |   40 +
 dev-lang/perl/files/perl-5.12.3-aix-soname.patch   |   70 +
 dev-lang/perl/files/perl-5.12.3-interix.patch      |   21 +
 dev-lang/perl/files/perl-5.12.3-mint.patch         |  321 +++
 .../perl/files/perl-5.12.5-rehash-5.12.5.patch     |  164 ++
 .../perl/files/perl-5.14.1-cleanup-paths.patch     |  100 +
 .../perl/files/perl-5.8.7-MakeMaker-RUNPATH.patch  |   21 +
 .../files/perl-5.8.8-CAN-2005-0448-rmtree-2.patch  |  280 ++
 dev-lang/perl/files/perl-5.8.8-CVE-2008-1927.patch |  256 ++
 .../perl/files/perl-5.8.8-USE_MM_LD_RUN_PATH.patch |  111 +
 .../perl-5.8.8-asm-page-h-compile-failure.patch    |   12 +
 dev-lang/perl/files/perl-5.8.8-ccld-cflags.patch   |   33 +
 dev-lang/perl/files/perl-5.8.8-cplusplus.patch     |   22 +
 dev-lang/perl/files/perl-5.8.8-darwin-cc-ld.patch  |   22 +
 .../perl/files/perl-5.8.8-dragonfly-clean.patch    |  170 ++
 dev-lang/perl/files/perl-5.8.8-fbsdhints.patch     |   57 +
 .../files/perl-5.8.8-fix_file_path_chdir.patch     |   72 +
 .../perl/files/perl-5.8.8-gcc42-command-line.patch |   11 +
 dev-lang/perl/files/perl-5.8.8-lib32.patch         |   76 +
 dev-lang/perl/files/perl-5.8.8-lib64.patch         |   76 +
 .../perl/files/perl-5.8.8-libnet-hostname.patch    |   25 +
 dev-lang/perl/files/perl-5.8.8-links.patch         |   86 +
 .../perl/files/perl-5.8.8-makedepend-syntax.patch  |   11 +
 dev-lang/perl/files/perl-5.8.8-perlcc.patch        |   11 +
 dev-lang/perl/files/perl-5.8.8-reorder-INC.patch   |   93 +
 .../perl/files/perl-5.8.8-solaris-relocation.patch |   21 +
 dev-lang/perl/files/perl-5.8.8-solaris11.patch     |   14 +
 dev-lang/perl/files/perl-5.8.8-usr-local.patch     |   25 +
 dev-lang/perl/files/perl-5.8.8-utf8-boundary.patch |   57 +
 dev-lang/perl/files/perl-cwd-prefix.patch          |   15 +
 .../perl/files/perl-fix_h2ph_include_quote.patch   |   61 +
 dev-lang/perl/files/perl-h2ph-ansi-header.patch    |   11 +
 .../perl/files/perl-hppa-pa7200-configure.patch    |   11 +
 dev-lang/perl/files/perl-noksh.patch               |   16 +
 dev-lang/perl/files/perl-perldoc-emptydirs.patch   |   10 +
 dev-lang/perl/files/perl-picdl.patch               |   13 +
 dev-lang/perl/files/perl-prelink-lpthread.patch    |   11 +
 dev-lang/perl/files/perl-regexp-nossp.patch        |   11 +
 dev-lang/perl/metadata.xml                         |    9 +
 dev-lang/perl/patches/cwd.patch                    |   13 +
 dev-lang/perl/patches/perl.patch                   |   11 +
 dev-lang/perl/patches/series                       |    2 +
 dev-lang/perl/perl-5.10.1.ebuild                   |  610 +++++
 dev-lang/perl/perl-5.12.3-r1.ebuild                |  638 +++++
 dev-lang/perl/perl-5.12.4-r1.ebuild                |  634 +++++
 dev-lang/perl/perl-5.12.4-r2.ebuild                |  686 +++++
 dev-lang/perl/perl-5.12.4.ebuild                   |  638 +++++
 dev-lang/perl/perl-5.12.5.ebuild                   |  689 +++++
 dev-lang/perl/perl-5.14.1-r1.ebuild                |  674 +++++
 dev-lang/perl/perl-5.14.1.ebuild                   |  633 +++++
 dev-lang/perl/perl-5.14.2.ebuild                   |  715 ++++++
 dev-lang/perl/perl-5.16.0.ebuild                   |  115 +
 dev-lang/perl/perl-5.16.1.ebuild                   |  115 +
 dev-lang/perl/perl-5.16.2-r1.ebuild                |  116 +
 dev-lang/perl/perl-5.16.2.ebuild                   |  115 +
 dev-lang/perl/perl-5.16.3.ebuild                   |  116 +
 dev-lang/perl/perl-5.8.8-r8.ebuild                 |  698 +++++
 dev-lang/php/files/php-fpm-r4.init                 |    0
 dev-libs/mpfr/ChangeLog                            |  634 +++++
 dev-libs/mpfr/Manifest                             |   39 +
 dev-libs/mpfr/files/2.4.2/patch01                  |  184 ++
 dev-libs/mpfr/files/2.4.2/patch02                  |   71 +
 dev-libs/mpfr/files/2.4.2/patch03                  |   75 +
 dev-libs/mpfr/files/3.0.0/patch01                  |  220 ++
 dev-libs/mpfr/files/3.0.0/patch02                  |  377 +++
 dev-libs/mpfr/files/3.0.0/patch03                  |   88 +
 dev-libs/mpfr/files/3.0.1/patch01                  |  137 +
 dev-libs/mpfr/files/3.0.1/patch02                  |   76 +
 dev-libs/mpfr/files/3.0.1/patch03                  |  107 +
 dev-libs/mpfr/files/3.0.1/patch04                  |   47 +
 dev-libs/mpfr/files/3.1.0/patch01                  |   50 +
 dev-libs/mpfr/files/3.1.0/patch02                  |   96 +
 dev-libs/mpfr/files/3.1.0/patch03                  |  247 ++
 dev-libs/mpfr/files/3.1.0/patch04                  |  166 ++
 dev-libs/mpfr/files/3.1.0/patch05                  |   69 +
 dev-libs/mpfr/files/3.1.0/patch06                  |   45 +
 dev-libs/mpfr/files/3.1.0/patch07                  |  591 +++++
 dev-libs/mpfr/files/3.1.1/patch01                  |  235 ++
 dev-libs/mpfr/files/3.1.1/patch02                  |  170 ++
 .../ssldump => dev-libs/mpfr}/metadata.xml         |    3 +-
 dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild              |   45 +
 dev-libs/mpfr/mpfr-2.4.2_p3.ebuild                 |   51 +
 dev-libs/mpfr/mpfr-3.0.0_p3.ebuild                 |   59 +
 dev-libs/mpfr/mpfr-3.0.1.ebuild                    |   59 +
 dev-libs/mpfr/mpfr-3.0.1_p4-r1.ebuild              |   64 +
 dev-libs/mpfr/mpfr-3.0.1_p4.ebuild                 |   59 +
 dev-libs/mpfr/mpfr-3.1.0.ebuild                    |   69 +
 dev-libs/mpfr/mpfr-3.1.0_p7.ebuild                 |   69 +
 dev-libs/mpfr/mpfr-3.1.1.ebuild                    |   69 +
 dev-libs/mpfr/mpfr-3.1.1_p2.ebuild                 |   69 +
 dev-libs/mpfr/mpfr-3.1.2-r1.ebuild                 |   73 +
 dev-libs/mpfr/mpfr-3.1.2.ebuild                    |   72 +
 eclass/R-packages.eclass                           |   50 +
 eclass/toolchain.eclass                            |    4 +
 net-analyzer/ssldump/ChangeLog                     |   78 -
 net-analyzer/ssldump/Manifest                      |   10 -
 .../ssldump/files/ssldump-0.9-DLT_LINUX_SLL.patch  |   13 -
 .../files/ssldump-0.9-configure-dylib.patch        |   11 -
 .../ssldump/files/ssldump-0.9-libpcap-header.patch |   10 -
 .../ssldump/files/ssldump-0.9-makefile-fix.patch   |   21 -
 .../ssldump-0.9-openssl-0.9.8.compile-fix.patch    |   19 -
 net-analyzer/ssldump/ssldump-0.9-r1.ebuild         |   58 -
 net-analyzer/ssldump/ssldump-0.9.ebuild            |   41 -
 profiles/bootstrap/gcc/make.defaults.in            |    3 -
 profiles/bootstrap/gcc/package.use                 |   12 -
 profiles/bootstrap/gcc/parent                      |    1 -
 profiles/bootstrap/gcc/profile.bashrc              |    2 -
 profiles/bootstrap/gcc/use.force                   |    1 -
 profiles/bootstrap/parent                          |    1 -
 profiles/default/linux/amd64/13.0/eapi             |    1 -
 .../default/linux/amd64/13.0/rap/make.defaults     |    3 -
 profiles/default/linux/amd64/13.0/rap/parent       |    2 -
 profiles/default/linux/arm/10.0/armv4/deprecated   |    1 -
 .../linux/arm/10.0/armv4/desktop/deprecated        |    1 -
 profiles/default/linux/arm/10.0/armv4/desktop/eapi |    1 -
 .../linux/arm/10.0/armv4/desktop/gnome/deprecated  |    1 -
 .../linux/arm/10.0/armv4/desktop/gnome/eapi        |    1 -
 .../linux/arm/10.0/armv4/desktop/gnome/parent      |    2 -
 .../linux/arm/10.0/armv4/desktop/kde/deprecated    |    1 -
 .../default/linux/arm/10.0/armv4/desktop/kde/eapi  |    1 -
 .../linux/arm/10.0/armv4/desktop/kde/parent        |    2 -
 .../default/linux/arm/10.0/armv4/desktop/parent    |    2 -
 .../linux/arm/10.0/armv4/developer/deprecated      |    1 -
 .../default/linux/arm/10.0/armv4/developer/eapi    |    1 -
 .../default/linux/arm/10.0/armv4/developer/parent  |    2 -
 profiles/default/linux/arm/10.0/armv4/eapi         |    1 -
 profiles/default/linux/arm/10.0/armv4/parent       |    2 -
 .../default/linux/arm/10.0/armv4/server/deprecated |    1 -
 profiles/default/linux/arm/10.0/armv4/server/eapi  |    1 -
 .../default/linux/arm/10.0/armv4/server/parent     |    2 -
 profiles/default/linux/arm/10.0/armv4t/deprecated  |    1 -
 .../linux/arm/10.0/armv4t/desktop/deprecated       |    1 -
 .../default/linux/arm/10.0/armv4t/desktop/eapi     |    1 -
 .../linux/arm/10.0/armv4t/desktop/gnome/deprecated |    1 -
 .../linux/arm/10.0/armv4t/desktop/gnome/eapi       |    1 -
 .../linux/arm/10.0/armv4t/desktop/gnome/parent     |    2 -
 .../linux/arm/10.0/armv4t/desktop/kde/deprecated   |    1 -
 .../default/linux/arm/10.0/armv4t/desktop/kde/eapi |    1 -
 .../linux/arm/10.0/armv4t/desktop/kde/parent       |    2 -
 .../default/linux/arm/10.0/armv4t/desktop/parent   |    2 -
 .../linux/arm/10.0/armv4t/developer/deprecated     |    1 -
 .../default/linux/arm/10.0/armv4t/developer/eapi   |    1 -
 .../default/linux/arm/10.0/armv4t/developer/parent |    2 -
 profiles/default/linux/arm/10.0/armv4t/eapi        |    1 -
 profiles/default/linux/arm/10.0/armv4t/parent      |    2 -
 .../linux/arm/10.0/armv4t/server/deprecated        |    1 -
 profiles/default/linux/arm/10.0/armv4t/server/eapi |    1 -
 .../default/linux/arm/10.0/armv4t/server/parent    |    2 -
 profiles/default/linux/arm/10.0/armv5te/deprecated |    1 -
 .../linux/arm/10.0/armv5te/desktop/deprecated      |    1 -
 .../default/linux/arm/10.0/armv5te/desktop/eapi    |    1 -
 .../arm/10.0/armv5te/desktop/gnome/deprecated      |    1 -
 .../linux/arm/10.0/armv5te/desktop/gnome/eapi      |    1 -
 .../linux/arm/10.0/armv5te/desktop/gnome/parent    |    2 -
 .../linux/arm/10.0/armv5te/desktop/kde/deprecated  |    1 -
 .../linux/arm/10.0/armv5te/desktop/kde/eapi        |    1 -
 .../linux/arm/10.0/armv5te/desktop/kde/parent      |    2 -
 .../default/linux/arm/10.0/armv5te/desktop/parent  |    2 -
 .../linux/arm/10.0/armv5te/developer/deprecated    |    1 -
 .../default/linux/arm/10.0/armv5te/developer/eapi  |    1 -
 .../linux/arm/10.0/armv5te/developer/parent        |    2 -
 profiles/default/linux/arm/10.0/armv5te/eapi       |    1 -
 profiles/default/linux/arm/10.0/armv5te/parent     |    2 -
 .../linux/arm/10.0/armv5te/server/deprecated       |    1 -
 .../default/linux/arm/10.0/armv5te/server/eapi     |    1 -
 .../default/linux/arm/10.0/armv5te/server/parent   |    2 -
 profiles/default/linux/arm/10.0/armv6j/deprecated  |    1 -
 .../linux/arm/10.0/armv6j/desktop/deprecated       |    1 -
 .../default/linux/arm/10.0/armv6j/desktop/eapi     |    1 -
 .../linux/arm/10.0/armv6j/desktop/gnome/deprecated |    1 -
 .../linux/arm/10.0/armv6j/desktop/gnome/eapi       |    1 -
 .../linux/arm/10.0/armv6j/desktop/gnome/parent     |    2 -
 .../linux/arm/10.0/armv6j/desktop/kde/deprecated   |    1 -
 .../default/linux/arm/10.0/armv6j/desktop/kde/eapi |    1 -
 .../linux/arm/10.0/armv6j/desktop/kde/parent       |    2 -
 .../default/linux/arm/10.0/armv6j/desktop/parent   |    2 -
 .../linux/arm/10.0/armv6j/developer/deprecated     |    1 -
 .../default/linux/arm/10.0/armv6j/developer/eapi   |    1 -
 .../default/linux/arm/10.0/armv6j/developer/parent |    2 -
 profiles/default/linux/arm/10.0/armv6j/eapi        |    1 -
 profiles/default/linux/arm/10.0/armv6j/parent      |    2 -
 .../linux/arm/10.0/armv6j/server/deprecated        |    1 -
 profiles/default/linux/arm/10.0/armv6j/server/eapi |    1 -
 .../default/linux/arm/10.0/armv6j/server/parent    |    2 -
 profiles/default/linux/arm/10.0/armv7a/deprecated  |    1 -
 .../linux/arm/10.0/armv7a/desktop/deprecated       |    1 -
 .../default/linux/arm/10.0/armv7a/desktop/eapi     |    1 -
 .../linux/arm/10.0/armv7a/desktop/gnome/deprecated |    1 -
 .../linux/arm/10.0/armv7a/desktop/gnome/eapi       |    1 -
 .../linux/arm/10.0/armv7a/desktop/gnome/parent     |    2 -
 .../linux/arm/10.0/armv7a/desktop/kde/deprecated   |    1 -
 .../default/linux/arm/10.0/armv7a/desktop/kde/eapi |    1 -
 .../linux/arm/10.0/armv7a/desktop/kde/parent       |    2 -
 .../default/linux/arm/10.0/armv7a/desktop/parent   |    2 -
 .../linux/arm/10.0/armv7a/developer/deprecated     |    1 -
 .../default/linux/arm/10.0/armv7a/developer/eapi   |    1 -
 .../default/linux/arm/10.0/armv7a/developer/parent |    2 -
 profiles/default/linux/arm/10.0/armv7a/eapi        |    1 -
 profiles/default/linux/arm/10.0/armv7a/parent      |    2 -
 .../linux/arm/10.0/armv7a/server/deprecated        |    1 -
 profiles/default/linux/arm/10.0/armv7a/server/eapi |    1 -
 .../default/linux/arm/10.0/armv7a/server/parent    |    2 -
 profiles/default/linux/arm/10.0/deprecated         |    1 -
 profiles/default/linux/arm/10.0/desktop/deprecated |    1 -
 profiles/default/linux/arm/10.0/desktop/eapi       |    1 -
 .../linux/arm/10.0/desktop/gnome/deprecated        |    1 -
 profiles/default/linux/arm/10.0/desktop/gnome/eapi |    1 -
 .../default/linux/arm/10.0/desktop/gnome/parent    |    2 -
 .../default/linux/arm/10.0/desktop/kde/deprecated  |    1 -
 profiles/default/linux/arm/10.0/desktop/kde/eapi   |    1 -
 profiles/default/linux/arm/10.0/desktop/kde/parent |    2 -
 profiles/default/linux/arm/10.0/desktop/parent     |    2 -
 .../default/linux/arm/10.0/developer/deprecated    |    1 -
 profiles/default/linux/arm/10.0/developer/eapi     |    1 -
 profiles/default/linux/arm/10.0/developer/parent   |    2 -
 profiles/default/linux/arm/10.0/eapi               |    1 -
 profiles/default/linux/arm/10.0/parent             |    2 -
 profiles/default/linux/arm/10.0/server/deprecated  |    1 -
 profiles/default/linux/arm/10.0/server/eapi        |    1 -
 profiles/default/linux/arm/10.0/server/parent      |    2 -
 profiles/default/linux/arm/13.0/armv4/desktop/eapi |    1 -
 .../linux/arm/13.0/armv4/desktop/gnome/eapi        |    1 -
 .../linux/arm/13.0/armv4/desktop/gnome/parent      |    2 -
 .../default/linux/arm/13.0/armv4/desktop/kde/eapi  |    1 -
 .../linux/arm/13.0/armv4/desktop/kde/parent        |    2 -
 .../default/linux/arm/13.0/armv4/desktop/parent    |    2 -
 .../default/linux/arm/13.0/armv4/developer/eapi    |    1 -
 .../default/linux/arm/13.0/armv4/developer/parent  |    2 -
 profiles/default/linux/arm/13.0/armv4/eapi         |    1 -
 profiles/default/linux/arm/13.0/armv4/parent       |    2 -
 .../default/linux/arm/13.0/armv4t/desktop/eapi     |    1 -
 .../linux/arm/13.0/armv4t/desktop/gnome/eapi       |    1 -
 .../linux/arm/13.0/armv4t/desktop/gnome/parent     |    2 -
 .../default/linux/arm/13.0/armv4t/desktop/kde/eapi |    1 -
 .../linux/arm/13.0/armv4t/desktop/kde/parent       |    2 -
 .../default/linux/arm/13.0/armv4t/desktop/parent   |    2 -
 .../default/linux/arm/13.0/armv4t/developer/eapi   |    1 -
 .../default/linux/arm/13.0/armv4t/developer/parent |    2 -
 profiles/default/linux/arm/13.0/armv4t/eapi        |    1 -
 profiles/default/linux/arm/13.0/armv4t/parent      |    2 -
 .../default/linux/arm/13.0/armv5te/desktop/eapi    |    1 -
 .../linux/arm/13.0/armv5te/desktop/gnome/eapi      |    1 -
 .../linux/arm/13.0/armv5te/desktop/gnome/parent    |    2 -
 .../linux/arm/13.0/armv5te/desktop/kde/eapi        |    1 -
 .../linux/arm/13.0/armv5te/desktop/kde/parent      |    2 -
 .../default/linux/arm/13.0/armv5te/desktop/parent  |    2 -
 .../default/linux/arm/13.0/armv5te/developer/eapi  |    1 -
 .../linux/arm/13.0/armv5te/developer/parent        |    2 -
 profiles/default/linux/arm/13.0/armv5te/eapi       |    1 -
 profiles/default/linux/arm/13.0/armv5te/parent     |    2 -
 .../default/linux/arm/13.0/armv6j/desktop/eapi     |    1 -
 .../linux/arm/13.0/armv6j/desktop/gnome/eapi       |    1 -
 .../linux/arm/13.0/armv6j/desktop/gnome/parent     |    2 -
 .../default/linux/arm/13.0/armv6j/desktop/kde/eapi |    1 -
 .../linux/arm/13.0/armv6j/desktop/kde/parent       |    2 -
 .../default/linux/arm/13.0/armv6j/desktop/parent   |    2 -
 .../default/linux/arm/13.0/armv6j/developer/eapi   |    1 -
 .../default/linux/arm/13.0/armv6j/developer/parent |    2 -
 profiles/default/linux/arm/13.0/armv6j/eapi        |    1 -
 profiles/default/linux/arm/13.0/armv6j/parent      |    2 -
 .../default/linux/arm/13.0/armv7a/desktop/eapi     |    1 -
 .../linux/arm/13.0/armv7a/desktop/gnome/eapi       |    1 -
 .../linux/arm/13.0/armv7a/desktop/gnome/parent     |    2 -
 .../default/linux/arm/13.0/armv7a/desktop/kde/eapi |    1 -
 .../linux/arm/13.0/armv7a/desktop/kde/parent       |    2 -
 .../default/linux/arm/13.0/armv7a/desktop/parent   |    2 -
 .../default/linux/arm/13.0/armv7a/developer/eapi   |    1 -
 .../default/linux/arm/13.0/armv7a/developer/parent |    2 -
 profiles/default/linux/arm/13.0/armv7a/eapi        |    1 -
 profiles/default/linux/arm/13.0/armv7a/parent      |    2 -
 .../linux/arm/13.0/armv7a/rap/make.defaults        |    3 -
 profiles/default/linux/arm/13.0/armv7a/rap/parent  |    2 -
 profiles/default/linux/arm/13.0/desktop/eapi       |    1 -
 profiles/default/linux/arm/13.0/desktop/gnome/eapi |    1 -
 .../default/linux/arm/13.0/desktop/gnome/parent    |    2 -
 profiles/default/linux/arm/13.0/desktop/kde/eapi   |    1 -
 profiles/default/linux/arm/13.0/desktop/kde/parent |    2 -
 profiles/default/linux/arm/13.0/desktop/parent     |    2 -
 profiles/default/linux/arm/13.0/developer/eapi     |    1 -
 profiles/default/linux/arm/13.0/developer/parent   |    2 -
 profiles/default/linux/arm/13.0/eapi               |    1 -
 profiles/default/linux/arm/13.0/parent             |    2 -
 profiles/default/linux/arm/ChangeLog               |   70 -
 profiles/default/linux/arm/parent                  |    3 -
 profiles/default/linux/x86/13.0/rap/make.defaults  |    3 -
 profiles/default/linux/x86/13.0/rap/parent         |    2 -
 profiles/eapi                                      |    1 -
 profiles/features/rap/make.defaults                |    2 -
 profiles/features/rap/packages                     |   11 -
 profiles/features/rap/profile.bashrc               |    9 -
 profiles/features/rap/use.force                    |    5 -
 profiles/features/rap/use.mask                     |    8 -
 profiles/profiles.desc                             |    1 -
 profiles/repo_name                                 |    1 -
 sys-apps/coreutils/ChangeLog                       | 1410 +++++++++++
 sys-apps/coreutils/Manifest                        |   77 +
 sys-apps/coreutils/coreutils-8.10.ebuild           |  164 ++
 sys-apps/coreutils/coreutils-8.11.ebuild           |  164 ++
 sys-apps/coreutils/coreutils-8.12.ebuild           |  164 ++
 sys-apps/coreutils/coreutils-8.13.ebuild           |  164 ++
 sys-apps/coreutils/coreutils-8.14.ebuild           |  167 ++
 sys-apps/coreutils/coreutils-8.15.ebuild           |  168 ++
 sys-apps/coreutils/coreutils-8.16.ebuild           |  172 ++
 sys-apps/coreutils/coreutils-8.17.ebuild           |  175 ++
 sys-apps/coreutils/coreutils-8.18.ebuild           |  177 ++
 sys-apps/coreutils/coreutils-8.19.ebuild           |  177 ++
 sys-apps/coreutils/coreutils-8.20-r1.ebuild        |  177 ++
 sys-apps/coreutils/coreutils-8.20-r2.ebuild        |  177 ++
 sys-apps/coreutils/coreutils-8.20.ebuild           |  177 ++
 sys-apps/coreutils/coreutils-8.21.ebuild           |  180 ++
 sys-apps/coreutils/coreutils-8.5-r1.ebuild         |  154 ++
 sys-apps/coreutils/coreutils-8.5.ebuild            |  154 ++
 sys-apps/coreutils/coreutils-8.7.ebuild            |  153 ++
 sys-apps/coreutils/coreutils-8.8.ebuild            |  153 ++
 sys-apps/coreutils/coreutils-8.9.ebuild            |  153 ++
 .../ssldump => sys-apps/coreutils}/metadata.xml    |    6 +-
 sys-apps/portage/ChangeLog                         | 2673 --------------------
 sys-apps/portage/Manifest                          |   29 -
 sys-apps/portage/files/05portage.envd              |    1 -
 .../portage-2.2.00.15801-prefix-chaining.patch     |  693 -----
 .../files/portage-2.2.01.18213-ebuildshell.patch   |  105 -
 .../portage-2.2.01.18826-aix-preservelibs.patch    |   32 -
 .../files/portage-2.2.01.18980-ebuildshell.patch   |  103 -
 .../portage-2.2.01.19247-aix-preserve-libs.patch   |  163 --
 .../files/portage-2.2.01.19247-ebuildshell.patch   |  105 -
 .../files/portage-2.2.01.19981-ebuildshell.patch   |  105 -
 .../files/portage-2.2.01.20020-ebuildshell.patch   |  137 -
 .../files/portage-2.2.01.20239-ebuildshell.patch   |  148 --
 .../files/portage-2.2.01.20336-openrc.patch        |   19 -
 sys-apps/portage/metadata.xml                      |   13 -
 sys-apps/portage/portage-9999.ebuild               |  331 ---
 sys-apps/util-linux/files/crypto-loop.initd        |    0
 sys-devel/binutils-config/.pc/.quilt_patches       |    1 -
 sys-devel/binutils-config/.pc/.quilt_series        |    1 -
 sys-devel/binutils-config/.pc/.version             |    1 -
 sys-devel/binutils-config/.pc/applied-patches      |    1 -
 .../.pc/binutils-config-prefix.patch/.timestamp    |    0
 .../binutils-config-3-r3.ebuild                    |   19 -
 .../files/binutils-config-3                        |  509 ----
 .../binutils-config/files/binutils-config-1.9      |    0
 sys-devel/binutils-config/files/binutils-config-2  |    0
 sys-devel/binutils-config/files/binutils-config-3  |    0
 sys-devel/binutils/Manifest                        |    4 +-
 sys-devel/binutils/binutils-2.23.ebuild            |    2 +-
 .../files/binutils-2.23-runtime-sysroot.patch      |   95 +
 sys-devel/crossdev/Manifest                        |   20 +-
 sys-devel/crossdev/crossdev-99999999.ebuild        |    2 +-
 sys-devel/crossdev/files/crossdev                  |    0
 sys-devel/crossdev/files/crossdev-stable           |    0
 sys-devel/gcc-config/files/gcc-config-1.5          |    0
 sys-devel/gcc/files/c89                            |    0
 sys-devel/gcc/files/c99                            |    0
 sys-devel/gcc/files/fix_libtool_files.sh           |    0
 sys-devel/gcc/files/mkinfodir                      |    0
 sys-devel/gcc/files/scan_libgcc_linked_ssp.sh      |    0
 sys-fs/fuse/ChangeLog                              |  729 ++++++
 sys-fs/fuse/Manifest                               |    9 +
 sys-fs/fuse/files/fuse-2.9.3-prefix.patch          |   32 +
 sys-fs/fuse/files/fuse-fbsd.init                   |   23 +
 sys-fs/fuse/files/fuse.init                        |   35 +
 sys-fs/fuse/fuse-2.9.2.ebuild                      |   84 +
 sys-fs/fuse/fuse-2.9.3.ebuild                      |   98 +
 {net-analyzer/ssldump => sys-fs/fuse}/metadata.xml |    6 +-
 sys-fs/posixovl/Manifest                           |    2 +
 sys-fs/posixovl/posixovl-1.2.ebuild                |   28 +
 sys-fs/unionfs-fuse/ChangeLog                      |   44 +
 sys-fs/unionfs-fuse/Manifest                       |   11 +
 .../files/unionfs-fuse-0.23-makefile.patch         |   15 +
 .../files/unionfs-fuse-0.26-declare-chroot.patch   |   12 +
 .../files/unionfs-fuse-0.26-link-pthread.patch     |   11 +
 .../ssldump => sys-fs/unionfs-fuse}/metadata.xml   |    6 +-
 sys-fs/unionfs-fuse/unionfs-fuse-0.24.ebuild       |   23 +
 sys-fs/unionfs-fuse/unionfs-fuse-0.25.ebuild       |   23 +
 sys-fs/unionfs-fuse/unionfs-fuse-0.26.ebuild       |   30 +
 sys-fs/unionfs-fuse/unionfs_debug.log              |  124 +
 sys-libs/glibc/Manifest                            |   13 +-
 .../files/2.17/glibc-2.17-runtime-prefix.patch     |  400 +++
 sys-libs/glibc/files/eblits/common.eblit           |    6 +-
 sys-libs/glibc/files/eblits/pkg_postinst.eblit     |    8 +-
 sys-libs/glibc/files/eblits/pkg_preinst.eblit      |    4 +-
 sys-libs/glibc/files/eblits/src_compile.eblit      |    4 +-
 sys-libs/glibc/files/eblits/src_unpack.eblit       |    2 +-
 sys-libs/glibc/files/nscd                          |    0
 sys-libs/glibc/glibc-2.17.ebuild                   |   11 +-
 sys-process/runit/files/1                          |    0
 sys-process/runit/files/2                          |    0
 sys-process/runit/files/3                          |    0
 sys-process/runit/files/3-1.4                      |    0
 sys-process/runit/files/ctrlaltdel                 |    0
 sys-process/runit/files/finish.getty               |    0
 sys-process/runit/files/run.getty                  |    0
 x11-apps/xinit/files/Xsession                      |    0
 x11-apps/xinit/files/chooser.sh                    |    0
 x11-libs/wxGTK/Manifest                            |   17 -
 .../wxGTK/files/wxGTK-2.8.10.1-odbc-defines.patch  |   39 -
 x11-libs/wxGTK/files/wxGTK-2.8.11-collision.patch  |   74 -
 .../wxGTK/files/wxGTK-2.8.11-unicode-odbc.patch    |   13 -
 x11-libs/wxGTK/files/wxGTK-2.8.7-mmedia.patch      |   11 -
 x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild               |  180 --
 x11-libs/wxGTK/wxGTK-2.9.3.1.ebuild                |  170 --
 427 files changed, 24364 insertions(+), 6378 deletions(-)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..06b3677
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+cross-*
+.pc

diff --git a/app-misc/pax-utils/ChangeLog b/app-misc/pax-utils/ChangeLog
new file mode 100644
index 0000000..843c92b
--- /dev/null
+++ b/app-misc/pax-utils/ChangeLog
@@ -0,0 +1,593 @@
+# ChangeLog for app-misc/pax-utils
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/ChangeLog,v 1.145 2013/04/07 21:04:00 vapier Exp $
+
+*pax-utils-0.7 (07 Apr 2013)
+
+  07 Apr 2013; Mike Frysinger <vapier@gentoo.org> +pax-utils-0.7.ebuild:
+  Version bump.
+
+*pax-utils-0.6 (02 Jan 2013)
+
+  02 Jan 2013; Mike Frysinger <vapier@gentoo.org> +pax-utils-0.6.ebuild,
+  metadata.xml:
+  Version bump.
+
+*pax-utils-0.5 (04 Nov 2012)
+
+  04 Nov 2012; Mike Frysinger <vapier@gentoo.org> +pax-utils-0.5.ebuild:
+  Version bump.
+
+  10 Jul 2012; Brent Baude <ranger@gentoo.org> pax-utils-0.4.ebuild:
+  Marking pax-utils-0.4 ppc for bug 420919
+
+  08 Jul 2012; Raúl Porcel <armin76@gentoo.org> pax-utils-0.4.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #420919
+
+  22 Jun 2012; Brent Baude <ranger@gentoo.org> pax-utils-0.4.ebuild:
+  Marking pax-utils-0.4 ppc64 for bug 420919
+
+  21 Jun 2012; Jeroen Roovers <jer@gentoo.org> pax-utils-0.4.ebuild:
+  Stable for HPPA (bug #420919).
+
+  20 Jun 2012; Markus Meier <maekke@gentoo.org> pax-utils-0.4.ebuild:
+  arm stable, bug #420919
+
+  13 Jun 2012; Agostino Sarubbo <ago@gentoo.org> pax-utils-0.4.ebuild:
+  Stable for amd64, wrt bug #420919
+
+  13 Jun 2012; Jeff Horelick <jdhore@gentoo.org> pax-utils-0.4.ebuild:
+  marked x86 per bug 420919
+
+*pax-utils-0.4 (29 Apr 2012)
+
+  29 Apr 2012; Mike Frysinger <vapier@gentoo.org> +pax-utils-0.4.ebuild:
+  Version bump.
+
+  26 Apr 2012; Alexis Ballier <aballier@gentoo.org> pax-utils-0.3.0.ebuild:
+  keyword ~amd64-fbsd
+
+  07 Feb 2012; Mike Frysinger <vapier@gentoo.org> pax-utils-0.2.1.ebuild,
+  pax-utils-0.2.2.ebuild, pax-utils-0.2.3.ebuild, pax-utils-0.3.0.ebuild:
+  Clean up eclass inherits, and convert to unpacker for xz.
+
+*pax-utils-0.3.0 (24 Jan 2012)
+
+  24 Jan 2012; Mike Frysinger <vapier@gentoo.org> +pax-utils-0.3.0.ebuild:
+  Version bump.
+
+  30 Dec 2011; Mark Loeser <halcy0n@gentoo.org> pax-utils-0.2.3.ebuild:
+  Stable for ppc64; bug #381625
+
+  06 Nov 2011; Brent Baude <ranger@gentoo.org> pax-utils-0.2.3.ebuild:
+  Marking pax-utils-0.2.3 ppc for bug 381625
+
+  30 Oct 2011; Raúl Porcel <armin76@gentoo.org> pax-utils-0.2.3.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #381625
+
+  20 Oct 2011; Jeroen Roovers <jer@gentoo.org> pax-utils-0.2.3.ebuild:
+  Stable for HPPA (bug #381625).
+
+  09 Oct 2011; Markus Meier <maekke@gentoo.org> pax-utils-0.2.3.ebuild:
+  arm stable, bug #381625
+
+  09 Oct 2011; Markos Chandras <hwoarang@gentoo.org> pax-utils-0.2.3.ebuild:
+  Stable on amd64 wrt bug #381625
+
+  08 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> pax-utils-0.2.3.ebuild:
+  x86 stable wrt bug #381625
+
+*pax-utils-0.2.3 (03 Mar 2011)
+
+  03 Mar 2011; Mike Frysinger <vapier@gentoo.org> +pax-utils-0.2.3.ebuild:
+  Version bump.
+
+  03 Mar 2011; Mike Frysinger <vapier@gentoo.org> pax-utils-0.2.2.ebuild:
+  Stabilize for all.
+
+*pax-utils-0.2.2 (08 Dec 2010)
+
+  08 Dec 2010; Mike Frysinger <vapier@gentoo.org> +pax-utils-0.2.2.ebuild:
+  Version bump.
+
+  08 Dec 2010; Mike Frysinger <vapier@gentoo.org> pax-utils-0.2.1.ebuild:
+  Mark ppc64 stable #332811.
+
+  29 Aug 2010; Raúl Porcel <armin76@gentoo.org> pax-utils-0.2.1.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #332811
+
+  18 Aug 2010; Markus Meier <maekke@gentoo.org> pax-utils-0.2.1.ebuild:
+  arm stable, bug #332811
+
+  18 Aug 2010; Jeroen Roovers <jer@gentoo.org> pax-utils-0.2.1.ebuild:
+  Stable for HPPA PPC (bug #332811).
+
+  17 Aug 2010; Markos Chandras <hwoarang@gentoo.org> pax-utils-0.2.1.ebuild:
+  Stable on amd64 wrt bug #332811
+
+  15 Aug 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+  pax-utils-0.2.1.ebuild:
+  x86 stable wrt bug #332811
+
+*pax-utils-0.2.1 (14 Feb 2010)
+
+  14 Feb 2010; Mike Frysinger <vapier@gentoo.org> +pax-utils-0.2.1.ebuild:
+  Fix garbage in symbol matching output.
+
+*pax-utils-0.2 (15 Jan 2010)
+
+  15 Jan 2010; Mike Frysinger <vapier@gentoo.org> +pax-utils-0.2.ebuild:
+  Version bump.
+
+  15 Mar 2009; Patrick Lauer <patrick@gentoo.org> Manifest:
+  Manifest fix
+
+  29 Jan 2009; Javier Villavicencio <the_paya@gentoo.org>
+  pax-utils-0.1.19.ebuild:
+  Rekeyword ~sparc/x86-fbsd. strndup(3) is now backported on
+  freebsd-lib-7.1-r1.
+
+  05 Jan 2009; Jose Luis Rivero <yoswink@gentoo.org>
+  pax-utils-0.1.19.ebuild:
+  Stable on alpha wrt #253124
+
+  03 Jan 2009; Jeroen Roovers <jer@gentoo.org> pax-utils-0.1.19.ebuild:
+  Stable for HPPA (bug #253124).
+
+  02 Jan 2009; <solar@gentoo.org> pax-utils-0.1.19.ebuild:
+  arm,x86,ia64,ppc32 stable
+
+  31 Dec 2008; Friedrich Oslage <bluebird@gentoo.org>
+  pax-utils-0.1.19.ebuild:
+  Stable on sparc, bug #253124
+
+  31 Dec 2008; Jeremy Olexa <darkside@gentoo.org> pax-utils-0.1.19.ebuild:
+  amd64 stable, bug 253124
+
+  30 Dec 2008; Brent Baude <ranger@gentoo.org> pax-utils-0.1.19.ebuild:
+  stable ppc64, bug 253124
+
+  09 Dec 2008; Alexis Ballier <aballier@gentoo.org> pax-utils-0.1.18.ebuild,
+  pax-utils-0.1.19.ebuild:
+  Keyword -sparc/x86-fbsd versions that dont build on bsd, bug #250359 and
+  bug #246439
+
+*pax-utils-0.1.19 (27 Nov 2008)
+
+  27 Nov 2008; Mike Frysinger <vapier@gentoo.org> +pax-utils-0.1.19.ebuild:
+  Version bump.
+
+*pax-utils-0.1.18 (09 Nov 2008)
+
+  09 Nov 2008; <solar@gentoo.org> +pax-utils-0.1.18.ebuild:
+  - version bump
+
+  25 Apr 2008; <ricmm@gentoo.org> pax-utils-0.1.15.ebuild:
+  Drop to ~mips due to unstable deps
+
+  14 Mar 2008; <solar@gentoo.org> pax-utils-0.1.15.ebuild,
+  pax-utils-0.1.16.ebuild, pax-utils-0.1.17.ebuild:
+  - tidy up to keep current repoman happy and propagate bug fixes to older
+  ebuilds
+
+  14 Mar 2008; <solar@gentoo.org> pax-utils-0.1.17.ebuild:
+  - make sure CC= is quoted.. distcc can cause problems. Bug 213308
+
+  14 Mar 2008; Jeroen Roovers <jer@gentoo.org> pax-utils-0.1.17.ebuild:
+  Stable for HPPA (bug #212499).
+
+  11 Mar 2008; Brent Baude <ranger@gentoo.org> pax-utils-0.1.17.ebuild:
+  stable ppc64, bug 212499
+
+  09 Mar 2008; <solar@gentoo.org> pax-utils-0.1.17.ebuild:
+  - stable on amd64
+
+  09 Mar 2008; nixnut <nixnut@gentoo.org> pax-utils-0.1.17.ebuild:
+  Stable on ppc wrt bug 212499
+
+  06 Mar 2008; Raúl Porcel <armin76@gentoo.org> pax-utils-0.1.17.ebuild:
+  alpha/ia64/sparc/x86 stable
+
+*pax-utils-0.1.17 (17 Jan 2008)
+
+  17 Jan 2008; <solar@gentoo.org> +pax-utils-0.1.17.ebuild:
+  - Mainly a maintenance release. endianness fix. minor new features and
+  updated docs
+
+  14 Oct 2007; <solar@gentoo.org> pax-utils-0.1.16.ebuild:
+  - amd64/hppa/ppc/ppc64 stable
+
+  26 Sep 2007; Raúl Porcel <armin76@gentoo.org> pax-utils-0.1.16.ebuild:
+  alpha/ia64/sparc/x86 stable
+
+*pax-utils-0.1.16 (24 Aug 2007)
+
+  24 Aug 2007; <solar@gentoo.org> -pax-utils-0.1.13.ebuild,
+  -pax-utils-0.1.14.ebuild, +pax-utils-0.1.16.ebuild:
+  - Version bump. man pages moved over to docbook. New: endian and perm
+  displays.. New: when -Tv are used together the disasm will be displayed of
+  the offending text rel. The pax-utils code should compile out of the box on
+  solaris now. Lots of misc fixes.. to many to list..
+
+  01 Mar 2007; <genstef@gentoo.org> pax-utils-0.1.13.ebuild,
+  pax-utils-0.1.14.ebuild, pax-utils-0.1.15.ebuild:
+  Dropped ppc-macos keyword, see you in prefix
+
+  03 Feb 2007; Bryan Østergaard <kloeri@gentoo.org>
+  pax-utils-0.1.15.ebuild:
+  Stable on Alpha, bug 163453.
+
+  02 Feb 2007; Alexander H. Færøy <eroyf@gentoo.org>
+  pax-utils-0.1.15.ebuild:
+  Stable on MIPS; bug #163453
+
+  31 Jan 2007; Markus Rothe <corsair@gentoo.org> pax-utils-0.1.15.ebuild:
+  Stable on ppc64; bug #163453
+
+  30 Jan 2007; Steve Dibb <beandog@gentoo.org> pax-utils-0.1.15.ebuild:
+  amd64 stable, bug 163453
+
+  25 Jan 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+  pax-utils-0.1.15.ebuild:
+  Stable on sparc wrt #163453
+
+  24 Jan 2007; Jeroen Roovers <jer@gentoo.org> pax-utils-0.1.15.ebuild:
+  Stable for HPPA (bug #163453).
+
+  23 Jan 2007; Raúl Porcel <armin76@gentoo.org> pax-utils-0.1.15.ebuild:
+  x86 stable wrt bug 163453
+
+  23 Jan 2007; nixnut <nixnut@gentoo.org> pax-utils-0.1.15.ebuild:
+  Stable on ppc wrt bug 163453
+
+*pax-utils-0.1.15 (13 Dec 2006)
+
+  13 Dec 2006; <solar@gentoo.org> +pax-utils-0.1.15.ebuild:
+  Removed *macho* from release files. Lots of minor whitespace and style
+  updates. List known pkg maintainers for other distributions that carry the
+  pax-utils.
+  
+  scanelf: Improved return values of many functions to be ints vs voids.
+  Support added for displaying em_machine via %a format flag. Make
+  scanelf_file_bind() not output anything if quiet mode and the ELF is static
+  or not setuid.
+  
+  pspax: Support added for -u,--user <user/uid> Support added for -g,--group
+  <group/gid>
+
+  17 Oct 2006; Roy Marples <uberlord@gentoo.org> pax-utils-0.1.14.ebuild:
+  Added ~sparc-fbsd keyword.
+
+*pax-utils-0.1.14 (23 Sep 2006)
+
+  23 Sep 2006; Mike Frysinger <vapier@gentoo.org> +pax-utils-0.1.14.ebuild:
+  Add support for NetBSD, add --user/--group options to pspax, and fix QA
+  envvar handling of .o objects.
+
+  07 Jun 2006; Jeroen Roovers <jer@gentoo.org> pax-utils-0.1.13.ebuild:
+  Stable on hppa (bug #135427).
+
+  06 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+  pax-utils-0.1.13.ebuild:
+  Stable on sparc wrt #135427
+
+  05 Jun 2006; Simon Stelling <blubb@gentoo.org> pax-utils-0.1.13.ebuild:
+  stable on amd64
+
+  04 Jun 2006; Torsten Veller <tove@gentoo.org> pax-utils-0.1.13.ebuild:
+  Stable on x86 (#135427).
+
+  04 Jun 2006; Fernando J. Pereda <ferdy@gentoo.org>
+  pax-utils-0.1.13.ebuild:
+  Stable on alpha. Thanks to Mike Hlavac <mike@flyingpenguins.org> for
+  testing. Bug #135427
+
+  04 Jun 2006; Markus Rothe <corsair@gentoo.org> pax-utils-0.1.13.ebuild:
+  Stable on ppc64; bug #135427
+
+  03 Jun 2006; <nixnut@gentoo.org> pax-utils-0.1.13.ebuild:
+  Stable on ppc; bug #135427
+
+  03 Jun 2006; <solar@gentoo.org> pax-utils-0.1.13.ebuild:
+  - stable on arm
+
+*pax-utils-0.1.13 (17 May 2006)
+
+  17 May 2006; <solar@gentoo.org> +pax-utils-0.1.13.ebuild:
+  Improved Makefile handling. (vapier) QA_TEXTREL/QA_EXECSTACK/QA_WX_LOAD exempt
+  filtering flags. (kevquinn) Handle versioned symbols correctly on unstripped
+  ELF files when using the -s flag. Do not assume it is ok to read from stdin if
+  the -l -p flags were given. (solar)
+
+*pax-utils-0.1.12 (30 Apr 2006)
+
+  30 Apr 2006; <solar@gentoo.org> -files/pax-utils-0.1.10.patch,
+  -pax-utils-0.1.10.ebuild, pax-utils-0.1.11-r1.ebuild,
+  +pax-utils-0.1.12.ebuild, -pax-utils-0.1.9.ebuild:
+  - new pspax -n/-w flags. new -L handling for the BSD arches. uses ld.so.hints
+  vs ld.so.cache (thanks flameeyes). tty null term handling should be fixed
+
+  24 Apr 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+  pax-utils-0.1.11-r1.ebuild:
+  Stable on sparc
+
+  23 Apr 2006; Michael Hanselmann <hansmi@gentoo.org>
+  pax-utils-0.1.11-r1.ebuild:
+  Stable on ppc.
+
+  22 Apr 2006; Markus Rothe <corsair@gentoo.org> pax-utils-0.1.11-r1.ebuild:
+  Stable on ppc64
+
+  22 Apr 2006; <solar@gentoo.org> pax-utils-0.1.11-r1.ebuild:
+  - stable on amd64 arm mips x86
+
+  16 Apr 2006; Bryan Østergaard <kloeri@gentoo.org
+  pax-utils-0.1.11-r1.ebuild:
+  Stable on alpha.
+
+*pax-utils-0.1.11-r1 (12 Apr 2006)
+
+  12 Apr 2006; Mike Frysinger <vapier@gentoo.org>
+  +files/pax-utils-0.1.11.patch, +pax-utils-0.1.11-r1.ebuild:
+  Fix scanelf hang due to grep-style changes with stdin #128247 by Matteo Azzali.
+
+*pax-utils-0.1.11 (30 Mar 2006)
+
+  30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
+  +pax-utils-0.1.11.ebuild:
+  New release working on FreeBSD and marked ~x86-fbsd.
+
+  23 Mar 2006; Luis Medinas <metalgod@gentoo.org> pax-utils-0.1.10.ebuild:
+  Stable on amd64. Bug #124699.
+
+  11 Mar 2006; Michael Hanselmann <hansmi@gentoo.org>
+  pax-utils-0.1.10.ebuild:
+  Stable on ppc.
+
+  10 Mar 2006; Torsten Veller <tove@gentoo.org> pax-utils-0.1.10.ebuild:
+  Stable on x86 (#124699)
+
+  09 Mar 2006; Aron Griffis <agriffis@gentoo.org> pax-utils-0.1.10.ebuild:
+  Mark 0.1.10 stable on ia64
+
+  08 Mar 2006; Jeroen Roovers <jer@gentoo.org> pax-utils-0.1.10.ebuild:
+  Stable on hppa (bug #124699).
+
+  08 Mar 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+  pax-utils-0.1.10.ebuild:
+  Stable on sparc wrt #124699
+
+  08 Mar 2006; Markus Rothe <corsair@gentoo.org> pax-utils-0.1.10.ebuild:
+  Stable on ppc64; bug #124699
+
+  22 Feb 2006; <solar@gentoo.org> +files/pax-utils-0.1.10.patch,
+  pax-utils-0.1.10.ebuild:
+  - Using the flags -Xe on ppc and probably others would lead to the PT_LOAD
+  executable bits being stripped (very bad thing). glob64->glob touchup for
+  the BSD guys
+
+*pax-utils-0.1.10 (18 Feb 2006)
+
+  18 Feb 2006; <solar@gentoo.org> -files/pax-utils-0.1.8-etrel-notwx.patch,
+  -files/pax-utils-0.1.8-paxelf-fd-mmap.patch, +pax-utils-0.1.10.ebuild,
+  -pax-utils-0.1.4.ebuild, -pax-utils-0.1.8-r1.ebuild,
+  -pax-utils-0.1.8.ebuild, pax-utils-0.1.9.ebuild:
+  - added -k/--section %k modifier to detect elf a given section exists. added
+  -z to unifiy paxctl/chpax handling into a single util. change max pt loads to
+  2 for netbsd. The -E option now takes strings. The -l option now reads
+  ld.so.conf include files. cleaned up old ebuilds. mips 0.1.9 marked stable
+  checked by kumba
+
+  08 Feb 2006; Saleem Abdulrasool <compnerd@gentoo.org>
+  pax-utils-0.1.9.ebuild:
+  stable on x86 as per bug #121777
+
+  07 Feb 2006; Patrick McLean <chutzpah@gentoo.org> pax-utils-0.1.9.ebuild:
+  Stable on amd64 (bug 121777).
+
+  07 Feb 2006; Aron Griffis <agriffis@gentoo.org> pax-utils-0.1.9.ebuild:
+  Mark 0.1.9 stable on alpha
+
+  06 Feb 2006; Aron Griffis <agriffis@gentoo.org> pax-utils-0.1.9.ebuild:
+  Mark 0.1.9 stable on ia64
+
+  06 Feb 2006; <nixnut@gentoo.org> pax-utils-0.1.9.ebuild:
+  Stable on ppc. bug 121777
+
+  06 Feb 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+  pax-utils-0.1.9.ebuild:
+  Stable on sparc wrt #121777
+
+  06 Feb 2006; Markus Rothe <corsair@gentoo.org> pax-utils-0.1.9.ebuild:
+  Stable on ppc64: bug #121777
+
+*pax-utils-0.1.9 (05 Feb 2006)
+
+  05 Feb 2006; <solar@gentoo.org> +pax-utils-0.1.9.ebuild:
+  - version bump. Adds new features. -M bits -E types
+
+  02 Feb 2006; <solar@gentoo.org> +files/pax-utils-0.1.8-etrel-notwx.patch,
+  pax-utils-0.1.8-r1.ebuild:
+  - ET_REL objects were being falsely reported as !WX
+
+*pax-utils-0.1.8-r1 (29 Jan 2006)
+
+  29 Jan 2006; <solar@gentoo.org> +files/pax-utils-0.1.8-paxelf-fd-mmap.patch,
+  +pax-utils-0.1.8-r1.ebuild:
+  - bugfix. dont report false positives in quiet mode
+
+*pax-utils-0.1.8 (28 Jan 2006)
+
+  28 Jan 2006; <solar@gentoo.org> -files/scanelf-null-rpath.patch,
+  pax-utils-0.1.4.ebuild, -pax-utils-0.1.5.ebuild, -pax-utils-0.1.6.ebuild,
+  -pax-utils-0.1.7-r1.ebuild, +pax-utils-0.1.8.ebuild:
+  - New -A option to scan *.a archives. Better handling of invalid elf files.
+
+*pax-utils-0.1.7-r1 (18 Jan 2006)
+
+  18 Jan 2006; <solar@gentoo.org> +files/scanelf-null-rpath.patch,
+  -pax-utils-0.1.7.ebuild, +pax-utils-0.1.7-r1.ebuild:
+  - bugfix: dont write to memory when NULL rpaths exists and not using
+  -X/--fix in scanelf
+
+*pax-utils-0.1.7 (12 Jan 2006)
+
+  12 Jan 2006; <solar@gentoo.org> +pax-utils-0.1.7.ebuild:
+  - new -X/--fix option to attempt to fix faulty RPATHs etc. Updated tristate
+  pax handling. Adds support for obsd. Misc cleanups and improvements
+
+  31 Dec 2005; Fabian Groffen <grobian@gentoo.org> pax-utils-0.1.6.ebuild:
+  Marked ~ppc-macos on request of vapier.  The tools really work on ELF files,
+  but their use on Darwin is questionable.
+
+*pax-utils-0.1.6 (29 Dec 2005)
+
+  29 Dec 2005; <solar@gentoo.org> -pax-utils-0.1.3.ebuild,
+  +pax-utils-0.1.6.ebuild:
+  - fixup for silly NetBSD stdout handling. updates for arches lacking proper
+  header defines. New -L option to resolve DT_NEEDED cache paths
+
+*pax-utils-0.1.5 (08 Dec 2005)
+
+  08 Dec 2005; Mike Frysinger <vapier@gentoo.org> +pax-utils-0.1.5.ebuild:
+  Have dumpelf show .comment/.interp sections, properly set shdr/phdr to NULL
+  when an ELF lacks them, fix #e usage, and add support for parsing
+  .note.GNU-stack in object files.
+
+  05 Dec 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+  pax-utils-0.1.4.ebuild:
+  Stable on sparc
+
+  04 Dec 2005; <solar@gentoo.org> pax-utils-0.1.4.ebuild:
+  - stable on x86
+
+*pax-utils-0.1.4 (30 Oct 2005)
+
+  30 Oct 2005; <solar@gentoo.org> +pax-utils-0.1.4.ebuild:
+  - version bump. This release adds 3 scanelf options. -S, -b, -g
+
+  28 Oct 2005; <solar@gentoo.org> pax-utils-0.1.3.ebuild:
+  - #103173 pax-utils installs docs into /usr/share/doc
+
+*pax-utils-0.1.3 (25 Jul 2005)
+
+  25 Jul 2005; Mike Frysinger <vapier@gentoo.org> +pax-utils-0.1.3.ebuild:
+  Fix building with gcc-2, dont bomb with alignment errors on some arches, and
+  add support for SONAME scanning in scanelf.
+
+*pax-utils-0.1.2 (03 Jul 2005)
+
+  03 Jul 2005; <solar@gentoo.org> +pax-utils-0.1.2.ebuild:
+  - update textrel handling code to scan only the text segment. New -e -v -p
+  flags for pspax. minor changes overall
+
+  16 Jun 2005; <solar@gentoo.org> pax-utils-0.1.1.ebuild:
+  - arm/m68k/ppc64/s390/sh stable
+
+  16 Jun 2005; <solar@gentoo.org> -pax-utils-0.0.4.ebuild,
+  -pax-utils-0.0.7.ebuild, -pax-utils-0.1.0.ebuild, pax-utils-0.1.1.ebuild:
+  - stable on alpha/hppa/ia64/sparc
+
+*pax-utils-0.1.1 (16 Jun 2005)
+
+  16 Jun 2005; <solar@gentoo.org> pax-utils-0.1.1.ebuild:
+  - stable on x86/ppc/mips/amd64
+
+  10 Jun 2005; <solar@gentoo.org> :
+  - Bugfixes: only report the source of textrels when the executable actually
+  contains DT_TEXTREL. Only enable -Wdeclaration-after-statement -Wextra if the
+  compiler supports it
+
+*pax-utils-0.1.0 (08 Jun 2005)
+
+  08 Jun 2005; <solar@gentoo.org> -pax-utils-0.0.8.ebuild,
+  -pax-utils-0.0.9.ebuild, +pax-utils-0.1.0.ebuild:
+  * scanelf options: -N matches a given lib. -T will print the cause of 
+  the ELF text relocation (-T based on code from Kevin Quinn.. 10x thanks) 
+  -F format modifiers were added for printing the base file name and base 
+  file name with search paths removed, this is ideal for scripting with 
+  use of automated q/a systems so we don't have to re-parse a the string 
+  to get desired output. All format modifiers now accept # in place of % 
+  but # is quiet where % is verbose. Also new to the format handling is 
+  the %x modifier now prints PT_PAX_FLAGS and falls back to EI_PAX if no 
+  PaX flags were found in the program header.
+  
+  * The suite should work on OSX. 
+  * Minor touch ups to Makefile/pspax/dumpelf.
+  * Lots of typecasting fixes for improved portability.
+
+  05 Jun 2005; Michael Hanselmann <hansmi@gentoo.org>
+  pax-utils-0.0.7.ebuild:
+  Stable on ppc.
+
+  31 May 2005; Christian Birchinger <joker@gentoo.org>
+  pax-utils-0.0.7.ebuild:
+  Added sparc stable keyword
+
+*pax-utils-0.0.9 (28 May 2005)
+
+  28 May 2005; Mike Frysinger <vapier@gentoo.org> +pax-utils-0.0.9.ebuild:
+  Add support for FreeBSD and fix cross-endian bugs.
+
+  21 May 2005; <solar@gentoo.org> :
+  Makefile: include/depend fix. dumpelf: display improvements, 32/64bit phdr
+  fix, man page updates. scanelf: Two new options. The ability to display run
+  time bindings -b/--bind and -f/--from read input stream from a filename/stdin
+  for scanelf. The -F format handling pretty much got a total rewrite for the
+  better. We used taviso@gentoo fuzz regression tool to help track down bugs
+  with malformed executables. Now the overall result is greatly improved error
+  handling for improper elf files. paxelf: Improvements in the mmap error
+  handling. README: updates to reflect changes man/*.1: updates to reflect
+  changes
+
+  15 May 2005; <solar@gentoo.org> metadata.xml:
+  - update metadata.xml
+
+*pax-utils-0.0.2 (15 May 2005)
+
+  15 May 2005; <solar@gentoo.org> -pax-utils-0.0.1.ebuild,
+  -pax-utils-0.0.2.ebuild, pax-utils-0.0.4.ebuild, -pax-utils-0.0.5.ebuild,
+  -pax-utils-0.0.6.ebuild, pax-utils-0.0.7.ebuild:
+  - stable x86 - make all ebuild use toolchain-funcs vs gcc eclass - cleaned non
+  stabilized versions below 0.0.7
+
+*pax-utils-0.0.7 (30 Apr 2005)
+
+  30 Apr 2005; <solar@gentoo.org> +pax-utils-0.0.7.ebuild:
+  - uclibc updates and -F format handling
+
+  21 Apr 2005; Simon Stelling <blubb@gentoo.org> pax-utils-0.0.4.ebuild:
+  stable on amd64
+
+*pax-utils-0.0.6 (14 Apr 2005)
+
+  14 Apr 2005; <solar@gentoo.org> +pax-utils-0.0.6.ebuild:
+  - version bump. lots of new treats
+
+  12 Apr 2005; Daniel Ostrow <dostrow@gentoo.org> pax-utils-0.0.4.ebuild,
+  pax-utils-0.0.5.ebuild:
+  ~ppc64 for ppc64 hardened
+
+  09 Apr 2005; Michael Hanselmann <hansmi@gentoo.org>
+  pax-utils-0.0.4.ebuild:
+  Stable on ppc.
+
+*pax-utils-0.0.5 (01 Apr 2005)
+
+  01 Apr 2005; <solar@gentoo.org> +pax-utils-0.0.5.ebuild:
+  - major source code cleanup. combine scanexec/scanrexec/pttool into unified
+  scanelf tool. manpage updates. fixed memleak in readelf function. new options
+  to detect TEXTREL's, display RPATH info, make display of pax flags markings
+  optional. A new recursive option was added to scan subdirs. All sorts of good
+  stuff that makes grandma happy. Many thanks to vapier.
+
+  31 Mar 2005; Aron Griffis <agriffis@gentoo.org> pax-utils-0.0.4.ebuild:
+  stable on ia64
+
+  12 Nov 2004; Gustavo Zacarias <gustavoz@gentoo.org> pax-utils-0.0.4.ebuild:
+  Stable on sparc
+
+*pax-utils-0.0.4 (11 Nov 2004)
+
+  11 Nov 2004; <solar@gentoo.org> +metadata.xml, pax-utils-0.0.4.ebuild:
+  marking pax-utils stable on x86/mips

diff --git a/app-misc/pax-utils/Manifest b/app-misc/pax-utils/Manifest
new file mode 100644
index 0000000..3950a27
--- /dev/null
+++ b/app-misc/pax-utils/Manifest
@@ -0,0 +1,19 @@
+AUX pax-utils-0.7-lddtree-prefix.patch 1012 SHA256 d63786c4a96bab9596e18cef76c781112652e756df59eb649b3ac0ce979e768f SHA512 a0f3609150e2bf330030eaf44a7dc6af20e1be7eb3f6737d9943677cec2c7743e120f6d84ade6b82c0fa5590ed435a808205a7b6bb3026cfb56c1fe168bdcae2 WHIRLPOOL 64159e5b2f385f9746e80ca50ae733b838495d342bd3d313fe1e96f920dc45c43b431beecf6f178989fc83cac5b476d7654b634d93d6f12c05b5ea5d40427980
+DIST pax-utils-0.2.1.tar.bz2 80580 SHA256 6a5beefb686e425eb6829bc716d2b32b64c2e854287c212c9853bc2beb705c3a SHA512 a8c18a4538227e0a9d34d9e6e6f4c99f50de376b876032092175a7a277d8f5982495ebb28542fddc7361b649e30528a775817749be0c13bd24244bf3c80a57dc WHIRLPOOL 4a77d3ea435a9905a93f0bfc2f1ee33fc709ef7d71e48c44b1b33277ccbd34d586f404c3f7004450612a68f7d4b9810d1cb98c1f255e9d8e0e87fa6fe157eccc
+DIST pax-utils-0.2.2.tar.bz2 80999 SHA256 eac86abe7871ee12452d221c1e7c21acb9ba78ba2cba1daa587d3c93c77acd07 SHA512 ed1e2e80fd9a3a24bf520b01f6ab3dc63d3aa48915cd896ca9c98c443ca80a06b7ef00aefee52e770f3fd211257989624b4fcd0b96c6a6cb2f13f9d0fe7a8d84 WHIRLPOOL e1281fc0265e159d4a8085220ed239572f1dea3d269cc4e3f5bba06b0cac7a3091e44924137bf75acc38f999caf16893f978516f3ea4c99caf58f91e5336304d
+DIST pax-utils-0.2.3.tar.xz 76652 SHA256 b2cdc20a0c67b78753ff4c4cbaa84b8175b0e2eb926de7390daef34a19297285 SHA512 98ad1410eaf42fd1a279523f73b89166d57e630e0e402343b48b32913c62017eec19aefdc92327a32ef27273d360defbefc9c8b9607747db22224643c03a901a WHIRLPOOL b26569ffe566d12c7097e9fd07b3f9335aaa2a9640c28a3178f28dedd5fcb2305e507f6c34902183d3a6612efe212e5314d3fc89f0d0f8ff59f6568c8245668f
+DIST pax-utils-0.3.0.tar.xz 79892 SHA256 d6d2992a40d89ab02d39a90d3c88ef553ecf1c9b93bae82efe16453b9152696a SHA512 0192c95d210a348e1aaec5b7cce14978447e5fb3c5da234e0244b78db096a04bc53d07b457839c16b6a98cadcae6bb3d9e8bb1e807d920c92c271184f1b03a0d WHIRLPOOL 9c5be4c94b1d619c6f8ee6ec039957765226867a0faefc18b689b61a2874b27a42e13c7572dd4b467948eefbd4d5fd1c9be0788d3f53310045e703ea362efddc
+DIST pax-utils-0.4.tar.xz 80300 SHA256 2a19285f5793fa30a6540ae67511cd5dabd543cc11130dd2eb741edfd2fc1e7f SHA512 3b9242805a042dc6bf53bfa8355f5f157425a944c49a780ae131642484463aa63cf62959075215cb9dde02b15cdab2210e7ad4f4498dad8218ada9459dbd3be8 WHIRLPOOL e33b91df453d52cbb95ad51bffc307cf5c450ba006a9671217818da870131255529452f3fd4c8644fb09ad28a1faa5f8fd5461e4f1c48349d44233eb502bc53d
+DIST pax-utils-0.5.tar.xz 80672 SHA256 1ba4f5e8680449c18841db2397aca320527fb06628b4ad9212e42f5e01de833b SHA512 6831d2495298c16f3eddc1fe2af5864775acbdd9feac17d8660b1a4e807acdb9c121ae667cf2476887e776cae39334ea4f93d2e5f46c8c739d3044db8cfd9248 WHIRLPOOL 73bf1a1875c465afbf3418d286cc7d42b18eb5560f0a941ab7be0745a640fce0fdb1a084ac9dabedf2a1833b9282a9256c1b08b8c9242b69e211f15d3e45ce55
+DIST pax-utils-0.6.tar.xz 87548 SHA256 1ffd4bf7bf3f8bb404007dd1617edfb0297e4c65a2c1153712e4a76875038784 SHA512 1d13659f647cf1f6301fda124cf7092c8e40e3772b4dae9f19f66329c40239f5ee07730c14538bdbfaa65e890515e0468476c8a88850f6d24ea2268a9fdb4193 WHIRLPOOL b889d61f8dbaf2ac06ca532ca381d375d0cef5d8c6fae763fa2c8e12cffa9244e637f90de29cb3ce024a15da143a388499be9654d1a3b9c93c408f4e93e3bc78
+DIST pax-utils-0.7.tar.xz 90188 SHA256 1ac4cee9a9ca97a723505eb29a25e50adeccffba3f0f0ef4f035cf082caf3b84 SHA512 d99f325b1d3ffc4955bc09aedcbeabea2d87a9647da31db1518de9daa55fbe0e5dd09feedd8dbcd8c4b53825a788ae7c9b904a927abc9ae995385dfd00d44f4a WHIRLPOOL dac9bb6c4e9bbf2b374371009ec16e9bf0e7a69e33494511f99e1cf2c34f684638fa8069a9f3845b8b91edea2927f18f410b9c6e62718c376b96c11d92c84634
+EBUILD pax-utils-0.2.1.ebuild 983 SHA256 0120fb70ada52e004a12b287636913c9a4e836665fd4ed8bcd287b44b02e37ad SHA512 2ad58daa4765c8cfd978148a95b86f39ac37b7e41b6f560645e6e27e1ff6697febd106ad7497d3c14023fab8c5f2d3568925584e1099aa00d683bad92dcc0f32 WHIRLPOOL 4c71189d17f24be64345084afbbb00b2aa50f135b49eddaa1e2443c3c9eca953d97ea660f50ee7d1420739798b82b0acc054536de36cf36261061c36075cab0f
+EBUILD pax-utils-0.2.2.ebuild 983 SHA256 d9d9b829cf420b27c0c971b1be54e279311cdcbea4eed4cc3dd1a6d32e4dfb3e SHA512 5f9b41428c51d4600b670e87dabe80c59c089af7216f36c3bcc7f9ef83a26b5636ed881d446ba953fd19b786ec56d1b9f4a35f6322c187732a4376963ce4018f WHIRLPOOL 0b4a0bf4ccee731d7f4f4500f2134aaa110f010b0b96aef8f06f9f14249cd1cb7d68d9a1cf72cfb707103b761573db2a71e0f641047c885a75ab6f3c529fd562
+EBUILD pax-utils-0.2.3.ebuild 977 SHA256 87a5405c1a37f269946aa3d2d9517b3b9375719d6775d961cf1e87faff21e10b SHA512 8c1d07d2e267ead3547864111a7633404a87fcd0bc6fe970c3bb984d4cff696971575b1e55e775510093ca45515fbf0e0377c37e8852317f3cc841da2a983652 WHIRLPOOL 887f6b0a78269e81f3162b11c00caeb57e0ab3a6c2bbc2a9318d455ddaa57f707f81fcb458cb900a6fa3a11736edc7baf54a15479faebf336362ce94feddf5e1
+EBUILD pax-utils-0.3.0.ebuild 1003 SHA256 a01efed75963ba64a34d8ff5f24579d4b795a02c577e95049cdcc530b643e6bb SHA512 74807af9e9485bb0e80e56a71b6f470af263110d654325b0c3753abbbd7f7b6daad4559a8374e376575ec7aaf6261b574cd9c5f978823fee07461b49aef5f85d WHIRLPOOL 07fa8f4c6329dfe2047d1bfae47322c941f043bf6574636ed60ed038a31f490a196af85208781944a852714a8db5a8a8871a6f74730b6812c128cd787c5f1fb7
+EBUILD pax-utils-0.4.ebuild 1000 SHA256 ce563e198d9d156427e5ebb4ce29a47dc74e8cfa0c9a1a4b0d97f787e95956de SHA512 156656be75428b727209485d03858bf5cb39191cb8e4f131a6cb9d17d9061c29ce0468399fe6a73cfb3e8009286d345e30dc32f5630d99f9a82ced6add2f870e WHIRLPOOL bebb31433c990c92cf610465134970e1cc474fff3f79bd6fd0b162c1f6e6afb125e2778cfcef0cc2e9863a84c074c59fad4bf4b1f2b12fd16e7c031506af97b5
+EBUILD pax-utils-0.5.ebuild 1012 SHA256 bd95b78d38e17b2375c24d9c72c94c1af7918fdd4306dde60bdf818409c77b4d SHA512 1f91417ce636700c207f015d375b746eb008b74bcc2352d9e76f3fd1608feb4323eb2378fd3c6bcfa36c7f2a63cd32eac97163b5ea1ac203a3ffdbb8c61cadff WHIRLPOOL aeb122f82f107053baaf4e8f3a5c997f04bdfede57c015b3249ecdcb510a38fd8d4d00f0e3cd2fa7ae567719f80c164eb6d5eeb4ab6e9908899464cbcb956ad2
+EBUILD pax-utils-0.6.ebuild 1113 SHA256 790adc6a96e8795eebe2c0b1cb50ed984bf886b7b8c4b008d5e98da161f4cc1f SHA512 e9d025a44a1fcc1fdc06ca97c5c9701d2e66c82ce0b3f7c6f2719c164a2d2a97ea44a3df35d8e803ac15601894f64591b3c5eee4faca18b1fe600a2c4343c556 WHIRLPOOL 40cf7a7ab6557b13a3d0ce7d659d42beba557bed69a7b126e34a62f51c295a582ffbe5c22761fd16a5efce00f199a31b16a7061cb9cb99b26cee1280208ef679
+EBUILD pax-utils-0.7.ebuild 1248 SHA256 71486e5c826335f668fddf39e494a4d9357a9d4af5d46bba21f35f697fe52d15 SHA512 d58d82df20891b6e87189c2a0580372bbbb4a57b5d53d440d29a5d0db460c207fa52c89647076c8c3034acd58a8a3af6a0a01fb682f513bb80ada28f2e960887 WHIRLPOOL c573ae69d4e429339bcad0583517058dc261fed04bb3cd268c9d64cbc492557fb47620243e77a3fb0573fa57886109e6d2a66e72a321e42c3f29417ac87c71c2
+MISC ChangeLog 21028 SHA256 714faf9e24cda0128cac6d7779683add24829dfe69a22697c29b246bfb5694cb SHA512 08a05da1267074334addef727132e2f6664510ff9e224664c79eb3071f89923d7f488ce74806a396491d914cb8f626255394019c6635e3586526805b94ca1701 WHIRLPOOL ac13e919afd9406f87349347b1c68d128f1622177dab5702b9b362bc013090eb2baa72e19934061c7973a682689838363ae62c2db0b256826adc2ffee07fa3d2
+MISC metadata.xml 679 SHA256 7fbf1f71510a3b866ef91b2fe946ce48fea23f800ea2b6c568cb5fe30fea5eae SHA512 0c3430844289afb59f313c972d4f18d535227d28ce3d402df511398d975a2ca788faa359103f5ab4c1db7e0f15670b862d2ead290eb140d6455423bc69f8491a WHIRLPOOL 199ea5829de32ca6950de909d6ce3dde4b0652afaf5c84593a1aeb9db995a0670caa4cff683396e0591326430ef6fd71a14c5cd509d27b4a203e5457108b480c

diff --git a/app-misc/pax-utils/files/pax-utils-0.7-lddtree-prefix.patch b/app-misc/pax-utils/files/pax-utils-0.7-lddtree-prefix.patch
new file mode 100644
index 0000000..e84cb66
--- /dev/null
+++ b/app-misc/pax-utils/files/pax-utils-0.7-lddtree-prefix.patch
@@ -0,0 +1,28 @@
+Index: pax-utils-0.7/lddtree.py
+===================================================================
+--- pax-utils-0.7.orig/lddtree.py
++++ pax-utils-0.7/lddtree.py
+@@ -207,7 +207,7 @@ def LoadLdpaths(root='/'):
+       ldpaths['env'] = ParseLdPaths(env_ldpath, path='')
+ 
+   # Load up /etc/ld.so.conf.
+-  ldpaths['conf'] = ParseLdSoConf(root + 'etc/ld.so.conf', root=root)
++  ldpaths['conf'] = ParseLdSoConf(root + '@GENTOO_PORTAGE_EPREFIX@/etc/ld.so.conf', root=root)
+ 
+   return ldpaths
+ 
+@@ -311,9 +311,12 @@ def ParseELF(path, root='/', ldpaths={'c
+           'needed': [],
+         }
+         # XXX: Should read it and scan for /lib paths.
++
++        slibdir=os.path.dirname(interp)
++        libdir=os.path.dirname(slibdir) + '/usr/' + os.path.basename(slibdir)
+         ldpaths['interp'] = [
+-          normpath(root + os.path.dirname(interp)),
+-          normpath(root + '/usr' + os.path.dirname(interp)),
++          normpath(root + slibdir),
++          normpath(root + libdir),
+         ]
+         break
+ 

diff --git a/app-misc/pax-utils/metadata.xml b/app-misc/pax-utils/metadata.xml
new file mode 100644
index 0000000..448899f
--- /dev/null
+++ b/app-misc/pax-utils/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer>
+    <email>solar@gentoo.org</email>
+    <description>Maintainer</description>
+  </maintainer>
+  <maintainer>
+    <email>vapier@gentoo.org</email>
+    <description>Maintainer</description>
+  </maintainer>
+  <longdescription>A suite of ELF tools to aid auditing systems. Contains various ELF related utils for ELF32, ELF64 binaries useful for displaying PaX and security info on a large groups of binary files.</longdescription>
+  <use>
+    <flag name='python'>Install a more powerful/faster version of lddtree</flag>
+  </use>
+</pkgmetadata>

diff --git a/app-misc/pax-utils/pax-utils-0.2.1.ebuild b/app-misc/pax-utils/pax-utils-0.2.1.ebuild
new file mode 100644
index 0000000..7478232
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-0.2.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.2.1.ebuild,v 1.8 2012/02/07 16:58:10 vapier Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
+HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
+SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.bz2
+	http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.bz2
+	http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.bz2"
+#SRC_URI="http://wh0rd.org/pax-utils-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="caps"
+#RESTRICT="mirror"
+
+DEPEND="caps? ( sys-libs/libcap )"
+
+src_compile() {
+	emake CC="$(tc-getCC)" USE_CAP=$(use caps && echo yes) || die
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die
+	dodoc BUGS README TODO
+}

diff --git a/app-misc/pax-utils/pax-utils-0.2.2.ebuild b/app-misc/pax-utils/pax-utils-0.2.2.ebuild
new file mode 100644
index 0000000..e298835
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-0.2.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.2.2.ebuild,v 1.3 2012/02/07 16:58:10 vapier Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
+HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
+SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.bz2
+	http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.bz2
+	http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.bz2"
+#SRC_URI="http://wh0rd.org/pax-utils-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="caps"
+#RESTRICT="mirror"
+
+DEPEND="caps? ( sys-libs/libcap )"
+
+src_compile() {
+	emake CC="$(tc-getCC)" USE_CAP=$(use caps && echo yes) || die
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die
+	dodoc BUGS README TODO
+}

diff --git a/app-misc/pax-utils/pax-utils-0.2.3.ebuild b/app-misc/pax-utils/pax-utils-0.2.3.ebuild
new file mode 100644
index 0000000..4e5ae3e
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-0.2.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.2.3.ebuild,v 1.9 2012/02/07 16:58:10 vapier Exp $
+
+inherit toolchain-funcs unpacker
+
+DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
+HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
+SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.xz
+	http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.xz
+	http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="caps"
+#RESTRICT="mirror"
+
+RDEPEND="caps? ( sys-libs/libcap )"
+DEPEND="${RDEPEND}
+	app-arch/xz-utils"
+
+src_compile() {
+	emake CC="$(tc-getCC)" USE_CAP=$(use caps && echo yes) || die
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die
+	dodoc BUGS README TODO
+}

diff --git a/app-misc/pax-utils/pax-utils-0.3.0.ebuild b/app-misc/pax-utils/pax-utils-0.3.0.ebuild
new file mode 100644
index 0000000..4322ee5
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-0.3.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.3.0.ebuild,v 1.3 2012/04/26 12:31:36 aballier Exp $
+
+inherit toolchain-funcs unpacker
+
+DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
+HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
+SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.xz
+	http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.xz
+	http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="caps"
+#RESTRICT="mirror"
+
+RDEPEND="caps? ( sys-libs/libcap )"
+DEPEND="${RDEPEND}
+	app-arch/xz-utils"
+
+src_compile() {
+	emake CC="$(tc-getCC)" USE_CAP=$(use caps && echo yes) || die
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die
+	dodoc BUGS README TODO
+}

diff --git a/app-misc/pax-utils/pax-utils-0.4.ebuild b/app-misc/pax-utils/pax-utils-0.4.ebuild
new file mode 100644
index 0000000..09c30a9
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-0.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.4.ebuild,v 1.8 2012/07/10 18:05:58 ranger Exp $
+
+inherit eutils toolchain-funcs unpacker
+
+DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
+HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
+SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.xz
+	http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.xz
+	http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="caps"
+#RESTRICT="mirror"
+
+RDEPEND="caps? ( sys-libs/libcap )"
+DEPEND="${RDEPEND}
+	app-arch/xz-utils"
+
+src_compile() {
+	emake CC="$(tc-getCC)" USE_CAP=$(usex caps) || die
+}
+
+src_install() {
+	emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install || die
+	prepalldocs
+}

diff --git a/app-misc/pax-utils/pax-utils-0.5.ebuild b/app-misc/pax-utils/pax-utils-0.5.ebuild
new file mode 100644
index 0000000..38afbc2
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-0.5.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.5.ebuild,v 1.1 2012/11/04 08:28:57 vapier Exp $
+
+inherit eutils toolchain-funcs unpacker
+
+DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
+HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
+SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.xz
+	http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.xz
+	http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="caps"
+#RESTRICT="mirror"
+
+RDEPEND="caps? ( sys-libs/libcap )"
+DEPEND="${RDEPEND}
+	app-arch/xz-utils"
+
+src_compile() {
+	emake CC="$(tc-getCC)" USE_CAP=$(usex caps) || die
+}
+
+src_install() {
+	emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install || die
+	prepalldocs
+}

diff --git a/app-misc/pax-utils/pax-utils-0.6.ebuild b/app-misc/pax-utils/pax-utils-0.6.ebuild
new file mode 100644
index 0000000..4be416b
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-0.6.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.6.ebuild,v 1.1 2013/01/02 18:28:32 vapier Exp $
+
+inherit eutils toolchain-funcs unpacker
+
+DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
+HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
+SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.xz
+	http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.xz
+	http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="caps python"
+#RESTRICT="mirror"
+
+RDEPEND="caps? ( sys-libs/libcap )
+	python? ( dev-python/pyelftools )"
+DEPEND="${RDEPEND}
+	app-arch/xz-utils"
+
+_emake() {
+	emake \
+		USE_CAP=$(usex caps) \
+		USE_PYTHON=$(usex python) \
+		"$@" || die
+}
+
+src_compile() {
+	_emake CC="$(tc-getCC)"
+}
+
+src_install() {
+	_emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install
+	prepalldocs
+}

diff --git a/app-misc/pax-utils/pax-utils-0.7.ebuild b/app-misc/pax-utils/pax-utils-0.7.ebuild
new file mode 100644
index 0000000..94f3207
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-0.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.7.ebuild,v 1.1 2013/04/07 21:04:00 vapier Exp $
+
+inherit eutils toolchain-funcs unpacker prefix
+
+DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties"
+HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml"
+SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.xz
+	http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.xz
+	http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="caps python"
+#RESTRICT="mirror"
+
+RDEPEND="caps? ( sys-libs/libcap )
+	python? ( dev-python/pyelftools )"
+DEPEND="${RDEPEND}
+	app-arch/xz-utils"
+
+_emake() {
+	emake \
+		USE_CAP=$(usex caps) \
+		USE_PYTHON=$(usex python) \
+		"$@"
+}
+
+src_compile() {
+	if use prefix; then
+		epatch "${FILESDIR}"/${PN}-0.7-lddtree-prefix.patch
+		eprefixify lddtree.py
+	fi
+
+	_emake CC="$(tc-getCC)"
+}
+
+src_test() {
+	_emake check
+}
+
+src_install() {
+	_emake DESTDIR="${ED}" PKGDOCDIR='$(DOCDIR)'/${PF} install
+	prepalldocs
+}

diff --git a/cross-armv5tel-softfloat-linux-gnueabi/gdb b/cross-armv5tel-softfloat-linux-gnueabi/gdb
index 6cd21fa..7881b92 120000
--- a/cross-armv5tel-softfloat-linux-gnueabi/gdb
+++ b/cross-armv5tel-softfloat-linux-gnueabi/gdb
@@ -1 +1 @@
-/home/benda/gnto/usr/portage/sys-devel/gdb
\ No newline at end of file
+/opt/gentoo/usr/portage/sys-devel/gdb
\ No newline at end of file

diff --git a/dev-java/ecj-gcj/files/ecj-gcj-3.5 b/dev-java/ecj-gcj/files/ecj-gcj-3.5
old mode 100755
new mode 100644

diff --git a/dev-java/ecj-gcj/files/ecj-gcj-3.6 b/dev-java/ecj-gcj/files/ecj-gcj-3.6
old mode 100755
new mode 100644

diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog
new file mode 100644
index 0000000..34b9332
--- /dev/null
+++ b/dev-lang/perl/ChangeLog
@@ -0,0 +1,2006 @@
+# ChangeLog for dev-lang/perl
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.395 2013/03/14 12:46:31 tove Exp $
+
+  14 Mar 2013; Torsten Veller <tove@gentoo.org>
+  files/eblits/src_install-v50160001.eblit:
+  Use ED to remove empty directory in /usr/local (#455926)
+
+*perl-5.16.3 (12 Mar 2013)
+
+  12 Mar 2013; Torsten Veller <tove@gentoo.org> +perl-5.16.3.ebuild:
+  Version bump
+
+*perl-5.16.2-r1 (04 Mar 2013)
+*perl-5.12.5 (04 Mar 2013)
+
+  04 Mar 2013; Torsten Veller <tove@gentoo.org> +perl-5.12.5.ebuild,
+  +files/perl-5.12.5-rehash-5.12.5.patch, +perl-5.16.2-r1.ebuild:
+  Bump. Fixes CVE-2013-1667 and adds subslots.
+
+  18 Feb 2013; Zac Medico <zmedico@gentoo.org> perl-5.16.2.ebuild:
+  Add ~arm-linux keyword.
+
+  21 Jan 2013; Mike Gilbert <floppym@gentoo.org> perl-5.16.2.ebuild:
+  Add IUSE=build as a workaround for bug 453268.
+
+*perl-5.16.2 (20 Jan 2013)
+
+  20 Jan 2013; Torsten Veller <tove@gentoo.org>
+  files/eblits/src_install-v50160001.eblit, +perl-5.16.2.ebuild:
+  Version bump (#449640).
+  * Does not create directories in /usr/local (#422981)
+  * CGI: Newline injection due to improper CRLF escaping in Set-Cookie and P3P
+    headers (#443446,CVE-2012-5526)
+  * Locale::Maketext: Two Code Injection Vulnerabilities (#446376,SA51498)
+
+  20 Sep 2012; Tim Harder <radhermit@gentoo.org> metadata.xml:
+  Remove redundant maintainer from metadata.
+
+  16 Aug 2012; Fabian Groffen <grobian@gentoo.org>
+  files/eblits/src_configure-v50160001.eblit:
+  Handle libdir detection when libdir is a symlink, such as /lib/64 on Solaris
+
+  15 Aug 2012; Fabian Groffen <grobian@gentoo.org>
+  files/eblits/src_configure-v50160001.eblit:
+  Improve libdir detection for Prefix platforms, in particular Solaris, bug
+  #427072
+
+  13 Aug 2012; Fabian Groffen <grobian@gentoo.org>
+  files/eblits/src_configure-v50160001.eblit:
+  Fix misdetection of lib dirs on certain Prefix hosts, bug #425538
+
+*perl-5.16.1 (09 Aug 2012)
+
+  09 Aug 2012; Torsten Veller <tove@gentoo.org> +perl-5.16.1.ebuild:
+  Version bump
+
+  08 Jul 2012; Fabian Groffen <grobian@gentoo.org>
+  files/eblits/src_configure-v50160001.eblit:
+  Adapt library path searching on Prefix for Ubuntu, bug #400839
+
+  07 Jun 2012; Torsten Veller <tove@gentoo.org> perl-5.16.0.ebuild:
+  Inherit new multiprocessing for makeopts_jobs.
+
+  06 Jun 2012; Torsten Veller <tove@gentoo.org> perl-5.16.0.ebuild:
+  Fix IO-Compress version in dual_scripts
+
+*perl-5.16.0 (05 Jun 2012)
+
+  05 Jun 2012; Torsten Veller <tove@gentoo.org>
+  +files/eblits/common-v50160001.eblit,
+  +files/eblits/pkg_postinst-v50160001.eblit,
+  +files/eblits/pkg_postrm-v50160001.eblit,
+  +files/eblits/pkg_setup-v50160001.eblit,
+  +files/eblits/src_configure-v50160001.eblit,
+  +files/eblits/src_install-v50160001.eblit,
+  +files/eblits/src_prepare-v50160001.eblit,
+  +files/eblits/src_test-v50160001.eblit, +perl-5.16.0.ebuild:
+  Version bump.
+  - Use eblits
+  - Move prefix patches to the patchset.
+  - Use debian patch list for -V
+  - Fix Dsiteprefix, Dsiteman1dir and Dsiteman3dir
+  - Move perllocal.pod from site_install to DESTINSTALLSITEARCH
+  - Remove the rebuild-modules-before-system-is-usable-again warning from
+  pkg-pretend again (#389771)
+  - Drop the build useflag
+
+  26 Apr 2012; Alexis Ballier <aballier@gentoo.org> perl-5.12.4-r2.ebuild:
+  keyword ~amd64-fbsd
+
+*perl-5.12.4-r2 (03 Mar 2012)
+
+  03 Mar 2012; Fabian Groffen <grobian@gentoo.org>
+  +files/perl-5.10.1-cleanup-paths.patch, +files/perl-5.10.1-hpux.patch,
+  +files/perl-5.12.3-aix-soname.patch, +files/perl-5.12.3-interix.patch,
+  +files/perl-5.12.3-mint.patch, +files/perl-5.14.1-cleanup-paths.patch,
+  +files/perl-5.8.8-darwin-cc-ld.patch,
+  +files/perl-5.8.8-solaris-relocation.patch, +files/perl-5.8.8-solaris11.patch,
+  +files/perl-5.8.8-usr-local.patch, +perl-5.12.4-r2.ebuild, perl-5.14.2.ebuild:
+  Revbump of 5.12.4 for Prefix changes, same changes in 5.14.2, transferred
+  Prefix keywords, bug #395685
+
+  02 Jan 2012; Zac Medico <zmedico@gentoo.org> perl-5.10.1.ebuild,
+  perl-5.12.3-r1.ebuild, perl-5.12.4-r1.ebuild, perl-5.12.4.ebuild,
+  perl-5.14.1-r1.ebuild, perl-5.14.1.ebuild, perl-5.14.2.ebuild,
+  perl-5.8.8-r8.ebuild:
+  Bug #394091 - Handle invalid COLUMNS.
+
+  07 Nov 2011; Kacper Kowalik <xarthisius@gentoo.org> perl-5.12.4-r1.ebuild:
+  ppc/ppc64 stable wrt #384593
+
+  23 Oct 2011; Raúl Porcel <armin76@gentoo.org> perl-5.12.4-r1.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #384593
+
+  16 Oct 2011; Matt Turner <mattst88@gentoo.org> perl-5.12.4-r1.ebuild,
+  perl-5.14.2.ebuild:
+  Remove mips d_u32align hack from the gcc-3.3 days (circa 2003)
+
+  10 Oct 2011; Markus Meier <maekke@gentoo.org> perl-5.12.4-r1.ebuild:
+  arm/x86 stable, bug #384593
+
+  05 Oct 2011; Jeroen Roovers <jer@gentoo.org> perl-5.12.4-r1.ebuild:
+  Stable for HPPA (bug #384593).
+
+  27 Sep 2011; Tony Vroon <chainsaw@gentoo.org> perl-5.12.4-r1.ebuild:
+  Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo &
+  Elijah "Armageddon" El Lazkani in bug #384593.
+
+*perl-5.14.2 (27 Sep 2011)
+
+  27 Sep 2011; Torsten Veller <tove@gentoo.org> +perl-5.14.2.ebuild:
+  Version bump
+
+*perl-5.14.1-r1 (09 Aug 2011)
+*perl-5.12.4-r1 (09 Aug 2011)
+
+  09 Aug 2011; Torsten Veller <tove@gentoo.org> -perl-5.12.2-r6.ebuild,
+  -perl-5.12.3.ebuild, +perl-5.12.4-r1.ebuild, +perl-5.14.1-r1.ebuild:
+  Add xsubpp to the dual-life scripts list. Cleanup
+
+*perl-5.12.4 (24 Jun 2011)
+
+  24 Jun 2011; Torsten Veller <tove@gentoo.org> +perl-5.12.4.ebuild:
+  Version bump
+
+*perl-5.14.1 (18 Jun 2011)
+
+  18 Jun 2011; Torsten Veller <tove@gentoo.org> +perl-5.14.1.ebuild:
+  Version bump (tracker bug #356171)
+
+  07 May 2011; Raúl Porcel <armin76@gentoo.org> perl-5.12.3-r1.ebuild:
+  arm/ia64/m68k/s390/sh/sparc stable wrt #362025
+
+  02 May 2011; Tobias Klausmann <klausman@gentoo.org> perl-5.12.3-r1.ebuild:
+  Stable on alpha, bug #362025
+
+  27 Apr 2011; Jeroen Roovers <jer@gentoo.org> perl-5.12.3-r1.ebuild:
+  Stable for HPPA (bug #362025).
+
+  26 Apr 2011; Christoph Mende <angelos@gentoo.org> perl-5.12.3-r1.ebuild:
+  Stable on amd64 wrt bug #362025
+
+  26 Apr 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+  perl-5.12.3-r1.ebuild:
+  x86 stable wrt security bug #362025
+
+  26 Apr 2011; Kacper Kowalik <xarthisius@gentoo.org> perl-5.12.3-r1.ebuild:
+  ppc/ppc64 stable wrt #362025
+
+*perl-5.12.3-r1 (25 Apr 2011)
+
+  25 Apr 2011; Torsten Veller <tove@gentoo.org> +perl-5.12.3-r1.ebuild:
+  Fix unwanted taint laundering in lc(), uc() et al. CVE-2011-1487 (#362025)
+
+  07 Mar 2011; Torsten Veller <tove@gentoo.org> perl-5.8.8-r8.ebuild,
+  perl-5.10.1.ebuild, -perl-5.12.2-r4.ebuild, -perl-5.12.2-r5.ebuild,
+  perl-5.12.2-r6.ebuild, perl-5.12.3.ebuild:
+  Drop -Dusrinc=$(get_ml_incdir) (#357737). Cleanup
+
+  22 Jan 2011; Raúl Porcel <armin76@gentoo.org> perl-5.12.2-r6.ebuild:
+  alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #351699
+
+*perl-5.12.3 (22 Jan 2011)
+
+  22 Jan 2011; Torsten Veller <tove@gentoo.org> +perl-5.12.3.ebuild:
+  Version bump
+
+  18 Jan 2011; Jeroen Roovers <jer@gentoo.org> perl-5.12.2-r6.ebuild:
+  Stable for HPPA (bug #351699).
+
+  18 Jan 2011; Christian Faulhammer <fauli@gentoo.org>
+  perl-5.12.2-r6.ebuild:
+  stable x86, security bug 351699
+
+  15 Jan 2011; Markos Chandras <hwoarang@gentoo.org> perl-5.12.2-r6.ebuild:
+  Stable on amd64 wrt bug #351699
+
+  15 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org> perl-5.12.2-r6.ebuild:
+  ppc/ppc64 stable wrt #351699
+
+*perl-5.12.2-r6 (15 Jan 2011)
+
+  15 Jan 2011; Torsten Veller <tove@gentoo.org> +perl-5.12.2-r6.ebuild:
+  Bump core CGI-3.51 (#351699)
+
+  13 Dec 2010; Torsten Veller <tove@gentoo.org> -perl-5.12.2-r1.ebuild,
+  -perl-5.12.2-r2.ebuild, -perl-5.12.2-r3.ebuild:
+  Cleanup
+
+*perl-5.12.2-r5 (13 Dec 2010)
+
+  13 Dec 2010; Torsten Veller <tove@gentoo.org> +perl-5.12.2-r5.ebuild:
+  Don't force -fstack-protector on everyone (#348557)
+
+  10 Dec 2010; Brent Baude <ranger@gentoo.org> perl-5.12.2-r4.ebuild:
+  Marking perl-5.12.2-r4 ppc64 for bug 345845
+
+  04 Dec 2010; Raúl Porcel <armin76@gentoo.org> perl-5.12.2-r4.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #345845
+
+  01 Dec 2010; Markus Meier <maekke@gentoo.org> perl-5.12.2-r4.ebuild:
+  arm stable, bug #345845
+
+  29 Nov 2010; Jeroen Roovers <jer@gentoo.org> perl-5.12.2-r4.ebuild:
+  Stable for HPPA (bug #345845).
+
+  29 Nov 2010; Jeroen Roovers <jer@gentoo.org> perl-5.12.2-r4.ebuild:
+  Stable for PPC (bug #345845).
+
+  29 Nov 2010; Markos Chandras <hwoarang@gentoo.org> perl-5.12.2-r4.ebuild:
+  Stable on amd64 wrt bug #345845
+
+  29 Nov 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+  perl-5.12.2-r4.ebuild:
+  x86 stable wrt security bug #345845
+
+*perl-5.12.2-r4 (28 Nov 2010)
+
+  28 Nov 2010; Torsten Veller <tove@gentoo.org> +perl-5.12.2-r4.ebuild:
+  Bump core CGI-3.50 (#345845)
+
+  15 Nov 2010; Torsten Veller <tove@gentoo.org> -perl-5.12.1-r1.ebuild,
+  -perl-5.12.1-r2.ebuild, -perl-5.12.2.ebuild:
+  Cleanup
+
+  13 Nov 2010; Raúl Porcel <armin76@gentoo.org> perl-5.12.2-r2.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #340023
+
+*perl-5.12.2-r3 (08 Nov 2010)
+
+  08 Nov 2010; Torsten Veller <tove@gentoo.org> +perl-5.12.2-r3.ebuild:
+  Remove the unneeded autoload section from Compress::Zlib (#344553)
+
+  06 Nov 2010; Markus Meier <maekke@gentoo.org> perl-5.12.2-r2.ebuild:
+  arm stable, bug #343795
+
+  05 Nov 2010; Markos Chandras <hwoarang@gentoo.org> perl-5.12.2-r2.ebuild:
+  Stable on amd64 wrt bug #343795
+
+  05 Nov 2010; Jeroen Roovers <jer@gentoo.org> perl-5.12.2-r2.ebuild:
+  Stable for HPPA PPC (bug #343795).
+
+  04 Nov 2010; Christian Faulhammer <fauli@gentoo.org>
+  perl-5.12.2-r2.ebuild:
+  stable x86, bug 343795
+
+*perl-5.12.2-r2 (31 Oct 2010)
+
+  31 Oct 2010; Torsten Veller <tove@gentoo.org> +perl-5.12.2-r2.ebuild:
+  Fix regression: Add /usr/local/lib/site_perl and /etc/perl to INC
+  (#343225). enc2xs ignores missing @INC directories (#338802). Cleanup
+  MINIMAL_PERL_INSTALL. Backport patch for deprecated use of "goto" to jump
+  into a construct in h2ph
+
+  28 Oct 2010; Torsten Veller <tove@gentoo.org> perl-5.12.2-r1.ebuild:
+  Add Tie::Hash to MINIMAL_PERL_INSTALL
+
+  24 Oct 2010; Markus Meier <maekke@gentoo.org> perl-5.12.2-r1.ebuild:
+  arm stable, bug #340023
+
+  24 Oct 2010; Jeroen Roovers <jer@gentoo.org> perl-5.12.2-r1.ebuild:
+  Stable for HPPA (bug #340023).
+
+  24 Oct 2010; Brent Baude <ranger@gentoo.org> perl-5.12.2-r1.ebuild:
+  Marking perl-5.12.2-r1 ppc for bug 340023
+
+  22 Oct 2010; Samuli Suominen <ssuominen@gentoo.org> perl-5.12.2-r1.ebuild:
+  ppc64 stable wrt #340023
+
+  22 Oct 2010; Markos Chandras <hwoarang@gentoo.org> perl-5.12.2-r1.ebuild:
+  Stable on amd64 wrt bug #340023
+
+  22 Oct 2010; Christian Faulhammer <fauli@gentoo.org>
+  perl-5.12.2-r1.ebuild:
+  stable x86, bug 340023
+
+  07 Oct 2010; Torsten Veller <tove@gentoo.org> perl-5.12.2-r1.ebuild:
+  Create VENDOR_ARCH to shut up a enc2xs file not found warning (#338802).
+  Raise perl-cleaner version
+
+  24 Sep 2010; Torsten Veller <tove@gentoo.org> perl-5.12.2-r1.ebuild:
+  Disable tests if run as root until there is a solution (#328793). Don't
+  try to create a link for missing cpan-run-perl manpage (#307179)
+
+*perl-5.12.2-r1 (21 Sep 2010)
+
+  21 Sep 2010; Torsten Veller <tove@gentoo.org> +perl-5.12.2-r1.ebuild:
+  Add LDFLAGS to ldflags and to lddlflags via config.over. Fixes bug #181435
+
+  20 Sep 2010; Mart Raudsepp <leio@gentoo.org> perl-5.12.2.ebuild:
+  Add back ~mips wrt #288028
+
+*perl-5.12.2 (07 Sep 2010)
+
+  07 Sep 2010; Torsten Veller <tove@gentoo.org> +perl-5.12.2.ebuild:
+  Version bump
+
+*perl-5.12.1-r2 (30 Aug 2010)
+
+  30 Aug 2010; Torsten Veller <tove@gentoo.org> +perl-5.12.1-r2.ebuild:
+  Only add debugging code if USE=debug is set. See bug 335213
+
+  28 Jul 2010; Torsten Veller <tove@gentoo.org> -perl-5.12.1.ebuild,
+  perl-5.12.1-r1.ebuild:
+  Set scriptdir (#330119,#13920)
+
+*perl-5.12.1-r1 (20 Jul 2010)
+
+  20 Jul 2010; Torsten Veller <tove@gentoo.org> +perl-5.12.1-r1.ebuild:
+  Bump patchset. Fixes #329021 - Unquoted string "c" may clash with future
+  reserved word
+
+  15 Jul 2010; Torsten Veller <tove@gentoo.org> perl-5.12.1.ebuild:
+  Raise perl-cleaner version
+
+*perl-5.12.1 (19 Jun 2010)
+
+  19 Jun 2010; Torsten Veller <tove@gentoo.org> +perl-5.12.1.ebuild:
+  Version bump
+
+  31 Mar 2010; Raúl Porcel <armin76@gentoo.org> perl-5.8.8-r8.ebuild,
+  perl-5.10.1.ebuild:
+  Drop -O1 on arm/ia64 as it works fine
+
+  14 Mar 2010; Alexis Ballier <aballier@gentoo.org> perl-5.10.1.ebuild:
+  keyword ~x86-fbsd
+
+  15 Feb 2010; Torsten Veller <tove@gentoo.org> perl-5.10.1.ebuild:
+  Remind to run perl-cleaner (#305139)
+
+  13 Feb 2010; Torsten Veller <tove@gentoo.org> perl-5.10.1.ebuild:
+  Define man{1,3}{dir,ext} again
+
+  03 Feb 2010; Hanno Boeck <hanno@gentoo.org> perl-5.8.8-r8.ebuild,
+  perl-5.10.1.ebuild:
+  Change license, Perl is Artistic or GPL-1 or later. We can't express or
+  later for now, so adding all GPL-1/2/3.
+
+  24 Jan 2010; Brent Baude <ranger@gentoo.org> perl-5.10.1.ebuild:
+  Marking perl-5.10.1 ~ppc64 for bug 288028
+
+  17 Jan 2010; Torsten Veller <tove@gentoo.org> -perl-5.8.8-r5.ebuild,
+  -perl-5.8.8-r6.ebuild, -files/perl-5.8.8-CAN-2005-0448-rmtree.patch:
+  Cleanup
+
+  10 Dec 2009; Brent Baude <ranger@gentoo.org> perl-5.8.8-r8.ebuild:
+  Marking perl-5.8.8-r8 ppc64 for bug 295028
+
+  10 Dec 2009; Raúl Porcel <armin76@gentoo.org> perl-5.8.8-r8.ebuild:
+  alpha/ia64/m68k/s390/sh stable wrt #295028
+
+  09 Dec 2009; nixnut <nixnut@gentoo.org> perl-5.8.8-r8.ebuild:
+  ppc stable #295028
+
+  09 Dec 2009; Raúl Porcel <armin76@gentoo.org> perl-5.10.1.ebuild:
+  Add ~sh wrt #288028
+
+  08 Dec 2009; Jeroen Roovers <jer@gentoo.org> perl-5.8.8-r8.ebuild:
+  Stable for HPPA (bug #295028).
+
+  08 Dec 2009; Tiago Cunha <tcunha@gentoo.org> perl-5.8.8-r8.ebuild:
+  stable sparc, bug 295028
+
+  03 Dec 2009; Markus Meier <maekke@gentoo.org> perl-5.8.8-r8.ebuild:
+  amd64/arm/x86 stable, bug #295028
+
+  16 Nov 2009; Raúl Porcel <armin76@gentoo.org> perl-5.10.1.ebuild:
+  Add ~alpha/~ia64/~s390/~sparc wrt #288028
+
+  15 Nov 2009; Torsten Veller <tove@gentoo.org> perl-5.10.1.ebuild:
+  Add patch for ICE on ia64 (#293312)
+
+  15 Nov 2009; Raúl Porcel <armin76@gentoo.org> perl-5.10.1.ebuild:
+  Add ~m68k wrt #288028, thanks to kolla for testing
+
+  15 Nov 2009; Torsten Veller <tove@gentoo.org> perl-5.10.1.ebuild:
+  Disable parallel tests (#293241)
+
+  15 Nov 2009; Torsten Veller <tove@gentoo.org> perl-5.8.8-r8.ebuild,
+  +files/perl-5.8.8-libnet-hostname.patch:
+  Add libnet hostname patch from perl-core/libnet
+
+  14 Nov 2009; Torsten Veller <tove@gentoo.org> perl-5.8.8-r8.ebuild,
+  perl-5.10.1.ebuild:
+  Check for alternative scripts in ROOT
+
+*perl-5.8.8-r8 (14 Nov 2009)
+
+  14 Nov 2009; Torsten Veller <tove@gentoo.org> +perl-5.8.8-r8.ebuild:
+  Add alternatives script linking to perl-5.8.8
+
+  11 Nov 2009; Christian Ruppert <idl0r@gentoo.org>
+  -files/perl-5.8.8-libbits.patch:
+  Remove obsolete patch.
+
+  04 Nov 2009; Michael Haubenwallner <haubi@gentoo.org>
+  files/perl-5.8.8-ccld-cflags.patch:
+  Respect CFLAGS also when linking executables, not just for libperl
+
+  04 Nov 2009; Michael Haubenwallner <haubi@gentoo.org>
+  perl-5.8.8-r6.ebuild, +files/perl-5.8.8-ccld-cflags.patch:
+  Respect CFLAGS even for linking when done with compiler
+
+  27 Oct 2009; Mounir Lamouri <volkmar@gentoo.org> perl-5.10.1.ebuild:
+  Keywording for ppc, bug 288028
+
+  27 Oct 2009; Torsten Veller <tove@gentoo.org> perl-5.10.1.ebuild:
+  Fix RT69973: disable non-unicode case insensitive trie matching (#290194)
+
+  22 Oct 2009; Torsten Veller <tove@gentoo.org> perl-5.10.1.ebuild:
+  Fix warning: Rebuild packages linking libperl.so after toggling use flags
+
+  21 Oct 2009; Markus Meier <maekke@gentoo.org> perl-5.10.1.ebuild:
+  add ~amd64/~arm/~x86, bug #288028
+
+  13 Oct 2009; Jeroen Roovers <jer@gentoo.org> perl-5.10.1.ebuild:
+  Marked ~hppa (bug #288028).
+
+  29 Sep 2009; Torsten Veller <tove@gentoo.org> perl-5.10.1.ebuild:
+  Rename and link the scripts from podlators too: pod2man and pod2text (#286962)
+
+  28 Sep 2009; Torsten Veller <tove@gentoo.org> perl-5.10.1.ebuild:
+  Bump perl patchset. Fixes bugs #286840, #286841
+
+  28 Sep 2009; Torsten Veller <tove@gentoo.org> perl-5.8.8-r5.ebuild,
+  perl-5.8.8-r6.ebuild, perl-5.10.1.ebuild:
+  Bump perl-5.10.1 patchset.
+  Fix asm/page.h failure. Thanks to Alon Bar-Lev and Diego Pettenò.
+  (#259923, #286656, #249827, #265268)
+
+*perl-5.10.1 (27 Sep 2009)
+
+  27 Sep 2009; Torsten Veller <tove@gentoo.org> +perl-5.10.1.ebuild:
+  Version bump
+
+  30 Jul 2009; Torsten Veller <tove@gentoo.org> -perl-5.8.8-r7.ebuild:
+  Remove 5.8.8-r7 again
+
+  29 May 2009; Torsten Veller <tove@gentoo.org> perl-5.8.8-r6.ebuild,
+  perl-5.8.8-r7.ebuild, +files/perl-5.8.8-fix_file_path_chdir.patch:
+  Add another File-Path fix
+
+  27 May 2009; Torsten Veller <tove@gentoo.org> -perl-5.8.8-r2.ebuild,
+  -perl-5.8.8-r3.ebuild, -perl-5.8.8-r4.ebuild:
+  Cleanup
+
+*perl-5.8.8-r7 (27 May 2009)
+
+  27 May 2009; Torsten Veller <tove@gentoo.org> +perl-5.8.8-r7.ebuild:
+  PDEPENDS on CPAN, Encode, ExtUtils-MakeMaker
+
+  08 May 2009; Torsten Veller <tove@gentoo.org>
+  +files/perl-fix_h2ph_include_quote.patch, perl-5.8.8-r6.ebuild:
+  Fix h2ph to handle system headers with quotes
+
+  26 Apr 2009; Friedrich Oslage <bluebird@gentoo.org>
+  +files/perl-5.8.8-lib32.patch, files/perl-5.8.8-lib64.patch,
+  perl-5.8.8-r5, perl-5.8.8-r6:
+  Install libraries into the correct directory if libdir is lib32, simplify
+  the patches, bug #266052
+
+  11 Mar 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+  perl-5.8.8-r5.ebuild:
+  Backport to stable, too.
+
+  11 Mar 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+  perl-5.8.8-r6.ebuild:
+  Fix logic for applying the lib64 patch, use get_libdir to decide (should
+  fix 32-bit userland profiles).
+
+*perl-5.8.8-r6 (28 Jan 2009)
+
+  28 Jan 2009; Torsten Veller <tove@gentoo.org>
+  +files/perl-5.8.8-CAN-2005-0448-rmtree-2.patch, +perl-5.8.8-r6.ebuild:
+  Fix #249629 - File::Path multiple symlink attack vulnerabilities
+
+  23 Aug 2008; Jeroen Roovers <jer@gentoo.org> metadata.xml:
+  Add GLEP 56 USE flag descriptions. Remove empty tag.
+
+  18 Jul 2008; Javier Villavicencio <the_paya@gentoo.org>
+  files/perl-5.8.8-fbsdhints.patch:
+  Updated fbsdhints patch, bug 225323.
+
+  05 Jul 2008; Stephanie Lockwood-Childs <wormo@gentoo.org>
+  perl-5.8.8-r2.ebuild, perl-5.8.8-r3.ebuild, perl-5.8.8-r4.ebuild,
+  perl-5.8.8-r5.ebuild:
+  Replaced reference to dead site http://perldoc.com with an equivalent 
+  http://search.cpan.org url (bug #230881)
+
+  16 May 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+  perl-5.8.8-r5.ebuild:
+  ppc stable, bug #219203
+
+  15 May 2008; Raúl Porcel <armin76@gentoo.org> perl-5.8.8-r5.ebuild:
+  alpha/ia64 stable wrt security #219203
+
+  14 May 2008; Markus Meier <maekke@gentoo.org> perl-5.8.8-r5.ebuild:
+  amd64 stable, bug #219203
+
+  14 May 2008; Christian Faulhammer <opfer@gentoo.org> perl-5.8.8-r5.ebuild:
+  stable x86, security bug 219203
+
+  14 May 2008; Markus Rothe <corsair@gentoo.org> perl-5.8.8-r5.ebuild:
+  Stable on ppc64; bug #219203
+
+  14 May 2008; Ferris McCormick <fmccor@gentoo.org> perl-5.8.8-r5.ebuild:
+  Sparc stable, Security Bug #219203 (UTF regex problem) --- all tests good.
+
+  14 May 2008; Jeroen Roovers <jer@gentoo.org> perl-5.8.8-r5.ebuild:
+  Stable for HPPA (bug #219203).
+
+*perl-5.8.8-r5 (09 May 2008)
+
+  09 May 2008; Torsten Veller <tove@gentoo.org>
+  +files/perl-5.8.8-CVE-2008-1927.patch, +perl-5.8.8-r5.ebuild:
+  #219203 - Fix for CVE-2008-1927
+
+*perl-5.8.8-r4 (19 Nov 2007)
+
+  19 Nov 2007; Christian Hartmann <ian@gentoo.org> +perl-5.8.8-r4.ebuild:
+  Revbump to make sure everybody got a working perl as suggested in bug
+  #199518 in comment 22; keeping keywords to speed up the progress for bug
+  #198196
+
+  18 Nov 2007; Christian Hartmann <ian@gentoo.org>
+  +files/perl-5.8.8-lib64.patch:
+  Readding perl-5.8.8-lib64.patch; thanks angelos
+
+  18 Nov 2007; Christian Hartmann <ian@gentoo.org> perl-5.8.8-r2.ebuild,
+  perl-5.8.8-r3.ebuild:
+  Reverting solars changes; bug #199518
+
+  18 Nov 2007; <solar@gentoo.org> -files/perl-5.8.8-lib64.patch,
+  +files/perl-5.8.8-libbits.patch, perl-5.8.8-r2.ebuild,
+  perl-5.8.8-r3.ebuild:
+  - fixed the lib64 patch that was breaking on amd64 32ul.
+
+  14 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org> perl-5.8.8-r3.ebuild:
+  Stable on amd64 wrt bug #198196.
+
+  13 Nov 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+  perl-5.8.8-r3.ebuild:
+  ppc stable, bug #198196
+
+  13 Nov 2007; Markus Rothe <corsair@gentoo.org> perl-5.8.8-r3.ebuild:
+  Stable on ppc64; bug #198196
+
+  13 Nov 2007; Raúl Porcel <armin76@gentoo.org> perl-5.8.8-r3.ebuild:
+  alpha/ia64 stable wrt security #198196
+
+  13 Nov 2007; Markus Meier <maekke@gentoo.org> perl-5.8.8-r3.ebuild:
+  x86 stable, security bug #198196
+
+  13 Nov 2007; Jeroen Roovers <jer@gentoo.org> perl-5.8.8-r3.ebuild:
+  Stable for HPPA (bug #198196). Fixed many quoting issues.
+
+  12 Nov 2007; Ferris McCormick <fmccor@gentoo.org> perl-5.8.8-r3.ebuild:
+  Sparc stable --- Security Bug #198196 --- All tests and autotools good.
+
+*perl-5.8.8-r3 (12 Nov 2007)
+
+  12 Nov 2007; <cab@gentoo.org> +files/perl-5.8.8-utf8-boundary.patch,
+  +perl-5.8.8-r3.ebuild:
+  patch for bug #198196
+
+  17 Oct 2007; Christian Hartmann <ian@gentoo.org> perl-5.8.8-r2.ebuild:
+  Fixed bug #194384
+
+  19 Aug 2007; Christian Hartmann <ian@gentoo.org>
+  +files/perl-5.8.8-perlcc.patch, perl-5.8.8-r2.ebuild:
+  Fixed bug #181229
+
+  16 Aug 2007; Zac Medico <zmedico@gentoo.org> perl-5.8.8-r2.ebuild:
+  Bug #187866 - Block Test-Harness, PodParser, and Locale-gettext when
+  the "build" flag is enabled since perl needs to be rebuilt first.
+
+  08 Aug 2007; Mike Frysinger <vapier@gentoo.org> perl-5.8.8-r2.ebuild:
+  Apply gcc-4.2 patch to everyone.
+
+  06 Aug 2007; Harald van Dijk <truedfx@gentoo.org>
+  +files/perl-5.8.8-makedepend-syntax.patch, perl-5.8.8-r2.ebuild:
+  Fix syntax error in makedepend.SH
+
+  06 Aug 2007; Christian Hartmann <ian@gentoo.org> perl-5.8.8-r2.ebuild:
+  Bug #187866 - added suggested fix
+
+  30 Apr 2007; <solar@gentoo.org> perl-5.8.8-r2.ebuild:
+  - filter ssp on ia64 due to ICE in compiler. revisit when we have a working
+  hardened gcc-4.x
+
+  30 Mar 2007; Michael Cummings <mcummings@gentoo.org> perl-5.8.8-r2.ebuild:
+  Bug 147184, thanks to jweckhart for the patch :)
+
+  08 Mar 2007; Michael Cummings <mcummings@gentoo.org> perl-5.8.8-r2.ebuild:
+  Change to the call for the lib64 patch to enable it for ppc64 - helps with
+  stage 1 building problems. Thanks ranger :)
+
+  07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> perl-5.8.8-r2.ebuild:
+  Change all instances of [ to [[.
+
+  04 Mar 2007; Michael Cummings <mcummings@gentoo.org>
+  +files/perl-5.8.8-asm-page-h-compile-failure.patch, perl-5.8.8-r2.ebuild:
+  Bug 168312, patch from Peter for >=2.6.20 kernel headers.
+
+  11 Feb 2007; Fabian Groffen <grobian@gentoo.org> perl-5.8.8-r2.ebuild:
+  Dropped ppc-macos keyword, see you in prefix
+
+  11 Jan 2007; Michael Cummings <mcummings@gentoo.org> perl-5.8.8-r2.ebuild:
+  Reverting changes made for bug 59328 until we can figure out why this breaks
+  under catalyst
+
+  09 Jan 2007; Michael Cummings <mcummings@gentoo.org> perl-5.8.8-r2.ebuild:
+  Bug 144965, adjusted gcc patch line
+
+  07 Jan 2007; Michael Cummings <mcummings@gentoo.org> perl-5.8.8-r2.ebuild:
+  Bug 160623, mistakenly removed the else block for noman
+
+  05 Jan 2007; Michael Cummings <mcummings@gentoo.org> perl-5.8.8-r2.ebuild:
+  Bug 59328, features=noman support
+
+  19 Nov 2006; Michael Cummings <mcummings@gentoo.org>
+  +files/perl-5.8.8-gcc42-command-line.patch, perl-5.8.8-r2.ebuild:
+  Bug 144965, gcc-4.2 bug/patch, patch provided by dirtyepic
+
+  18 Nov 2006; Michael Cummings <mcummings@gentoo.org>
+  -files/perl-5.8.7-CAN-2005-0448-rmtree.patch,
+  -files/perl-5.8.7-regexp-nossp.patch, -files/perl-5.8.7-tempfiles.patch,
+  -files/perl-exp_intwrap.patch, -files/perl-nonblock.patch,
+  -files/perl-reorder-INC.patch, perl-5.8.8-r2.ebuild:
+  Bug 150702; also cleaned up unused patches
+
+  23 Oct 2006; Michael Cummings <mcummings@gentoo.org>
+  -perl-5.8.7-r3.ebuild:
+  Removing old perl
+
+  17 Oct 2006; Roy Marples <uberlord@gentoo.org> perl-5.8.8-r2.ebuild:
+  Added ~sparc-fbsd keyword.
+
+  07 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> perl-5.8.8-r2.ebuild:
+  Add a dependency on freebsd-mk-defs on FreeBSD.
+
+  18 Aug 2006; Michael Cummings <mcummings@gentoo.org>
+  -perl-5.8.7-r2.ebuild, perl-5.8.7-r3.ebuild, perl-5.8.8-r2.ebuild:
+  Cleaning up; bug 142940, updating h2ph options for multilib boxes
+
+  15 Aug 2006; Christian Hartmann <ian@gentoo.org> perl-5.8.8-r2.ebuild:
+  Fix bug #143895
+
+  13 Aug 2006; <yuval@gentoo.org> perl-5.8.7-r2.ebuild,
+  perl-5.8.7-r3.ebuild, perl-5.8.8-r2.ebuild:
+  Bug #139478 - changed description. Thanks Marko Horvat for 'reporting'! ;)
+
+  11 Jul 2006; Michael Cummings <mcummings@gentoo.org> -perl-5.8.8.ebuild,
+  -perl-5.8.8-r1.ebuild:
+  Cleaning up
+
+  25 Jun 2006; Christian Hartmann <ian@gentoo.org> Manifest:
+  Removed obsolete patchfiles
+
+  24 Jun 2006; Michael Cummings <mcummings@gentoo.org> perl-5.8.7-r2.ebuild,
+  perl-5.8.7-r3.ebuild, perl-5.8.8.ebuild, perl-5.8.8-r1.ebuild,
+  perl-5.8.8-r2.ebuild:
+  Removing perl-core/ExtUtils-MakeMaker
+
+  18 Jun 2006; Bryan Østergaard <kloeri@gentoo.org> perl-5.8.8-r2.ebuild:
+  Stable on ia64.
+
+  14 Jun 2006; Michael Cummings <mcummings@gentoo.org> -files/perl-cleaner,
+  -perl-5.8.6-r5.ebuild, -perl-5.8.6-r6.ebuild, -perl-5.8.6-r7.ebuild,
+  -perl-5.8.6-r8.ebuild, -perl-5.8.7.ebuild, -perl-5.8.7-r1.ebuild:
+  Cleaning up
+
+  08 Jun 2006; Michael Cummings <mcummings@gentoo.org> perl-5.8.8-r2.ebuild:
+  Fixed pdepend to exclude build folks
+
+  07 Jun 2006; Joshua Kinard <kumba@gentoo.org> perl-5.8.8-r2.ebuild:
+  Marked stable on mips.
+
+  07 Jun 2006; <mcummings@gentoo.org> perl-5.8.8-r2.ebuild:
+  Following a conversation with agaffney, removed code that is dup'd from
+  libperl that was causing a loop in catalyst building - fixes help2man bugs -
+  bug 130248 in particular
+
+  03 Jun 2006; Guy Martin <gmsoft@gentoo.org>
+  +files/perl-hppa-pa7200-configure.patch, perl-5.8.8-r2.ebuild:
+  On PA7200, uname -a contains a single quote and we need to filter it
+  otherwise configure fails. See #125535.
+
+  30 May 2006; <mcummings@gentoo.org> perl-5.8.8-r2.ebuild:
+  Bug 134859, fixed USE=build removals on lib64
+
+  27 May 2006; Bryan Østergaard <kloeri@gentoo.org> perl-5.8.8-r2.ebuild:
+  Stable on alpha.
+
+  27 May 2006; <mcummings@gentoo.org> perl-5.8.8-r2.ebuild:
+  Marking sparc stable
+
+  26 May 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+  perl-5.8.8-r2.ebuild:
+  hppa stable
+
+  26 May 2006; Chris Gianelloni <wolf31o2@gentoo.org> perl-5.8.8-r2.ebuild:
+  Stable on amd64 and x86 wrt bug #133989.
+
+  26 May 2006; Diego Pettenò <flameeyes@gentoo.org> perl-5.8.8-r2.ebuild:
+  Re-add ~x86-fbsd keyword.
+
+  26 May 2006; Markus Rothe <corsair@gentoo.org> perl-5.8.8-r2.ebuild:
+  Stable on ppc64; bug #133989
+
+  26 May 2006; <nixnut@gentoo.org> perl-5.8.8-r2.ebuild:
+  Stable on ppc. Bug #133989
+
+  26 May 2006; <mcummings@gentoo.org> perl-5.8.8-r2.ebuild:
+  Bug 134359, -Dusenm
+
+*perl-5.8.8-r2 (26 May 2006)
+
+  26 May 2006; <mcummings@gentoo.org> +perl-5.8.8-r2.ebuild:
+  Bug 134363 - pdepends got lost.
+
+  25 May 2006; Guy Martin <gmsoft@gentoo.org> perl-5.8.8-r1.ebuild:
+  Stable on hppa.
+
+  24 May 2006; <nixnut@gentoo.org> perl-5.8.8-r1.ebuild:
+  Stable on ppc. bug #133989
+
+  23 May 2006; Chris Gianelloni <wolf31o2@gentoo.org> perl-5.8.8-r1.ebuild:
+  Stable on x86 wrt bug #133989.
+
+  23 May 2006; <mcummings@gentoo.org> perl-5.8.8-r1.ebuild:
+  Marking stable sparc, bug 133989
+
+  23 May 2006; Markus Rothe <corsair@gentoo.org> perl-5.8.8-r1.ebuild:
+  Stable on ppc64; bug #133989
+
+  20 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> perl-5.8.8-r1.ebuild:
+  Use realpath when available, rather than readlink -f, to support
+  Gentoo/FreeBSD.
+
+  31 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> perl-5.8.8-r1.ebuild:
+  Add ~x86-fbsd keyword.
+
+*perl-5.8.8-r1 (29 Mar 2006)
+
+  29 Mar 2006; <mcumming@gentoo.org> +files/perl-5.8.8-cplusplus.patch,
+  +perl-5.8.8-r1.ebuild:
+  Patch 27203 in blead - fixes c++ problems in XS code :)
+
+  20 Feb 2006; Michael Cummings <mcummings@gentoo.org>
+  +files/perl-5.8.8-fbsdhints.patch, perl-5.8.8.ebuild:
+  Bug 122780, freebsd hints via flameeyes
+
+  20 Feb 2006; Michael Cummings <mcummings@gentoo.org>
+  +files/perl-5.8.8-dragonfly-clean.patch, perl-5.8.8.ebuild:
+  Bug 122706, dragonfly patches. Patch submitted upstream and here by 
+  Robert Sebastian Gerus, should be available in blead now.
+
+  20 Feb 2006; Michael Cummings <mcummings@gentoo.org> perl-5.8.8.ebuild:
+  Updated perl-cleaner dep
+
+  15 Feb 2006; Michael Cummings <mcummings@gentoo.org> perl-5.8.8.ebuild:
+  Dropping PROVIDE, repoman rejoices, people return to normalcy
+
+  13 Feb 2006; Michael Cummings <mcummings@gentoo.org> perl-5.8.8.ebuild:
+  Updated virtuals per ciarnm's input
+
+  07 Feb 2006; Aron Griffis <agriffis@gentoo.org> perl-5.8.8.ebuild:
+  Prefer to avoid eval and use a bash array for myconf instead, it's less
+  error-prone
+
+  07 Feb 2006; Michael Cummings <mcummings@gentoo.org> perl-5.8.8.ebuild:
+  src update
+
+  07 Feb 2006; <mcumming@gentoo.org> perl-5.8.8.ebuild:
+  Style fixes to 5.8.8, thanks az
+
+*perl-5.8.8 (07 Feb 2006)
+
+  07 Feb 2006; Michael Cummings <mcummings@gentoo.org>
+  +files/perl-5.8.8-CAN-2005-0448-rmtree.patch,
+  +files/perl-5.8.8-USE_MM_LD_RUN_PATH.patch, +files/perl-5.8.8-lib64.patch,
+  +files/perl-5.8.8-links.patch, +files/perl-5.8.8-reorder-INC.patch,
+  -files/perl-5.8.8_rc1-CAN-2005-0448-rmtree.patch,
+  -files/perl-5.8.8_rc1-reorder-INC.patch, -perl-5.8.8_rc1.ebuild,
+  +perl-5.8.8.ebuild:
+  Perl 5.8.8, with amd64 fixes, RUNPATH fixes, a completely reversed INC, and
+  a shiny set of changes.
+
+  24 Jan 2006; Michael Cummings <mcummings@gentoo.org>
+  +files/perl-5.8.8_rc1-reorder-INC.patch, perl-5.8.8_rc1.ebuild:
+  Some tweaks to perl-5.8.8 installation
+
+*perl-5.8.8_rc1 (22 Jan 2006)
+
+  22 Jan 2006; Michael Cummings <mcummings@gentoo.org>
+  +files/perl-5.8.8_rc1-CAN-2005-0448-rmtree.patch,
+  +files/perl-regexp-nossp.patch, +perl-5.8.8_rc1.ebuild:
+  RC1 of perl 5.8.8
+
+  21 Jan 2006; Markus Rothe <corsair@gentoo.org> perl-5.8.7-r3.ebuild:
+  Stable on ppc64
+
+  16 Jan 2006; Michael Cummings <mcummings@gentoo.org> perl-5.8.6-r8.ebuild,
+  perl-5.8.7-r3.ebuild:
+  Minor addition of enc2xs, doesn't impact anything, just placing into ebuild
+  for later reference
+
+  15 Jan 2006; Michael Cummings <mcummings@gentoo.org> perl-5.8.7-r3.ebuild:
+  Bug 110363, thanks to Nathan and Rene for noting the typo in the minimal
+  section
+
+  14 Jan 2006; Torsten Veller <tove@gentoo.org> perl-5.8.7-r3.ebuild:
+  Stable on x86 (#118938)
+
+  25 Dec 2005; Joshua Kinard <kumba@gentoo.org> perl-5.8.6-r8.ebuild,
+  perl-5.8.7-r3.ebuild:
+  Mark 5.8.6-r8 && 5.8.7-r3 stable on mips.
+
+  14 Dec 2005; <mcumming@gentoo.org> perl-5.8.7-r3.ebuild:
+  Bug 115503, better if-clause for nossp patch
+
+  07 Dec 2005; Jason Wever <weeve@gentoo.org> perl-5.8.7-r3.ebuild:
+  Stable on SPARC wrt bug #114113.
+
+  07 Dec 2005; Mark Loeser <halcy0n@gentoo.org> perl-5.8.6-r8.ebuild:
+  Stable on x86; bug #114113
+
+  07 Dec 2005; Jose Luis Rivero <yoswink@gentoo.org> perl-5.8.7-r3.ebuild:
+  Stable on alpha wrt security bug #114113
+
+  06 Dec 2005; Michael Hanselmann <hansmi@gentoo.org> perl-5.8.7-r3.ebuild:
+  Stable on hppa, ppc.
+
+  06 Dec 2005; Marcus D. Hanwell <cryos@gentoo.org> perl-5.8.7-r3.ebuild:
+  Stable on amd64, bug 114113.
+
+  06 Dec 2005; Markus Rothe <corsair@gentoo.org> perl-5.8.6-r8.ebuild:
+  Stable on ppc64; bug #114113
+
+*perl-5.8.7-r3 (06 Dec 2005)
+
+  06 Dec 2005; <mcumming@gentoo.org> files/perl-exp_intwrap.patch,
+  +perl-5.8.7-r3.ebuild:
+  More bug 114113 work. Patch updated, segfaults are all handled now with
+  cleaner exit/messages. test with perl -e 'printf("%2147483647$n");' or perl
+  -e 'printf "%4294967295d"' before and after upgrading to demonstrate
+
+  05 Dec 2005; <mcumming@gentoo.org> perl-5.8.6-r5.ebuild,
+  perl-5.8.6-r6.ebuild, perl-5.8.6-r7.ebuild, perl-5.8.7-r1.ebuild,
+  perl-5.8.7-r2.ebuild, perl-5.8.7.ebuild:
+  Bug 113930, case statement for non-linux. Also (finally) a fix for the
+  installmanpaths (personal bug)
+
+  05 Dec 2005; <mcummings@gentoo.org> perl-5.8.6-r7.ebuild,
+  perl-5.8.7-r2.ebuild:
+  Mistaken commit missed the picdl patch (was working on bug 65624, which this
+  patch appears to cause a seg fault with)
+
+  02 Dec 2005; Joseph Jezak <josejx@gentoo.org> perl-5.8.6-r7.ebuild:
+  Marked ppc stable for bug #114113.
+
+  01 Dec 2005; Andrej Kacian <ticho@gentoo.org> perl-5.8.6-r7.ebuild:
+  Stable on x86, bug #114113.
+
+  01 Dec 2005; <dang@gentoo.org> perl-5.8.7-r2.ebuild:
+  Marked stable on amd64
+
+  01 Dec 2005; Markus Rothe <corsair@gentoo.org> perl-5.8.7-r2.ebuild:
+  Stable on ppc64; bug #114113
+
+  01 Dec 2005; Gustavo Zacarias <gustavoz@gentoo.org> perl-5.8.7-r2.ebuild:
+  Stable on sparc wrt security #114113
+
+*perl-5.8.7-r2 (01 Dec 2005)
+
+  01 Dec 2005; <mcumming@gentoo.org> +files/perl-exp_intwrap.patch,
+  +perl-5.8.6-r7.ebuild, +perl-5.8.7-r2.ebuild:
+  Bug 114113, perl-exp_intwrap patch
+
+  14 Nov 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.6-r5.ebuild,
+  perl-5.8.6-r6.ebuild, perl-5.8.7.ebuild, perl-5.8.7-r1.ebuild:
+  NetBSD for osname per thunder
+
+  12 Nov 2005; Chris White <chriswhite@gentoo.org> perl-5.8.6-r6.ebuild:
+  Backported some get_libdir functionality from 5.8.7 to 5.8.6-r6 to resolve
+  bug #112243. This is mainly a multi-lib support fix it seems.
+
+  02 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> perl-5.8.7-r1.ebuild:
+  Stable on ia64, bug 106678.
+
+  29 Sep 2005; Aaron Walker <ka0ttic@gentoo.org> perl-5.8.6-r6.ebuild:
+  Stable on mips for bug #106678.
+
+  23 Sep 2005; Bryan Østergaard <kloeri@gentoo.org> perl-5.8.7-r1.ebuild:
+  Stable on alpha, bug 106678.
+
+  21 Sep 2005; Seemant Kulleen <seemant@gentoo.org> perl-5.8.6-r6.ebuild:
+  stable on amd64 wrt bug #106678
+
+  21 Sep 2005; Gustavo Zacarias <gustavoz@gentoo.org> perl-5.8.7-r1.ebuild:
+  Stable on sparc wrt #106678
+
+  20 Sep 2005; Chris Gianelloni <wolf31o2@gentoo.org> perl-5.8.6-r6.ebuild:
+  Marking stable on x86 for bug #106678.
+
+  20 Sep 2005; Rene Nussbaumer <killerfox@gentoo.org> perl-5.8.6-r6.ebuild:
+  Stable on hppa. bug #106678
+
+  20 Sep 2005; Markus Rothe <corsair@gentoo.org> perl-5.8.7-r1.ebuild:
+  Stable on ppc64 (bug #106678)
+
+  20 Sep 2005; Michael Hanselmann <hansmi@gentoo.org> perl-5.8.6-r6.ebuild:
+  Stable on ppc.
+
+*perl-5.8.7-r1 (20 Sep 2005)
+*perl-5.8.6-r6 (20 Sep 2005)
+
+  20 Sep 2005; Martin Schlemmer <azarah@gentoo.org>
+  +files/perl-5.8.7-MakeMaker-RUNPATH.patch, +perl-5.8.6-r6.ebuild,
+  +perl-5.8.7-r1.ebuild:
+  We do not want the build root in the linked perl module's RUNPATH, so
+  strip paths containing PORTAGE_TMPDIR if its set.  This is for the
+  MakeMaker module, bug #105054.
+
+  05 Sep 2005; Herbie Hopkins <herbs@gentoo.org> perl-5.8.7.ebuild:
+  More multilib fixes thanks to Christophe Saout, bug 104509.
+
+  04 Sep 2005; Elfyn McBratney <beu@gentoo.org>
+  files/perl-5.8.7-regexp-nossp.patch:
+  Fix patch to cflags.SH (don't assume /bin/sh is bash).
+
+  04 Sep 2005; Elfyn McBratney <beu@gentoo.org> perl-5.8.6-r5.ebuild,
+  perl-5.8.7.ebuild:
+  Drop DEPEND on sys-apps/groff.
+
+  01 Sep 2005; Joseph Jezak <josejx@gentoo.org> perl-5.8.6-r5.ebuild,
+  perl-5.8.7.ebuild:
+  Filtered -mpowerpc-gpopt on ppc to fix bug #97645.
+
+  14 Aug 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.7.ebuild:
+  The rest of the patch for bug 58931
+
+  14 Aug 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.6-r5.ebuild,
+  perl-5.8.7.ebuild:
+  Bug #97894 - added note regarding minimal means minimal
+
+  12 Aug 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.7.ebuild:
+  Further bug #58931 - mistake on my part for the LIBPERL= syntax
+
+  12 Aug 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.7.ebuild:
+  getlibdir changes for 5.8.7, bug #58931
+
+  08 Aug 2005; Thierry Carrez <koon@gentoo.org> perl-5.8.6-r5.ebuild,
+  perl-5.8.7.ebuild:
+  Reverting vapier's features_noman change on the groff dependency, which
+  results in bug 101088.
+
+  28 Jul 2005; Michael Cummings <mcummings@gentoo.org>
+  files/perl-reorder-INC.patch, -perl-5.8.5-r5.ebuild, -perl-5.8.6-r4.ebuild:
+  Update to reorder patch, tested with 5.8.6 and 5.8.7, resolves bug 95770
+
+  28 Jul 2005; Michael Cummings <mcummings@gentoo.org> -perl-5.8.5-r5.ebuild,
+  -perl-5.8.6-r4.ebuild:
+  Cleaning up now that we have keywords up to date
+
+  28 Jul 2005; Herbie Hopkins <herbs@gentoo.org> perl-5.8.6-r5.ebuild:
+  Stable on amd64.
+
+  07 Jul 2005; Markus Rothe <corsair@gentoo.org> perl-5.8.6-r5.ebuild:
+  Stable on ppc64
+
+  06 Jul 2005; <plasmaroo@gentoo.org> perl-5.8.6-r5.ebuild:
+  Stable on IA64.
+
+  06 Jul 2005; Chris Gianelloni <wolf31o2@gentoo.org> perl-5.8.6-r5.ebuild:
+  Stable on arm, m68k, s390, and sh.
+
+  05 Jul 2005; Hardave Riar <hardave@gentoo.org> perl-5.8.6-r5.ebuild:
+  Stable on mips.
+
+  03 Jul 2005; Michael Hanselmann <hansmi@gentoo.org> perl-5.8.6-r5.ebuild:
+  Stable on ppc.
+
+  02 Jul 2005; Bryan Østergaard <kloeri@gentoo.org> perl-5.8.6-r5.ebuild:
+  Stable on alpha.
+
+  02 Jul 2005; Rene Nussbaumer <killerfox@gentoo.org> perl-5.8.6-r5.ebuild:
+  Stable on hppa.
+
+*perl-5.8.6-r5 (30 Jun 2005)
+
+  30 Jun 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.6-r4.ebuild,
+  +perl-5.8.6-r5.ebuild:
+  Sorry folks, there was a typo in libperl-5.8.6s ebuild that made this
+  necessary.
+
+*perl-5.8.7 (29 Jun 2005)
+
+  29 Jun 2005; Michael Cummings <mcummings@gentoo.org>
+  -files/perl-5.8.0-RC2-special-h2ph-not-failing-on-machine_ansi_header.patc
+  h, -files/perl-5.8.2-perldoc-emptydirs.patch,
+  -files/perl-5.8.2-picdl.patch, -files/perl-5.8.2-prelink-lpthread.patch,
+  -files/perl-5.8.2-reorder-INC.patch, -files/perl-5.8.2-uclibc.patch,
+  -files/perl-5.8.4-noksh.patch, -files/perl-5.8.4-nonblock.patch,
+  -files/perl-5.8.4-perldoc-emptydirs.patch, -files/perl-5.8.4-picdl.patch,
+  -files/perl-5.8.4-prelink-lpthread.patch,
+  -files/perl-5.8.4-reorder-INC.patch, -files/perl-5.8.5-noksh.patch,
+  -files/perl-5.8.5-nonblock.patch,
+  -files/perl-5.8.5-perldoc-emptydirs.patch, -files/perl-5.8.5-picdl.patch,
+  -files/perl-5.8.5-prelink-lpthread.patch,
+  -files/perl-5.8.5-reorder-INC.patch, -files/perl-5.8.6-noksh.patch,
+  -files/perl-5.8.6-perldoc-emptydirs.patch, -files/perl-5.8.6-picdl.patch,
+  -files/perl-5.8.6-prelink-lpthread.patch,
+  -files/perl-5.8.6-reorder-INC.patch,
+  +files/perl-5.8.7-CAN-2005-0448-rmtree.patch,
+  +files/perl-5.8.7-tempfiles.patch, -files/libperl_rebuilder,
+  +files/perl-h2ph-ansi-header.patch, +files/perl-noksh.patch,
+  +files/perl-nonblock.patch, +files/perl-perldoc-emptydirs.patch,
+  +files/perl-picdl.patch, +files/perl-prelink-lpthread.patch,
+  +files/perl-reorder-INC.patch, +files/perl-tempfiles.patch,
+  +files/perl-uclibc.patch, -files/stat.t, -perl-5.8.2-r4.ebuild,
+  -perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild,
+  +perl-5.8.7.ebuild:
+  Perl 5.8.6 unmasking, perl 5.8.7 addition
+
+  05 Jun 2005; Michael Cummings <mcummings@gentoo.org> files/perl-cleaner:
+  Bug 90502 - don't leave behind empty log files if nothing has been done
+
+  30 May 2005; Michael Cummings <mcummings@gentoo.org> files/perl-cleaner,
+  perl-5.8.2-r4.ebuild, perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild,
+  perl-5.8.6-r4.ebuild:
+  Updated perl-cleaner to remove the emptied dirs after a .ph purge
+
+  29 May 2005; <solar@gentoo.org> perl-5.8.2-r4.ebuild, perl-5.8.4-r4.ebuild,
+  perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild:
+  - update perl to use libc expanded variable elibc_uclibc vs uclibc so USE=-*
+  works
+
+  25 May 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.6-r4.ebuild:
+  dev-perl/ExtUtils-MakeMaker => perl-core/ExtUtils-MakeMaker migration
+
+  25 May 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.5-r5.ebuild:
+  dev-perl/ExtUtils-MakeMaker => perl-core/ExtUtils-MakeMaker migration
+
+  25 May 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.4-r4.ebuild:
+  dev-perl/ExtUtils-MakeMaker => perl-core/ExtUtils-MakeMaker migration
+
+  25 May 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.2-r4.ebuild:
+  dev-perl/ExtUtils-MakeMaker => perl-core/ExtUtils-MakeMaker migration
+
+  25 May 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.6-r4.ebuild:
+  dev-perl/Test-Simple => perl-core/Test-Simple migration
+
+  25 May 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.5-r5.ebuild:
+  dev-perl/Test-Simple => perl-core/Test-Simple migration
+
+  25 May 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.4-r4.ebuild:
+  dev-perl/Test-Simple => perl-core/Test-Simple migration
+
+  25 May 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.2-r4.ebuild:
+  dev-perl/Test-Simple => perl-core/Test-Simple migration
+
+  25 May 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.6-r4.ebuild:
+  dev-perl/File-Spec => perl-core/File-Spec migration
+
+  25 May 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.5-r5.ebuild:
+  dev-perl/File-Spec => perl-core/File-Spec migration
+
+  25 May 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.4-r4.ebuild:
+  dev-perl/File-Spec => perl-core/File-Spec migration
+
+  25 May 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.2-r4.ebuild:
+  dev-perl/File-Spec => perl-core/File-Spec migration
+
+  23 May 2005; Herbie Hopkins <herbs@gentoo.org> perl-5.8.6-r4.ebuild:
+  More get_libdir-ization, fixes compilation on amd64's no-lib32 profile.
+
+  16 May 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.2-r4.ebuild,
+  perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild:
+  Last toolchain-funcs fix
+
+  15 May 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.2-r4.ebuild,
+  perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild:
+  Changed to toolchain-funcs
+
+  20 Mar 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.2-r4.ebuild,
+  perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild:
+  bug 81947 - replaced filesdir with generic cat/pkg
+
+  11 Mar 2005; Michael Cummings <mcummings@gentoo.org>
+  files/CAN-2005-0448-rmtree.patch, perl-5.8.2-r4.ebuild,
+  perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild:
+  Patch is in the right place and works on any arch. Yay.
+
+  11 Mar 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.2-r4.ebuild,
+  perl-5.8.4-r4.ebuild, perl-5.8.5-r5.ebuild, perl-5.8.6-r4.ebuild:
+  The last rmtree patch contains a line that checks <archname>/Errno.pm in
+  your existing perl install. If your kernel changes between perl installs, it
+  dies horribly. Need to find a cleaner solution first. For everyone that just
+  bumped their perls, I am terribly sorry that this wasn't realized earlier.
+
+  11 Mar 2005; Michael Cummings <mcummings@gentoo.org> -perl-5.8.2-r2.ebuild,
+  -perl-5.8.2-r3.ebuild, -perl-5.8.4-r2.ebuild, -perl-5.8.4-r3.ebuild,
+  -perl-5.8.5-r3.ebuild, -perl-5.8.5-r4.ebuild, -perl-5.8.6-r2.ebuild,
+  -perl-5.8.6-r3.ebuild:
+  Cleaning out old ebuilds - no keyword changes :)
+
+*perl-5.8.6-r4 (11 Mar 2005)
+
+  11 Mar 2005; Michael Cummings <mcummings@gentoo.org>
+  +files/CAN-2005-0448-rmtree.patch, perl-5.8.2-r2.ebuild,
+  perl-5.8.2-r3.ebuild, +perl-5.8.2-r4.ebuild, perl-5.8.4-r2.ebuild,
+  perl-5.8.4-r3.ebuild, +perl-5.8.4-r4.ebuild, perl-5.8.5-r3.ebuild,
+  perl-5.8.5-r4.ebuild, +perl-5.8.5-r5.ebuild, perl-5.8.6-r2.ebuild,
+  perl-5.8.6-r3.ebuild, +perl-5.8.6-r4.ebuild:
+  Version bump to finalize patch
+
+  11 Mar 2005; Michael Cummings <mcummings@gentoo.org>
+  +files/CAN-2005-0448-rmtree.patch, perl-5.8.2-r2.ebuild,
+  perl-5.8.2-r3.ebuild, perl-5.8.4-r2.ebuild, perl-5.8.4-r3.ebuild,
+  perl-5.8.5-r3.ebuild, perl-5.8.5-r4.ebuild, perl-5.8.6-r2.ebuild,
+  perl-5.8.6-r3.ebuild:
+  Changed file_path_rmtree to CAN-2005-0448-rmtree.patch per bug 79685
+
+  08 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
+  perl-5.8.6-r3.ebuild:
+  More multilib fixes.
+
+*perl-5.8.5-r4 (11 Feb 2005)
+
+  11 Feb 2005; Michael Cummings <mcummings@gentoo.org> perl-5.8.2-r2.ebuild,
+  +perl-5.8.2-r3.ebuild, perl-5.8.4-r2.ebuild, +perl-5.8.4-r3.ebuild,
+  perl-5.8.5-r3.ebuild, +perl-5.8.5-r4.ebuild, perl-5.8.6-r2.ebuild,
+  +perl-5.8.6-r3.ebuild:
+  Bug 80460 - CAN-2005-015{5,6} - perlsuid patch. Bug 62321, 65317 - Removal of
+  old .ph files after an upgrade. Bug 72977 - modifications to allow for perl
+  5.8.0 and multithreaded perls to use the perl-inc patch. In addition, modified
+  the perl-cleaner message to display only if @INC included more than the
+  current install's perl (ie, only if this was an upgrade that left files
+  behind).
+
+  05 Feb 2005; Michael Cummings <mcummings@gentoo.org>
+  +files/CAN-2005-0156-suid.patch, perl-5.8.2-r2.ebuild,
+  perl-5.8.4-r2.ebuild, perl-5.8.5-r3.ebuild, perl-5.8.6-r2.ebuild:
+  Bug 80460, perlsuid vulnerability
+
+  05 Feb 2005; Michael Cummings <mcummings@gentoo.org>
+  -perl-5.8.2-r1.ebuild, -perl-5.8.4-r1.ebuild, -perl-5.8.5-r1.ebuild,
+  -perl-5.8.5-r2.ebuild, -perl-5.8.5.ebuild, -perl-5.8.6-r1.ebuild,
+  -perl-5.8.6.ebuild:
+  Cleaning up old, unused ebuilds
+
+  31 Jan 2005; Michael Cummings <mcummings@gentoo.org> files/perl-cleaner:
+  swtaylor came up with a quicker way to generate the module list, plus a more
+  secure call for making the tmp files
+
+  27 Jan 2005; Michael Cummings <mcummings@gentoo.org> files/perl-cleaner:
+  Code cleanup thanks to Mr.B. *MAJOR* typo in the filename for the prelist of
+  ebuilds to re-emerge resulted in no ebuilds getting re-emerged...
+
+  26 Jan 2005; Michael Cummings <mcummings@gentoo.org> files/perl-cleaner:
+  tmpdir fix - thanks Mr. B.
+
+*perl-5.8.4-r2 (26 Jan 2005)
+
+  26 Jan 2005; Michael Cummings <mcummings@gentoo.org>
+  +files/file_path_rmtree.patch, files/libperl_rebuilder, files/perl-cleaner,
+  +perl-5.8.2-r2.ebuild, +perl-5.8.4-r2.ebuild, +perl-5.8.5-r3.ebuild,
+  +perl-5.8.6-r2.ebuild:
+  Bump for bug 75696 involving temporary file perms in File::Path. Includes
+  fixes for h2ph conversion, bug 75955 Includes change over to perl-cleaner from
+  libperl_rebuilder, bugs 60447, 62301, 62669, 66688, 73932, 71287
+
+  16 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
+  perl-5.8.5-r2.ebuild, perl-5.8.6-r1.ebuild, perl-5.8.6.ebuild:
+  multilib fixes for amd64's 2005.0.
+
+  29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+  Change encoding to UTF-8 for GLEP 31 compliance
+
+  07 Dec 2004; Hardave Riar <hardave@gentoo.org> perl-5.8.5-r2.ebuild:
+  Stable on mips, bug #66360
+
+  06 Dec 2004; Gustavo Zacarias <gustavoz@gentoo.org> perl-5.8.5-r2.ebuild:
+  Stable on sparc wrt #66360
+
+  05 Dec 2004; Bryan Østergaard <kloeri@gentoo.org> perl-5.8.5-r2.ebuild:
+  Stable on alpha, bug 66360.
+
+  05 Dec 2004; Markus Rothe <corsair@gentoo.org> perl-5.8.5-r2.ebuild:
+  Stable on ppc64; bug #66360
+
+*perl-5.8.5-r2 (04 Dec 2004)
+
+  04 Dec 2004; Robert Coie <rac@gentoo.org>
+  +files/perl-5.8.5-tempfiles.patch, +files/perl-5.8.6-tempfiles.patch,
+  -perl-5.8.4.ebuild, +perl-5.8.5-r2.ebuild, +perl-5.8.6-r1.ebuild:
+  Add the few relevant bits from bug 66360, keyword 5.8.5-r2 x86, amd64 and ppc
+
+  01 Dec 2004; Robert Coie <rac@gentoo.org> perl-5.8.6.ebuild:
+  back makemaker block to 6.17
+
+*perl-5.8.6 (30 Nov 2004)
+
+  30 Nov 2004; Robert Coie <rac@gentoo.org> +files/perl-5.8.6-noksh.patch,
+  +files/perl-5.8.6-perldoc-emptydirs.patch, +files/perl-5.8.6-picdl.patch,
+  +files/perl-5.8.6-prelink-lpthread.patch,
+  +files/perl-5.8.6-reorder-INC.patch, +perl-5.8.6.ebuild:
+  New upstream
+
+  13 Nov 2004; Robert Coie <rac@gentoo.org> perl-5.8.5-r1.ebuild:
+  Go ahead and use the myarch that exists
+
+*perl-5.8.5-r1 (12 Nov 2004)
+
+  12 Nov 2004; Robert Coie <rac@gentoo.org> -perl-5.8.3.ebuild,
+  +perl-5.8.5-r1.ebuild:
+  Allow the maketest FEATURE to determine whether tests are run. Guide
+  Configure to attempt to pick up old 5.8.2 and 5.8.4 directories in @INC
+
+  25 Oct 2004; Michael Cummings <mcummings@gentoo.org> perl-5.8.2-r1.ebuild,
+  perl-5.8.3.ebuild, perl-5.8.4-r1.ebuild, perl-5.8.4.ebuild,
+  perl-5.8.5.ebuild:
+  Cleaner h2ph, should reduce build time but leave us with something still
+  usable.
+
+  06 Oct 2004; Guy Martin <gmsoft@gentoo.org> perl-5.8.4-r1.ebuild:
+  Stable on hppa.
+
+  28 Sep 2004; Michael Cummings <mcummings@gentoo.org> perl-5.8.2-r1.ebuild,
+  perl-5.8.3.ebuild, perl-5.8.4-r1.ebuild, perl-5.8.4.ebuild,
+  perl-5.8.5.ebuild:
+  Added back perlsuid/sperl based on local use flag. Bug 64823. Users should
+  read http://perldoc.com/perl5.8.4/INSTALL.html#suidperl before enabling.
+
+  27 Sep 2004; Mike Frysinger <vapier@gentoo.org> perl-5.8.2-r1.ebuild,
+  perl-5.8.3.ebuild, perl-5.8.4-r1.ebuild, perl-5.8.4.ebuild,
+  perl-5.8.5.ebuild:
+  Add libperl to RDEPEND (since pkg_setup will die otherwise) and make sure
+  pkg_setup() respects $ROOT.
+
+  27 Sep 2004; Michael Cummings <mcummings@gentoo.org> perl-5.8.2-r1.ebuild,
+  perl-5.8.3.ebuild, perl-5.8.4-r1.ebuild, perl-5.8.4.ebuild,
+  perl-5.8.5.ebuild:
+  Added perl debugging support, bug 60775
+
+  24 Sep 2004; Robert Coie <rac@gentoo.org> perl-5.8.4-r1.ebuild,
+  perl-5.8.5.ebuild:
+  Make gdbm patch conditional on having 1.8.3, because libgdbm_compat isn't
+  there otherwise, should not affect people who have already built. Made 5.8.5
+  depend on 1.8.3 instead. Again, should not affect installed people.
+
+  22 Sep 2004; Robert Coie <rac@gentoo.org> perl-5.8.2-r1.ebuild,
+  perl-5.8.3.ebuild, perl-5.8.4-r1.ebuild, perl-5.8.4.ebuild,
+  perl-5.8.5.ebuild:
+  USE threads -> ithreads
+
+  21 Sep 2004; Danny van Dyk <kugelfang@gentoo.org> perl-5.8.4-r1.ebuild:
+  Marked stable on amd64.
+
+  09 Sep 2004; Gustavo Zacarias <gustavoz@gentoo.org> perl-5.8.4-r1.ebuild:
+  Stable on sparc to finally solve #36478
+
+  08 Sep 2004; Robert Coie <rac@gentoo.org> perl-5.8.4-r1.ebuild:
+  keyword x86 and arm for uclibc folks
+
+  06 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> perl-5.8.2-r1.ebuild,
+  perl-5.8.3.ebuild, perl-5.8.4-r1.ebuild, perl-5.8.4.ebuild,
+  perl-5.8.5.ebuild:
+  Switch to use epause and ebeep, bug #62950
+
+  31 Aug 2004; Guy Martin <gmsoft@gentoo.org> perl-5.8.4.ebuild,
+  perl-5.8.5.ebuild:
+  Removed useless -fPIC for hppa.
+
+  21 Aug 2004; Joshua Kinard <kumba@gentoo.org> perl-5.8.4-r1.ebuild:
+  Marked stable on mips.
+
+  18 Aug 2004; Aron Griffis <agriffis@gentoo.org> perl-5.8.4-r1.ebuild:
+  stable on alpha
+
+  13 Aug 2004; Bryan Østergaard <kloeri@gentoo.org> perl-5.8.4.ebuild:
+  Stable on alpha.
+
+  07 Aug 2004; Robert Coie <rac@gentoo.org> perl-5.8.2-r1.ebuild,
+  perl-5.8.3.ebuild, perl-5.8.4-r1.ebuild, perl-5.8.4.ebuild:
+  convert SHORT_PV and MY_P to bash
+
+*perl-5.8.5 (06 Aug 2004)
+
+  06 Aug 2004; Robert Coie <rac@gentoo.org> +files/perl-5.8.5-noksh.patch,
+  +files/perl-5.8.5-nonblock.patch, +files/perl-5.8.5-perldoc-emptydirs.patch,
+  +files/perl-5.8.5-picdl.patch, +files/perl-5.8.5-prelink-lpthread.patch,
+  +files/perl-5.8.5-reorder-INC.patch, +perl-5.8.5.ebuild:
+  5.8.5
+
+  02 Aug 2004; Robert Coie <rac@gentoo.org> +files/perl-5.8.4-nonblock.patch,
+  perl-5.8.4-r1.ebuild:
+  add nonblock.patch, primarily for sparc64
+
+  29 Jul 2004; Guy Martin <gmsoft@gentoo.org> perl-5.8.4.ebuild:
+  Stable on hppa.
+
+*perl-5.8.4-r1 (29 Jul 2004)
+
+  29 Jul 2004; Robert Coie <rac@gentoo.org> +perl-5.8.4-r1.ebuild:
+  Move make test to src_test, but still call it if the maketest
+  FEATURE is not enabled.  If maketest ever becomes a default, this
+  can be reconsidered.  The NDBM-GDBM patch in bug 52660 is in here,
+  and gdbm is allowed to provide ndbm, as it works for me with either
+  1.8.0-r5 (so2) or 1.8.3 (so3).  So to get ndbm, one must either
+  USE=berkdb and have db1 installed, or USE=gdbm in which case gdbm
+  will come in.  The man page fixes from bug 58620 are in.
+  src_configure has been split out of src_compile in preparation for
+  making compiles more easily resumable.  An issue genone brought up
+  where hardlinks aren't making it through portage's staging image has
+  been addressed by making /usr/bin/perl a symlink to perl5.8.4
+  instead of a hardlink.  The same issue was faced with suidperl,
+  which has been removed completely to preemptively avoid security
+  issues.  sperl${PV} is gone too, in favor of the perl recommendation
+  to use sudo instead of having setuid perl executables.  I hope this
+  will help security, but it can be restored if there is enough
+  demand.
+	
+  23 Jul 2004; Robert Coie <rac@gentoo.org> perl-5.8.4.ebuild:
+  keywording x86 and sparc
+
+  02 Jul 2004; <solar@gentoo.org> perl-5.8.4.ebuild:
+  don't call perl to install manfiles when FEATURES=noman is set. testing of the
+  perl can be disable now with restrictions
+
+  29 Jun 2004; Aron Griffis <agriffis@gentoo.org> perl-5.8.2-r1.ebuild,
+  perl-5.8.3.ebuild, perl-5.8.4.ebuild:
+  kill sparc64 use flag
+
+  25 Jun 2004; <solar@gentoo.org> perl-5.8.4.ebuild:
+  uclibc update
+
+  24 Jun 2004; <solar@gentoo.org> perl-5.8.4.ebuild:
+  added uclibc update for 5.8.4
+
+  15 Jun 2004; <solar@gentoo.org> perl-5.8.2-r1.ebuild,
+  files/perl-5.8.2-uclibc.patch:
+  basic initial uclibc support needed for bootstrapping
+
+  09 Jun 2004; Robert Coie <rac@gentoo.org> +files/perl-5.8.4-noksh.patch,
+  perl-5.8.4.ebuild:
+  Add noksh.patch, bug 42665
+
+  03 Jun 2004; Aron Griffis <agriffis@gentoo.org> perl-5.8.2-r1.ebuild,
+  perl-5.8.3.ebuild, perl-5.8.4.ebuild:
+  Fix use invocation
+
+  02 Jun 2004; Travis Tilley <lv@gentoo.org> perl-5.8.4.ebuild:
+  stable on amd64
+
+  31 May 2004; Robert Coie <rac@gentoo.org> perl-5.8.2-r1.ebuild,
+  perl-5.8.3.ebuild, perl-5.8.4.ebuild:
+  Update makemaker blocks to <6.17, not worth making everybody recompile
+
+  10 May 2004; Michael McCabe <randy@gentoo.org> perl-5.8.4.ebuild:
+  Stable on s390
+
+  08 May 2004; Robert Coie <rac@gentoo.org> perl-5.8.4.ebuild,
+  files/perl-5.8.4-prelink-lpthread.patch:
+  Add back the -lpthread patch, frozen-bubble segfaults otherwise
+
+*perl-5.8.4 (03 May 2004)
+
+  03 May 2004; Robert Coie <rac@gentoo.org> perl-5.8.4.ebuild,
+  files/5.6.1-builtin-fixup.diff, files/5.6.1-op-test-fix.diff,
+  files/perl-5.8.4-perldoc-emptydirs.patch, files/perl-5.8.4-picdl.patch,
+  files/perl-5.8.4-reorder-INC.patch:
+  Add 5.8.4
+
+  28 Apr 2004; Mike Frysinger <vapier@gentoo.org> :
+  Clean up `use` syntax and remove ${CC} usage.
+
+  27 Feb 2004; Michael Cummings <mcummings@gentoo.org> perl-5.6.1-r10.ebuild,
+  perl-5.6.1-r11.ebuild, perl-5.6.1-r12.ebuild:
+  5.6.1 is no longer a requirement/needed in the tree
+
+  21 Feb 2004; Michael Cummings <mcummings@gentoo.org> perl-5.8.0-r11.ebuild,
+  perl-5.8.0-r12.ebuild, perl-5.8.0-r9.ebuild, perl-5.8.2.ebuild,
+  files/libperl-5.8.0-create-libperl-soname.patch,
+  files/perl-5.8.0-perldoc-emptydirs.patch,
+  files/perl-5.8.0-prelink-lpthread.patch, files/perl-5.8.0-reorder-INC.patch,
+  files/perl-5.8.0-sockatmark-should-__THROW.patch:
+  Massive clean up. With 5.8.2 now marked stable on all platforms, we are
+    removing the older 5.8.0 ebuilds, which are no longer available upstream
+    anymore. I also cleaned out the files dir of any patches that were being
+    specifically used by 5.8.0 and not the other versions.
+
+  19 Feb 2004; Aron Griffis <agriffis@gentoo.org> perl-5.8.2-r1.ebuild:
+  stable on alpha and ia64
+
+  18 Feb 2004; Joshua Kinard <kumba@gentoo.org> perl-5.8.2-r1.ebuild:
+  Marking stable on mips
+
+  09 Feb 2004; Bartosch Pixa <darkspecter@gentoo.org> perl-5.8.2-r1.ebuild:
+  set ppc in keywords
+
+  06 Feb 2004; <gustavoz@gentoo.org> perl-5.8.2-r1.ebuild:
+  stable on sparc
+
+  03 Feb 2004; <gustavoz@gentoo.org> perl-5.8.2-r1.ebuild:
+  stable on hppa
+
+  01 Feb 2004; <rac@gentoo.org> perl-5.8.2-r1.ebuild:
+  mark x86
+
+*perl-5.8.3 (17 Jan 2004)
+
+  17 Jan 2004; <rac@gentoo.org> perl-5.8.1-r1.ebuild, perl-5.8.1-r2.ebuild,
+  perl-5.8.3.ebuild, files/perl-5.8.1-perldoc-emptydirs.patch,
+  files/perl-5.8.1-prelink-lpthread.patch, files/perl-5.8.1-reorder-INC.patch,
+  files/perl-5.8.1_rc1-reorder-INC.patch,
+  files/perl-5.8.1_rc1-sockatmark-should-__THROW.patch,
+  files/perl-5.8.1_rc2-reorder-INC.patch,
+  files/perl-5.8.1_rc2-sockatmark-should-__THROW.patch,
+  files/perl-5.8.3-perldoc-emptydirs.patch, files/perl-5.8.3-picdl.patch,
+  files/perl-5.8.3-prelink-lpthread.patch, files/perl-5.8.3-reorder-INC.patch:
+  Upstream bump, housecleaning
+
+  06 Jan 2004; Luca Barbato <lu_zero@gentoo.org> perl-5.8.0-r12.ebuild:
+  Marked ~arm to let me commit ppc related changes (it is as wierd as it sound)
+
+*perl-5.8.2-r1 (29 Nov 2003)
+
+  29 Nov 2003; <rac@gentoo.org> perl-5.8.2-r1.ebuild,
+  files/perl-5.8.2-picdl.patch:
+  Make CCCDLFLAGS apply to static archives like DynaLoader.a as well, even
+  though we are not building a shared libperl here, because we do have a shared
+  library elsewhere. Should make it so that arches like amd64 and hppa no longer
+  have to add -fPIC to all cflags blindly.
+
+  26 Nov 2003; <rac@gentoo.org> perl-5.8.2.ebuild:
+  Make perl depend on exact same libperl version, so that upgrading perl will
+  bring libperl along. Solves problems where new modules go into directories in
+  @INC too new for libperl to know about
+
+  16 Nov 2003; Brad House <brad_mssw@gentoo.org> perl-5.8.2.ebuild:
+  mark stable on amd64
+
+*perl-5.8.2 (08 Nov 2003)
+
+  08 Nov 2003; <rac@gentoo.org> perl-5.8.2.ebuild,
+  files/perl-5.8.2-perldoc-emptydirs.patch,
+  files/perl-5.8.2-prelink-lpthread.patch, files/perl-5.8.2-reorder-INC.patch:
+  new upstream version
+
+  22 Oct 2003; <rac@gentoo.org> perl-5.8.1-r2.ebuild,
+  files/perl-5.8.1-perldoc-emptydirs.patch:
+  Forward-port the perldoc emptydirs patch
+
+  20 Oct 2003; Michael Cummings <mcummings@gentoo.org> perl-5.8.1-r1.ebuild,
+  perl-5.8.1-r2.ebuild:
+  Changed how h2ph grabs its list of files; relying on h2ph to efficiently
+  recurse was resulting a looping condition when there is a symlink in
+  /usr/include/* (libxml was the sample case - thanks DarkSpecter!). Using find
+  isolates the list to only .h files.
+
+  14 Oct 2003; <rac@gentoo.org> perl-5.8.1-r2.ebuild:
+  Allow building even when db-1 is not present, but let ndbm_file use it if it's
+  there
+
+*perl-5.8.1-r2 (02 Oct 2003)
+
+  02 Oct 2003; <rac@gentoo.org> perl-5.8.1-r2.ebuild, perl-5.8.1.ebuild,
+  perl-5.8.1_rc1.ebuild, perl-5.8.1_rc2.ebuild, perl-5.8.1_rc3.ebuild,
+  perl-5.8.1_rc4.ebuild, files/perl-5.8.1-prelink-lpthread.patch:
+  Clean house, readd pthread prelink patch to avoid reported sdl segfaulting.
+  Thanks to lisa for the report.
+
+*perl-5.8.1-r1 (29 Sep 2003)
+
+  29 Sep 2003; <rac@gentoo.org> perl-5.8.1-r1.ebuild:
+  Change destdir handling in a couple of places
+
+*perl-5.8.1 (27 Sep 2003)
+
+  27 Sep 2003; <rac@gentoo.org> perl-5.8.1.ebuild,
+  files/perl-5.8.1-reorder-INC.patch:
+  New upstream revision
+
+  17 Sep 2003; Jon Portnoy <avenj@gentoo.org> perl-5.8.0-r12.ebuild :
+  ia64 keywords.
+
+  22 Aug 2003; Michael Cummings <mcummings@gentoo.org> perl-5.6.1-r10.ebuild,
+  perl-5.6.1-r11.ebuild, perl-5.6.1-r12.ebuild, perl-5.8.0-r10.ebuild,
+  perl-5.8.0-r11.ebuild, perl-5.8.0-r12.ebuild, perl-5.8.0-r9.ebuild,
+  perl-5.8.1_rc1.ebuild, perl-5.8.1_rc2.ebuild, perl-5.8.1_rc3.ebuild:
+  Corrected h2ph behaviour to now run -r -l -- recursively :)
+  Also fixes bug 14461
+
+*perl-5.8.1_rc3 (30 Jul 2003)
+
+  30 Jul 2003; Michael Cummings <mcummings@gentoo.org> perl-5.8.1_rc3.ebuild:
+  Latest release candidate for 5.8.1
+
+  25 Jul 2003; <rac@gentoo.org> perl-5.8.1_rc1.ebuild, perl-5.8.1_rc2.ebuild:
+  Forward-port alpha and hppa fixes from 5.8.0-r9
+
+  25 Jul 2003; <rac@gentoo.org> perl-5.8.0-r12.ebuild:
+  Remove ~arch protection on all but hppa
+
+*perl-5.8.1_rc2 (23 Jul 2003)
+
+  23 Jul 2003; <rac@gentoo.org> perl-5.8.1_rc2.ebuild,
+  files/perl-5.8.1_rc2-reorder-INC.patch,
+  files/perl-5.8.1_rc2-sockatmark-should-__THROW.patch:
+  Add 5.8.1-rc2
+
+  18 Jul 2003; <rac@gentoo.org> perl-5.8.0-r12.ebuild, perl-5.8.1_rc1.ebuild:
+  Add blocker on Test-Simple versions that overwrite the core
+
+  18 Jul 2003; <rac@gentoo.org> perl-5.8.0-r12.ebuild, perl-5.8.1_rc1.ebuild:
+  Portage depends to >=2.0.48-r4.  This is important for blocking depends
+
+  16 Jul 2003; <rac@gentoo.org> perl-5.8.0-r12.ebuild, perl-5.8.1_rc1.ebuild:
+  Add portage depend on version that fixes bug 23546, so the blocking depends
+  will be guaranteed to work even if people are upgrading
+
+  15 Jul 2003; <rac@gentoo.org> perl-5.8.0-r12.ebuild, perl-5.8.1_rc1.ebuild:
+  Fiddle with the module block depends a bit, largely to ensure that File-Spec
+  0.84 doesn't fall through the cracks
+
+*perl-5.8.1_rc1 (10 Jul 2003)
+
+  10 Jul 2003; <rac@gentoo.org> perl-5.8.1_rc1.ebuild,
+  files/perl-5.8.1_rc1-reorder-INC.patch,
+  files/perl-5.8.1_rc1-sockatmark-should-__THROW.patch:
+  Add 5.8.1_rc1.  Experimental.
+
+  01 Jul 2003; Todd Sunderlin <todd@gentoo.org> perl-5.8.0-r11.ebuild:
+  set stable on sparc
+
+  26 Jun 2003; <rac@gentoo.org> perl-5.8.0-r10.ebuild, perl-5.8.0-r11.ebuild,
+  perl-5.8.0-r12.ebuild:
+  Add -Dd_u32align on mips to work around a gcc 3.3 kernel compiling bug
+
+  26 Jun 2003; <rac@gentoo.org> perl-5.8.0-r12.ebuild:
+  Add block depends on ExtUtils-MakeMaker and File-Spec, because we need to get
+  those uninstalled before they steal our files again
+
+*perl-5.8.0-r12 (25 Jun 2003)
+
+  25 Jul 2003; Guy Martin <gmsoft@gentoo.org> perl-5.8.0-r12.ebuild :
+  Marked stable on hppa.
+
+  25 Jun 2003; <rac@gentoo.org> perl-5.8.0-r12.ebuild,
+  files/perl-5.8.0-reorder-INC.patch:
+  Reorder @INC so that site modules can override vendor modules, which can in
+  turn override core modules.
+
+  24 Jun 2003; Aron Griffis <agriffis@gentoo.org> perl-5.8.0-r10.ebuild:
+  Mark stable on alpha
+
+  10 Jun 2003; <rac@gentoo.org> perl-5.6.1-r12.ebuild:
+  Mark stable on x86
+
+  06 Jun 2003; <rac@gentoo.org> perl-5.6.1-r12.ebuild:
+  Add sed-4 dependency to use sed -i
+
+  04 Jun 2003; <rac@gentoo.org> perl-5.8.0-r11.ebuild:
+  Relax db DEPEND as well as RDEPEND.  Thanks to mcummings for the catch.
+
+*perl-5.8.0-r11 (03 Jun 2003)
+
+  03 Jun 2003; <rac@gentoo.org> perl-5.8.0-r11.ebuild:
+  Clean out libperl bits from ebuild. Grab newer version of Safe.pm from CPAN
+  for security reasons, DB_File for db 4.1 compatibility.
+
+*perl-5.6.1-r12 (02 Jun 2003)
+
+  02 Jun 2003; <rac@gentoo.org> perl-5.6.1-r12.ebuild:
+  Replace PDEPEND strategy for ExtUtils::MakeMaker and Safe.pm with the approach
+  of injecting newer versions directly into the core
+
+*perl-5.6.1-r11 (31 May 2003)
+
+  31 May 2003; Alastair Tse <liquidx@gentoo.org> perl-5.6.1-r10.ebuild,
+  perl-5.6.1-r11.ebuild, files/5.6.1-builtin-fixup.diff,
+  files/5.6.1-op-test-fix.diff, files/stat.t:
+  Putting perl-5.6.1 back in because it breaks the default-1.0 profile.
+
+  30 May 2003; <rac@gentoo.org> perl-5.6.1-r10.ebuild, perl-5.6.1-r11.ebuild,
+  perl-5.8.0-r10.ebuild, files/5.6.1-builtin-fixup.diff,
+  files/5.6.1-op-test-fix.diff:
+  Marking stable on mips, thanks to dragon and kumba for verification and
+  mcummings for coordination.  Also cleaning 5.6.1 ebuilds, as all marked
+  arches now have a stable 5.8 version
+
+  27 May 2003; <rac@gentoo.org> perl-5.8.0-r10.ebuild, perl-5.8.0-r9.ebuild:
+  Add threads to IUSE, thanks to liquidx for the catch
+
+  20 May 2003; Tavis Ormandy <taviso@gentoo.org> perl-5.8.0-r10.ebuild:
+  removing gcc hardcodes.
+
+  18 May 2003; Tavis Ormandy <taviso@gentoo.org> perl-5.8.0-r9.ebuild:
+  removing hardcoded compiler.
+
+*perl-5.8.0-r10 (30 Mar 2003)
+
+  23 Apr 2003; <rac@gentoo.org> perl-5.8.0-r10.ebuild:
+  Only build extra HTML documentation if USE="doc" is set - thanks to
+  msterret@gentoo.org - bug #16401
+
+  07 Apr 2003; Martin Holzer <mholzer@gentoo.org> perl-5.6.1-r10.ebuild,
+  perl-5.6.1-r11.ebuild, perl-5.8.0-r10.ebuild, perl-5.8.0-r9.ebuild:
+  Changes portage version depend. Closes #13339.
+
+  30 Mar 2003; <rac@gentoo.org> perl-5.8.0-r10.ebuild:
+  marking stable again on x86 and ppc - previous sparc keyword commit undid this
+  and broke things
+
+  30 Mar 2003; Rodney Rees <manson@gentoo.org> perl-5.8.0-r10.ebuild,
+  marked stable for sparc
+
+*perl-5.8.0-r10 (11 Mar 2003)
+
+  27 Mar 2003; <rac@gentoo.org> perl-5.8.0-r10.ebuild:
+  Marking stable for x86 and ppc, no problems reported from ~arch testers
+
+  11 Mar 2003; Seemant Kulleen <seemant@gentoo.org> perl-5.6.1-r10.ebuild,
+  perl-5.6.1-r11.ebuild, perl-5.8.0-r10.ebuild, perl-5.8.0-r9.ebuild,
+  files/5.6.1-builtin-fixup.diff, files/5.6.1-op-test-fix.diff,
+  files/libperl-5.8.0-create-libperl-soname.patch, files/libperl_rebuilder,
+  files/perl-5.8.0-RC2-special-h2ph-not-failing-on-machine_ansi_header.patch,
+  files/perl-5.8.0-perldoc-emptydirs.patch,
+  files/perl-5.8.0-prelink-lpthread.patch,
+  files/perl-5.8.0-sockatmark-should-__THROW.patch, files/stat.t:
+  moved to dev-lang from sys-devel
+
+*perl-5.8.0-r10 (28 Feb 2003)
+
+  01 Mar 2003; Brandon Low <lostlogic@gentoo.org> perl-5.8.0-r10.ebuild,
+  perl-5.8.0-r9.ebuild:
+  Make use emake instead of make, but still use 1 process build where needed
+
+  28 Feb 2003; <rac@gentoo.org> perl-5.8.0-r10.ebuild:
+  Ensure that libpthread is linked against by perl, so that runtime
+  signal handling works correctly (bug #14380).
+  
+  Patch perldoc to not abort when it attempts to search nonexistent
+  directories (bug #16589).
+
+*perl-5.6.1-r11 (14 Feb 2003)
+
+  24 Mar 2003; <rac@gentoo.org> perl-5.6.1-r10.ebuild, perl-5.6.1-r11.ebuild:
+  Remove spurious '$' from head of SRC_URI
+
+  16 Mar 2003; Jan Seidel <tuxus@gentoo.org> :
+  Added mips to KEYWORDS
+
+  14 Feb 2003; Mark Guertin <gerk@gentoo.org> perl-5.6.1-r11.ebuild :
+  Set to ppc stable
+
+  14 Feb 2003; Mark Guertin <gerk@gentoo.org> perl-5.6.1-r11.ebuild files/5.6.1-builtin-fixup.diff files/5.6.1-op-test-fix.diff files/digest-perl-5.6.1-r11 :
+  built-in sed fixups, placed in makefile.SH instead of randomly thru the build.  Thanks to rac for all his help and an lfs patch
+
+  11 Feb 2003; Guy Martin <gmsoft@gentoo.org> perl-5.8.0-r9.ebuild :
+  Added hppa to keywords.
+
+*perl-5.8.0-r9 (15 Jan 2003)
+
+  23 Feb 2003; Guy Martin <gmsoft@gentoo.org> perl-5.8.0-r9.ebuild :
+  Added -fPIC to CFLAGS on hppa. It's needed by apps linking to some perl libs.
+
+  18 Feb 2003; Zach Welch <zwelch@gentoo.org> perl-5.8.0-r9.ebuild :
+  Added arm to keywords.
+
+  10 Feb 2003; Seemant Kulleen <seemant@gentoo.org> *.ebuild :
+
+  removed old and crusty ebuilds, there were just way too many in here.
+  Also, changed sed statements to use : instead of /
+
+  05 Feb 2003; J Robert Ray <jrray@gentoo.org> perl-5.8.0-r9.ebuild; Changed to strip
+  "-malign-double" from CFLAGS, fixing bug 14608.
+
+  17 Jan 2003;Michael Cummings <mcummings@gentoo.org> perl-5.8.0-r9;
+
+  Another blundered typo. The flag-o-matic include had a "0" instead of a "O"
+
+  16 Jan 2003; Michael Cummings <mcummings@gentoo.org> perl-5.8.0-r9;
+
+  Typo fix, this one in an einfo.
+  Incorporate flag-o-matic per bug 13952 - the -Os flag doesn't work with perl
+
+  15 Jan 2003; Michael Cummings <mcummings@gentoo.org> perl-5.8.0-r9;
+
+  Major typo corrections that affected the placement of scripts and the man
+  pages. There was a typo introduced into the 5.8 ebuilds early on that was
+  not caught until now that left the location of the man pages blank and that 
+  misset the /usr call for scripts placement from perl modules. This was caught
+  in bugs 13886 and 13920
+
+  15 Jan 2003; J Robert Ray <jrray@gentoo.org> libperl_rebuilder : Fixed
+  unfortunate typo.
+
+*perl-5.8.0-r8 (06 Jan 2003)
+
+  12 Jan 2003; Michael Cummings <mcummings@gentoo.org> perl-5.8.0-r8,
+  libperl_rebuilder:
+  
+  ebuild - Put a sleep where we had one in the else block so that there is a
+  pause before emerging (notice regarding threads). Added a sleep at the tail
+  end of the ebuild so that there is a pause for folks doing an emerge -u world
+  so that they at leat have an opportunity to see the notice.
+  libperl_rebuilder - Removed the unmerge section, that's really overkill for
+  our needs and only complicates things. Added new syntax to check for files
+  installed into /usr/lib/perl* that weren't picked up previously. Changed the
+  name of the log file to perl-update.log (makes more sense ;) ) Added mask
+  check earlier in the sanity phase.
+
+  08 Jan 2003; Seemant Kulleen <seemant@gentoo.org> perl-5.8.0-r8.ebuild :
+
+  Unmasked for sparc.
+
+  08 Jan 2003; Brandon Low <lostlogic@gentoo.org> perl-5.8.0-r8:
+  Later that day:  dosed smells funny, switch some of it
+  to use just sed and a for loop, this smells better
+  to me, and fixed the problems I was having with
+  ${D} staying in the files.
+
+  08 Jan 2003; Martin Schlemmer <azarah@gentoo.org> perl-5.8.0-r8:
+  Remove  a wild 'test' from comments =)
+
+  08 Jan 2003; Michael Cummings <mcummings@gentoo.org> perl-5.8.0-r8:
+  Unmasking for x86.
+
+  08 Jan 2003; Brandon Low <lostlogic@gentoo.org> perl-5.8.0-r8:
+  Updated ewarn at the top so that it makes sense (was telling a user
+  they could use threads when they already were)
+
+  06 Jan 2003; Michael Cummings <mcummings@gentoo.org> perl-5.8.0-r8:
+  Updated einfo, added libperl ebuild. I've placed the libperl rebuilder
+  in the filesdir and added a note about it to the pkg_postinstall. Thanks
+  go to Azarah for the new set of ebuilds.
+
+  03 Jan 2002; Michael Cummings <mcummings@gentoo.org> perl-5.6.1-r10:
+  small fix to regex of x2p/makefile - cp'ied the process further down the
+  ebuild since this is rebuilt at each stage. This is for gcc-3.2 users 
+  in particular and should take care of bug 12853
+  
+  27 Dec 2002;  Michael Cummings <mcummings@gentoo.org>
+  perl-5.8.0-r7.ebuild:
+   
+  Added depend for automake
+
+  27 Dec 2002;  Michael Cummings <mcummings@gentoo.org>
+  perl-5.6.1-r10:
+
+  Added depend for automake
+   
+  27 Dec 2002;  Michael Cummings <mcummings@gentoo.org>
+  perl-5.8.0-r7.ebuild:
+
+  Note for remerging perl modules added. Unmasked for x86.
+    
+*perl-5.8.0-r7 (22 Dec 2002)
+
+  22 Dec 2002; Michael Cummings <mcummings@gentoo.org>
+  perl-5.8.0-r7.ebuild:
+
+  PLEASE READ. There was a problem introduced for non threaded perl
+  5.8's - a correction introduced earlier for threaded perls was adding
+  -thread to the name of your arch. THIS CAUSES PROBLEMS FOR SOME
+  MODULES. For instance, the DBI module checks to see what the name of
+  your Config.pm has listed for $Config{archname} - if it had thread in
+  it *anywhere*, it assumed you had threading enabled, but since your
+  perl was failing to use threads, would fail. This will version of the
+  ebuild will correct that. You will need to re-emerge modules installed
+  with perl 5.8. A tool for this is forthcoming.
+    
+  
+  20 Dec 2002; Michael Cummings <mcummings@gentoo.org>
+  perl-5.8.0-r6.ebuild:
+  
+  Finished what Lostlogic started - finished path corrections for
+  threading vs unthreaded perl 5.8
+  
+  20 Dec 2002; Michael Cummings <mcummings@gentoo.org>
+  perl-5.6.1-r10.ebuild:
+
+  new ebuild confirmed by arch devs - Gerk did ppc, Alron did sparc
+
+*perl-5.6.1-r10 (19 Dec 2002)
+
+  07 Feb 2003; Guy Martin <gmsoft@gentoo.org> perl-5.6.1-r9.ebuild perl-5.6.1-r10.ebuild :
+  Added hppa to keywords.
+
+  19 Jan 2003; Jan Seidel <tuxus@gentoo.org> :
+  Unmasking for mips 
+
+  19 Dec 2002; Michael Cummings <mcummings@gentoo.org>
+  perl-5.6.1-r10.ebuild:
+
+  Contains patch for safe.pm - security bug, see bug 12190.
+
+  19 Dec 2002; Michael Cummings <mcummings@gentoo.org>
+  perl-5.8.0-r6.ebuild:
+
+  Same name, different ebuild. This is for the safe.pm fix.
+
+*perl-5.8.0-r6 (17 Dec 2002)
+
+  17 Dec 2002; Brandon Low <lostlogic@gentoo.org> perl-5.8.0-r6.ebuild :
+  -arch this bad boy, it reb0rk what I unb0rk last night, stick with -r5
+  will probably skip -r6 for the moment and go to -r7 with some more 
+  fixage when we know what to refix more :)
+
+  17 Dec 2002; Michael Cummings <mcummings@gentoo.org>
+  perl-5.8.0-r6.ebuild:
+
+  Further fixes to path writing. If the user asks for threading, the
+  dirs are $[arch]-linux-thread-multi. If not, the paths are
+  $[arch]-linux - this is correct behaviour!! Installation with
+  threading is *not* supported by all apps that dep perl.
+
+*perl-5.8.0-r5 (17 Dec 2002)
+
+  17 Dec 2002; Brandon Low <lostlogic@gentoo.org> perl-5.8.0-r5.ebuild:
+
+  Fix threading use flag thingus, it doesn't put things in ${D}/${D} later 
+  now.  Fix messages to only display if needed.  You will need to remerge
+  all your perl modules after you install this with threads.
+
+*perl-5.8.0-r4 (15 Dec 2002)
+
+  15 Dec 2002; Michael Cummings <mcummings@gentoo.org>
+  perl-5.8.0-r4.ebuild:
+
+  Made threading an internal use flag. This is to be used with caution.
+  Added eerror messages to warn users of potential probs.
+
+  13 Dec 2002; Martin Schlemmer <azarah@gentoo.org> perl-5.6.1-r9.ebuild :
+
+  Fix screwup in DEPEND, RDEPEND and PDEPEND.
+
+  12 Dec 2002; Michael Cummings <mcummings@gentoo.org>
+  perl-5.6.1-r9.ebuild:
+
+  PDEPEND is in portage now, can unmask this. This -r installs the
+  makemaker fix after installing perl - finally fixed. Thanks carpaski!
+
+  11 Dec 2002; Michael Cummings <mcummings@gentoo.org>
+  perl-5.8.0-r3.ebuild:
+
+  Busy day =:) Added LC_ALL=C into 5.8 (a fix made for 5.6.1, but lost)
+
+  11 Dec 2002; Michael Cummings <mcummings@gentoo.org>
+  perl-5.8.0-r3.ebuild:
+
+  Changed emake back to make. bcowan pointed out that the parallel
+  make fails for him, which is legit
+  
+  11 Dec 2002; Michael Cummings <mcummings@gentoo.org> 
+  perl-5.6.1-r9.ebuild:
+
+  Pulled until PDEPEND is in. This worked only for those not behind
+  firewalls, and unfortunately perl needs to work across the board.
+
+*perl-5.6.1-r9 (10 Dec 2002)
+
+  10 Dec 2002; Michael Cummings <mcummings@gentoo.org>
+  perl-5.6.1-r9.ebuild:
+
+  Major fixes, including the inclusion of the ExtUtils-MakeMaker fix
+  directly into perl's ebuild (thanks seemant!).
+  
+* Autoupdate keywords (12-6-02)
+  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+ 
+  26 Nov 2002; Michael Cummings <mcummings@gentoo.org>:
+
+  Corrected deps in perl-5.6.1-r8 per bugs 4116 and 9314
+
+*perl-5.6.1-r8 (13 Oct 2002)
+
+  22 Nov 2002; <mcummings@gentoo.org>
+
+  Added einfo note (finally) to instruct users to install MakeMaker
+  patch. Also added catch for cases where -gdbm and -berkdb are in 
+  the use flags - perl requires at least one of them to be available
+
+  Second incantation of -r8. This time, it is for LC_ALL=C being added to 
+  the ebuild itself. Perl won't compile correctly otherwise and handles
+  internationaliztion post install.
+
+  13 Oct 2002; Seemant Kulleen <seemant@gentoo.org> perl-5.6.1-r8.ebuild
+  files/digest-perl-5.6.1-r8 :
+
+  The fixes from -r7 didn't seem to make it into portage. So this version
+  has those, plus the updated MakeMaker.  should close bug #8998 by
+  rac@intrigue.com (Robert Coie)
+
+*perl-5.6.1-r7 (02 Oct 2002)
+
+  02 Oct 2002; mcummings <mcummings@gentoo.org> : Thanks entirely to seemant, 
+  this release incorporates the MakeMaker fix directly into perl ebuild process.
+  
+*perl-5.8.0-r3 (13 Sep 2002)
+
+  13 Sep 2002; <mcummings@gentoo.org> : r3 is a cleaner ebuild that should have   added support for other platforms.
+
+*perl-5.8.0-r2 (16 Aug 2002)
+
+  16 Aug 2002; Michael Cummings <mcummings@gentoo.org> : added
+  fix for gcc compile flags that corrects problems with apps 
+  compiling against perl. 
+
+*perl-5.8.0-r1 (10 Aug 2002)
+
+  05 Aug 2002; Michael Cummings <mcummings@gentoo.org> : added 
+  threading, fixed hard coded architecture prefix, cleaned up
+  ebuild
+
+*perl-5.8.0 (28 Jul 2002)
+
+  05 Aug 2002; pvdabeel <pvdabeel@gentoo.org> : fix header
+
+  28 Jul 2002; Maik Schreiber <blizzy@gentoo.org> : version bump
+
+*perl-5.6.1-r6 (04 Aug 2002)
+
+  27 Aug 2002; mcummings <mcummings@gentoo.org> : Added stat.t fix,
+  fixes compile problems on boxes with no suid's in the */bin's
+  bug 7120, affects fresh installs only
+
+  05 Aug 2002; pvdabeel <pvdabee@gentoo.org> : Added ppc keyword
+  
+  05 Aug 2002; pvdabeel <pvdabee@gentoo.org> : changelog entry
+
+*perl-5.6.1-r5 (25 Jul 2002)
+
+  05 Aug 2002; pvdabeel <pvdabeel@gentoo.org> :
+  fix header
+
+  26 Jul 2002; Spider <spider@gentoo.org> :
+  fix SRC_URI to become pub/CPAN instead of pub/perl/CPAN
+  
+  25 Jul 2002; Spider <spider@gentoo.org> perl-5.6.1-r5.ebuild
+  minor patch to make it build on my gcc 3.1-r8 system
+  
+*perl-5.6.1-r4 (20 May 2002)
+
+  05 Aug 2002; pvdabeel <pvdabeel@gentoo.org> : 
+  fix header
+
+  26 Jul 2002; Spider <spider@gentoo.org> :
+  fix SRC_URI to become pub/CPAN instead of pub/perl/CPAN
+    
+  20 May 2002; Preston A. Elder <prez@gentoo.org> perl-5.6.1-r4.ebuild
+  files/digest-perl-5.6.1-r4 :
+
+  Added ebuild that works with gcc 3.1.
+
+*perl-5.6.1-r3 (5 May 2002)
+
+  5 May 2002; Seemant Kulleen <seemant@gentoo.org> perl-5.6.1-r4.ebuild
+  files/digest-perl-5.6.1-r4 :
+
+  Added an eclass called perl-post.eclass, which this ebuild now inherits,
+  so that the .pod file in ${libarchdir} gets updated cleanly with
+  emerging and unmerging.
+
+*perl-5.6.1-r3 (21 Mar 2002)
+
+  21 Mar 2002; Seemant Kulleen <seemant@gentoo.org> perl-5.6.1-r3.ebuild :
+
+  HTML documentation no longer gets gzipped, but a revision upgrade wasn't
+  absolutely necessary, I don't think.  Thanks to stefan@mdy.univie.ac.at
+  for pointing it out.
+
+*perl-5.6.1-r3 (1 Feb 2002)
+
+  1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+  
+  Added initial ChangeLog which should be updated whenever the package is
+  updated in any way. This changelog is targetted to users. This means that the
+  comments should well explained and written in clean English. The details about
+  writing correct changelogs are explained in the skel.ChangeLog file which you
+  can find in the root directory of the portage repository.

diff --git a/dev-lang/perl/Manifest b/dev-lang/perl/Manifest
new file mode 100644
index 0000000..7f9d41a
--- /dev/null
+++ b/dev-lang/perl/Manifest
@@ -0,0 +1,86 @@
+AUX eblits/common-v50160001.eblit 1578 SHA256 431f30795dcfaaddc6c33aeeb13437c6efc239727e7997fd2f9b03e04ed79b91 SHA512 7882c7798ac419179fd99a2d3bff46933c8d30a645ac482fe38dad1a00bccde8fccdd15b3b813cb411b2326a19178228a93d0222f0b0450778d5149a46ba729b WHIRLPOOL ad9a1df3034d8fc25a6bee84817da34a8570ac6227d2dedc7b9d838760b8bac8ac9dfbe83d2a9af71e1c689022179f462f460f0c98e047e38d0cc3b648abab2e
+AUX eblits/pkg_postinst-v50160001.eblit 2603 SHA256 bfab0992a63ad1238ca22c6ba5fe17b53cfe3b02fd8fdebe156afe888865a8f4 SHA512 b95e39f8669c33cab0d750e2e8160bff7c2e878812e048b01b207d50355b719aeacf0816c048034b848ba2739db827001b4504b25c46b825f3275e282930c46f WHIRLPOOL d740d910169757025a1fc6f160662ba40bd0c04c646cc1dea4b22db5ff3173ad9d5e45ae627d49a258674f1684c9f7ac07c508f39b7bbd1f152e74e992af398b
+AUX eblits/pkg_postrm-v50160001.eblit 414 SHA256 838cf6fc5109410344f51019aa80377be35e466bc6515625475821bcce96dec2 SHA512 702d8dfe508959f3fa0f74d949913f61d3d167c0c30a924b4e08080eb76f7e28b2ad4c46ccbdaf93a2e493400a033f7b9f6ffe8d7ccc0a02b0c9508241cd7c87 WHIRLPOOL 44a9d0087a4dda3281399f11af0d1c0cba7c416fadb1102f02b54d80f180fc7e19a968545fc099619140b06242bfe65dd0baaa150f0553e7c79c5a1c709ead4a
+AUX eblits/pkg_setup-v50160001.eblit 2448 SHA256 1259e0d4addfb0f06aa322429e65cc9a60f5cfd16f24f43fc53ea3fe4550980e SHA512 d7446269bd36359d089f740ceb6dbf77b88ebe6c80e797444b7c89bbfa9dc32f503ac3ad356c35b3744be27d92bf33ccebdcde09ce969d10fe995d1e4cfc65fd WHIRLPOOL 66e141273fb16120e71a60f23149cbee6248733f3331cd110521a62120e51a1c650a1839720a8d31deb0477b817c5d565c152fd4974f2d4a07041981e932f355
+AUX eblits/src_configure-v50160001.eblit 4591 SHA256 bdaf3845a0db91c601022ccd4f56f65137d0461440aae0e506b25db462e6228c SHA512 802a4a4eefeec457b120d3e822d09f5cc75fb0aff76d45d439f2c02b21eee609a2a69c86e1325f5ae5437d98014cd65c80db057a7e699d8375416e1e5086d17c WHIRLPOOL 68e83205a145af6a9296db11ca98bde3ed92054a560755b5dabe3aadf1b4a893949a073ffc486bc463fcc262ff28d344eb77dd7bfa17a97e7117c74604bbde9d
+AUX eblits/src_install-v50160001.eblit 2122 SHA256 64a8d7bcfd7757e8f15c28f4457240390f5f0ffff3c8c72c3e01a2612b668cec SHA512 ecea3ae0006fa2b009c15cf7ceca989058738e2e893b053dc0bf904ce17443b7d21ed033f09997535fd86da608d1c95d1b93a55268c06cf164d7894a71616e2c WHIRLPOOL a9c5531a799a3054ff3fd9add4e81e818f6f4d01d4826728274a15d98cee2a20188dee906f565ce4b413813068db4ac347ef7b717cd4b9526f54ba208c309491
+AUX eblits/src_prepare-v50160001.eblit 2187 SHA256 5c2e728c071d3367573de6893713fd071cf386439c2276c38187c396e10652ed SHA512 740d4cc9c1f47367d893c73c52fe5fe86f59e8a92c9d4b0700577930c9c1cfa73d299f16469e7d59e91cf6e94cd0702eddc67854af16728207bcfd0afe34cbaa WHIRLPOOL 7391a92c224cda2ad83187eb75c4d9c505c05bf2ff341b86ff937c21fa475de0d626b4cc28c68e8db330737d9754a4162811a7985fe1ef7ac07b4e8bc84ad694
+AUX eblits/src_test-v50160001.eblit 503 SHA256 35a8a1a6f89e351e4587c82ef3c30699f8a37d78570e28510c5e02bc9e352198 SHA512 09c6f1b253119d0ad7f7d698c37d9d1979a67a2866c72677177c47d9e7c413a7588e2e531bb1e9790ce49add618b768a7fa271e05171a3ce73fa4433034f91f7 WHIRLPOOL 9aae83a23fc6246d26729ad940a7a13bb89e3b2223581e34000f8a93470455bc8ca5b71ae47bf5e6809544793fe21f7207beca3681990c849838497f32f08b51
+AUX perl-5.10.1-cleanup-paths.patch 2368 SHA256 90738b47513eed34789ab506a023ca88be841a9a64127d201c4eebe85b63f443 SHA512 47246aa49f8baeab315bf06e64bddce98778fc9fcceddc0dd974604e1d6cb00a3a48bc08243a3edd2ccedf452bafd522e31e4469e672470c996da16efea85c4a WHIRLPOOL 9abc97d16322927f2e8b71d13f78edaca9e0b3838e2cd695fa2773ce6f7c3d6ce0d30bb81e34824294545df8a444772339f279ae2a556db2add9547b9cd7d065
+AUX perl-5.10.1-hpux.patch 1042 SHA256 3288b1b8a3d09d078c6c8453ebde7fdea15b0c39be016141c7278502a91dc26f SHA512 dbb3fadf45463c4aa2fc7333167369f8dd6506e4d45a39f7fa0c651ded185b866b289abaf38555ca559ab93b80ec4d666959cdfb76380a965a6b65bea5cb3df5 WHIRLPOOL c128d8baa440b0fc4ed0454b3b54f02a2525ae383b12daa6f5794d051a17637827219429650cdb2cb62f5972cc27818bae301b3d5f6aa5f11de90a5e77ca635d
+AUX perl-5.12.3-aix-soname.patch 2190 SHA256 ad3722c4535268e75208fcd569f4a9aee9672c2bae5017317a72a62948a89f98 SHA512 91543e9481ea143f2957f14497cd25ef6e3ef5d347d9eb3a2ddaaa4209fb866a12288d0685d6a32e452ddf32878872b2207ae1abe5a49400ad16ad466e8d5031 WHIRLPOOL 69c6b53010c60597011927437db15fd7756bec1b2f01a76442b02b21a46be6b75163423e9d666f23f995c0965607edc981fd28570b145d901e5028774fdb61c1
+AUX perl-5.12.3-interix.patch 690 SHA256 e2ae4b8067b3e98db1bf63b71e0f5f703c82b25883be03592bf1d74396409e14 SHA512 ae306dc130b5e3e4c4354fcd7be09581972d927e3c6dd2bcc08e5db92b1443b2bcb473ef646952175fa169203ef5312604521bcbfc06fdd46d73c350f0bc4f38 WHIRLPOOL 04dfa0c275f3f40f3f5045c6683b38e84ec5e1c7c66a9a934a91d4392c546b93fd3704f7b5e500c67ccdf6c2d6af0c4a3766f7c6017175fe1b0608348da16a02
+AUX perl-5.12.3-mint.patch 9700 SHA256 181ba1b71a1bcc2d74e2047a710965caf1ff8e29d395c018211d2dc75a6bc0e3 SHA512 ab8c8f1359c14b23c3fc66f131a8b7240257d7a12d8756b456982557a363165a0392b012d50cf980a6d711e705ac444822fcf964ee191d157aa5d5219b0aa94f WHIRLPOOL 7ee69fe3516c3187b73a4deac092703414e73b3b916479b28319f7fb9b357bd4034cc4928de44c4f1c3c7ce533f6117e8bfab31a7b1f3219abe8decf57ccdb6c
+AUX perl-5.12.5-rehash-5.12.5.patch 5535 SHA256 ac073dda4da957538f4204ed0b92d9895fa675e82fa1cd69fde5391089afd9fc SHA512 2ec63c9deb9bf7e4fdf005208b06c03159aa992f4855d62b11a1e64ea9fffdf4d083a3c70bfc6fbb0e4e39d3eea772ed25ddd0a17a7b2133d6f5d1d2cfaa051c WHIRLPOOL 810bbdc3db2e964b71617a7506c371384429d0d732386623877218765f3be6e48e7d73786d234c1aadb76e1fffb63169bbacefb0cd94d751b7acdd293faaa169
+AUX perl-5.14.1-cleanup-paths.patch 2375 SHA256 e8f55b3f863a3502f7bebe3d059f822680378ebf83f58ddd51df19294e82a60e SHA512 0dcdba3b2bcbdc3110a59cef260b68e9f93ee47c5b9e6dd07b1f26b4606f3a4b678d5512051f7feea769283c98dd35c0d12e0510c621dd62eeda0da4b06ac81a WHIRLPOOL aae9147be2aae74df7719794feee0ab9883d6e2bcf5f26eeb9efa06cb1a4d75f6bb68dc52800b1b41a6406f52a3a1b59eb4b2205f7b2d07940cc82590d677660
+AUX perl-5.8.7-MakeMaker-RUNPATH.patch 859 SHA256 3d327c525e0cf57899eca48d417fa4363f40da9b0d6b70b61e951521749047ab SHA512 6d7d612c205d19a6b76ab245927a470aa20ef5871fc6f5933c935a3d148bf4fca29ec899869e989b4e7654d7372ab4ba62d2c9b035eb8a089adf10f6fb4d64b4 WHIRLPOOL fc18bd262a27ed7bb1084d34666a074c65aa225c7fe8c7c13fb20dc74b2d89486f691d7d8429d4a31bc24f111fb279bd606808fd5b03aa7f8944986745530db1
+AUX perl-5.8.8-CAN-2005-0448-rmtree-2.patch 8187 SHA256 def78de69a0ef27204dfc1f5f39fcd4da1b38327f446e4dca1d37b9890b338e4 SHA512 6d3ce0cfa07221a35b320d4345a12dac2023fa4d42153e8caf964877398a1357309016e4d3d85ae6413c39034408176429d30228fb131a21d2677ccde030dc2f WHIRLPOOL 9749b52d426d0bb45b5a1710dfb2847b3a3864d6b1d494ec7bccf53f20a10323b23201f5f00d43f886eef688352d4bf6b83c1a7045a447619a65fe1cd425a340
+AUX perl-5.8.8-CVE-2008-1927.patch 8129 SHA256 614ebf7a0885fb5f7203627a3051f4df8fee2988d6bfec5a3d8fe70d97f9e45b SHA512 0d117eaa19d64d0f6e2a494bf53bd120a0926ece6660affa14e27036329c64b4b907c673c32b715cc70db31cfb45d920e1ea2de65dc64c0c717b979235b50170 WHIRLPOOL e76d8e638229c075b0b010ae71a109372b2775560b37427a712aa7d35e05ce845ffe0621f872873f7c289a77154c69a8870b2d85617c963e71d0433fe540268c
+AUX perl-5.8.8-USE_MM_LD_RUN_PATH.patch 4963 SHA256 49527cd4272ba177b39562363bf34ec6c7b6e709ee6ac770b7fccc302d18b459 SHA512 f03c343ec11d6ac03352d4c90c93e36542187d6dee3a847826920c78219e67871c611fe33ee869ac4a864e1569eda249ec47794a6b0649376af364a8302171f0 WHIRLPOOL d8553d77fdd3ec70b69c4e23fd765aa46021658bee4b4a8d5b65e71dc2ba987fb0aecb092b28eb4105a578fdc8ade25e47bee016315ec5ad0bca91d3e07e0f3c
+AUX perl-5.8.8-asm-page-h-compile-failure.patch 384 SHA256 b6be7b879d07a0f5a80ec775ce122d84a126a860471ccd86e4f32cbc2c90f704 SHA512 816f2b0e7be3dd0690148560579db97977432e61f5d11b606605b7e8eca3a4207e07486a5801c85cd55f489c470fe0a139798c7a78fcbb7af28476c783e0ffad WHIRLPOOL 5829a70fab015515572eb0be71f01dd7d2fbb233ec55e878e9a85bcb71b47a094a830c84f665745cbe31c16b83643ce103420cd06b63ef14548e59a0dc65ca8b
+AUX perl-5.8.8-ccld-cflags.patch 1103 SHA256 c154c64b6566914ff6c77afdb298c6f18d24f030fe9b121d55cb2b687cd385ed SHA512 996a333acd560a37faa7b0cc6e0baf7908925db5587fba976b8119044220d47bd36f16cc8c29cd4435030e688718129bdeb611fb07ed7ce2465e70b42368eb8b WHIRLPOOL 4b0e379f0851f00fc015ec8cea84e2083b9d349050a34d0f227dc15ec919988749f04b5361323e6047b47a4d6d5abe6f80379a77e1c6b3834633aa9340d9f80a
+AUX perl-5.8.8-cplusplus.patch 854 SHA256 ea1368e609b0d992b6cd5f92c327768d8c61ca2096826f26af2576263efb8a89 SHA512 b984551cab20a93fd08589138d6eb8ff1aed11eea002806ee426ed84510ef925ccb64dd4851962a157a4b909805895ba97b265a7663b66a5fe2736e7702a4a40 WHIRLPOOL 398a6df1049bccbb6619e3ed04125a6aed06fe5a1a26a48c5a68cf889a35db6b02a2dd76462b56e1fd91369478f5e85e2c97baeb7b9dd66ff1834ebac504a67f
+AUX perl-5.8.8-darwin-cc-ld.patch 546 SHA256 c4cb8915fd8117badf53fb9fab03821a0b31a58fb9a273f33e129b4fd5362570 SHA512 c71b0edac5443dc5f92bd9bee3364555b2e3a6e42e786f0f7ada0e1cb0f59fefc5ee2bbcee44bca3bb381f022d4aee7954cbc0545740b7b989499ef8ee7d16a6 WHIRLPOOL 63a79e6a363cae6f39255dfdff9f7eefe0274834ae7c7d28269e928ba9c101ab60449fe51583027361a1fb66d92a3cd4df80409cd72736d7785bc17a9ec98419
+AUX perl-5.8.8-dragonfly-clean.patch 5211 SHA256 08b22fe26695f6f7f7d21ca2628954eded91205b64450e24d0b295eb75952b6c SHA512 6c23a81f70276cb2cede65eec9202962681db6f626d2c3787ca40028a64417c2c5026bc4f6117ce5966c4733f8d8660af262b62c2c223662b903f119f2b9c916 WHIRLPOOL 51352eb13a3566b182ec0e2c130fcfe55baf53f46c855828f54bebfed861e8c0834ba50ae2458e08c377c6870f2cac4795ed2f5628f377814bd9e8a79ac720d9
+AUX perl-5.8.8-fbsdhints.patch 1984 SHA256 98ff829c9544e7edb329974b883f98b1391a5bb0e071edbb5e96feeba2c066c8 SHA512 c54468a4c8cb8950f796b2a51c036b7ca36c6ef4a542d4934170b27bda3399809cc71220766adf0e74e739170da82a4c1d995c86ed76becc8e1ffbf4b636e135 WHIRLPOOL fbf98d22ee127439e6a6ad2526055e2227b8c268c7d4bf92c170d8613f696e7fa095556063981679e0a2bdf7bfdc0d46a3840845d9d46bdb2f7fa5d4c43b0de4
+AUX perl-5.8.8-fix_file_path_chdir.patch 2195 SHA256 192883bb78ce487cc27e0158d7fb17837c45ae7a88091eb7bbf228888dff95c1 SHA512 b275aacec455964082691acb4c82f5c59e7aa71322354e623384de3e73ed1b322405521b434484c88f9ba489a8364ae6dfbdf6b41ee7a32218b171ef4da60d90 WHIRLPOOL ce869a168dd4abee7bd8e02659c06ecce524d706e313258fd3760c97c40f14205d5f4ce109a900b43593b14004eb6e37519576ba9f2e0de51cd50f1d5c294284
+AUX perl-5.8.8-gcc42-command-line.patch 497 SHA256 946d02284221bc3615e1f03afda1735e6da0296b03315e2a644bd784ad6f76d1 SHA512 f8416031cf8ec05bb96f7044de0cdc624b0bb0d0a066cb85511f7ace9812a709505f1bc7df9c4a97bdc6700151b0564e6f9e33f1378c67aa5307529bc2cd8cf3 WHIRLPOOL 3bf1846037ad879b4f9033ffe3ff623c45c75ef88157f260992c424d5eec035746a85bc93aeb74d57f9e40459e396f72c1d450f64214583b4a171cf4306d318d
+AUX perl-5.8.8-lib32.patch 2880 SHA256 90f9dd366ac931ac8baef61b1c8cdab4c80009554919c212b169fd37268ddf23 SHA512 7252f9a592d0d07e18f876e291a0177dd73218a4bcce7a06aefb7c785e56a9771aed548f2229cd2b5fad9736559d2b5469d9befc67bd37fac895213169719329 WHIRLPOOL 1b77a3e43bfad0738d0de1265bbb2b426fd6c1bbfcb61bb4a098b032ff0d71c8e27e776edf6cd7dac907da0da9fc67752ff5f095eab30065a13808bd3a7776e5
+AUX perl-5.8.8-lib64.patch 2880 SHA256 d2005cd1d57852a87f6060627c88eaab56534bcc8f922567e250ea79d2f6552d SHA512 9e1799541bf7a91c1d3ed0f556726c50798b1156cc9a45d56e86716e4074e3464b3f48dd6bb4ba16f81e7488e3cb9c205a92aabf1be5e85e2526c9b88e9b18de WHIRLPOOL 66cc945ca051845b8947f22337551e352f0af60972b07667ce0e974736743659463257f01a5b75f185f60f5147cd142e6363df9d3a1dad93bee64a220b1cefe3
+AUX perl-5.8.8-libnet-hostname.patch 664 SHA256 486d779faa86ae275e8800d83bd67329634b2782de6908512b6bf8380d389a96 SHA512 3208887564d7734f32583b0af33747820a55ef1fb5034c4d5eef15a12edfd5384290d3b1375409d47571c536ca6ce6204cd8b07952c8c950ca170974badbe820 WHIRLPOOL e67f806dc68a56a7987d4468f862429902b2c88c9096f43a13af3476bb1a06d08802d1096bde7cdac2316ee9d0e8b23b90be689cc998baee304ab30b81c8c1df
+AUX perl-5.8.8-links.patch 2925 SHA256 aeecee505f05ab0d7336142119f7a3e6d061b8fd2c7bbf9bd88cfb0421323bea SHA512 736dba3e3d21ecf2e6aa2c8e7a4c524da4975025fff5006298fc3685984f61de4329ce59de391ebc7f3650c867df2ff1ce92c01134c4731e6b099eccf51f1b2f WHIRLPOOL 5f70c1a9c0fafc7cf4f4f69f1918c52f561af1fbf08541fac35a8433b31a2f4198d497cbbda7851066402c9505ed4d8d882dfe254de4c8621a74a1a75d5d0612
+AUX perl-5.8.8-makedepend-syntax.patch 341 SHA256 f4ff3678b992774552d9ebc9ca7f3da1ae0144077eb52365e96ddbd0ba9c2606 SHA512 655646a9f349a84286de13eb8048253ac007d876b1d4d1a4be6c8949e155872fc7f52896aa354528118df0a89f2332186f19c473de9b89e8b8d63071a18dd478 WHIRLPOOL 392a80a0af0a79823b7599c9e68c51b57ec2fb67af09d11eaf07c3b6f77e5242c61a857cf35718c0c00bb965e280f9b9162e10a56cbaa68368d1fd912be7702c
+AUX perl-5.8.8-perlcc.patch 559 SHA256 7c212d320ec34cf8d0d5443ce5fad5c94a9fa9075462d54ddd8cc5716a2f2aa9 SHA512 bd1b578b45304203bd2be0703e179cd229b17020be86520ec079b5045c233c469aa4f7653620ac501be6a32bfb0a5d0eebd665b27a2d77aca08f5713e26ecca3 WHIRLPOOL ae0cd9f42fe47185d9d8ab2c747bdfe9530d50c7af6cd7ab6c08540cd7ac2433374396f440fa9423d09e2286bac5a6276f5d6896f57781ce4fb665fa06d22cc7
+AUX perl-5.8.8-reorder-INC.patch 3046 SHA256 136ca6c6cfaa3467f6a164f26b34ff06cc55823ca5723118764589cc15d37aed SHA512 f4795edbb738c26b5c63268a3392e93842a1cb06868293bfa16016c2b4e5b78a2029a1d0d6a64bf6f6e76e67565832eff9e37214296b03fdd2ad9cced3e935f9 WHIRLPOOL 6ee2367f5d7b4f344dd3099c8c7869788ea408cd3f6986ef22d8fec73a1489de509a715e6ef1b4f0128315c0f27e106e01b08f74f266ce5adebfadede1711243
+AUX perl-5.8.8-solaris-relocation.patch 526 SHA256 0bf483a1dd8f8572917bf1bd36f45c78d34b818ff0d0177d5f09ca4ab648dea5 SHA512 4436baf03973e8b795ce3e1b1dfd62cfbb59a874a311bc0bb0b8098c8d335f70987ef184cf0d798d837ca567553c7208541c1bf8211d60740c04bf71ec5653b9 WHIRLPOOL 0746481bd285df0b221adc883d8c62b86a422a0d0146358f38ee8adffdf5c5fc20f0dbe54ea9308fee66af890e3c92ebee970ab231df3ff55a5b30a7f3b526bd
+AUX perl-5.8.8-solaris11.patch 301 SHA256 300b48858b019797aac8154036aeb537a4058baf265597682a8aadac805991e1 SHA512 c0fd6ae3f312892e7cbfea41271db6d9e84c3aaa4e485743a62a6d0d281aefcc544fd3ed9d0a9f4ebb66a8cef9f3e38526a9a571a7acef2f5b4224441f0f8fcd WHIRLPOOL c841961b1d1375e938f23fe0a689b7f9bf0364e3b98210165989f4b4e30ab821d519c0db1149d67e86c9c870d9263ff869f59c34034a9bdbd215fa610e2f6fc8
+AUX perl-5.8.8-usr-local.patch 775 SHA256 c9cf8a318bb4b13088201ae8044fbab857918e23f517e2e8d2ee2b425940cb6e SHA512 8d17288a9ed9a4b3c7c5c3cdcecd989cc596fd8451e64268bdb36ba8a72780ba8bcfa537b30bc8b15fa0ab3be15117d1f9e331f00db9745fe3650391bce58a1a WHIRLPOOL e60a36a0873e0100c7094f69a181cb409f9a55dc5d4d8859cb3b9ca983e1c242ef47e2446950f3bedab725f558c43b9ba0fa529ffc635e540fd4a30da3cffd68
+AUX perl-5.8.8-utf8-boundary.patch 1866 SHA256 62848b35ed88c7d3a1a836903707b467e421321810e18792da41b28f9e7124a1 SHA512 12a1771259e81dff10553ce58ce8398f704b4dc70bf7c8584e971e33bc950a504a8ca60b521eba6f22262f3b3f0147ba00a266f13a412839f032af0b69a87810 WHIRLPOOL a73dd3f56ad31c6ccdef9cdae0af84c5dc6dca2167668c8d7bf12212f492c04913bf9cf6e14b58a90a58cb25ec15b75a361447af030a4daf49ad77ae939a4faf
+AUX perl-cwd-prefix.patch 533 SHA256 efe227ad8f93be5e037f1f2cfb42a18845282fe345c969c5aa2772df3729feb4 SHA512 fc51d41295f18c77a9138a50bc4c312bb5fbfbc675b128dd574aee8955fea9453658ac436719f89dd3d9e653aa0a2de9400216f35538c59a795f8607222e4799 WHIRLPOOL dc5755ab9da8e9f00c1903f9d2a2ae217961caf272bf0a58201e7702ad74f49fe80ee3c86a781eff280f3fee324fd709653c9f90c5aa9de2aa3cefac4eda36c7
+AUX perl-fix_h2ph_include_quote.patch 2462 SHA256 bfe3ebd7e119ebf5e11dc00e55773732f483e740e153dff267dd5ca12affc432 SHA512 8e709d95513fe248ed2d4a0483e4ecf9011c5dd5c77f95009c00c4d26aec25c93ad62939f522bd79020b7e72c94fd8daad327592502369a8b5d27ae0ceed1329 WHIRLPOOL b78e7486e2389209f546f562cb2073c36250a7401b8cfd094ebde336860cfe206f91053d4af94e4b981889511ac282ac1119d9638606a565e47241bbfe606cf2
+AUX perl-h2ph-ansi-header.patch 446 SHA256 dc28a8ccba56e0aa5e01b0ecf68a163ebfb9460917d201f1f6d9a1efef06c788 SHA512 4859af132e2ff7b6c840c61201458fc3bfaee518993f42fdaddccae2cf07a94808183a7c8cffb9deab7e9f15c8241ff4afc3fc8c8817db84b5577831709ab385 WHIRLPOOL 2af68cd9ee1f8c0e3b90418a25a67960f92b7a775efa6eba771c27fd39dbd3b3537e7bf0077293a107e9dbf1678f377d782da73bbe97b90f623e4dee45fb1061
+AUX perl-hppa-pa7200-configure.patch 446 SHA256 4fe6a010dbdc39325f4003e7ccd02cb7996b4a99b64ab0fa8b12d6fe67f87a31 SHA512 5a1bdf849694ea8faf8fc3e7b29d1c908203fb389fa37e5fdeae1a610798031db4549254a90b7a050d0831265a45d605a59bfa14192f1924be7193610931e1e3 WHIRLPOOL be47a74d31258dc2dd524fe26d75edef1eaabc7119e965696ed26e72b9048191b374f21379e6d9b24ad64bdea133e22efa46438536049b5ce6822565c951e8af
+AUX perl-noksh.patch 611 SHA256 0861f7f54c184e99a0ffeebeab9420d969d2002f921bc3fb14841a1e24be1f5e SHA512 42f121522a9ad327c65649489fc975ab0e84ca37851ea3b905582c32bf54627d2bf3fffc7450811b9e9b8a7349c4e7547e37c0b4a38a417e6a6d7fa4e687f17e WHIRLPOOL abcd5c1eb9c0be25ecb742d4103b17b8c71f826373b3dbc6572a129a68042895c6c3a546c88206887c99fe848493344194b81c322d4229f0ee6e926c59ba7b75
+AUX perl-perldoc-emptydirs.patch 489 SHA256 e8c52d67793f0a5ae0aee52a3b9db2b348a1303b57069d6f82c4bb499f45ee2f SHA512 9d55750fceb9dbb774a5e7772898d6d97c8b54bbdba6cb0b8d26bab8c1085de344d963efe464ed8a4d0092cec91b12e6a0bae3a92200442c24c08f7cd4df3f20 WHIRLPOOL 76305e28c3696a388a40ba988184e097f56dba071cfbab9ab0bcfaaa2c6a90f5c51c0ea809dd1d995050caf9085875ca562960e09852b243b4bcff40733a85c7
+AUX perl-picdl.patch 250 SHA256 fdbe94e869457b7e62bdc76b82a13ecd6e500c223d609b1767285190efd63cfa SHA512 0493c583b3e7e324f91906ae9280145601642dba6c1c400f3d5df4e054e6aefa023d6c1823ee8cdbb7169fe5e1a932c091326e949e49ea252ccb409dd6a7fbe3 WHIRLPOOL 2fd61e6cbb9b0db012922a2dc8047b5962804b0e0ca41110915f8014f165009671f14619fdd955c95c811b29dc26d6fc49a736d5a20e668e099b7495c28b34d5
+AUX perl-prelink-lpthread.patch 476 SHA256 289d0bdd08105e7fdf1c2d683d76a0cdcd009998f3ecd84f3a75cf79ab84e7a0 SHA512 7a46c4f4c2577d08ca0db27103adca0f0db00010080e499e1231f3785505a8c99b590160bba650a2ef95246f3acfdedcb4003f297f23c1599399b938196c51e2 WHIRLPOOL 8fef3e142467c5be840faed23e38013c9b541844326bcb9972245938bf34a123cdee1fbbae8a3a2c1a90eae6fdf2cb079deb2a0b8bbcd98616c1962a3d5daeff
+AUX perl-regexp-nossp.patch 460 SHA256 e2d923711bb856b3c7f790dbc1cd1f468d647c1e50a3ff8a18745023c73b3e36 SHA512 78162aaf02125dcb7fa302edf2c34a1defa836a6e7635f843781b200d50e8bd4d519d1926ae4ff98cd9e3aaa6624b73901b3b6e54cb8ff3522557bd51fed630a WHIRLPOOL 1e205551058916f8495b37a4b1c6d28eba42a72874b2977f678bd5e9756e6d6ade5fdb7d666ef68570b91be906262353f01015dbf3a726f1f5d1564b945e72b6
+DIST perl-5.10.1-9.tar.bz2 7388 SHA256 bd84671e6686288c098c26c0a61d1b8471ab38d8c16fb87571011398770cef44 SHA512 5a94dd2ceadf609623110e11a0c2bf98b14715702bf83c93d61a164d0587900d9fa6b60b238d91de6c7ce34a711647420ccd29972f365ea69f4eb7a56b1209ca WHIRLPOOL 60661e7f7bb954238969255392b8fb87d0870ce4bfcc96abee2f7c05020d1883498374402d2a5b0ed8a056616850082de9a9e7cd47140e571a3a733060ecfa55
+DIST perl-5.10.1.tar.bz2 11608061 SHA256 9385f2c8c2ca8b1dc4a7c31903f1f8dc8f2ba867dc2a9e5c93012ed6b564e826 SHA512 58ba9923c99c41158ea60561852aa2f43ea25d88c1fdf7407cd1b98d40267a7899542b0f22e9d785e787267119a0cb99f8b6d2757cc0826986e497798a3a041a WHIRLPOOL 8c6d28a9b4281e2dd6e62ca367b6b2adc0d5c7cf1e42fcae3ff399679aff4827d9d4f518c51302c9cc1fbd0959381aa9d65f933b9e4b475b238d5e7cc93c8a55
+DIST perl-5.12.3-4.tar.bz2 8908 SHA256 6e97770b5db0dc82630451ea87f2d6654591110ac6791e35bd377129e258dc8b SHA512 67cfe8d41924fa69ad5f46e99b2ffb2d50e317bba3dd3c7cfa66753424bfcf8e66b766645cbbea5b512ac05195aac31677d8cab181689b269556c7ed3f1984b2 WHIRLPOOL 1f4eff9acc101e4251c391061c882b176365ac28cbd1a23b8d826cac73d67221d13c263d27972a395c529b393ab9eb41da611345abaecd623c02ac3f617697ec
+DIST perl-5.12.3.tar.bz2 12041247 SHA256 7e3ce3f19f2290c2a2a43a98bcf8cb0ccb69b652d67ddc629544339edc6c7343 SHA512 8a25cb9bd72b197467af7bee55d0c7c834c8e679bc01b82c0f0847d7c7416a02fd89b7cf6304ec74eb38404c78b91e3029d183b6c52831d19082d305c9ef0f76 WHIRLPOOL 9a9dcb9f0b5156415eeb325569f3d6a40df558a86717db7a8f6162531ba30170d3aaa81a15487fd3d7c2c07e5fee81ee075e1a07d401576fa64989105eeecc63
+DIST perl-5.12.4-1.tar.bz2 8045 SHA256 a5b0a7385773da5e716d74c5f9a46c63d93de96e9e7e60899f40363bd9fe6823 SHA512 73ca51e54f4273dc72c0c891643bd842d2f69b20a7cecf409e9eb790bd82cb0c9b61279555fe9f1930f914218c3055470a9d97e1f94e45d7f148a3100a426579 WHIRLPOOL 1e28cded49c92f29908ac6ba5bbbc4e5579cc373ae3b13a009cc503bfa0b0305cf439fdb722e5ebab2c971163163f50f808baf1bbce76cb4a7c0b49de70fbc96
+DIST perl-5.12.4.tar.bz2 12350353 SHA256 c920fa01a34b7752e8cbbc99c6921b908df60611d84a29c4377e4a798604767e SHA512 3dc0250496a2fd6adc639a63d777079d6fa5ba4a1d1c730350fd51752be2c7459ab65d622e99b853a3eea7ccecaf1f5f0b5a0f013efcb6554d6952f47aebf8d0 WHIRLPOOL 40677a8b690a6253609fe1b88bc95d9f8018d167ca4ab6753cba60cc5f5078a4953585a6face4f7e94222cacaca0348093cad6201e1e8c00c4f5a94cce065e49
+DIST perl-5.12.5-1.tar.bz2 8045 SHA256 a5b0a7385773da5e716d74c5f9a46c63d93de96e9e7e60899f40363bd9fe6823 SHA512 73ca51e54f4273dc72c0c891643bd842d2f69b20a7cecf409e9eb790bd82cb0c9b61279555fe9f1930f914218c3055470a9d97e1f94e45d7f148a3100a426579 WHIRLPOOL 1e28cded49c92f29908ac6ba5bbbc4e5579cc373ae3b13a009cc503bfa0b0305cf439fdb722e5ebab2c971163163f50f808baf1bbce76cb4a7c0b49de70fbc96
+DIST perl-5.12.5.tar.bz2 12252744 SHA256 10749417fd3010aae320a34181ad4cd6a4855c1fc63403b87fa4d630b18e966c SHA512 1c8957da1d25bbfc67a6521ba02791326f8040e3e59e4e4d760648598ac3153d9fae942a431ba506811ee95cbf87149071f7afcb3fb35eb59329d5424b0c3af7 WHIRLPOOL ccafe115fd6f7de6992beac0bfba4273e6f72949957a1b828bd9e787b4b663164d6edb091cfabdee1269b944d96467026f4fcfb8b5521bf0b307fd7178a1cb52
+DIST perl-5.14.1-1.tar.bz2 5074 SHA256 5fa81bde2e8ca4f8a9c60203d4c2d5f7d388fda648a669ae474881317cd2baee SHA512 68917dff11c9a947ec30f9de13c6192a1dc1fd40eb89e52675c2b8aea457f7ad26d7133ded41f15a8887ce81463005ff8baad12312f3fb98aa041284a32a8c4e WHIRLPOOL 27994a12db146ad0a86f07b44c88d2ba25efc42e1906018b425d0aee0b494e085c528edee1bb3400153e60e09162f5a7cf7661a299193c2f0cc57a4fe0dd92fd
+DIST perl-5.14.1.tar.bz2 13266293 SHA256 29b4a7e7c22d4a980ab9eb1ea486c5c4ee9ec533192a1ce8f3fe9ae32fb1f862 SHA512 86037dded859d1f1ef6f8d5b0255fd22a8a6d0a223b69d10eab80556305fd10955fd1021c755c7fc17345b8f1bb489d2a07cc1987e1a0d83fb983f832051c8f3 WHIRLPOOL 08de8654715409495a041242d8806ff56c91a8d8b706ab5e5ef779b5216530bb3f171959990620d9f4a0464c92ba0f8bc688ba33a3fec2342991b6800357b11b
+DIST perl-5.14.2-1.tar.bz2 5103 SHA256 0f553de072f80670880b96ef8ca0a79e4e1505f9bf1df55f6de55b95ac0862e7 SHA512 31196af4a32bd8b57b74d122d390261b129dc135ae54f35e45fe125bcab17bd6f837a094ad8d880992006304d287a3ceb74bc1168928b480a3573e80f01b52c3 WHIRLPOOL 567dd87156b56bd587210664dc537d9c964c5dba1ae54cae7d4754b0e4aa6149453650a0a97d971a771b14d50eaef624e0fa22e7428a321c78f44a85eac40dba
+DIST perl-5.14.2.tar.bz2 13226972 SHA256 c2a2362e8d1fdd2bfbfde801fcd78241f154c164f00fba76065ab8cc5c7b06cd SHA512 c8fcac096f5c7dcac7ed667e46711392cbea7791e5f005779f7ef88a6d42abfb204eb7b6c94dd2408d50d27db016f0b9632fc31f79c07b80d4a801367579b041 WHIRLPOOL a0ddf16b5baeb1ee49cee5ed4a99c8e4c00259beb359a9503c6c55f5fa034b150ce156c4cbfe915c0d3c57914ac84a4c89e2d81e33a8fcd66e4b6cecae7c6b90
+DIST perl-5.16.0-3.tar.bz2 13822 SHA256 2187b4b9f54f008ed3dd6b6620bd1c59ba5b0f5dcf01b6728fe285874363d408 SHA512 0f99855a8b331b2baa598cd055633595890219e897f868d0415189795f0a5a25b4731a30656be68268621c458899341496887a57b974470cec30cb38c1039ab5 WHIRLPOOL c8492e025aad4621c5d8a0667e3923c5cb71b78b67afe8aca6568ec13bf7c145bfc71fa8586a8de90863f519d2088498c0cd0bd075eb784b4e16b08096c49b93
+DIST perl-5.16.0.tar.bz2 13568573 SHA256 8c1d25e92a5760e84f77baa57fde5606fd6e95ec992408d36fa53c47162721d1 SHA512 d0bb91141ac4c5cc3d98dbeada130ae70c32cf59ac1a74991b5b1f52138b37f5cfa4233935afed4a16edfc9df784df6b3c538240dc654b82bac1fcb8efe3c3a1 WHIRLPOOL 432d93e018a8c2d5571bd15a79158d447f20e658340d8bf84603fe6c33251c78b07fc1ceaf7fa858ddb16d92bb6ac7a37fa39bc6d29e5b0aa4b99d1b6e4d209e
+DIST perl-5.16.1-1.tar.bz2 13843 SHA256 829fb8facfcd527ee10e490d105049b9138a7b9367bcd9ba7677330e0c326751 SHA512 0dc6cfc9f948a523127fd36fbe8dcc5af581937ad491a7e91cc2f5cf7d4f4fdeb6b7a24346ebfa4e78f839895b4cbd6da9a6a183d816d58792060c5d73d1d6b6 WHIRLPOOL ead851b1b8ecd64165f7af152b1aec8a46e76f0caa6842b7725aea7f0ef8c5516fa9461bcedd11565c60179c0acad5b1682129277a670129bc19dd2a8706025b
+DIST perl-5.16.1.tar.bz2 13550613 SHA256 0704b1421fe50015becd32c8b7ed05843e8b6c188a8c16cb0c11d76986375fd0 SHA512 df221f3d0bf3877e4fdf724bc8c10d6d3dd6cd7d762cc164d4fe67636806831ba14d2c52d30d927b87091a1004af68f730ed6f32cd06c29af5fa42d35212415c WHIRLPOOL c46a015916d00516e458e4c4c20a31f8c4c2d983d1a74fa73ce6721d6bce9321c2c2f4b5ac3e4caeda4db07d629e55d06c6bdb26233e8e95d3e95a5643d1d198
+DIST perl-5.16.2-2.tar.bz2 16830 SHA256 ee5131e8d3671ad03a39f9e729efea7750a3342aba950f9555efdd5ba8d81d40 SHA512 799e8c8b3cffbad9a2fd606ab610d23da8ca4d83e4f5d782596d5c86a127da54d2506564f7fac7479542802dfc835c8a0d6a5576e8a6fff3a44f9fc0706ed4b3 WHIRLPOOL cabd3be774144870fff0e37f78070d64f00e311c05be85386396cfa53a8964abf017560d87833fa223d87fad700dfc4831f9a4210d5e2ccc6c3462689c9dd0a9
+DIST perl-5.16.2-3.tar.bz2 18740 SHA256 830a6f444c2977c9dd8a0a4baa5be470b0019158e6c64448416afd10f2b73ca7 SHA512 d0da32a7ea8950d58aa50a74b5369df621885f4d5c26b65cee9070529f4679c63e19c8fcc880b31d913cfb1859ec8032ce6c80e21938fa621afeda571c116d44 WHIRLPOOL 55b4823423b4d88b9fba0fc9e9cc50bbce7c31c06563ebf97f6a44ee99f6e0d33ad7d6a400152e7e31e377dd5efb210f9d1906e234efe43477bf954f63182f38
+DIST perl-5.16.2.tar.bz2 13725101 SHA256 5ba91d9aa40220c615b644bb48fa5df7fbca4afb1c9e911bdc0ce2a93f072d7d SHA512 b2a0eac73ce57ca9b83622eaee64cdbfc69011ff4dc54d5e6193e9a218117f33963ac56a30fc2baa7a76504868bfa5f00dd5ba25ece1ac70fe3a7a454898764b WHIRLPOOL e634c29edb00676023e906d65a9ace8cbee6aed43c6551d119a0b59f4f1be15f2f9d8b1417cc22b3bae5a0f3706d1aecccd2815edc7f341a4301be969e024203
+DIST perl-5.16.3-1.tar.bz2 16842 SHA256 e88c413f6491aaa76cfb730af5873d710906df84d486019ad34b8c976ed9279e SHA512 337fbe5b3f447d2bb7f1edb18df973efbf99582448bcc6d3099ec6a91a43071cbbde3419a642e69602d6526f0d2c83d1ce8c7315e51362937c76bf3dc93f3f84 WHIRLPOOL c5be2872341e2bffe4f83b3f77314ed60b078f0977b11aa89d24a25fffa5ad9a761945d6518872c92a156065b58a3c456b71f98a8939a9cfd748e3a2d98a2264
+DIST perl-5.16.3.tar.bz2 13724906 SHA256 bb7bc735e6813b177dcfccd480defcde7eddefa173b5967eac11babd1bfa98e8 SHA512 c30cda0af9463942e40b5d70a95e69b0640bf0b79d9d9dfa1a61d9d8b9ee05f553fd240be4c8b3c60a1def66c80453e49e865c27d3dd0b686f5c004e1ff58d92 WHIRLPOOL 241141d9a04095abbc08f29853cc2a348b04550c7e9330c65a1aa111620b61166d2516a619a3afbf8b7bae4208bae7114bfff153c9303c00158a0153c3388526
+DIST perl-5.8.8.tar.bz2 10123359 SHA256 818a140d9c04ea8dab3a05104b34ced7f7d9d0a91bfed91baf89a84d0dfb1bc9 SHA512 45d8d6ffe5f28b71bd279e17e82eb60a97e2372e896ad5c1233a88d3cf092dc37ba74a450413a689600f8a17f53969600fc6e45a6e2a051471f9fde86bd635f7 WHIRLPOOL 0f50fa3b0785932ce30df64881c57b15ef098fb7cb8f6ad2a850e3642e7be589b3dc61e7ae9e07b44eacbfec262e0f869b26dbf6f704d302eb700fb2e158d380
+EBUILD perl-5.10.1.ebuild 18186 SHA256 e78712f27936a68b51f0e70239dd01f28adc79a7d1f1ca8580fcae6a0b51e707 SHA512 6c6bec78518702469e05d934d2cb23ee5f24b45e92edc7e3d31c33be222b0d0602e851e576318bdfacb92456fb4242f68c65e54649f47caa521874524f699581 WHIRLPOOL 2471a7f2bd074e494cf29edacfea190dbd4dbcd18c22ad77d93e0530609870353a43def38cee6d7bc98932c3977494fa151072b6586b9a91c12de9c92c7de430
+EBUILD perl-5.12.3-r1.ebuild 19453 SHA256 d675c932b718a36b59d666fec13d0a5a77b02b8450a961a7e1a833dcaf560de4 SHA512 9dbfc08a5ec1185f352caf0529ae0fa5d8df8b980aaa4682f18b2186244452247ea2bb4132a7464c27f12015522862a89091448ddcef6684c037f9c6eae5dd72 WHIRLPOOL d03b934499856b26454a8f7c99fed0044dce612928321483d61048fefb0200e922047154bc6d8375fdaa0c1c6c0c03ec1698343b0c4155f0b52d708fd794c504
+EBUILD perl-5.12.4-r1.ebuild 19372 SHA256 5daba3ba20c18960efdcc372ad697231ecb8f36515b8bdb2a386444992c431bd SHA512 fd1ab8eab7f11568578fc485c38ad4c261401c2235bb86314a9db2d4922866b51ed2037c80afe650c8488b77f6fe8ca13c788efe0bd10f0eed1460f16eda37bb WHIRLPOOL 80eca255b42b520d1dd08ed9b75e76b64c117e5d3906ea989297dc21dbed546b83eb023c4bc841bef8ccd536e8f9f0f4639d092f8327a7ded2a04c797174ffef
+EBUILD perl-5.12.4-r2.ebuild 21823 SHA256 ad29874dfc892161535e789e4bfcf949b31edc15f5bfc28370d15b8db8fda3bb SHA512 fa89b6a91c81e59633e66abbd3b7a41501117d5184785df77326eba6a8e8b48ebb29769bcafbbcc9c6dfa2f5e3de82b349c2860a9e2bb3620d321c635686f343 WHIRLPOOL 9ebd2ed5c0976a97772a37b2717e92fe0204ba24110aacacd9688a490ff869d1a9943e54bb29d4a2beaa30b295ee2c9034d8b567c06acfdfa7236cd3942b7399
+EBUILD perl-5.12.4.ebuild 19495 SHA256 4948ed320cdabf857a90f456c0f7c98feb8f6f4e407075d9957bdf7f578f6fb0 SHA512 bdc850e16d269b79f8dff35169801f980d202e723ed4acce457a32da2bf6728a0f73ebbdc72797ef5e5abded95568e519f43f646e7f9094d1ce5a81391a2b6a9 WHIRLPOOL 30c33a7cbeff13da26993d1bf6cf39750276c65b39076f658a4e00acf7b36ec6a6a7f7695904bd3eaab3cf175446a9ea99cc3631f69595a7709f579d264df5f8
+EBUILD perl-5.12.5.ebuild 21859 SHA256 e51378144f05f118061d8cab00aef96cc5ea18fd180a7c843c0a413d09d45b64 SHA512 3e9ab1b1a04415e11980031cb8ec82e417e78cb4c6f3c38c124e909b4b66792f7a2a479bf4110118a537848627bc86024470f8da6154cf209e0c407be6258247 WHIRLPOOL c9ef06cc7e6a3f09cf791f0f5508331e67d4fda4f1fbe0e262568584e541bc6225c0f3708e89af71363f085793b37a506ddb97f85e5bbf572462f0a60e2f6613
+EBUILD perl-5.14.1-r1.ebuild 20057 SHA256 e831beac3a6a8d637090e1333e6cffe8277ff615c1893417df7d24f63b8e8d17 SHA512 56c4525d4d51a6d300da6c77a1d41374a5159f63d03821e25903eccd98f47f1bf72f8bc70964653a6742716093fd504d58a6869df81bd4f7fcc381ff7b5ef877 WHIRLPOOL 035f47cac32cd0848a9199a0212f54dd5682cded6cac099d9ce070b5c1f0f5220b2bde08f5324c81adf75f5ee1c3f34dacb8f04be5d94dbccfeb540df9cc7f6b
+EBUILD perl-5.14.1.ebuild 19436 SHA256 77c5ad7783d7786cb65b0f3e179bee779520b065901d89c3bc244447f8181cf2 SHA512 d7e1970aac2377135e571dec9f37453f740b81d8abebc2d3fb6ebc4b6036ea22c92160a8617ce0a1bf8c6e973772aea8df64b76bd8d69486839ca9d00ef388eb WHIRLPOOL 36abafa221dfee153ee3814983c557d3a2ce547d71ca3e9dba8cd62733ab76ee2d48a955d646689b7f541f995af1ed162c24fc83064ef2207645d6c6bf5db191
+EBUILD perl-5.14.2.ebuild 22156 SHA256 f00757a0136d01104ca9deacca8d13571235b99acb642121c84b6ab93e19953d SHA512 a39550c29bc2e12d82e5b682f200e93db7fcb0ed08fa95c2bd54e70af25e7b49ec7eb32512cc5c18769fb45aae000b019d6c661d370f523ba58865916b9f4a05 WHIRLPOOL 877148e2050da7de3139866955ff1c90709bdc60f3de7eca62c0bd04c83bf1c06a5d98886519ec6be4039b8d7f71ef43cfa72d5b58318973eb27e3cbbee391bd
+EBUILD perl-5.16.0.ebuild 4230 SHA256 c104c5723f31cd3ff8945bb40016e0f4c6855d4564e5a3192f0b6f557ac2d8bc SHA512 e5e6c88ad88c16785732b88bb024e7ebd46001fc7bd6e5b15c7b52ba30870ce51b61ebc97b12aa595849203f49ae73d836d02c31459b5945e44ef1b38d70817d WHIRLPOOL d5c96a973da468d0bbf89741d291386aa2cd17d92c43df80cdd9693584a36cf955e3e5aaca5ac78b2678699e48803f0c95141598a35fea53219c055800ef3e60
+EBUILD perl-5.16.1.ebuild 4236 SHA256 29c5cb646290e5004262274b170ab8191ce03f40b499446c15d249fc8bd0f6d4 SHA512 0a8a3150e650e5ead8f90b32247acd922821fcb33ede14c1ffe4efeb35ba79d6c3f2acfa72432da9250e2585f2c81562db60b194e8bd53eaf3e86a2b0c34b3b1 WHIRLPOOL f941405f741d0f73495c68e39acc356e04b322c3c4880affa0b75c53aab0b118b3d11914912d730489bed15fa01b882792e31e60cc58c1530d71ca3c874a0b8a
+EBUILD perl-5.16.2-r1.ebuild 4325 SHA256 664cb125c70d88a96c80bb56ffbdf60780761899208dc64a5afb19e28a1adbbc SHA512 8058708a2792689bf4ea2d47dc1d00f4a0627aa608ae0d39b23891b352be4c1b0dc6bfbd757566b10b52cab584df479e5f75e2a72eed9fc3182f33d8a81e981a WHIRLPOOL 7e9661ae86c1685c4ff1570fc1a0747466be3f3dd6b6f28e083aea8fd4c92969a11c8ebcda0a9b79b8c87f61ecfff5fbd88cbfe66b9e521590045d2d5d588f6b
+EBUILD perl-5.16.2.ebuild 4263 SHA256 5a11a05631a575c4641295ff735672671f66b5f4467b976452405116864b6f10 SHA512 93ea89c68708d57e06faf62b76c0399606d203a86b6da51c67476464c221c03048d80044aa47f3928974099ec22af6e883eef9b6e0b4ef18b7fc778eb871bcbd WHIRLPOOL b6cf32f5b984b8e08e3f691046fd1cfe1c674d311781c30d948db90f977b34920b8d52161a3938b713897364d6bb06b4b7d9d13deca91e9d2a157be81eec4192
+EBUILD perl-5.16.3.ebuild 4336 SHA256 2249c50a65f2f672fa0400d1d71f27502dafea9e722c2895e0af7ce0a8f6cf82 SHA512 950d058c000feed8e3294cfded1010d3172fe4e05fef2c6d2e470dc5dfd4abef070872decb7bed246bc9a357912f1b9b2ab3818f7784932888a7976e436ae144 WHIRLPOOL fe4f49ee6666c4222674a6f1113f18d572bddf6740287d939b6d7d2259cd9f386ff92dfc1c460db2ba35238333ba6a29dcac68fc35b947a49adb687afbfadaef
+EBUILD perl-5.8.8-r8.ebuild 20741 SHA256 0ccd023b46d13e2c36bc7d9b5cf797e8288d2f76b683ac67802d7a1c39e6399e SHA512 8dfb847219afa8843449c82fdc802e7eba42581ef3f79f501fdde84213fab8903281a4188649da383353e339a7201f3b6b479c2718dec06957dde5ce5902eddc WHIRLPOOL ebc3605f1d80c5ca59fe6aad9dfdf548bd58ca76d66517a1ad49acba64e17d59314a6a59c8c2c9850cb73bc863c15b4f07d6853435b939032484cb3229897762
+MISC ChangeLog 76912 SHA256 a4d6090b5c7fa1a450394da6c23d952b054e82e63f3447819219904422bd5a8f SHA512 ccea77d320eb31aad33344cd595522acf693d9116d1c51b9d91390115d7316de866a5d5396495227cda4a648ff39a95eb7f70fa21845865e0640d579696640a4 WHIRLPOOL 0d7875e17f35f20f2eed0c5a89fb51705226a6060261aad178ea666e42ac790a64599fc6b70c4a71522f5e33aafeefd0d0b73bdd5fffce545f788ed9a0da5d52
+MISC metadata.xml 341 SHA256 b87a6bb9a9087266ceeecc146661b4e562ca01bb718a2473e8f921d63e279d1f SHA512 a7c88c9c6e35421a2ed105281243a9282ce1b55ad4a407cc4968507dc5b7290a0af706a64ca49424ef514173b2adb703960626e6f697101f41171709268109bc WHIRLPOOL 0bcb33d53f8b9b32e74ec2a324baa1a1cc14bb461b0febc1728789d8eec7a6f6abdc8579c4f9cfe4781d0ffdcb29b87a57669b01749b2bc85fe893815f998a04

diff --git a/dev-lang/perl/files/eblits/common-v50160001.eblit b/dev-lang/perl/files/eblits/common-v50160001.eblit
new file mode 100644
index 0000000..e108d2a
--- /dev/null
+++ b/dev-lang/perl/files/eblits/common-v50160001.eblit
@@ -0,0 +1,71 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/common-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $
+
+src_remove_dual_file() {
+	local i pkg ver
+	pkg="$1"
+	ver="$2"
+	shift 2
+	case "${EBUILD_PHASE:-none}" in
+		postinst|postrm)
+			for i in "$@" ; do
+				alternatives_auto_makesym "${i}" "${i}-[0-9]*"
+			done
+			;;
+		setup)
+			for i in "$@" ; do
+				if [[ -f ${EROOT}${i} && ! -h ${EROOT}${i} ]] ; then
+					has_version ${pkg} && ewarn "You must reinstall ${pkg} !"
+					break
+				fi
+			done
+			;;
+		install)
+			for i in "$@" ; do
+				if ! [[ -f "${ED}"${i} ]] ; then
+					ewarn "${i} does not exist!"
+					continue
+				fi
+				mv "${ED}"${i}{,-${ver}-${P}} || die
+			done
+			;;
+	esac
+}
+
+src_remove_dual_man() {
+	local i pkg ver ff
+	pkg="$1"
+	ver="$2"
+	shift 2
+	case "${EBUILD_PHASE:-none}" in
+		postinst|postrm)
+			for i in "$@" ; do
+				ff=`echo "${EROOT}${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}}"*`
+				ff=${ff##*${i#${i%.[0-9]}}}
+				alternatives_auto_makesym "${i}${ff}" "${i%.[0-9]}-[0-9]*"
+			done
+			;;
+		install)
+			for i in "$@" ; do
+				if ! [[ -f "${ED}"${i} ]] ; then
+					ewarn "${i} does not exist!"
+					continue
+				fi
+				mv "${ED}"${i} "${ED}"${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}} || die
+			done
+			;;
+	esac
+}
+
+src_remove_dual() {
+	local i pkg ver
+	pkg="$1"
+	ver="$2"
+	shift 2
+	for i in "$@" ; do
+		src_remove_dual_file  "${pkg}" "${ver}" "/usr/bin/${i}"
+		src_remove_dual_man   "${pkg}" "${ver}" "/usr/share/man/man1/${i}.1"
+	done
+}
+

diff --git a/dev-lang/perl/files/eblits/pkg_postinst-v50160001.eblit b/dev-lang/perl/files/eblits/pkg_postinst-v50160001.eblit
new file mode 100644
index 0000000..ad743bc
--- /dev/null
+++ b/dev-lang/perl/files/eblits/pkg_postinst-v50160001.eblit
@@ -0,0 +1,67 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/pkg_postinst-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $
+
+eblit-perl-pkg_postinst() {
+	dual_scripts
+
+	if [[ "${ROOT}" = "/" ]] ; then
+		local INC DIR file
+		INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }')
+		einfo "Removing old .ph files"
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
+					rm -f "${file}"
+					einfo "<< ${file}"
+				done
+			fi
+		done
+		# Silently remove the now empty dirs
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+			fi
+		done
+
+#		ebegin "Generating ConfigLocal.pm (ignore any error)"
+#		enc2xs -C
+
+		einfo "Converting C header files to the corresponding Perl format (ignore any error)"
+		# Prefix note: unprefixed as this is all kernel/libc stuff that we never provide
+		pushd /usr/include >/dev/null
+			h2ph -Q -a -d "${EPREFIX}"${ARCH_LIB} \
+				asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \
+				sys/socket.h sys/time.h wait.h sysexits.h
+		popd >/dev/null
+
+# This has been moved into a function because rumor has it that a future release
+# of portage will allow us to check what version was just removed - which means
+# we will be able to invoke this only as needed :)
+		# Tried doing this via  -z, but $INC is too big...
+		#if [[ "${INC}x" != "x" ]]; then
+		#	cleaner_msg
+		#fi
+	fi
+}
+
+cleaner_msg() {
+	eerror "You have had multiple versions of perl. It is recommended"
+	eerror "that you run perl-cleaner now. perl-cleaner will"
+	eerror "assist with this transition. This script is capable"
+	eerror "of cleaning out old .ph files, rebuilding modules for "
+	eerror "your new version of perl, as well as re-emerging"
+	eerror "applications that compiled against your old libperl$(get_libname)"
+	eerror
+	eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
+	eerror "Part of the rebuilding of applications compiled against "
+	eerror "your old libperl involves temporarily unmerging"
+	eerror "them - interruptions could leave you with unmerged"
+	eerror "packages before they can be remerged."
+	eerror ""
+	eerror "If you have run perl-cleaner and a package still gives"
+	eerror "you trouble, and re-emerging it fails to correct"
+	eerror "the problem, please check http://bugs.gentoo.org/"
+	eerror "for more information or to report a bug."
+	eerror ""
+}

diff --git a/dev-lang/perl/files/eblits/pkg_postrm-v50160001.eblit b/dev-lang/perl/files/eblits/pkg_postrm-v50160001.eblit
new file mode 100644
index 0000000..a4d5ad6
--- /dev/null
+++ b/dev-lang/perl/files/eblits/pkg_postrm-v50160001.eblit
@@ -0,0 +1,12 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/pkg_postrm-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $
+
+eblit-perl-pkg_postrm(){
+	dual_scripts
+
+#	if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then
+#		ebegin "Removing ConfigLocal.pm"
+#		rm "${ARCH_LIB}/Encode/ConfigLocal.pm"
+#	fi
+}

diff --git a/dev-lang/perl/files/eblits/pkg_setup-v50160001.eblit b/dev-lang/perl/files/eblits/pkg_setup-v50160001.eblit
new file mode 100644
index 0000000..9931075
--- /dev/null
+++ b/dev-lang/perl/files/eblits/pkg_setup-v50160001.eblit
@@ -0,0 +1,69 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/pkg_setup-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $
+
+eblit-perl-pkg_setup() {
+	case ${CHOST} in
+		*-freebsd*)   osname="freebsd" ;;
+		*-dragonfly*) osname="dragonfly" ;;
+		*-netbsd*)    osname="netbsd" ;;
+		*-openbsd*)   osname="openbsd" ;;
+		*-darwin*)    osname="darwin" ;;
+		*-interix*)   osname="interix" ;;
+		*)            osname="linux" ;;
+	esac
+
+	myarch="${CHOST%%-*}-${osname}"
+	if use debug ; then
+		myarch+="-debug"
+	fi
+	if use ithreads ; then
+		mythreading="-multi"
+		myarch+="-thread"
+	fi
+
+	LIBPERL="libperl$(get_libname ${MY_PV} )"
+	PRIV_LIB="/usr/$(get_libdir)/perl5/${MY_PV}"
+	ARCH_LIB="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
+	SITE_LIB="/usr/local/$(get_libdir)/perl5/${MY_PV}"
+	SITE_ARCH="/usr/local/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
+	VENDOR_LIB="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}"
+	VENDOR_ARCH="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}"
+
+	if use ithreads ; then
+		echo ""
+		ewarn "THREADS WARNING:"
+		ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
+		ewarn "interpreter-level threading enabled."
+		ewarn "Threading is not supported by all applications "
+		ewarn "that compile against perl. You use threading at "
+		ewarn "your own discretion. "
+	fi
+	check_rebuild
+	dual_scripts
+}
+
+check_rebuild() {
+	if has_version "<dev-lang/perl-${SHORT_PV}" ; then
+		echo ""
+		ewarn "UPDATE THE PERL MODULES:"
+		ewarn "After updating dev-lang/perl you must reinstall"
+		ewarn "the installed perl modules."
+		ewarn "Use: perl-cleaner --all"
+	elif has_version dev-lang/perl ; then
+		# doesnot work
+		#if ! has_version dev-lang/perl[ithreads=,debug=] ; then
+		#if ! has_version dev-lang/perl[ithreads=] || ! has_version dev-lang/perl[debug=] ; then
+		if (   use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
+		   ( ! use ithreads &&   has_version dev-lang/perl[ithreads] ) || \
+		   (   use debug    && ! has_version dev-lang/perl[debug]    ) || \
+		   ( ! use debug    &&   has_version dev-lang/perl[debug]    ) ; then
+			echo ""
+			ewarn "TOGGLED USE-FLAGS WARNING:"
+			ewarn "You changed one of the use-flags ithreads or debug."
+			ewarn "You must rebuild all perl-modules installed."
+			ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
+		fi
+	fi
+}
+

diff --git a/dev-lang/perl/files/eblits/src_configure-v50160001.eblit b/dev-lang/perl/files/eblits/src_configure-v50160001.eblit
new file mode 100644
index 0000000..1184808
--- /dev/null
+++ b/dev-lang/perl/files/eblits/src_configure-v50160001.eblit
@@ -0,0 +1,146 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50160001.eblit,v 1.5 2012/08/16 10:47:29 grobian Exp $
+
+myconf() {
+	# the myconf array is declared in src_configure
+	myconf=( "${myconf[@]}" "$@" )
+}
+
+eblit-perl-src_configure() {
+	declare -a myconf
+
+	export LC_ALL="C"
+	[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
+
+	# some arches and -O do not mix :)
+	use ppc && replace-flags -O? -O1
+	# Perl has problems compiling with -Os in your flags with glibc
+	use elibc_uclibc || replace-flags "-Os" "-O2"
+	# This flag makes compiling crash in interesting ways
+	filter-flags "-malign-double"
+	# Fixes bug #97645
+	use ppc && filter-flags "-mpowerpc-gpopt"
+	# Fixes bug #143895 on gcc-4.1.1
+	filter-flags "-fsched2-use-superblocks"
+
+	use sparc && myconf -Ud_longdbl
+
+	export BUILD_BZIP2=0
+	export BZIP2_INCLUDE=${EPREFIX}/usr/include
+	export BZIP2_LIB=${EPREFIX}/usr/$(get_libdir)
+
+	export BUILD_ZLIB=False
+	export ZLIB_INCLUDE=${EPREFIX}/usr/include
+	export ZLIB_LIB=${EPREFIX}/usr/$(get_libdir)
+
+	# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
+
+	myndbm='U'
+	mygdbm='U'
+	mydb='U'
+
+	if use gdbm ; then
+		mygdbm='D'
+		myndbm='D'
+	fi
+	if use berkdb ; then
+		mydb='D'
+		has_version '=sys-libs/db-1*' && myndbm='D'
+	fi
+
+	myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
+
+	if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
+		ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
+		myconf -Ui_db -Ui_ndbm
+	fi
+
+	use ithreads && myconf -Dusethreads
+
+	if use debug ; then
+		append-cflags "-g"
+		myconf -DDEBUGGING
+	elif [[ ${CFLAGS} == *-g* ]] ; then
+		myconf -DDEBUGGING=-g
+	else
+		myconf -DDEBUGGING=none
+	fi
+
+	if [[ -n ${PERL_OLDVERSEN} ]] ; then
+		local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarch}${mythreading} ${v} "; done )
+		myconf -Dinc_version_list="${inclist}"
+	fi
+
+	[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
+
+	# Prefix: the host system needs not to follow Gentoo multilib stuff, and in
+	# Prefix itself we don't do multilib either, so make sure perl can find
+	# something compatible.
+	if use prefix ; then
+		local ldir
+		local paths=""
+		echo "int main() {}" > "${T}"/t.c
+		# need to ensure dirs contain compatible libs,
+		# bugs #358875, #400839, use scanelf for #425538
+		$(tc-getCC) -o "${T}"/t "${T}"/t.c > /dev/null || die
+		local scantool=scanelf
+		[[ ${CHOST} == *-darwin* ]] && scantool=scanmacho
+		local mtype=$(${scantool} -BF "%M%D#f" "${T}"/t)
+		einfo "searching libdirs for ${mtype}"
+		for ldir in /lib/*-linux-gnu /usr/lib/*-linux-gnu /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 /lib /usr/lib ; do
+			[[ -e ${ldir} ]] || continue
+			if ${scantool} -BF "%M%D#f" ${ldir}/ | grep -q ${mtype} ; then
+				paths="${paths} ${ldir}"
+				einfo "found ${ldir}"
+			fi
+		done
+		myconf "-Dlibpth=${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir) ${paths}"
+	elif [[ $(get_libdir) != "lib" ]] ; then
+		# We need to use " and not ', as the written config.sh use ' ...
+		myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
+	fi
+
+	# don't try building ODBM, bug #354453
+	myconf -Dnoextensions=ODBM_File
+
+	sh Configure \
+		-des \
+		-Duseshrplib \
+		-Darchname="${myarch}" \
+		-Dcc="$(tc-getCC)" \
+		-Doptimize="${CFLAGS}" \
+		-Dldflags="${LDFLAGS}" \
+		-Dprefix="${EPREFIX}"'/usr' \
+		-Dinstallprefix="${EPREFIX}"'/usr' \
+		-Dsiteprefix="${EPREFIX}"'/usr/local' \
+		-Dvendorprefix="${EPREFIX}"'/usr' \
+		-Dscriptdir="${EPREFIX}"'/usr/bin' \
+		-Dprivlib="${EPREFIX}${PRIV_LIB}" \
+		-Darchlib="${EPREFIX}${ARCH_LIB}" \
+		-Dsitelib="${EPREFIX}${SITE_LIB}" \
+		-Dsitearch="${EPREFIX}${SITE_ARCH}" \
+		-Dvendorlib="${EPREFIX}${VENDOR_LIB}" \
+		-Dvendorarch="${EPREFIX}${VENDOR_ARCH}" \
+		-Dman1dir="${EPREFIX}"/usr/share/man/man1 \
+		-Dman3dir="${EPREFIX}"/usr/share/man/man3 \
+		-Dsiteman1dir="${EPREFIX}"/usr/local/man/man1 \
+		-Dsiteman3dir="${EPREFIX}"/usr/local/man/man3 \
+		-Dvendorman1dir="${EPREFIX}"/usr/share/man/man1 \
+		-Dvendorman3dir="${EPREFIX}"/usr/share/man/man3 \
+		-Dman1ext='1' \
+		-Dman3ext='3pm' \
+		-Dlibperl="${LIBPERL}" \
+		-Dlocincpth="${EPREFIX}"'/usr/include ' \
+		-Dglibpth="${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir)"' ' \
+		-Duselargefiles \
+		-Dd_semctl_semun \
+		-Dcf_by='Gentoo' \
+		-Dmyhostname='localhost' \
+		-Dperladmin='root@localhost' \
+		-Dinstallusrbinperl='n' \
+		-Ud_csh \
+		-Uusenm \
+		-Dsh="${EPREFIX}"/bin/sh \
+		"${myconf[@]}" || die "Unable to configure"
+}

diff --git a/dev-lang/perl/files/eblits/src_install-v50160001.eblit b/dev-lang/perl/files/eblits/src_install-v50160001.eblit
new file mode 100644
index 0000000..d31e90e
--- /dev/null
+++ b/dev-lang/perl/files/eblits/src_install-v50160001.eblit
@@ -0,0 +1,61 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_install-v50160001.eblit,v 1.3 2013/03/14 12:46:31 tove Exp $
+
+eblit-perl-src_install() {
+	local i
+	local coredir="${ARCH_LIB}/CORE"
+
+	emake DESTDIR="${D}" install
+
+	rm -f "${ED}"/usr/bin/perl
+	ln -s perl${MY_PV} "${ED}"/usr/bin/perl || die
+
+	if ! tc-is-static-only ; then
+		dolib.so "${ED}"${coredir}/${LIBPERL}
+		rm -f "${ED}"${coredir}/${LIBPERL}
+		ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
+		ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname) || die
+		ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/${LIBPERL} || die
+		ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/libperl$(get_libname ${SHORT_PV}) || die
+		ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/libperl$(get_libname) || die
+	fi
+
+	rm -rf "${ED}"/usr/share/man/man3 || die "Unable to remove module man pages"
+
+#	# A poor fix for the miniperl issues
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
+#	fperms 0755 /usr/bin/xsubpp
+
+	# This removes ${D} from Config.pm
+	for i in $(find "${D}" -iname "Config.pm" ) ; do
+		einfo "Removing ${D} from ${i}..."
+		sed -i -e "s:${D}::" "${i}" || die "Sed failed"
+	done
+
+	find "${ED}" -type f -name .packlist -delete || die
+
+	# Note: find out from psm why we would need/want this.
+	# ( use berkdb && has_version '=sys-libs/db-1*' ) ||
+	#	find "${ED}" -name "*NDBM*" | xargs rm -f
+
+	dodoc Changes* README AUTHORS
+
+	if use doc ; then
+		# HTML Documentation
+		# We expect errors, warnings, and such with the following.
+
+		dodir /usr/share/doc/${PF}/html
+		LD_LIBRARY_PATH=. ./perl installhtml \
+			--podroot='.' \
+			--podpath='lib:ext:pod:vms' \
+			--recurse \
+			--htmldir="${ED}/usr/share/doc/${PF}/html"
+	fi
+
+	[[ -d ${ED}/usr/local ]] && rm -r "${ED}"/usr/local
+
+	dual_scripts
+}

diff --git a/dev-lang/perl/files/eblits/src_prepare-v50160001.eblit b/dev-lang/perl/files/eblits/src_prepare-v50160001.eblit
new file mode 100644
index 0000000..d844636
--- /dev/null
+++ b/dev-lang/perl/files/eblits/src_prepare-v50160001.eblit
@@ -0,0 +1,72 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_prepare-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $
+
+src_prepare_update_patchlevel_h() {
+	# Copied and modified from debian:
+	# Copyright 2011 Niko Tyni
+	# This program is free software; you can redistribute it and/or modify
+	# it under the same terms as Perl itself.
+	local patchdir="${WORKDIR}/patches"
+	local prefix
+
+	[[ -f ${patchdir}/series ]] || return 0
+
+while read patch
+do
+	patchname=$(echo $patch | sed 's/\.diff$//')
+	< $patchdir/$patch sed -e '/^Subject:/ { N; s/\n / / }' | sed -n -e '
+
+	# massage the patch headers
+	s|^Bug: .*https\?://rt\.perl\.org/.*id=\(.*\).*|[perl #\1]|; tprepend;
+	s|^Bug: .*https\?://rt\.cpan\.org/.*id=\(.*\).*|[rt.cpan.org #\1]|; tprepend;
+	s|^Bug-Gentoo: ||; tprepend;
+	s/^\(Subject\|Description\): //; tappend;
+	s|^Origin: .*http://perl5\.git\.perl\.org/perl\.git/commit\(diff\)\?/\(.......\).*|[\2]|; tprepend;
+
+	# post-process at the end of input
+	$ { x;
+		# include the version number in the patchlevel.h description (if available)
+		s/List packaged patches/&'" for ${PF}(#${PATCH_VER})"'/;
+
+		# escape any backslashes and double quotes
+		s|\\|\\\\|g; s|"|\\"|g;
+
+		# add a prefix
+		s|^|\t,"'"$prefix$patchname"' - |;
+		# newlines away
+		s/\n/ /g; s/  */ /g;
+		# add a suffix
+		s/ *$/"/; p
+	};
+	# stop all processing
+	d;
+	# label: append to the hold space
+	:append H; d;
+	# label: prepend to the hold space
+	:prepend x; H; d;
+	'
+done < "${WORKDIR}"/patches/series > "${S}"/patchlevel-gentoo.h
+}
+
+eblit-perl-src_prepare() {
+	local patch
+	EPATCH_OPTS+=" -p1"
+	einfo "Applying patches from ${MY_P}-${PATCH_VER} ..."
+	while read patch ; do
+		EPATCH_SINGLE_MSG="  ${patch} ..."
+		epatch "${WORKDIR}"/patches/${patch}
+	done < "${WORKDIR}"/patches/series
+	epatch "${FILESDIR}"/${PN}-cwd-prefix.patch
+	eprefixify dist/Cwd/Cwd.pm
+
+	src_prepare_update_patchlevel_h
+
+	# pod/perltoc.pod fails
+	# lib/ExtUtils/t/Embed.t fails
+	if ! tc-is-static-only ; then
+		ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV}) || die
+		ln -s ${LIBPERL} libperl$(get_libname ) || die
+	fi
+}
+

diff --git a/dev-lang/perl/files/eblits/src_test-v50160001.eblit b/dev-lang/perl/files/eblits/src_test-v50160001.eblit
new file mode 100644
index 0000000..86acdc4
--- /dev/null
+++ b/dev-lang/perl/files/eblits/src_test-v50160001.eblit
@@ -0,0 +1,12 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_test-v50160001.eblit,v 1.1 2012/06/05 17:52:35 tove Exp $
+
+eblit-perl-src_test() {
+	if [[ ${EUID} == 0 ]] ; then
+		ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
+		return 0
+	fi
+	use elibc_uclibc && export MAKEOPTS+=" -j1"
+	TEST_JOBS="$(makeopts_jobs)" make test_harness || die "test failed"
+}

diff --git a/dev-lang/perl/files/perl-5.10.1-cleanup-paths.patch b/dev-lang/perl/files/perl-5.10.1-cleanup-paths.patch
new file mode 100644
index 0000000..3fc60af
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.10.1-cleanup-paths.patch
@@ -0,0 +1,100 @@
+cut the crap of inventing paths, or adding search paths that we don't use
+
+--- Configure
++++ Configure
+@@ -102,28 +102,6 @@
+ 	fi
+ fi
+ 
+-: Proper PATH setting
+-paths='/bin /usr/bin /usr/local/bin /usr/ucb /usr/local /usr/lbin'
+-paths="$paths /opt/bin /opt/local/bin /opt/local /opt/lbin"
+-paths="$paths /usr/5bin /etc /usr/gnu/bin /usr/new /usr/new/bin /usr/nbin"
+-paths="$paths /opt/gnu/bin /opt/new /opt/new/bin /opt/nbin"
+-paths="$paths /sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/ucb"
+-paths="$paths /bsd4.3/usr/bin /usr/bsd /bsd43/bin /opt/ansic/bin /usr/ccs/bin"
+-paths="$paths /etc /usr/lib /usr/ucblib /lib /usr/ccs/lib"
+-paths="$paths /sbin /usr/sbin /usr/libexec"
+-paths="$paths /system/gnu_library/bin"
+-
+-for p in $paths
+-do
+-	case "$p_$PATH$p_" in
+-	*$p_$p$p_*) ;;
+-	*) test -d $p && PATH=$PATH$p_$p ;;
+-	esac
+-done
+-
+-PATH=.$p_$PATH
+-export PATH
+-
+ : shall we be using ksh?
+ inksh=''
+ needksh=''
+@@ -8282,66 +8260,6 @@
+ 	;;
+ esac
+ 
+-# How will the perl executable find the installed shared $libperl?
+-# Add $xxx to ccdlflags.
+-# If we can't figure out a command-line option, use $shrpenv to
+-# set env LD_RUN_PATH.  The main perl makefile uses this.
+-shrpdir=$archlibexp/CORE
+-xxx=''
+-tmp_shrpenv=''
+-if "$useshrplib"; then
+-    case "$osname" in
+-	aix)
+-		# We'll set it in Makefile.SH...
+-		;;
+-	solaris)
+-		xxx="-R $shrpdir"
+-		;;
+-	freebsd|netbsd|openbsd|interix|dragonfly)
+-		xxx="-Wl,-R$shrpdir"
+-		;;
+-	bsdos|linux|irix*|dec_osf|gnu*)
+-		xxx="-Wl,-rpath,$shrpdir"
+-		;;
+-	next)
+-		# next doesn't like the default...
+-		;;
+-	beos)
+-		# beos doesn't like the default, either.
+-		;;
+-	haiku)
+-		# Haiku doesn't like the default, either.
+-		;;
+-	hpux*)
+-		# hpux doesn't like the default, either.
+-		tmp_shrpenv="env LDOPTS=\"+s +b${shrpdir}\""
+-		;;
+-	cygwin)
+-		# cygwin needs only ldlibpth
+-		;;
+-	*)
+-		tmp_shrpenv="env LD_RUN_PATH=$shrpdir"
+-		;;
+-	esac
+-	case "$xxx" in
+-	'') ;;
+-	*)
+-		# Only add $xxx if it isn't already in ccdlflags.
+-		case " $ccdlflags " in
+-		*" $xxx "*)	;;
+-		*)	ccdlflags="$ccdlflags $xxx"
+-			cat <<EOM >&4
+-
+-Adding $xxx to the flags
+-passed to $ld so that the perl executable will find the
+-installed shared $libperl.
+-
+-EOM
+-			;;
+-		esac
+-		;;
+-	esac
+-fi
+ # Fix ccdlflags in AIX for building external extensions.
+ # (For building Perl itself bare -bE:perl.exp is needed,
+ #  Makefile.SH takes care of this.)

diff --git a/dev-lang/perl/files/perl-5.10.1-hpux.patch b/dev-lang/perl/files/perl-5.10.1-hpux.patch
new file mode 100644
index 0000000..ca4ee52
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.10.1-hpux.patch
@@ -0,0 +1,40 @@
+# do not assume '.' being in PATH on hpux,
+# use 'gcc' as linker, link with '-lm'.
+
+--- hints/hpux.sh
++++ hints/hpux.sh
+@@ -190,7 +190,7 @@
+     $define|true|[Yy])
+ 	echo '#include <stdio.h>\nint main(){long l;printf("%d\\n",sizeof(l));}'>try.c
+ 	$cc -o try $ccflags $ldflags try.c
+-	if [ "`try`" = "8" ]; then
++	if [ "`./try`" = "8" ]; then
+ 	    case "$use64bitall" in
+ 		$define|true|[Yy]) ;;
+ 		*)  cat <<EOM >&4
+@@ -338,7 +338,7 @@
+     } /* main */
+ EOF
+ $cc -o try $ccflags $ldflags try.c
+-	maxdsiz=`try`
++	maxdsiz=`./try`
+ rm -f try try.c core
+ if [ $maxdsiz -le 64 ]; then
+     # 64 Mb is probably not enough to optimize toke.c
+@@ -363,11 +363,12 @@
+ 	    "")           optimize="-g -O" ;;
+ 	    *O[3456789]*) optimize=`echo "$optimize" | sed -e 's/O[3-9]/O2/'` ;;
+ 	    esac
+-	#ld="$cc"
+-	ld=/usr/bin/ld
++	ld="$cc"
++	#ld=/usr/bin/ld
+ 	cccdlflags='-fPIC'
+-	#lddlflags='-shared'
+-	lddlflags='-b'
++	lddlflags='-shared'
++	#lddlflags='-b'
++	libs='-lm'
+ 	case "$optimize" in
+ 	    *-g*-O*|*-O*-g*)
+ 		# gcc without gas will not accept -g

diff --git a/dev-lang/perl/files/perl-5.12.3-aix-soname.patch b/dev-lang/perl/files/perl-5.12.3-aix-soname.patch
new file mode 100644
index 0000000..70fe5fa
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.12.3-aix-soname.patch
@@ -0,0 +1,70 @@
+1) Match "powerpc-ibm-aix5.3.0.0-gcc" as gcc too.
+
+2) Creating shared library on aix with full soname support, following
+http://lists.gnu.org/archive/html/libtool/2011-01/msg00023.html
+http://lists.gnu.org/archive/html/libtool/2011-02/msg00000.html
+
+Once there is an agreement on that, this patch basically is designed
+for upstream perl to be applied when their soname would change anyway.
+However, there is 'strip' being used, and I don't know yet what to
+use instead in cross-aix setups with recent binutils.
+
+--- Makefile.SH
++++ Makefile.SH
+@@ -92,12 +92,12 @@
+ 		;;
+ 	aix*)
+ 		case "$cc" in
+-		gcc*)
+-			shrpldflags="-shared -Wl,-H512 -Wl,-T512 -Wl,-bhalt:4 -Wl,-bM:SRE -Wl,-bE:perl.exp"
++		*gcc*)
++			shrpldflags="-shared -Wl,-H512 -Wl,-T512 -Wl,-bhalt:4 -Wl,-bE:perl.exp"
+ 			case "$osvers" in
+-			3*)	shrpldflags="$shrpldflags -e _nostart"
++			3*)	shrpldflags="$shrpldflags -Wl,-bM:SRE -e _nostart"
+ 				;;
+-			*)	shrpldflags="$shrpldflags -Wl,-bnoentry"
++			*)	shrpldflags="$shrpldflags -Wl,-G -Wl,-bernotok -Wl,-bnoentry"
+ 				;;
+ 			esac
+ 			shrpldflags="$shrpldflags $ldflags $perllibs $cryptlib"
+@@ -105,11 +105,11 @@
+ 			linklibperl_nonshr='-lperl_nonshr'
+ 			;;
+ 		*)
+-			shrpldflags="-H512 -T512 -bhalt:4 -bM:SRE -bE:perl.exp"
++			shrpldflags="-H512 -T512 -bhalt:4 -bE:perl.exp"
+ 			case "$osvers" in
+-			3*)	shrpldflags="$shrpldflags -e _nostart"
++			3*)	shrpldflags="$shrpldflags -bM:SRE -e _nostart"
+ 				;;
+-			*)	shrpldflags="$shrpldflags -b noentry"
++			*)	shrpldflags="$shrpldflags -G -bernotok -b noentry"
+ 				;;
+ 			esac
+ 			shrpldflags="$shrpldflags $ldflags $perllibs $cryptlib"
+@@ -763,11 +763,19 @@
+ !NO!SUBS!
+ 		case "$osname" in
+ 		aix)
+-			$spitshell >>$Makefile <<'!NO!SUBS!'
+-	rm -f libperl$(OBJ_EXT)
+-	mv $@ libperl$(OBJ_EXT)
+-	$(AR) qv $(LIBPERL) libperl$(OBJ_EXT)
+-!NO!SUBS!
++			bits=32
++			if test X"$use64bitall" = Xdefine; then bits=64; fi
++			$spitshell >>$Makefile <<!GROK!THIS!
++	rm -f shr.imp shr.o
++	mv \$@ shr.o
++	strip -e shr.o
++	( echo '#! libperl.so.${revision}.${patchlevel}(shr.o)' \\
++	; echo '# ${bits}' \\
++	; grep -v '^#!' perl.exp \\
++	) > shr.imp
++	\$(AR) qv \$@ shr.imp shr.o
++	rm -f shr.imp shr.o
++!GROK!THIS!
+ 			;;
+ 		esac
+ 		;;

diff --git a/dev-lang/perl/files/perl-5.12.3-interix.patch b/dev-lang/perl/files/perl-5.12.3-interix.patch
new file mode 100644
index 0000000..5e875b2
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.12.3-interix.patch
@@ -0,0 +1,21 @@
+reported: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2011-04/msg01014.html
+
+diff -ru perl-5.12.3.orig/hints/interix.sh perl-5.12.3/hints/interix.sh
+--- perl-5.12.3.orig/hints/interix.sh	2011-04-27 08:34:00 +0200
++++ perl-5.12.3/hints/interix.sh	2011-04-27 08:53:46 +0200
+@@ -6,14 +6,13 @@
+ cc='gcc'
+ cccdlflags="-DPIC $cccdlflags"
+ ccdlflags='-Wl,-E'
+-ccflags="-D_ALL_SOURCE $ccflags"
+-d_poll="$undef"
+ ld='gcc'
+ lddlflags="-shared $lddlflags"
+ rpathflag='-Wl,-R'
+ sharpbang='#!'
+ usemymalloc='false'
+ usenm='false'
++firstmakefile=GNUmakefile
+ 
+ # This script UU/usethreads.cbu will get 'called-back' by Configure 
+ # after it has prompted the user for whether to use threads. 

diff --git a/dev-lang/perl/files/perl-5.12.3-mint.patch b/dev-lang/perl/files/perl-5.12.3-mint.patch
new file mode 100644
index 0000000..4c6c108
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.12.3-mint.patch
@@ -0,0 +1,321 @@
+http://rt.perl.org/rt3/Ticket/Display.html?id=89502
+
+--- perl-5.12.3/Configure	2011-02-21 09:18:09.000000000 +0000
++++ perl-5.12.3/Configure	2011-02-21 09:38:49.000000000 +0000
+@@ -1275,6 +1275,9 @@ 
+ elif test -n "$DJGPP"; then
+ : DOS DJGPP
+     _exe=".exe"
++elif test -f "/kern/cookiejar"; then
++: MiNT
++    _exe=""
+ elif test -d c:/. -o -n "$is_os2" ; then
+ : OS/2 or cygwin
+     _exe=".exe"
+@@ -1402,7 +1405,7 @@ 
+ 	xcat=/bin/cat
+ 	test -f $xcat$_exe || xcat=/usr/bin/cat
+ 	if test ! -f $xcat$_exe; then
+-		for p in `echo $PATH | sed -e "s/$p_/ /g"` $paths; do
++		for p in `echo $PATH | sed -e 's/$p_/ /g'` $paths; do
+ 			if test -f $p/cat$_exe; then
+ 				xcat=$p/cat
+ 				break
+--- perl-5.12.3/ext/DynaLoader/dl_dld.xs	2010-11-21 21:40:55.000000000 +0000
++++ perl-5.12.3/ext/DynaLoader/dl_dld.xs	2011-02-21 09:38:51.000000000 +0000
+@@ -116,6 +116,18 @@ 
+ 	goto haverror;
+     }
+ 
++    DLDEBUG(1,PerlIO_printf(Perl_debug_log, "dld_link(libm.a)\n"));
++    if (dlderr = dld_link("/usr/lib/libm.a")) {
++	SaveError(aTHX_ "dld_link(libm.a): %s", dld_strerror(dlderr));
++	goto haverror;
++    }
++
++    DLDEBUG(1,PerlIO_printf(Perl_debug_log, "dld_link(libc.a)\n"));
++    if (dlderr = dld_link("/usr/lib/libc.a")) {
++	SaveError(aTHX_ "dld_link(libc.a): %s", dld_strerror(dlderr));
++	goto haverror;
++    }
++
+     max = AvFILL(dl_resolve_using);
+     for (x = 0; x <= max; x++) {
+ 	char *sym = SvPVX(*av_fetch(dl_resolve_using, x, 0));
+--- perl-5.12.3/malloc.c	2011-01-09 20:20:57.000000000 +0000
++++ perl-5.12.3/malloc.c	2011-02-21 09:38:51.000000000 +0000
+@@ -264,7 +264,7 @@ 
+ #define MIN_BUC_POW2 (sizeof(void*) > 4 ? 3 : 2) /* Allow for 4-byte arena. */
+ #define MIN_BUCKET (MIN_BUC_POW2 * BUCKETS_PER_POW2)
+ 
+-#if !(defined(I286) || defined(atarist))
++#if !defined(I286)
+ 	/* take 2k unless the block is bigger than that */
+ #  define LOG_OF_MIN_ARENA 11
+ #else
+@@ -551,8 +551,8 @@ 
+  */
+ #define u_short unsigned short
+ 
+-/* 286 and atarist like big chunks, which gives too much overhead. */
+-#if (defined(RCHECK) || defined(I286) || defined(atarist)) && defined(PACK_MALLOC)
++/* 286 like big chunks, which gives too much overhead. */
++#if (defined(RCHECK) || defined(I286)) && defined(PACK_MALLOC)
+ #  undef PACK_MALLOC
+ #endif 
+ 
+@@ -1734,16 +1734,14 @@ 
+ 	/* Second, check alignment. */
+ 	slack = 0;
+ 
+-#if !defined(atarist) /* on the atari we dont have to worry about this */
+-#  ifndef I286 	/* The sbrk(0) call on the I286 always returns the next segment */
++#ifndef I286 	/* The sbrk(0) call on the I286 always returns the next segment */
+ 	/* WANTED_ALIGNMENT may be more than NEEDED_ALIGNMENT, but this may
+ 	   improve performance of memory access. */
+ 	if (PTR2UV(cp) & (WANTED_ALIGNMENT - 1)) { /* Not aligned. */
+ 	    slack = WANTED_ALIGNMENT - (PTR2UV(cp) & (WANTED_ALIGNMENT - 1));
+ 	    add += slack;
+ 	}
+-#  endif
+-#endif /* !atarist */
++#endif
+ 		
+ 	if (add) {
+ 	    DEBUG_m(PerlIO_printf(Perl_debug_log, 
+--- perl-5.12.3/miniperlmain.c	2011-01-09 20:20:57.000000000 +0000
++++ perl-5.12.3/miniperlmain.c	2011-02-21 09:38:49.000000000 +0000
+@@ -45,7 +45,7 @@ 
+ #if defined (atarist)
+ /* The Atari operating system doesn't have a dynamic stack.  The
+    stack size is determined from this value.  */
+-long _stksize = 64 * 1024;
++long _stksize = 256 * 1024;
+ #endif
+ 
+ #if defined(PERL_GLOBAL_STRUCT_PRIVATE)
+--- perl-5.12.3/os2/perlrexx.c	2010-11-21 21:40:56.000000000 +0000
++++ perl-5.12.3/os2/perlrexx.c	2011-02-21 09:42:49.000000000 +0000
+@@ -38,7 +38,7 @@ 
+ #if defined (atarist)
+ /* The Atari operating system doesn't have a dynamic stack.  The
+    stack size is determined from this value.  */
+-long _stksize = 64 * 1024;
++long _stksize = 256 * 1024;
+ #endif
+ 
+ /* Register any extra external extensions */
+--- perl-5.12.3/perl.c	2011-02-21 09:17:19.000000000 +0000
++++ perl-5.12.3/perl.c	2011-02-21 09:38:50.000000000 +0000
+@@ -3272,10 +3272,6 @@ 
+ 		      "\n\nOS/2 port Copyright (c) 1990, 1991, Raymond Chen, Kai Uwe Rommel\n"
+ 		      "Version 5 port Copyright (c) 1994-2002, Andreas Kaiser, Ilya Zakharevich\n");
+ #endif
+-#ifdef atarist
+-	PerlIO_printf(PerlIO_stdout(),
+-		      "atariST series port, ++jrb  bammi@cadence.com\n");
+-#endif
+ #ifdef __BEOS__
+ 	PerlIO_printf(PerlIO_stdout(),
+ 		      "BeOS port Copyright Tom Spindler, 1997-1999\n");
+--- perl-5.12.3/perl.h	2011-01-09 20:20:57.000000000 +0000
++++ perl-5.12.3/perl.h	2011-02-21 09:38:50.000000000 +0000
+@@ -497,7 +497,7 @@ 
+  */
+ 
+ /* define this once if either system, instead of cluttering up the src */
+-#if defined(MSDOS) || defined(atarist) || defined(WIN32) || defined(NETWARE)
++#if defined(MSDOS) || defined(WIN32) || defined(NETWARE)
+ #define DOSISH 1
+ #endif
+ 
+--- perl-5.12.3/perlio.c	2009-04-14 23:47:25.000000000 +0000
++++ perl-5.12.3/perlio.c	2010-03-23 18:36:15.000000000 +0000
+@@ -135,17 +135,6 @@ 
+      * This used to be contents of do_binmode in doio.c
+      */
+ #ifdef DOSISH
+-#  if defined(atarist)
+-    PERL_UNUSED_ARG(iotype);
+-    if (!fflush(fp)) {
+-        if (mode & O_BINARY)
+-            ((FILE *) fp)->_flag |= _IOBIN;
+-        else
+-            ((FILE *) fp)->_flag &= ~_IOBIN;
+-        return 1;
+-    }
+-    return 0;
+-#  else
+     dTHX;
+     PERL_UNUSED_ARG(iotype);
+ #ifdef NETWARE
+@@ -153,7 +142,7 @@ 
+ #else
+     if (PerlLIO_setmode(fileno(fp), mode) != -1) {
+ #endif
+-#    if defined(WIN32) && defined(__BORLANDC__)
++#  if defined(WIN32) && defined(__BORLANDC__)
+         /*
+          * The translation mode of the stream is maintained independent 
+ of
+@@ -169,12 +158,11 @@ 
+             fp->flags |= _F_BIN;
+         else
+             fp->flags &= ~_F_BIN;
+-#    endif
++#  endif
+         return 1;
+     }
+     else
+         return 0;
+-#  endif
+ #else
+ #  if defined(USEMYBINMODE)
+     dTHX;
+--- perl-5.12.3/pp_sys.c	2011-01-09 20:20:58.000000000 +0000
++++ perl-5.12.3/pp_sys.c	2011-02-21 09:38:50.000000000 +0000
+@@ -3308,14 +3308,6 @@ 
+     RETPUSHNO;
+ }
+ 
+-#if defined(atarist) /* this will work with atariST. Configure will
+-			make guesses for other systems. */
+-# define FILE_base(f) ((f)->_base)
+-# define FILE_ptr(f) ((f)->_ptr)
+-# define FILE_cnt(f) ((f)->_cnt)
+-# define FILE_bufsiz(f) ((f)->_cnt + ((f)->_ptr - (f)->_base))
+-#endif
+-
+ PP(pp_fttext)
+ {
+     dVAR;
+@@ -5567,30 +5559,6 @@ 
+     case 8:
+ 	retval = syscall(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7]);
+ 	break;
+-#ifdef atarist
+-    case 9:
+-	retval = syscall(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8]);
+-	break;
+-    case 10:
+-	retval = syscall(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9]);
+-	break;
+-    case 11:
+-	retval = syscall(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],
+-	  a[10]);
+-	break;
+-    case 12:
+-	retval = syscall(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],
+-	  a[10],a[11]);
+-	break;
+-    case 13:
+-	retval = syscall(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],
+-	  a[10],a[11],a[12]);
+-	break;
+-    case 14:
+-	retval = syscall(a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],
+-	  a[10],a[11],a[12],a[13]);
+-	break;
+-#endif /* atarist */
+     }
+     SP = ORIGMARK;
+     PUSHi(retval);
+--- perl-5.12.3/util.c	2011-01-09 20:20:58.000000000 +0000
++++ perl-5.12.3/util.c	2011-02-21 09:38:51.000000000 +0000
+@@ -2545,7 +2545,7 @@ 
+     return PerlIO_fdopen(p[This], mode);
+ }
+ #else
+-#if defined(atarist) || defined(EPOC)
++#if defined(EPOC)
+ FILE *popen();
+ PerlIO *
+ Perl_my_popen(pTHX_ const char *cmd, const char *mode)
+@@ -2994,7 +2994,7 @@ 
+ }
+ #endif
+ 
+-#if defined(atarist) || defined(OS2) || defined(EPOC)
++#if defined(OS2) || defined(EPOC)
+ int pclose();
+ #ifdef HAS_FORK
+ int					/* Cannot prototype with I32
+@@ -3111,7 +3111,7 @@ 
+     I32 len = 0;
+     int retval;
+     char *bufend;
+-#if defined(DOSISH) && !defined(OS2) && !defined(atarist)
++#if defined(DOSISH) && !defined(OS2)
+ #  define SEARCH_EXTS ".bat", ".cmd", NULL
+ #  define MAX_EXT_LEN 4
+ #endif
+@@ -3234,28 +3234,25 @@ 
+ 
+ 	bufend = s + strlen(s);
+ 	while (s < bufend) {
+-#if defined(atarist) || defined(DOSISH)
++#if defined(DOSISH)
+ 	    for (len = 0; *s
+-#  ifdef atarist
+-		    && *s != ','
+-#  endif
+ 		    && *s != ';'; len++, s++) {
+ 		if (len < sizeof tmpbuf)
+ 		    tmpbuf[len] = *s;
+ 	    }
+ 	    if (len < sizeof tmpbuf)
+ 		tmpbuf[len] = '\0';
+-#else  /* ! (atarist || DOSISH) */
++#else  /* ! (DOSISH) */
+ 	    s = delimcpy(tmpbuf, tmpbuf + sizeof tmpbuf, s, bufend,
+ 			':',
+ 			&len);
+-#endif /* ! (atarist || DOSISH) */
++#endif /* ! (DOSISH) */
+ 	    if (s < bufend)
+ 		s++;
+ 	    if (len + 1 + strlen(scriptname) + MAX_EXT_LEN >= sizeof tmpbuf)
+ 		continue;	/* don't search dir with too-long name */
+ 	    if (len
+-#  if defined(atarist) || defined(DOSISH)
++#  if defined(DOSISH)
+ 		&& tmpbuf[len - 1] != '/'
+ 		&& tmpbuf[len - 1] != '\\'
+ #  endif
+--- perl-5.12.3/hints/freemint.sh	2011-01-09 20:20:58.000000000 +0000
++++ perl-5.12.3/hints/freemint.sh	2011-02-21 09:38:51.000000000 +0000
+@@ -0,0 +1,34 @@ 
++# hints/freemint.sh
++#
++# talk to guido@freemint.de if you want to change this file.
++# Please read the README.mint file.
++#
++# misc stuff
++
++archname="m68k-freemint"
++
++cccdlflags=' '; # avoid -fPIC
++ccdlflags="-Wl,-whole-archive -lgcc -lpthread -Wl,-no-whole-archive"
++
++# libs
++libpth="$prefix/lib /usr/local/lib /usr/lib"
++glibpth="$libpth"
++xlibpth="$libpth"
++
++ccflags="$ccflags -D_GNU_SOURCE"
++libswanted='m dld'
++dl_src='dl_dld.xs'
++dlext='o'
++lddlflags='-r'
++ldflags='-static'
++so='none'
++useshrplib='false'
++
++#sbrk() returns -1 (failure) somewhere in lib/unicore/mktables at
++#around 14M, so we need to use system malloc() as our sbrk()
++malloc_cflags='ccflags="-DUSE_PERL_SBRK -DPERL_SBRK_VIA_MALLOC $ccflags"'
++
++# Locales aren't feeling well. We crash if -Ox used.
++locale_cflags='optimize="-O0"'
++LC_ALL=C; export LC_ALL;
++LANG=C; export LANG;

diff --git a/dev-lang/perl/files/perl-5.12.5-rehash-5.12.5.patch b/dev-lang/perl/files/perl-5.12.5-rehash-5.12.5.patch
new file mode 100644
index 0000000..c43183b
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.12.5-rehash-5.12.5.patch
@@ -0,0 +1,164 @@
+From f2a571dae7d70f7e3b59022834d8003ecd2df884 Mon Sep 17 00:00:00 2001
+From: Yves Orton <demerphq@gmail.com>
+Date: Tue, 12 Feb 2013 10:53:05 +0100
+Subject: [PATCH] Prevent premature hsplit() calls, and only trigger REHASH
+ after hsplit()
+
+Triggering a hsplit due to long chain length allows an attacker
+to create a carefully chosen set of keys which can cause the hash
+to use 2 * (2**32) * sizeof(void *) bytes ram. AKA a DOS via memory
+exhaustion. Doing so also takes non trivial time.
+
+Eliminating this check, and only inspecting chain length after a
+normal hsplit() (triggered when keys>buckets) prevents the attack
+entirely, and makes such attacks relatively benign.
+
+(cherry picked from commit f1220d61455253b170e81427c9d0357831ca0fac)
+---
+ ext/Hash-Util-FieldHash/t/10_hash.t | 18 ++++++++++++++++--
+ hv.c                                | 26 ++++++--------------------
+ t/op/hash.t                         | 20 +++++++++++++++++---
+ 3 files changed, 39 insertions(+), 25 deletions(-)
+
+diff --git a/ext/Hash-Util-FieldHash/t/10_hash.t b/ext/Hash-Util-FieldHash/t/10_hash.t
+index 2cfb4e8..d58f053 100644
+--- a/ext/Hash-Util-FieldHash/t/10_hash.t
++++ b/ext/Hash-Util-FieldHash/t/10_hash.t
+@@ -38,15 +38,29 @@ use constant START     => "a";
+ 
+ # some initial hash data
+ fieldhash my %h2;
+-%h2 = map {$_ => 1} 'a'..'cc';
++my $counter= "a";
++$h2{$counter++}++ while $counter ne 'cd';
+ 
+ ok (!Internals::HvREHASH(%h2), 
+     "starting with pre-populated non-pathological hash (rehash flag if off)");
+ 
+ my @keys = get_keys(\%h2);
++my $buckets= buckets(\%h2);
+ $h2{$_}++ for @keys;
++$h2{$counter++}++ while buckets(\%h2) == $buckets; # force a split
+ ok (Internals::HvREHASH(%h2), 
+-    scalar(@keys) . " colliding into the same bucket keys are triggering rehash");
++    scalar(@keys) . " colliding into the same bucket keys are triggering rehash after split");
++
++# returns the number of buckets in a hash
++sub buckets {
++    my $hr = shift;
++    my $keys_buckets= scalar(%$hr);
++    if ($keys_buckets=~m!/([0-9]+)\z!) {
++        return 0+$1;
++    } else {
++        return 8;
++    }
++}
+ 
+ sub get_keys {
+     my $hr = shift;
+diff --git a/hv.c b/hv.c
+index 89c6456..8659678 100644
+--- a/hv.c
++++ b/hv.c
+@@ -35,7 +35,8 @@ holds the key and hash value.
+ #define PERL_HASH_INTERNAL_ACCESS
+ #include "perl.h"
+ 
+-#define HV_MAX_LENGTH_BEFORE_SPLIT 14
++#define HV_MAX_LENGTH_BEFORE_REHASH 14
++#define SHOULD_DO_HSPLIT(xhv) ((xhv)->xhv_keys > (xhv)->xhv_max) /* HvTOTALKEYS(hv) > HvMAX(hv) */
+ 
+ static const char S_strtab_error[]
+     = "Cannot modify shared string table in hv_%s";
+@@ -818,23 +819,8 @@ Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen,
+ 	xhv->xhv_keys++; /* HvTOTALKEYS(hv)++ */
+ 	if (!counter) {				/* initial entry? */
+ 	    xhv->xhv_fill++; /* HvFILL(hv)++ */
+-	} else if (xhv->xhv_keys > (IV)xhv->xhv_max) {
++	} else if ( SHOULD_DO_HSPLIT(xhv) ) {
+ 	    hsplit(hv);
+-	} else if(!HvREHASH(hv)) {
+-	    U32 n_links = 1;
+-
+-	    while ((counter = HeNEXT(counter)))
+-		n_links++;
+-
+-	    if (n_links > HV_MAX_LENGTH_BEFORE_SPLIT) {
+-		/* Use only the old HvKEYS(hv) > HvMAX(hv) condition to limit
+-		   bucket splits on a rehashed hash, as we're not going to
+-		   split it again, and if someone is lucky (evil) enough to
+-		   get all the keys in one list they could exhaust our memory
+-		   as we repeatedly double the number of buckets on every
+-		   entry. Linear search feels a less worse thing to do.  */
+-		hsplit(hv);
+-	    }
+ 	}
+     }
+ 
+@@ -1180,7 +1166,7 @@ S_hsplit(pTHX_ HV *hv)
+ 
+ 
+     /* Pick your policy for "hashing isn't working" here:  */
+-    if (longest_chain <= HV_MAX_LENGTH_BEFORE_SPLIT /* split worked?  */
++    if (longest_chain <= HV_MAX_LENGTH_BEFORE_REHASH /* split worked?  */
+ 	|| HvREHASH(hv)) {
+ 	return;
+     }
+@@ -2551,8 +2537,8 @@ S_share_hek_flags(pTHX_ const char *str, I32 len, register U32 hash, int flags)
+ 	xhv->xhv_keys++; /* HvTOTALKEYS(hv)++ */
+ 	if (!next) {			/* initial entry? */
+ 	    xhv->xhv_fill++; /* HvFILL(hv)++ */
+-	} else if (xhv->xhv_keys > (IV)xhv->xhv_max /* HvKEYS(hv) > HvMAX(hv) */) {
+-		hsplit(PL_strtab);
++	} else if ( SHOULD_DO_HSPLIT(xhv) ) {
++            hsplit(PL_strtab);
+ 	}
+     }
+ 
+diff --git a/t/op/hash.t b/t/op/hash.t
+index 9bde518..45eb782 100644
+--- a/t/op/hash.t
++++ b/t/op/hash.t
+@@ -39,22 +39,36 @@ use constant THRESHOLD => 14;
+ use constant START     => "a";
+ 
+ # some initial hash data
+-my %h2 = map {$_ => 1} 'a'..'cc';
++my %h2;
++my $counter= "a";
++$h2{$counter++}++ while $counter ne 'cd';
+ 
+ ok (!Internals::HvREHASH(%h2), 
+     "starting with pre-populated non-pathological hash (rehash flag if off)");
+ 
+ my @keys = get_keys(\%h2);
++my $buckets= buckets(\%h2);
+ $h2{$_}++ for @keys;
++$h2{$counter++}++ while buckets(\%h2) == $buckets; # force a split
+ ok (Internals::HvREHASH(%h2), 
+-    scalar(@keys) . " colliding into the same bucket keys are triggering rehash");
++    scalar(@keys) . " colliding into the same bucket keys are triggering rehash after split");
++
++# returns the number of buckets in a hash
++sub buckets {
++    my $hr = shift;
++    my $keys_buckets= scalar(%$hr);
++    if ($keys_buckets=~m!/([0-9]+)\z!) {
++        return 0+$1;
++    } else {
++        return 8;
++    }
++}
+ 
+ sub get_keys {
+     my $hr = shift;
+ 
+     # the minimum of bits required to mount the attack on a hash
+     my $min_bits = log(THRESHOLD)/log(2);
+-
+     # if the hash has already been populated with a significant amount
+     # of entries the number of mask bits can be higher
+     my $keys = scalar keys %$hr;
+-- 
+1.8.1.3
+

diff --git a/dev-lang/perl/files/perl-5.14.1-cleanup-paths.patch b/dev-lang/perl/files/perl-5.14.1-cleanup-paths.patch
new file mode 100644
index 0000000..c199041
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.14.1-cleanup-paths.patch
@@ -0,0 +1,100 @@
+cut the crap of inventing paths, or adding search paths that we don't use
+
+--- Configure
++++ Configure
+@@ -105,28 +105,6 @@
+ 	fi
+ fi
+ 
+-: Proper PATH setting
+-paths='/bin /usr/bin /usr/local/bin /usr/ucb /usr/local /usr/lbin'
+-paths="$paths /opt/bin /opt/local/bin /opt/local /opt/lbin"
+-paths="$paths /usr/5bin /etc /usr/gnu/bin /usr/new /usr/new/bin /usr/nbin"
+-paths="$paths /opt/gnu/bin /opt/new /opt/new/bin /opt/nbin"
+-paths="$paths /sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/ucb"
+-paths="$paths /bsd4.3/usr/bin /usr/bsd /bsd43/bin /opt/ansic/bin /usr/ccs/bin"
+-paths="$paths /etc /usr/lib /usr/ucblib /lib /usr/ccs/lib"
+-paths="$paths /sbin /usr/sbin /usr/libexec"
+-paths="$paths /system/gnu_library/bin"
+-
+-for p in $paths
+-do
+-	case "$p_$PATH$p_" in
+-	*$p_$p$p_*) ;;
+-	*) test -d $p && PATH=$PATH$p_$p ;;
+-	esac
+-done
+-
+-PATH=.$p_$PATH
+-export PATH
+-
+ : shall we be using ksh?
+ inksh=''
+ needksh=''
+@@ -8287,66 +8265,6 @@
+ 	;;
+ esac
+ 
+-# How will the perl executable find the installed shared $libperl?
+-# Add $xxx to ccdlflags.
+-# If we can't figure out a command-line option, use $shrpenv to
+-# set env LD_RUN_PATH.  The main perl makefile uses this.
+-shrpdir=$archlibexp/CORE
+-xxx=''
+-tmp_shrpenv=''
+-if "$useshrplib"; then
+-    case "$osname" in
+-	aix)
+-		# We'll set it in Makefile.SH...
+-		;;
+-	solaris)
+-		xxx="-R $shrpdir"
+-		;;
+-	freebsd|mirbsd|netbsd|openbsd|interix|dragonfly)
+-		xxx="-Wl,-R$shrpdir"
+-		;;
+-	bsdos|linux|irix*|dec_osf|gnu*)
+-		xxx="-Wl,-rpath,$shrpdir"
+-		;;
+-	next)
+-		# next doesn't like the default...
+-		;;
+-	beos)
+-		# beos doesn't like the default, either.
+-		;;
+-	haiku)
+-		# Haiku doesn't like the default, either.
+-		;;
+-	hpux*)
+-		# hpux doesn't like the default, either.
+-		tmp_shrpenv="env LDOPTS=\"+s +b${shrpdir}\""
+-		;;
+-	cygwin)
+-		# cygwin needs only ldlibpth
+-		;;
+-	*)
+-		tmp_shrpenv="env LD_RUN_PATH=$shrpdir"
+-		;;
+-	esac
+-	case "$xxx" in
+-	'') ;;
+-	*)
+-		# Only add $xxx if it isn't already in ccdlflags.
+-		case " $ccdlflags " in
+-		*" $xxx "*)	;;
+-		*)	ccdlflags="$ccdlflags $xxx"
+-			cat <<EOM >&4
+-
+-Adding $xxx to the flags
+-passed to $ld so that the perl executable will find the
+-installed shared $libperl.
+-
+-EOM
+-			;;
+-		esac
+-		;;
+-	esac
+-fi
+ # Fix ccdlflags in AIX for building external extensions.
+ # (For building Perl itself bare -bE:perl.exp is needed,
+ #  Makefile.SH takes care of this.)

diff --git a/dev-lang/perl/files/perl-5.8.7-MakeMaker-RUNPATH.patch b/dev-lang/perl/files/perl-5.8.7-MakeMaker-RUNPATH.patch
new file mode 100644
index 0000000..c442def
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.7-MakeMaker-RUNPATH.patch
@@ -0,0 +1,21 @@
+Bug #105054.
+
+We do not want the build root in the linked perl module's RUNPATH, so strip
+paths containing PORTAGE_TMPDIR if its set.
+
+--- perl-5.8.7/lib/ExtUtils/MM_Unix.pm	2005-09-10 14:06:59.000000000 +0200
++++ perl-5.8.7.az/lib/ExtUtils/MM_Unix.pm	2005-09-10 15:25:52.000000000 +0200
+@@ -1915,6 +1915,13 @@
+ 	    # LD_RUN_PATH now computed by ExtUtils::Liblist
+ 	    ($self->{EXTRALIBS},  $self->{BSLOADLIBS}, 
+              $self->{LDLOADLIBS}, $self->{LD_RUN_PATH}) = @libs;
++	    # We do not want the build root in RPATH
++	    if (exists $ENV{PORTAGE_TMPDIR}) {
++	      # If we have PORTAGE_TMPDIR set, strip that, as just testing for
++	      # /usr and /opt might not be sufficient
++	      $self->{LD_RUN_PATH} = join ':', grep !/^\Q$ENV{PORTAGE_TMPDIR}/,
++	                             split /:/, $self->{LD_RUN_PATH};
++	    }
+ 	    last;
+ 	}
+     }

diff --git a/dev-lang/perl/files/perl-5.8.8-CAN-2005-0448-rmtree-2.patch b/dev-lang/perl/files/perl-5.8.8-CAN-2005-0448-rmtree-2.patch
new file mode 100644
index 0000000..d29fc25
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-CAN-2005-0448-rmtree-2.patch
@@ -0,0 +1,280 @@
+SECURITY [CAN-2005-0448]:
+
+Rewrite File::Path::rmtree to avoid race condition which allows an
+attacker with write permission on directories in the tree being
+removed to make files setuid or to remove arbitrary files (see
+http://bugs.debian.org/286905 and http://bugs.debian.org/286922).
+
+Revised for 5.8.8-7etch6 to avoid failure when rmtree removes the
+current directory.
+
+diff --git a/lib/File/Path.pm b/lib/File/Path.pm
+index 2e41ff3..fd32b96 100644
+--- a/lib/File/Path.pm
++++ b/lib/File/Path.pm
+@@ -72,33 +72,17 @@ or C<unlink> to remove it, or that it's skipping it.
+ 
+ =item *
+ 
+-a boolean value, which if TRUE will cause C<rmtree> to
+-skip any files to which you do not have delete access
+-(if running under VMS) or write access (if running
+-under another OS).  This will change in the future when
+-a criterion for 'delete permission' under OSs other
+-than VMS is settled.  (defaults to FALSE)
++a boolean value, which if FALSE (the default for non-root users) will
++cause C<rmtree> to adjust the mode of directories (if required) prior
++to attempting to remove the contents.  Note that on interruption or
++failure of C<rmtree>, directories may be left with more permissive
++modes for the owner.
+ 
+ =back
+ 
+ It returns the number of files successfully deleted.  Symlinks are
+ simply deleted and not followed.
+ 
+-B<NOTE:> There are race conditions internal to the implementation of
+-C<rmtree> making it unsafe to use on directory trees which may be
+-altered or moved while C<rmtree> is running, and in particular on any
+-directory trees with any path components or subdirectories potentially
+-writable by untrusted users.
+-
+-Additionally, if the third parameter is not TRUE and C<rmtree> is
+-interrupted, it may leave files and directories with permissions altered
+-to allow deletion (and older versions of this module would even set
+-files and directories to world-read/writable!)
+-
+-Note also that the occurrence of errors in C<rmtree> can be determined I<only>
+-by trapping diagnostic messages using C<$SIG{__WARN__}>; it is not apparent
+-from the return value.
+-
+ =head1 DIAGNOSTICS
+ 
+ =over 4
+@@ -172,111 +156,127 @@ sub mkpath {
+     @created;
+ }
+ 
+-sub rmtree {
+-    my($roots, $verbose, $safe) = @_;
+-    my(@files);
+-    my($count) = 0;
+-    $verbose ||= 0;
+-    $safe ||= 0;
++sub _rmtree;
++sub _rmtree
++{
++    my ($path, $prefix, $up, $up_dev, $up_ino, $verbose, $safe) = @_;
++    my $up_name = $up eq '..' ? 'parent' : 'initial';
++
++    my ($dev, $ino) = lstat $path or return 0;
++    unless (-d _)
++    {
++	print "unlink $prefix$path\n" if $verbose;
++	unless (unlink $path)
++	{
++	    carp "Can't remove file $prefix$path ($!)";
++	    return 0;
++	}
+ 
+-    if ( defined($roots) && length($roots) ) {
+-      $roots = [$roots] unless ref $roots;
++	return 1;
+     }
+-    else {
+-      carp "No root path(s) specified\n";
+-      return 0;
++
++    unless (chdir $path)
++    {
++	carp "Can't chdir to $prefix$path ($!)";
++	return 0;
+     }
+ 
+-    my($root);
+-    foreach $root (@{$roots}) {
+-    	if ($Is_MacOS) {
+-	    $root = ":$root" if $root !~ /:/;
+-	    $root =~ s#([^:])\z#$1:#;
+-	} else {
+-	    $root =~ s#/\z##;
+-	}
+-	(undef, undef, my $rp) = lstat $root or next;
+-	$rp &= 07777;	# don't forget setuid, setgid, sticky bits
+-	if ( -d _ ) {
+-	    # notabene: 0700 is for making readable in the first place,
+-	    # it's also intended to change it to writable in case we have
+-	    # to recurse in which case we are better than rm -rf for 
+-	    # subtrees with strange permissions
+-	    chmod($rp | 0700, ($Is_VMS ? VMS::Filespec::fileify($root) : $root))
+-	      or carp "Can't make directory $root read+writeable: $!"
+-		unless $safe;
+-
+-	    if (opendir my $d, $root) {
+-		no strict 'refs';
+-		if (!defined ${"\cTAINT"} or ${"\cTAINT"}) {
+-		    # Blindly untaint dir names
+-		    @files = map { /^(.*)$/s ; $1 } readdir $d;
+-		} else {
+-		    @files = readdir $d;
+-		}
+-		closedir $d;
+-	    }
+-	    else {
+-	        carp "Can't read $root: $!";
+-		@files = ();
+-	    }
++    # avoid a race condition where a directory may be replaced by a
++    # symlink between the lstat and the chdir
++    my ($new_dev, $new_ino, $perm) = stat '.';
++    unless ("$new_dev:$new_ino" eq "$dev:$ino")
++    {
++	croak "Directory $prefix$path changed before chdir, aborting";
++    }
+ 
+-	    # Deleting large numbers of files from VMS Files-11 filesystems
+-	    # is faster if done in reverse ASCIIbetical order 
+-	    @files = reverse @files if $Is_VMS;
+-	    ($root = VMS::Filespec::unixify($root)) =~ s#\.dir\z## if $Is_VMS;
+-	    if ($Is_MacOS) {
+-		@files = map("$root$_", @files);
+-	    } else {
+-		@files = map("$root/$_", grep $_!~/^\.{1,2}\z/s,@files);
+-	    }
+-	    $count += rmtree(\@files,$verbose,$safe);
+-	    if ($safe &&
+-		($Is_VMS ? !&VMS::Filespec::candelete($root) : !-w $root)) {
+-		print "skipped $root\n" if $verbose;
+-		next;
+-	    }
+-	    chmod $rp | 0700, $root
+-	      or carp "Can't make directory $root writeable: $!"
+-		if $force_writeable;
+-	    print "rmdir $root\n" if $verbose;
+-	    if (rmdir $root) {
+-		++$count;
+-	    }
+-	    else {
+-		carp "Can't remove directory $root: $!";
+-		chmod($rp, ($Is_VMS ? VMS::Filespec::fileify($root) : $root))
+-		    or carp("and can't restore permissions to "
+-		            . sprintf("0%o",$rp) . "\n");
+-	    }
+-	}
+-	else { 
+-	    if ($safe &&
+-		($Is_VMS ? !&VMS::Filespec::candelete($root)
+-		         : !(-l $root || -w $root)))
+-	    {
+-		print "skipped $root\n" if $verbose;
+-		next;
+-	    }
+-	    chmod $rp | 0600, $root
+-	      or carp "Can't make file $root writeable: $!"
+-		if $force_writeable;
+-	    print "unlink $root\n" if $verbose;
+-	    # delete all versions under VMS
+-	    for (;;) {
+-		unless (unlink $root) {
+-		    carp "Can't unlink file $root: $!";
+-		    if ($force_writeable) {
+-			chmod $rp, $root
+-			    or carp("and can't restore permissions to "
+-			            . sprintf("0%o",$rp) . "\n");
+-		    }
+-		    last;
+-		}
+-		++$count;
+-		last unless $Is_VMS && lstat $root;
+-	    }
++    $perm &= 07777;
++    my $nperm = $perm | 0700;
++    unless ($safe or $nperm == $perm or chmod $nperm, '.')
++    {
++	carp "Can't make directory $prefix$path read+writeable ($!)";
++	$nperm = $perm;
++    }
++
++    my $count = 0;
++    if (opendir my $dir, '.')
++    {
++	my $entry;
++	while (defined ($entry = readdir $dir))
++	{
++	    next if $entry =~ /^\.\.?$/;
++	    $entry =~ /^(.*)$/s; $entry = $1; # untaint
++	    $count += _rmtree $entry, "$prefix$path/", '..', $dev, $ino,
++		$verbose, $safe;
+ 	}
++
++	closedir $dir;
++    }
++
++    # restore directory permissions if required (in case the rmdir
++    # below fails) now, while we're still in the directory and may do
++    # so without a race via '.'
++    unless ($nperm == $perm or chmod $perm, '.')
++    {
++	carp "Can't restore permissions on directory $prefix$path ($!)";
++    }
++
++    # don't leave the caller in an unexpected directory
++    unless (chdir $up)
++    {
++	croak "Can't return to $up_name directory from $prefix$path ($!)";
++    }
++
++    # ensure that a chdir .. didn't take us somewhere other than
++    # where we expected (see CVE-2002-0435)
++    unless (($new_dev, $new_ino) = stat '.'
++	and "$new_dev:$new_ino" eq "$up_dev:$up_ino")
++    {
++	croak "\u$up_name directory changed since entering $prefix$path";
++    }
++
++    print "rmdir $prefix$path\n" if $verbose;
++    if (rmdir $path)
++    {
++	$count++;
++    }
++    else
++    {
++	carp "Can't remove directory $prefix$path ($!)";
++    }
++
++    return $count;
++}
++
++sub rmtree
++{
++    my ($p, $verbose, $safe) = @_;
++    $p = [] unless defined $p and length $p;
++    $p = [ $p ] unless ref $p;
++    my @paths = grep defined && length, @$p;
++
++    # default to "unsafe" for non-root (will chmod dirs)
++    $safe = $> ? 0 : 1 unless defined $safe;
++
++    unless (@paths)
++    {
++	carp "No root path(s) specified";
++	return;
++    }
++
++    opendir my $oldpwd, '.' or do {
++	carp "Can't fetch initial working directory";
++	return;
++    };
++
++    my ($dev, $ino) = stat '.' or do {
++	carp "Can't stat initial working directory";
++	return;
++    };
++
++    my $count = 0;
++    for my $path (@paths)
++    {
++	$count += _rmtree $path, '', $oldpwd, $dev, $ino, $verbose, $safe;
+     }
+ 
+     $count;

diff --git a/dev-lang/perl/files/perl-5.8.8-CVE-2008-1927.patch b/dev-lang/perl/files/perl-5.8.8-CVE-2008-1927.patch
new file mode 100644
index 0000000..4700058
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-CVE-2008-1927.patch
@@ -0,0 +1,256 @@
+Fix a double free / segfault with utf8 regexps 
+Debian #454792
+[rt.cpan.org #48156]
+[rt.cpan.org #40641]
+upstream change 29204
+
+UTF8_ALLOW_DEFAULT definition in utf8.h picked from upstream change 27688
+
+diff --git a/embed.fnc b/embed.fnc
+index edfbc0e..26524c7 100644
+--- a/embed.fnc
++++ b/embed.fnc
+@@ -1168,6 +1168,7 @@ Es	|void	|reguni		|NN const struct RExC_state_t *state|UV uv|NN char *s|NN STRLE
+ Es	|regnode*|regclass	|NN struct RExC_state_t *state
+ ERs	|I32	|regcurly	|NN const char *
+ Es	|regnode*|reg_node	|NN struct RExC_state_t *state|U8 op
++Es	|UV	|reg_recode	|const char value|NULLOK SV **encp
+ Es	|regnode*|regpiece	|NN struct RExC_state_t *state|NN I32 *flagp
+ Es	|void	|reginsert	|NN struct RExC_state_t *state|U8 op|NN regnode *opnd
+ Es	|void	|regoptail	|NN struct RExC_state_t *state|NN regnode *p|NN regnode *val
+diff --git a/embed.h b/embed.h
+index 2b38fd5..372b04f 100644
+--- a/embed.h
++++ b/embed.h
+@@ -1234,6 +1234,7 @@
+ #define regclass		S_regclass
+ #define regcurly		S_regcurly
+ #define reg_node		S_reg_node
++#define reg_recode		S_reg_recode
+ #define regpiece		S_regpiece
+ #define reginsert		S_reginsert
+ #define regoptail		S_regoptail
+@@ -3277,6 +3278,7 @@
+ #define regclass(a)		S_regclass(aTHX_ a)
+ #define regcurly(a)		S_regcurly(aTHX_ a)
+ #define reg_node(a,b)		S_reg_node(aTHX_ a,b)
++#define reg_recode(a,b)		S_reg_recode(aTHX_ a,b)
+ #define regpiece(a,b)		S_regpiece(aTHX_ a,b)
+ #define reginsert(a,b,c)	S_reginsert(aTHX_ a,b,c)
+ #define regoptail(a,b,c)	S_regoptail(aTHX_ a,b,c)
+diff --git a/pod/perldiag.pod b/pod/perldiag.pod
+index 9b3134c..7d95216 100644
+--- a/pod/perldiag.pod
++++ b/pod/perldiag.pod
+@@ -1900,6 +1900,15 @@ recognized by Perl or by a user-supplied handler.  See L<attributes>.
+ (W printf) Perl does not understand the given format conversion.  See
+ L<perlfunc/sprintf>.
+ 
++=item Invalid escape in the specified encoding in regex; marked by <-- HERE in m/%s/
++
++(W regexp) The numeric escape (for example C<\xHH>) of value < 256
++didn't correspond to a single character through the conversion
++from the encoding specified by the encoding pragma.
++The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) instead.
++The <-- HERE shows in the regular expression about where the
++escape was discovered.
++
+ =item Invalid [] range "%s" in regex; marked by <-- HERE in m/%s/
+ 
+ (F) The range specified in a character class had a minimum character
+diff --git a/proto.h b/proto.h
+index 6d185dd..ef6c0cf 100644
+--- a/proto.h
++++ b/proto.h
+@@ -1748,6 +1748,7 @@ STATIC I32	S_regcurly(pTHX_ const char *)
+ 			__attribute__warn_unused_result__;
+ 
+ STATIC regnode*	S_reg_node(pTHX_ struct RExC_state_t *state, U8 op);
++STATIC UV	S_reg_recode(pTHX_ const char value, SV **encp);
+ STATIC regnode*	S_regpiece(pTHX_ struct RExC_state_t *state, I32 *flagp);
+ STATIC void	S_reginsert(pTHX_ struct RExC_state_t *state, U8 op, regnode *opnd);
+ STATIC void	S_regoptail(pTHX_ struct RExC_state_t *state, regnode *p, regnode *val);
+diff --git a/regcomp.c b/regcomp.c
+index 928cf39..98d48dd 100644
+--- a/regcomp.c
++++ b/regcomp.c
+@@ -2791,6 +2791,39 @@ S_regpiece(pTHX_ RExC_state_t *pRExC_state, I32 *flagp)
+ }
+ 
+ /*
++ * reg_recode
++ *
++ * It returns the code point in utf8 for the value in *encp.
++ *    value: a code value in the source encoding
++ *    encp:  a pointer to an Encode object
++ *
++ * If the result from Encode is not a single character,
++ * it returns U+FFFD (Replacement character) and sets *encp to NULL.
++ */
++STATIC UV
++S_reg_recode(pTHX_ const char value, SV **encp)
++{
++    STRLEN numlen = 1;
++    SV * const sv = sv_2mortal(newSVpvn(&value, numlen));
++    const char * const s = encp && *encp ? sv_recode_to_utf8(sv, *encp)
++					 : SvPVX(sv);
++    const STRLEN newlen = SvCUR(sv);
++    UV uv = UNICODE_REPLACEMENT;
++
++    if (newlen)
++	uv = SvUTF8(sv)
++	     ? utf8n_to_uvchr((U8*)s, newlen, &numlen, UTF8_ALLOW_DEFAULT)
++	     : *(U8*)s;
++
++    if (!newlen || numlen != newlen) {
++	uv = UNICODE_REPLACEMENT;
++	if (encp)
++	    *encp = NULL;
++    }
++    return uv;
++}
++
++/*
+  - regatom - the lowest level
+  *
+  * Optimization:  gobbles an entire sequence of ordinary characters so that
+@@ -3182,6 +3215,8 @@ tryagain:
+ 			    ender = grok_hex(p, &numlen, &flags, NULL);
+ 			    p += numlen;
+ 			}
++			if (PL_encoding && ender < 0x100)
++			    goto recode_encoding;
+ 			break;
+ 		    case 'c':
+ 			p++;
+@@ -3201,6 +3236,17 @@ tryagain:
+ 			    --p;
+ 			    goto loopdone;
+ 			}
++			if (PL_encoding && ender < 0x100)
++			    goto recode_encoding;
++			break;
++		    recode_encoding:
++			{
++			    SV* enc = PL_encoding;
++			    ender = reg_recode((const char)(U8)ender, &enc);
++			    if (!enc && SIZE_ONLY && ckWARN(WARN_REGEXP))
++				vWARN(p, "Invalid escape in the specified encoding");
++			    RExC_utf8 = 1;
++			}
+ 			break;
+ 		    case '\0':
+ 			if (p >= RExC_end)
+@@ -3331,32 +3377,6 @@ tryagain:
+ 	break;
+     }
+ 
+-    /* If the encoding pragma is in effect recode the text of
+-     * any EXACT-kind nodes. */
+-    if (PL_encoding && PL_regkind[(U8)OP(ret)] == EXACT) {
+-	STRLEN oldlen = STR_LEN(ret);
+-	SV *sv        = sv_2mortal(newSVpvn(STRING(ret), oldlen));
+-
+-	if (RExC_utf8)
+-	    SvUTF8_on(sv);
+-	if (sv_utf8_downgrade(sv, TRUE)) {
+-	    const char * const s = sv_recode_to_utf8(sv, PL_encoding);
+-	    const STRLEN newlen = SvCUR(sv);
+-
+-	    if (SvUTF8(sv))
+-		RExC_utf8 = 1;
+-	    if (!SIZE_ONLY) {
+-		DEBUG_r(PerlIO_printf(Perl_debug_log, "recode %*s to %*s\n",
+-				      (int)oldlen, STRING(ret),
+-				      (int)newlen, s));
+-		Copy(s, STRING(ret), newlen, char);
+-		STR_LEN(ret) += newlen - oldlen;
+-		RExC_emit += STR_SZ(newlen) - STR_SZ(oldlen);
+-	    } else
+-		RExC_size += STR_SZ(newlen) - STR_SZ(oldlen);
+-	}
+-    }
+-
+     return(ret);
+ }
+ 
+@@ -3734,6 +3754,8 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state)
+ 		    value = grok_hex(RExC_parse, &numlen, &flags, NULL);
+ 		    RExC_parse += numlen;
+ 		}
++		if (PL_encoding && value < 0x100)
++		    goto recode_encoding;
+ 		break;
+ 	    case 'c':
+ 		value = UCHARAT(RExC_parse++);
+@@ -3741,13 +3763,24 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state)
+ 		break;
+ 	    case '0': case '1': case '2': case '3': case '4':
+ 	    case '5': case '6': case '7': case '8': case '9':
+-            {
+-                I32 flags = 0;
+-		numlen = 3;
+-		value = grok_oct(--RExC_parse, &numlen, &flags, NULL);
+-		RExC_parse += numlen;
+-		break;
+-            }
++		{
++		    I32 flags = 0;
++		    numlen = 3;
++		    value = grok_oct(--RExC_parse, &numlen, &flags, NULL);
++		    RExC_parse += numlen;
++		    if (PL_encoding && value < 0x100)
++			goto recode_encoding;
++		    break;
++		}
++	    recode_encoding:
++		{
++		    SV* enc = PL_encoding;
++		    value = reg_recode((const char)(U8)value, &enc);
++		    if (!enc && SIZE_ONLY && ckWARN(WARN_REGEXP))
++			vWARN(RExC_parse,
++			      "Invalid escape in the specified encoding");
++		    break;
++		}
+ 	    default:
+ 		if (!SIZE_ONLY && isALPHA(value) && ckWARN(WARN_REGEXP))
+ 		    vWARN2(RExC_parse,
+diff --git a/t/uni/tr_utf8.t b/t/uni/tr_utf8.t
+index 606a84a..354156a 100755
+--- a/t/uni/tr_utf8.t
++++ b/t/uni/tr_utf8.t
+@@ -31,7 +31,7 @@ BEGIN {
+ }
+ 
+ use strict;
+-use Test::More tests => 7;
++use Test::More tests => 8;
+ 
+ use encoding 'utf8';
+ 
+@@ -67,4 +67,12 @@ is($str, $hiragana, "s/// # hiragana -> katakana");
+   $line =~ tr/bcdeghijklmnprstvwxyz$02578/בצדעגהיײקלמנפּרסטװשכיזשױתײחא/;
+   is($line, "aבצדעfגהיײקלמנoפqּרסuטװשכיזש1ױ34ת6ײח9", "[perl #16843]");
+ }
++
++{
++  # [perl #40641]
++  my $str = qq/Gebääääääääääääääääääääude/;
++  my $reg = qr/Gebääääääääääääääääääääude/;
++  ok($str =~ /$reg/, "[perl #40641]");
++}
++
+ __END__
+diff --git a/utf8.h b/utf8.h
+index 6d63897..3800866 100644
+--- a/utf8.h
++++ b/utf8.h
+@@ -198,6 +198,8 @@ encoded character.
+ 					 UTF8_ALLOW_SURROGATE|UTF8_ALLOW_FFFF)
+ #define UTF8_ALLOW_ANY			0x00FF
+ #define UTF8_CHECK_ONLY			0x0200
++#define UTF8_ALLOW_DEFAULT             (ckWARN(WARN_UTF8) ? 0 : \
++                                        UTF8_ALLOW_ANYUV)
+ 
+ #define UNICODE_SURROGATE_FIRST		0xD800
+ #define UNICODE_SURROGATE_LAST		0xDFFF

diff --git a/dev-lang/perl/files/perl-5.8.8-USE_MM_LD_RUN_PATH.patch b/dev-lang/perl/files/perl-5.8.8-USE_MM_LD_RUN_PATH.patch
new file mode 100644
index 0000000..edcfc6a
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-USE_MM_LD_RUN_PATH.patch
@@ -0,0 +1,111 @@
+diff -Naurp perl-5.8.8-orig/lib/ExtUtils/Liblist.pm perl-5.8.8/lib/ExtUtils/Liblist.pm
+--- perl-5.8.8-orig/lib/ExtUtils/Liblist.pm	2003-04-07 14:58:17.000000000 -0400
++++ perl-5.8.8/lib/ExtUtils/Liblist.pm	2006-02-07 09:57:04.000000000 -0500
+@@ -87,6 +87,11 @@ libraries.  LD_RUN_PATH is a colon separ
+ in LDLOADLIBS. It is passed as an environment variable to the process
+ that links the shared library.
+ 
++The Red Hat extension: This generation of LD_RUN_PATH is disabled by default.
++To use the generated LD_RUN_PATH for all links, set the USE_MM_LD_RUN_PATH
++MakeMaker object attribute / argument, (or set the $USE_MM_LD_RUN_PATH
++environment variable).
++
+ =head2 BSLOADLIBS
+ 
+ List of those libraries that are needed but can be linked in
+diff -Naurp perl-5.8.8-orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/lib/ExtUtils/MM_Unix.pm
+--- perl-5.8.8-orig/lib/ExtUtils/MM_Unix.pm	2005-05-21 05:42:56.000000000 -0400
++++ perl-5.8.8/lib/ExtUtils/MM_Unix.pm	2006-02-07 09:56:08.000000000 -0500
+@@ -941,7 +941,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $
+     }
+ 
+     my $ld_run_path_shell = "";
+-    if ($self->{LD_RUN_PATH} ne "") {
++	if (($self->{LD_RUN_PATH} ne "") && ($self->{USE_MM_LD_RUN_PATH})) {
+ 	$ld_run_path_shell = 'LD_RUN_PATH="$(LD_RUN_PATH)" ';
+     }
+ 
+diff -Naurp perl-5.8.8-orig/lib/ExtUtils/MakeMaker.pm perl-5.8.8/lib/ExtUtils/MakeMaker.pm
+--- perl-5.8.8-orig/lib/ExtUtils/MakeMaker.pm	2005-10-21 10:11:04.000000000 -0400
++++ perl-5.8.8/lib/ExtUtils/MakeMaker.pm	2006-02-07 09:55:03.000000000 -0500
+@@ -233,7 +233,7 @@ sub full_setup {
+     PERL_SRC PERM_RW PERM_RWX
+     PL_FILES PM PM_FILTER PMLIBDIRS POLLUTE PPM_INSTALL_EXEC
+     PPM_INSTALL_SCRIPT PREREQ_FATAL PREREQ_PM PREREQ_PRINT PRINT_PREREQ
+-    SIGN SKIP TYPEMAPS VERSION VERSION_FROM XS XSOPT XSPROTOARG
++	SKIP TYPEMAPS USE_MM_LD_RUN_PATH VERSION VERSION_FROM XS XSOPT XSPROTOARG
+     XS_VERSION clean depend dist dynamic_lib linkext macro realclean
+     tool_autosplit
+ 
+@@ -371,6 +371,26 @@ sub new {
+         exit 0;
+    }
+ 
++    # USE_MM_LD_RUN_PATH - borrowed from RedHat to disable automatic RPATH generation
++    if ( ( ! $self->{USE_MM_LD_RUN_PATH} )
++       &&( ("@ARGV" =~ /\bUSE_MM_LD_RUN_PATH(=([01]))?\b/)
++        ||( exists( $ENV{USE_MM_LD_RUN_PATH} )
++           &&( $ENV{USE_MM_LD_RUN_PATH} =~ /([01])?$/ )
++           )
++        )
++       )
++    {
++       my $v = $1;
++       if( $v )
++       {
++           $v = ($v=~/=([01])$/)[0];
++       }else
++       {
++           $v = 1;
++       };
++       $self->{USE_MM_LD_RUN_PATH}=$v;
++    };
++
+     print STDOUT "MakeMaker (v$VERSION)\n" if $Verbose;
+     if (-f "MANIFEST" && ! -f "Makefile"){
+         check_manifest();
+@@ -2057,6 +2077,44 @@ precedence.  A typemap in the current di
+ precedence, even if it isn't listed in TYPEMAPS.  The default system
+ typemap has lowest precedence.
+ 
++=item USE_MM_LD_RUN_PATH
++
++boolean
++This feature is borrowed from Red Hat to deal with RPATH issues.
++Please see bug 81745 - http://bugs.gentoo.org/81745 - for more
++information.
++
++The Red Hat perl MakeMaker distribution differs from the standard
++upstream release in that it disables use of the MakeMaker generated
++LD_RUN_PATH by default, UNLESS this attribute is specified , or the
++USE_MM_LD_RUN_PATH environment variable is set during the MakeMaker run.
++
++The upstream MakeMaker will set the ld(1) environment variable LD_RUN_PATH
++to the concatenation of every -L ld(1) option directory in which a -l ld(1)
++option library is found, which is used as the ld(1) -rpath option if none
++is specified. This means that, if your application builds shared libraries
++and your MakeMaker application links to them, that the absolute paths of the
++libraries in the build tree will be inserted into the RPATH header of all
++MakeMaker generated binaries, and that such binaries will be unable to link
++to these libraries if they do not still reside in the build tree directories
++(unlikely) or in the system library directories (/lib or /usr/lib), regardless
++of any LD_LIBRARY_PATH setting. So if you specified -L../mylib -lmylib , and
++your 'libmylib.so' gets installed into /some_directory_other_than_usr_lib,
++your MakeMaker application will be unable to link to it, even if LD_LIBRARY_PATH
++is set to include /some_directory_other_than_usr_lib, because RPATH overrides
++LD_LIBRARY_PATH.
++
++So for Red Hat MakeMaker builds LD_RUN_PATH is NOT generated by default for
++every link. You can still use explicit -rpath ld options or the LD_RUN_PATH
++environment variable during the build to generate an RPATH for the binaries.
++
++You can set the USE_MM_LD_RUN_PATH attribute to 1 on the MakeMaker command
++line or in the WriteMakefile arguments to enable generation of LD_RUN_PATH
++for every link command.
++
++USE_MM_LD_RUN_PATH will default to 1 (LD_RUN_PATH will be used) IF the
++$USE_MM_LD_RUN_PATH environment variable is set during a MakeMaker run.
++
+ =item VENDORPREFIX
+ 
+ Like PERLPREFIX, but only for the vendor install locations.

diff --git a/dev-lang/perl/files/perl-5.8.8-asm-page-h-compile-failure.patch b/dev-lang/perl/files/perl-5.8.8-asm-page-h-compile-failure.patch
new file mode 100644
index 0000000..325caaf
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-asm-page-h-compile-failure.patch
@@ -0,0 +1,12 @@
+--- perl-5.8.8/ext/IPC/SysV/SysV.xs.no_asm_page_h       2001-06-30 14:46:07.000000000 -0400
++++ perl-5.8.8/ext/IPC/SysV/SysV.xs     2006-06-02 17:37:22.000000000 -0400
+@@ -3,9 +3,6 @@
+ #include "XSUB.h"
+
+ #include <sys/types.h>
+-#ifdef __linux__
+-#   include <asm/page.h>
+-#endif
+ #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
+ #ifndef HAS_SEM
+ #   include <sys/ipc.h>

diff --git a/dev-lang/perl/files/perl-5.8.8-ccld-cflags.patch b/dev-lang/perl/files/perl-5.8.8-ccld-cflags.patch
new file mode 100644
index 0000000..85f66fe
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-ccld-cflags.patch
@@ -0,0 +1,33 @@
+--- Configure.orig	2009-11-04 11:09:08.934965499 +0100
++++ Configure	2009-11-04 11:13:19.055305854 +0100
+@@ -7617,7 +7617,7 @@
+ 			cat <<EOM
+ You appear to have ELF support.  I'll use $cc to build dynamic libraries.
+ EOM
+-			dflt="$cc"
++			dflt="$cc $optimize"
+ 		else
+ 			echo "I'll use ld to build dynamic libraries."
+ 			dflt='ld'
+--- Makefile.SH.orig	2009-11-04 15:34:22.643322823 +0100
++++ Makefile.SH	2009-11-04 15:34:30.110147884 +0100
+@@ -201,7 +201,7 @@
+ LD = $ld
+ 
+ LDFLAGS = $ldflags
+-CLDFLAGS = $ldflags
++CLDFLAGS = \$(OPTIMIZE) $ldflags
+ 
+ mallocsrc = $mallocsrc
+ mallocobj = $mallocobj
+--- x2p/Makefile.SH.orig	2009-11-04 15:54:14.146759212 +0100
++++ x2p/Makefile.SH	2009-11-04 15:54:19.963253154 +0100
+@@ -107,7 +107,7 @@
+ 	$(REALPERL) -I../lib ../utils/perlcc -I .. -L .. $(plextract) -v -log ../compilelog;  
+ 
+ a2p$(EXE_EXT): $(obj) a2p$(OBJ_EXT)
+-	$(CC) -o a2p $(LDFLAGS) $(obj) a2p$(OBJ_EXT) $(libs)
++	$(CC) -o a2p $(OPTIMIZE) $(LDFLAGS) $(obj) a2p$(OBJ_EXT) $(libs)
+ 
+ # I now supply a2p.c with the kits, so the following section is
+ # used only if you force byacc to run by saying

diff --git a/dev-lang/perl/files/perl-5.8.8-cplusplus.patch b/dev-lang/perl/files/perl-5.8.8-cplusplus.patch
new file mode 100644
index 0000000..064bda4
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-cplusplus.patch
@@ -0,0 +1,22 @@
+--- perl.h.orig	2006-03-29 08:53:46.000000000 -0500
++++ perl.h	2006-03-29 08:54:19.000000000 -0500
+@@ -159,7 +159,7 @@ struct perl_thread;
+ #endif
+ 
+ #ifndef PERL_UNUSED_DECL
+-#  ifdef HASATTRIBUTE_UNUSED
++#  if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus)
+ #    define PERL_UNUSED_DECL __attribute__unused__
+ #  else
+ #    define PERL_UNUSED_DECL
+--- XSUB.h.orig	2006-03-29 08:54:24.000000000 -0500
++++ XSUB.h	2006-03-29 08:54:48.000000000 -0500
+@@ -91,7 +91,7 @@ handled automatically by C<xsubpp>.
+ #if defined(__CYGWIN__) && defined(USE_DYNAMIC_LOADING)
+ #  define XS(name) __declspec(dllexport) void name(pTHX_ CV* cv)
+ #else
+-#  ifdef HASATTRIBUTE_UNUSED
++#  if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus)
+ #    define XS(name) void name(pTHX_ CV* cv __attribute__unused__)
+ #  else
+ #    define XS(name) void name(pTHX_ CV* cv)

diff --git a/dev-lang/perl/files/perl-5.8.8-darwin-cc-ld.patch b/dev-lang/perl/files/perl-5.8.8-darwin-cc-ld.patch
new file mode 100644
index 0000000..b96eea8
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-darwin-cc-ld.patch
@@ -0,0 +1,22 @@
+Use $CC to link (and check for broken compilers), such that we don't get
+linked modules of a different bitness.
+http://bugs.gentoo.org/show_bug.cgi?id=297751
+
+--- hints/darwin.sh
++++ hints/darwin.sh
+@@ -128,13 +128,13 @@
+ ccflags="${ccflags} ${cppflags}"
+ 
+ # Known optimizer problems.
+-case "`cc -v 2>&1`" in
++case "`${cc:-gcc} -v 2>&1`" in
+   *"3.1 20020105"*) toke_cflags='optimize=""' ;;
+ esac
+ 
+ # Shared library extension is .dylib.
+ # Bundle extension is .bundle.
+-ld='cc';
++ld="${cc:-gcc}";
+ so='dylib';
+ dlext='bundle';
+ usedl='define';

diff --git a/dev-lang/perl/files/perl-5.8.8-dragonfly-clean.patch b/dev-lang/perl/files/perl-5.8.8-dragonfly-clean.patch
new file mode 100644
index 0000000..52f32bf
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-dragonfly-clean.patch
@@ -0,0 +1,170 @@
+Index: perl-5.8.8/Configure
+===================================================================
+--- perl-5.8.8.orig/Configure	2006-01-08 14:51:03 +0000
++++ perl-5.8.8/Configure	2006-02-14 13:41:41 +0000
+@@ -3130,6 +3130,8 @@
+ 		dgux)	osname=dgux 
+ 			osvers="$3"
+ 			;;
++		dragonfly) osname=dragonfly
++			osvers="$3" ;;
+ 		dynixptx*) osname=dynixptx
+ 			osvers=`echo "$4"|sed 's/^v//'`
+ 			;;
+@@ -7889,7 +7891,7 @@
+ 	solaris)
+ 		xxx="-R $shrpdir"
+ 		;;
+-	freebsd|netbsd|openbsd|interix)
++	freebsd|netbsd|openbsd|dragonfly|interix)
+ 		xxx="-Wl,-R$shrpdir"
+ 		;;
+ 	bsdos|linux|irix*|dec_osf|gnu*)
+Index: perl-5.8.8/Makefile.SH
+===================================================================
+--- perl-5.8.8.orig/Makefile.SH	2006-01-24 12:49:44 +0000
++++ perl-5.8.8/Makefile.SH	2006-02-14 13:46:57 +0000
+@@ -73,7 +73,7 @@
+ 	sunos*)
+ 		linklibperl="-lperl"
+ 		;;
+-	netbsd*|freebsd[234]*|openbsd*)
++	netbsd*|freebsd[234]*|openbsd*|dragonfly*)
+ 		linklibperl="-L. -lperl"
+ 		;;
+ 	interix*)
+@@ -990,6 +990,10 @@
+ n_dummy $(nonxs_ext):	miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
+ 	@$(LDLIBPTH) sh ext/util/make_ext nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
+ 
++.PHONY: printconfig
++printconfig:
++	@eval `$(LDLIBPTH) ./perl -Ilib -V:$(CONFIGVAR)`; echo $$$(CONFIGVAR)
++
+ .PHONY: clean _tidy _mopup _cleaner1 _cleaner2 \
+ 	realclean _realcleaner clobber _clobber \
+ 	distclean veryclean _verycleaner
+Index: perl-5.8.8/hints/dragonfly.sh
+===================================================================
+--- perl-5.8.8.orig/hints/dragonfly.sh	1970-01-01 00:00:00 +0000
++++ perl-5.8.8/hints/dragonfly.sh	2006-02-14 13:15:04 +0000
+@@ -0,0 +1,118 @@
++# hints/dragonfly.sh
++#
++# This file is mostly copied from hints/freebsd.sh with the OS version
++# information taken out and only the FreeBSD-4 information intact.
++# Please check with Todd Willey <xtoddx@gmail.com> before making
++# modifications to this file.
++
++case "$osvers" in
++*)     usevfork='true'
++       case "$usemymalloc" in
++           "") usemymalloc='n'
++               ;;
++       esac
++       libswanted=`echo $libswanted | sed 's/ malloc / /'`
++       ;;
++esac
++
++# Dynamic Loading flags have not changed much, so they are separated
++# out here to avoid duplicating them everywhere.
++case "$osvers" in
++*)
++        objformat=`/usr/bin/objformat`
++        if [ x$objformat = xelf ]; then
++            libpth="/usr/lib /usr/local/lib"
++            glibpth="/usr/lib /usr/local/lib"
++            ldflags="-Wl,-E "
++            lddlflags="-shared "
++        else
++            if [ -e /usr/lib/aout ]; then
++                libpth="/usr/lib/aout /usr/local/lib /usr/lib"
++                glibpth="/usr/lib/aout /usr/local/lib /usr/lib"
++            fi
++            lddlflags='-Bshareable'
++        fi
++        cccdlflags='-DPIC -fPIC'
++        ;;
++esac
++
++case "$osvers" in
++*)
++       ccflags="${ccflags} -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H"
++       if /usr/bin/file -L /usr/lib/libc.so | /usr/bin/grep -vq "not stripped" ; then
++           usenm=false
++       fi
++        ;;
++esac
++
++cat <<'EOM' >&4
++
++Some users have reported that Configure halts when testing for
++the O_NONBLOCK symbol with a syntax error.  This is apparently a
++sh error.  Rerunning Configure with ksh apparently fixes the
++problem.  Try
++       ksh Configure [your options]
++
++EOM
++
++# From: Anton Berezin <tobez@plab.ku.dk>
++# To: perl5-porters@perl.org
++# Subject: [PATCH 5.005_54] Configure - hints/freebsd.sh signal handler type
++# Date: 30 Nov 1998 19:46:24 +0100
++# Message-ID: <864srhhvcv.fsf@lion.plab.ku.dk>
++
++signal_t='void'
++d_voidsig='define'
++
++# This script UU/usethreads.cbu will get 'called-back' by Configure
++# after it has prompted the user for whether to use threads.
++cat > UU/usethreads.cbu <<'EOCBU'
++case "$usethreads" in
++$define|true|[yY]*)
++        lc_r=`/sbin/ldconfig -r|grep ':-lc_r'|awk '{print $NF}'|sed -n '$p'`
++        case "$osvers" in
++       *)
++             if [ ! -r "$lc_r" ]; then
++             cat <<EOM >&4
++POSIX threads should be supported by FreeBSD $osvers --
++but your system is missing the shared libc_r.
++(/sbin/ldconfig -r doesn't find any).
++
++Consider using the latest STABLE release.
++EOM
++                exit 1
++             fi
++             case "$osvers" in
++             *)        ldflags="-pthread $ldflags"
++                       ;;
++             esac
++             # Both in 4.x and 5.x gethostbyaddr_r exists but
++             # it is "Temporary function, not threadsafe"...
++             # Presumably earlier it didn't even exist.
++             d_gethostbyaddr_r="undef"
++             d_gethostbyaddr_r_proto="0"
++             ;;
++
++       esac
++
++       set `echo X "$libswanted "| sed -e 's/ c / c_r /'`
++       shift
++       libswanted="$*"
++       # Configure will probably pick the wrong libc to use for nm scan.
++       # The safest quick-fix is just to not use nm at all...
++       usenm=false
++
++        unset lc_r
++
++       # Even with the malloc mutexes the Perl malloc does not
++       # seem to be threadsafe in FreeBSD?
++       case "$usemymalloc" in
++       '') usemymalloc=n ;;
++       esac
++esac
++EOCBU
++
++# malloc wrap works
++case "$usemallocwrap" in
++'') usemallocwrap='define' ;;
++esac
+

diff --git a/dev-lang/perl/files/perl-5.8.8-fbsdhints.patch b/dev-lang/perl/files/perl-5.8.8-fbsdhints.patch
new file mode 100644
index 0000000..7dc1a65
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-fbsdhints.patch
@@ -0,0 +1,57 @@
+Index: perl-5.8.8/hints/freebsd.sh
+===================================================================
+--- perl-5.8.8.orig/hints/freebsd.sh
++++ perl-5.8.8/hints/freebsd.sh
+@@ -88,6 +88,8 @@ case "$osvers" in
+ 	esac
+ 	libswanted=`echo $libswanted | sed 's/ malloc / /'`
+ 	libswanted=`echo $libswanted | sed 's/ bind / /'`
++	libswanted=`echo $libswanted | sed 's/ dl / /'`
++	libswanted=`echo $libswanted | sed 's/ c / /'`
+ 	# iconv gone in Perl 5.8.1, but if someone compiles 5.8.0 or earlier.
+ 	libswanted=`echo $libswanted | sed 's/ iconv / /'`
+ 	d_setregid='define'
+@@ -102,6 +104,10 @@ case "$osvers" in
+ 	        ;;
+ 	esac
+ 	libswanted=`echo $libswanted | sed 's/ malloc / /'`
++	libswanted=`echo $libswanted | sed 's/ bind / /'`
++	libswanted=`echo $libswanted | sed 's/ dl / /'`
++	libswanted=`echo $libswanted | sed 's/ iconv / /'`
++	libswanted=`echo $libswanted | sed 's/ c / /'`
+ 	;;
+ esac
+ 
+@@ -116,17 +122,17 @@ case "$osvers" in
+
+ *)
+         objformat=`/usr/bin/objformat`
+-        if [ x$objformat = xelf ]; then
+-            libpth="/usr/lib /usr/local/lib"
+-            glibpth="/usr/lib /usr/local/lib"
+-            ldflags="-Wl,-E "
+-            lddlflags="-shared "
+-        else
++        if [ x$objformat = xaout ]; then
+             if [ -e /usr/lib/aout ]; then
+                 libpth="/usr/lib/aout /usr/local/lib /usr/lib"
+                 glibpth="/usr/lib/aout /usr/local/lib /usr/lib"
+             fi
+             lddlflags='-Bshareable'
++        else
++            libpth="/usr/lib /usr/local/lib"
++            glibpth="/usr/lib /usr/local/lib"
++            ldflags="-Wl,-E"
++            lddlflags="-shared "
+         fi
+         cccdlflags='-DPIC -fPIC'
+         ;;
+@@ -137,7 +143,7 @@ case "$osvers" in
+ 
+ *)
+ 	ccflags="${ccflags} -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H"
+-	if /usr/bin/file -L /usr/lib/libc.so | /usr/bin/grep -vq "not stripped" ; then
++	if /usr/bin/file -L /usr/lib/libc.so | grep -vq "not stripped" ; then
+ 	    usenm=false
+ 	fi
+         ;;

diff --git a/dev-lang/perl/files/perl-5.8.8-fix_file_path_chdir.patch b/dev-lang/perl/files/perl-5.8.8-fix_file_path_chdir.patch
new file mode 100644
index 0000000..c75aa89
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-fix_file_path_chdir.patch
@@ -0,0 +1,72 @@
+ExtUtils/Command.pm (among other things) expects to be able to destroy
+a strangely-permissioned testdir.  This is a backport of the chdir/chmod
+work performed in File::Path released in Perl 5.10.0.
+
+--- perl-5.8.7.orig/lib/File/Path.pm	2008-12-05 13:23:32.000000000 -0800
++++ perl-5.8.7/lib/File/Path.pm	2008-12-05 13:33:13.000000000 -0800
+@@ -162,7 +162,7 @@
+ {
+     my ($path, $prefix, $up, $up_dev, $up_ino, $verbose, $safe) = @_;
+ 
+-    my ($dev, $ino) = lstat $path or return 0;
++    my ($dev, $ino, $perm) = lstat $path or return 0;
+     unless (-d _)
+     {
+ 	print "unlink $prefix$path\n" if $verbose;
+@@ -175,15 +175,25 @@
+ 	return 1;
+     }
+ 
+-    unless (chdir $path)
+-    {
++    if (!chdir($path)) {
++        # see if we can escalate privileges to get in
++        # (e.g. funny protection mask such as -w- instead of rwx)
++        $perm &= 07777;
++        my $nperm = $perm | 0700;
++        if (!($safe or $nperm == $perm or chmod($nperm, $path))) {
++            carp "cannot make $prefix$path read-write-exec";
++            return 0;
++        }
++        elsif (!chdir($path)) {
+ 	carp "Can't chdir to $prefix$path ($!)";
+ 	return 0;
++        }
+     }
+ 
+     # avoid a race condition where a directory may be replaced by a
+     # symlink between the lstat and the chdir
+-    my ($new_dev, $new_ino, $perm) = stat '.';
++    my ($new_dev, $new_ino);
++    ($new_dev, $new_ino, $perm) = stat '.';
+     unless ("$new_dev:$new_ino" eq "$dev:$ino")
+     {
+ 	croak "Directory $prefix$path changed before chdir, aborting";
+--- perl-5.8.8.orig/lib/ExtUtils/t/Command.t
++++ perl-5.8.8/lib/ExtUtils/t/Command.t
+@@ -23,7 +23,7 @@
+ }
+ 
+ BEGIN {
+-    use Test::More tests => 38;
++    use Test::More tests => 39;
+     use File::Spec;
+ }
+ 
+@@ -148,7 +148,7 @@
+             $^O eq 'NetWare' || $^O eq 'dos' || $^O eq 'cygwin'  ||
+             $^O eq 'MacOS'
+            ) {
+-            skip( "different file permission semantics on $^O", 4);
++            skip( "different file permission semantics on $^O", 5);
+         }
+ 
+         @ARGV = ('testdir');
+@@ -178,6 +178,7 @@
+ 
+         @ARGV = ('testdir');
+         rm_rf;
++        ok( ! -e 'testdir', 'rm_rf can delete a read-only dir' );
+     }
+ 
+ 

diff --git a/dev-lang/perl/files/perl-5.8.8-gcc42-command-line.patch b/dev-lang/perl/files/perl-5.8.8-gcc42-command-line.patch
new file mode 100644
index 0000000..6904136
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-gcc42-command-line.patch
@@ -0,0 +1,11 @@
+diff -Naur perl-5.8.8-orig/makedepend.SH perl-5.8.8/makedepend.SH
+--- perl-5.8.8-orig/makedepend.SH	2006-10-01 20:05:40.000000000 -0600
++++ perl-5.8.8/makedepend.SH	2006-10-01 20:07:03.000000000 -0600
+@@ -167,6 +167,7 @@
+             -e '/^#.*<builtin>/d' \
+             -e '/^#.*<built-in>/d' \
+             -e '/^#.*<command line>/d' \
++            -e '/^#.*<command-line>/d' \
+ 	    -e '/^#.*"-"/d' \
+ 	    -e '/: file path prefix .* never used$/d' \
+ 	    -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \

diff --git a/dev-lang/perl/files/perl-5.8.8-lib32.patch b/dev-lang/perl/files/perl-5.8.8-lib32.patch
new file mode 100644
index 0000000..88d5049
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-lib32.patch
@@ -0,0 +1,76 @@
+--- a/Configure
++++ b/Configure
+@@ -1255,12 +1255,12 @@ libnames=''
+ : change the next line if compiling for Xenix/286 on Xenix/386
+ xlibpth='/usr/lib/386 /lib/386'
+ : Possible local library directories to search.
+-loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib"
+-loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
++loclibpth="/usr/local/lib32 /opt/local/lib32 /usr/gnu/lib32"
++loclibpth="$loclibpth /opt/gnu/lib32 /usr/GNU/lib32 /opt/GNU/lib32"
+ 
+ : general looking path for locating libraries
+-glibpth="/lib /usr/lib $xlibpth"
+-glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
++glibpth="/lib32 /usr/lib32 $xlibpth"
++glibpth="$glibpth /usr/ccs/lib32 /usr/ucblib /usr/local/lib32"
+ test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
+ test -f /shlib/libc.so     && glibpth="/shlib $glibpth"
+ 
+@@ -5945,8 +5945,8 @@ fi
+ : Reproduce behavior of 5.005 and earlier, maybe drop that in 5.7.
+ case "$installstyle" in
+ '')	case "$prefix" in
+-		*perl*) dflt='lib';;
+-		*) dflt='lib/perl5' ;;
++		*perl*) dflt='lib32';;
++		*) dflt='lib32/perl5' ;;
+ 	esac
+ 	;;
+ *)	dflt="$installstyle" ;;
+@@ -5962,8 +5962,8 @@ installstyle=$dflt
+ : /opt/perl/lib/perl5... would be redundant.
+ : The default "style" setting is made in installstyle.U
+ case "$installstyle" in
+-*lib/perl5*) set dflt privlib lib/$package/$version ;;
+-*)	 set dflt privlib lib/$version ;;
++*lib32/perl5*) set dflt privlib lib32/$package/$version ;;
++*)	 set dflt privlib lib32/$version ;;
+ esac
+ eval $prefixit
+ $cat <<EOM
+@@ -6465,8 +6465,8 @@ siteprefixexp="$ansexp"
+ prog=`echo $package | $sed 's/-*[0-9.]*$//'`
+ case "$sitelib" in
+ '') case "$installstyle" in
+-	*lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;;
+-	*)	 dflt=$siteprefix/lib/site_$prog/$version ;;
++	*lib32/perl5*) dflt=$siteprefix/lib32/$package/site_$prog/$version ;;
++	*)	 dflt=$siteprefix/lib32/site_$prog/$version ;;
+ 	esac
+ 	;;
+ *)	dflt="$sitelib"
+@@ -6592,8 +6592,8 @@ case "$vendorprefix" in
+ 	'')
+ 		prog=`echo $package | $sed 's/-*[0-9.]*$//'`
+ 		case "$installstyle" in
+-		*lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;;
+-		*)	     dflt=$vendorprefix/lib/vendor_$prog/$version ;;
++		*lib32/perl5*) dflt=$vendorprefix/lib32/$package/vendor_$prog/$version ;;
++		*)	     dflt=$vendorprefix/lib32/vendor_$prog/$version ;;
+ 		esac
+ 		;;
+ 	*)	dflt="$vendorlib"
+@@ -10550,9 +10550,9 @@ else
+ 		else
+ 			for net in net socket
+ 			do
+-				if test -f /usr/lib/lib$net$_a; then
+-					( ($nm $nm_opt /usr/lib/lib$net$_a | eval $nm_extract) ||  \
+-					$ar t /usr/lib/lib$net$_a) 2>/dev/null >> libc.list
++				if test -f /usr/lib32/lib$net$_a; then
++					( ($nm $nm_opt /usr/lib32/lib$net$_a | eval $nm_extract) ||  \
++					$ar t /usr/lib32/lib$net$_a) 2>/dev/null >> libc.list
+ 					if $contains socket libc.list >/dev/null 2>&1; then
+ 						d_socket="$define"
+ 						socketlib="-l$net"

diff --git a/dev-lang/perl/files/perl-5.8.8-lib64.patch b/dev-lang/perl/files/perl-5.8.8-lib64.patch
new file mode 100644
index 0000000..4cc3aee
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-lib64.patch
@@ -0,0 +1,76 @@
+--- a/Configure
++++ b/Configure
+@@ -1255,12 +1255,12 @@ libnames=''
+ : change the next line if compiling for Xenix/286 on Xenix/386
+ xlibpth='/usr/lib/386 /lib/386'
+ : Possible local library directories to search.
+-loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib"
+-loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
++loclibpth="/usr/local/lib64 /opt/local/lib64 /usr/gnu/lib64"
++loclibpth="$loclibpth /opt/gnu/lib64 /usr/GNU/lib64 /opt/GNU/lib64"
+ 
+ : general looking path for locating libraries
+-glibpth="/lib /usr/lib $xlibpth"
+-glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
++glibpth="/lib64 /usr/lib64 $xlibpth"
++glibpth="$glibpth /usr/ccs/lib64 /usr/ucblib /usr/local/lib64"
+ test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
+ test -f /shlib/libc.so     && glibpth="/shlib $glibpth"
+ 
+@@ -5945,8 +5945,8 @@ fi
+ : Reproduce behavior of 5.005 and earlier, maybe drop that in 5.7.
+ case "$installstyle" in
+ '')	case "$prefix" in
+-		*perl*) dflt='lib';;
+-		*) dflt='lib/perl5' ;;
++		*perl*) dflt='lib64';;
++		*) dflt='lib64/perl5' ;;
+ 	esac
+ 	;;
+ *)	dflt="$installstyle" ;;
+@@ -5962,8 +5962,8 @@ installstyle=$dflt
+ : /opt/perl/lib/perl5... would be redundant.
+ : The default "style" setting is made in installstyle.U
+ case "$installstyle" in
+-*lib/perl5*) set dflt privlib lib/$package/$version ;;
+-*)	 set dflt privlib lib/$version ;;
++*lib64/perl5*) set dflt privlib lib64/$package/$version ;;
++*)	 set dflt privlib lib64/$version ;;
+ esac
+ eval $prefixit
+ $cat <<EOM
+@@ -6465,8 +6465,8 @@ siteprefixexp="$ansexp"
+ prog=`echo $package | $sed 's/-*[0-9.]*$//'`
+ case "$sitelib" in
+ '') case "$installstyle" in
+-	*lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;;
+-	*)	 dflt=$siteprefix/lib/site_$prog/$version ;;
++	*lib64/perl5*) dflt=$siteprefix/lib64/$package/site_$prog/$version ;;
++	*)	 dflt=$siteprefix/lib64/site_$prog/$version ;;
+ 	esac
+ 	;;
+ *)	dflt="$sitelib"
+@@ -6592,8 +6592,8 @@ case "$vendorprefix" in
+ 	'')
+ 		prog=`echo $package | $sed 's/-*[0-9.]*$//'`
+ 		case "$installstyle" in
+-		*lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;;
+-		*)	     dflt=$vendorprefix/lib/vendor_$prog/$version ;;
++		*lib64/perl5*) dflt=$vendorprefix/lib64/$package/vendor_$prog/$version ;;
++		*)	     dflt=$vendorprefix/lib64/vendor_$prog/$version ;;
+ 		esac
+ 		;;
+ 	*)	dflt="$vendorlib"
+@@ -10550,9 +10550,9 @@ else
+ 		else
+ 			for net in net socket
+ 			do
+-				if test -f /usr/lib/lib$net$_a; then
+-					( ($nm $nm_opt /usr/lib/lib$net$_a | eval $nm_extract) ||  \
+-					$ar t /usr/lib/lib$net$_a) 2>/dev/null >> libc.list
++				if test -f /usr/lib64/lib$net$_a; then
++					( ($nm $nm_opt /usr/lib64/lib$net$_a | eval $nm_extract) ||  \
++					$ar t /usr/lib64/lib$net$_a) 2>/dev/null >> libc.list
+ 					if $contains socket libc.list >/dev/null 2>&1; then
+ 						d_socket="$define"
+ 						socketlib="-l$net"

diff --git a/dev-lang/perl/files/perl-5.8.8-libnet-hostname.patch b/dev-lang/perl/files/perl-5.8.8-libnet-hostname.patch
new file mode 100644
index 0000000..60440e2
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-libnet-hostname.patch
@@ -0,0 +1,25 @@
+commit adeb94125ab7de8d20c129a905a5159972ad9fd1
+Author: Ricardo SIGNES <rjbs@cpan.org>
+Date:   Mon Oct 22 05:01:09 2007 -0400
+
+    hostname.t busted
+    Message-ID: <20071022130109.GA16748@knight>
+    
+    p4raw-id: //depot/perl@32180
+
+diff --git a/lib/Net/t/hostname.t b/lib/Net/t/hostname.t
+index 758d304..4013d74 100644
+--- a/lib/Net/t/hostname.t
++++ b/lib/Net/t/hostname.t
+@@ -26,7 +26,10 @@ print "1..5\n";
+ $domain = domainname();
+ 
+ if(defined $domain && $domain ne "") {
+- print "ok 1\n";
++ print "ok 1 - defined, non-empty domainname\n";
++}
++elsif (not defined $domain) {
++ print "ok 1 # SKIP domain not fully defined\n";
+ }
+ else {
+  print "not ok 1\n";

diff --git a/dev-lang/perl/files/perl-5.8.8-links.patch b/dev-lang/perl/files/perl-5.8.8-links.patch
new file mode 100644
index 0000000..22e74b3
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-links.patch
@@ -0,0 +1,86 @@
+--- lib/CPAN/FirstTime.pm.orig	2006-02-06 07:50:13.000000000 -0500
++++ lib/CPAN/FirstTime.pm	2006-02-06 07:50:28.000000000 -0500
+@@ -292,7 +292,7 @@ by ENTER.
+     my(@path) = split /$Config{'path_sep'}/, $ENV{'PATH'};
+     local $^W = $old_warn;
+     my $progname;
+-    for $progname (qw/gzip tar unzip make lynx wget ncftpget ncftp ftp gpg/){
++    for $progname (qw/gzip tar unzip make links lynx wget ncftpget ncftp ftp gpg/){
+       if ($^O eq 'MacOS') {
+           $CPAN::Config->{$progname} = 'not_here';
+           next;
+--- lib/CPAN.pm.orig	2006-02-06 07:54:43.000000000 -0500
++++ lib/CPAN.pm	2006-02-06 07:52:59.000000000 -0500
+@@ -2604,7 +2604,7 @@ sub hosthard {
+ 
+ 	$self->debug("localizing funkyftpwise[$url]") if $CPAN::DEBUG;
+ 	my($f,$funkyftp);
+-	for $f ('lynx','ncftpget','ncftp','wget') {
++	for $f ('links','lynx','ncftpget','ncftp','wget') {
+ 	  next unless exists $CPAN::Config->{$f};
+ 	  $funkyftp = $CPAN::Config->{$f};
+ 	  next unless defined $funkyftp;
+@@ -2613,7 +2613,7 @@ sub hosthard {
+ 	  ($asl_ungz = $aslocal) =~ s/\.gz//;
+           $asl_gz = "$asl_ungz.gz";
+ 	  my($src_switch) = "";
+-	  if ($f eq "lynx"){
++	  if (($f eq "lynx")||($f eq "links")){
+ 	    $src_switch = " -source";
+ 	  } elsif ($f eq "ncftp"){
+ 	    $src_switch = " -c";
+@@ -2637,10 +2637,14 @@ Trying with "$funkyftp$src_switch" to ge
+ 	  my($wstatus);
+ 	  if (($wstatus = system($system)) == 0
+ 	      &&
+-	      ($f eq "lynx" ?
++	      (($f eq "lynx" ?
+ 	       -s $asl_ungz # lynx returns 0 when it fails somewhere
+ 	       : 1
+-	      )
++	      )||
++	      ($f eq "links" ?
++	       -s $asl_ungz # links returns 0 when it fails somewhere
++	       : 1
++	      ))
+ 	     ) {
+ 	    if (-s $aslocal) {
+ 	      # Looks good
+@@ -2695,7 +2699,7 @@ returned status $estatus (wstat $wstatus
+ });
+ 	  }
+           return if $CPAN::Signal;
+-	} # lynx,ncftpget,ncftp
++	} # links,lynx,ncftpget,ncftp
+     } # host
+ }
+ 
+@@ -6022,7 +6026,7 @@ stalled.
+ 
+ The CPAN module is designed to automate the make and install of perl
+ modules and extensions. It includes some primitive searching capabilities and
+-knows how to use Net::FTP or LWP (or lynx or an external ftp client)
++knows how to use Net::FTP or LWP (or lynx or links or an external ftp client)
+ to fetch the raw data from the net.
+ 
+ Modules are fetched from one or more of the mirrored CPAN
+@@ -6975,16 +6979,18 @@ or
+ 
+ =back
+ 
+-=head2 Configuring lynx or ncftp for going through a firewall
++=head2 Configuring links or lynx or ncftp for going through a firewall
+ 
+ If you can go through your firewall with e.g. lynx, presumably with a
+ command such as
+ 
+     /usr/local/bin/lynx -pscott:tiger
++    /usr/local/bin/links -pscott:tiger
+ 
+ then you would configure CPAN.pm with the command
+ 
+     o conf lynx "/usr/local/bin/lynx -pscott:tiger"
++    o conf links "/usr/local/bin/links -pscott:tiger"
+ 
+ That's all. Similarly for ncftp or ftp, you would configure something
+ like

diff --git a/dev-lang/perl/files/perl-5.8.8-makedepend-syntax.patch b/dev-lang/perl/files/perl-5.8.8-makedepend-syntax.patch
new file mode 100644
index 0000000..147d499
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-makedepend-syntax.patch
@@ -0,0 +1,11 @@
+--- perl-5.8.8/makedepend.SH
++++ perl-5.8.8/makedepend.SH
+@@ -128,7 +128,7 @@
+     *.y) filebase=`basename $file .y` ;;
+     esac
+     case "$file" in
+-    */*) finc="-I`echo $file | sed 's#/[^/]*$##`" ;;
++    */*) finc="-I`echo $file | sed 's#/[^/]*$##'`" ;;
+     *)   finc= ;;
+     esac
+     $echo "Finding dependencies for $filebase$_o."

diff --git a/dev-lang/perl/files/perl-5.8.8-perlcc.patch b/dev-lang/perl/files/perl-5.8.8-perlcc.patch
new file mode 100644
index 0000000..5c4b778
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-perlcc.patch
@@ -0,0 +1,11 @@
+--- perl-5.8.8/ext/B/B/C.pm.orig	2007-06-07 21:12:04.000000000 +0300
++++ perl-5.8.8/ext/B/B/C.pm	2007-06-07 21:12:21.000000000 +0300
+@@ -647,7 +647,7 @@
+     return $sym if defined $sym;
+     my $val= $sv->NVX;
+     $val .= '.00' if $val =~ /^-?\d+$/;
+-    $xpvnvsect->add(sprintf("0, 0, 0, %d, %s", $sv->IVX, $val));
++    $xpvnvsect->add(sprintf("0, 0, 0, %d, %s", $sv->NVX, $val));
+     $svsect->add(sprintf("&xpvnv_list[%d], %lu, 0x%x",
+ 			 $xpvnvsect->index, $sv->REFCNT , $sv->FLAGS));
+     return savesym($sv, sprintf("&sv_list[%d]", $svsect->index));

diff --git a/dev-lang/perl/files/perl-5.8.8-reorder-INC.patch b/dev-lang/perl/files/perl-5.8.8-reorder-INC.patch
new file mode 100644
index 0000000..11c5692
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-reorder-INC.patch
@@ -0,0 +1,93 @@
+--- perl.c.orig	2006-01-24 09:57:33.000000000 -0500
++++ perl.c	2006-01-24 10:03:15.000000000 -0500
+@@ -4777,9 +4777,9 @@ S_init_perllib(pTHX)
+     incpush(APPLLIB_EXP, TRUE, TRUE, TRUE);
+ #endif
+ 
+-#ifdef ARCHLIB_EXP
+-    incpush(ARCHLIB_EXP, FALSE, FALSE, TRUE);
+-#endif
++    /* for configuration where /usr is mounted ro (CPAN::Config, Net::Config) */
++    incpush("/etc/perl", FALSE, FALSE, TRUE);
++
+ #ifdef MACOS_TRADITIONAL
+     {
+ 	Stat_t tmpstatbuf;
+@@ -4806,51 +4806,58 @@ S_init_perllib(pTHX)
+ #endif
+ #if defined(WIN32)
+     incpush(PRIVLIB_EXP, TRUE, FALSE, TRUE);
+-#else
+-    incpush(PRIVLIB_EXP, FALSE, FALSE, TRUE);
+ #endif
+ 
+-#ifdef SITEARCH_EXP
+-    /* sitearch is always relative to sitelib on Windows for
++#ifdef PERL_VENDORARCH_EXP
++    /* vendorarch is always relative to vendorlib on Windows for
+      * DLL-based path intuition to work correctly */
+ #  if !defined(WIN32)
+-    incpush(SITEARCH_EXP, FALSE, FALSE, TRUE);
++    incpush(PERL_VENDORARCH_EXP, FALSE, FALSE, TRUE);
+ #  endif
+ #endif
+ 
+-#ifdef SITELIB_EXP
++#ifdef PERL_VENDORLIB_EXP
+ #  if defined(WIN32)
+-    /* this picks up sitearch as well */
+-    incpush(SITELIB_EXP, TRUE, FALSE, TRUE);
++    incpush(PERL_VENDORLIB_EXP, TRUE, FALSE, TRUE);	/* this picks up vendorarch as well */
+ #  else
+-    incpush(SITELIB_EXP, FALSE, FALSE, TRUE);
++    incpush(PERL_VENDORLIB_EXP, FALSE, FALSE, TRUE);
+ #  endif
+ #endif
+ 
+-#ifdef SITELIB_STEM /* Search for version-specific dirs below here */
+-    incpush(SITELIB_STEM, FALSE, TRUE, TRUE);
++#ifdef PERL_VENDORLIB_STEM /* Search for version-specific dirs below here */
++    incpush(PERL_VENDORLIB_STEM, FALSE, TRUE, TRUE);
+ #endif
+ 
+-#ifdef PERL_VENDORARCH_EXP
+-    /* vendorarch is always relative to vendorlib on Windows for
++#ifdef SITEARCH_EXP
++    /* sitearch is always relative to sitelib on Windows for
+      * DLL-based path intuition to work correctly */
+ #  if !defined(WIN32)
+-    incpush(PERL_VENDORARCH_EXP, FALSE, FALSE, TRUE);
++    incpush(SITEARCH_EXP, FALSE, FALSE, TRUE);
+ #  endif
+ #endif
+ 
+-#ifdef PERL_VENDORLIB_EXP
++#ifdef SITELIB_EXP
+ #  if defined(WIN32)
+-    incpush(PERL_VENDORLIB_EXP, TRUE, FALSE, TRUE);	/* this picks up vendorarch as well */
++    /* this picks up sitearch as well */
++    incpush(SITELIB_EXP, TRUE, FALSE, TRUE);
+ #  else
+-    incpush(PERL_VENDORLIB_EXP, FALSE, FALSE, TRUE);
++    incpush(SITELIB_EXP, FALSE, FALSE, TRUE);
+ #  endif
+ #endif
+ 
+-#ifdef PERL_VENDORLIB_STEM /* Search for version-specific dirs below here */
+-    incpush(PERL_VENDORLIB_STEM, FALSE, TRUE, TRUE);
++#ifdef SITELIB_STEM /* Search for version-specific dirs below here */
++    incpush(SITELIB_STEM, FALSE, TRUE, TRUE);
+ #endif
+ 
++    incpush(ARCHLIB_EXP, FALSE, FALSE, TRUE);
++    incpush(PRIVLIB_EXP, FALSE, FALSE, TRUE);
++
++    /* Non-versioned site directory for local modules and for
++       compatability with the previous packages' site dirs */
++
++    incpush("/usr/local/lib/site_perl", TRUE, FALSE, TRUE);
++
++
+ #ifdef PERL_OTHERLIBDIRS
+     incpush(PERL_OTHERLIBDIRS, TRUE, TRUE, TRUE);
+ #endif

diff --git a/dev-lang/perl/files/perl-5.8.8-solaris-relocation.patch b/dev-lang/perl/files/perl-5.8.8-solaris-relocation.patch
new file mode 100644
index 0000000..f2df825
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-solaris-relocation.patch
@@ -0,0 +1,21 @@
+http://sourceware.org/ml/binutils/2005-12/msg00008.html
+--- hints/solaris_2.sh
++++ hints/solaris_2.sh
+@@ -289,7 +289,7 @@
+ 
+ END
+ 		ccdlflags="$ccdlflags -Wl,-E"
+-		lddlflags="$lddlflags -Wl,-E -G"
++		lddlflags="$lddlflags -shared"
+ 	    fi
+ 	fi
+ 
+@@ -555,7 +555,7 @@
+ 		    : #ccflags="$ccflags -Wa,`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`"
+ 		fi
+ 		ldflags="$ldflags -m64"
+-		lddlflags="$lddlflags -G -m64"
++		lddlflags="$lddlflags -m64"
+ 		;;
+ 	    *)
+ 		ccflags="$ccflags `getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`"

diff --git a/dev-lang/perl/files/perl-5.8.8-solaris11.patch b/dev-lang/perl/files/perl-5.8.8-solaris11.patch
new file mode 100644
index 0000000..6ba72e0
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-solaris11.patch
@@ -0,0 +1,14 @@
+Thanks to the nice OpenSolaris guys, I finally figured out that on
+OpenSolaris 11, the header dependencies have changed.
+
+--- perl.h
++++ perl.h
+@@ -1192,6 +1192,8 @@
+  */
+ 
+ #if defined(I_SYSMODE) && !defined(PERL_MICRO)
++#include <sys/stat.h>
++#include <sys/vnode.h>
+ #include <sys/mode.h>
+ #endif
+ 

diff --git a/dev-lang/perl/files/perl-5.8.8-usr-local.patch b/dev-lang/perl/files/perl-5.8.8-usr-local.patch
new file mode 100644
index 0000000..c44b786
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-usr-local.patch
@@ -0,0 +1,25 @@
+# remove /usr/local paths from all stuff thats used
+# in Configure script, locincpth, loclibpth and glibpth are sedded
+# afterwards not to conflict with the lib32 and lib64 patches
+
+diff -rubB perl-5.8.8.orig/Configure perl-5.8.8/Configure
+--- perl-5.8.8.orig/Configure	Tue Jan 15 10:41:29 2008
++++ perl-5.8.8/Configure	Tue Jan 15 10:44:59 2008
+@@ -4424,7 +4422,7 @@
+ : Set private lib path
+ case "$plibpth" in
+ '') if ./mips; then
+-		plibpth="$incpath/usr/lib /usr/local/lib /usr/ccs/lib"
++		plibpth="$incpath/usr/lib /usr/ccs/lib"
+ 	fi;;
+ esac
+ case "$libpth" in
+@@ -19144,7 +19142,7 @@
+ 	case "$ranlib" in
+ 	:) ranlib='';;
+ 	'')
+-		ranlib=`./loc ranlib X /usr/bin /bin /usr/local/bin`
++		ranlib=`./loc ranlib X /usr/bin /bin`
+ 		$test -f $ranlib || ranlib=''
+ 		;;
+ 	esac

diff --git a/dev-lang/perl/files/perl-5.8.8-utf8-boundary.patch b/dev-lang/perl/files/perl-5.8.8-utf8-boundary.patch
new file mode 100644
index 0000000..d0efa3f
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-utf8-boundary.patch
@@ -0,0 +1,57 @@
+--- regcomp.c	2006-01-08 12:59:27.000000000 -0800
++++ regcomp.c	2007-10-05 12:07:55.000000000 -0700
+@@ -135,7 +135,8 @@
+     I32		extralen;
+     I32		seen_zerolen;
+     I32		seen_evals;
+-    I32		utf8;
++    I32		utf8;			/* pattern is utf8 or not */
++    I32		orig_utf8;		/* pattern was originally utf8 */
+ #if ADD_TO_REGEXEC
+     char 	*starttry;		/* -Dr: where regtry was called. */
+ #define RExC_starttry	(pRExC_state->starttry)
+@@ -161,6 +162,7 @@
+ #define RExC_seen_zerolen	(pRExC_state->seen_zerolen)
+ #define RExC_seen_evals	(pRExC_state->seen_evals)
+ #define RExC_utf8	(pRExC_state->utf8)
++#define RExC_orig_utf8	(pRExC_state->orig_utf8)
+ 
+ #define	ISMULT1(c)	((c) == '*' || (c) == '+' || (c) == '?')
+ #define	ISMULT2(s)	((*s) == '*' || (*s) == '+' || (*s) == '?' || \
+@@ -1749,15 +1751,17 @@
+     if (exp == NULL)
+ 	FAIL("NULL regexp argument");
+ 
+-    RExC_utf8 = pm->op_pmdynflags & PMdf_CMP_UTF8;
++    RExC_orig_utf8 = RExC_utf8 = pm->op_pmdynflags & PMdf_CMP_UTF8;
+ 
+-    RExC_precomp = exp;
+     DEBUG_r({
+ 	 if (!PL_colorset) reginitcolors();
+ 	 PerlIO_printf(Perl_debug_log, "%sCompiling REx%s `%s%*s%s'\n",
+ 		       PL_colors[4],PL_colors[5],PL_colors[0],
+-		       (int)(xend - exp), RExC_precomp, PL_colors[1]);
++		       (int)(xend - exp), exp, PL_colors[1]);
+     });
++
++redo_first_pass:
++    RExC_precomp = exp;
+     RExC_flags = pm->op_pmflags;
+     RExC_sawback = 0;
+ 
+@@ -1783,6 +1787,17 @@
+ 	RExC_precomp = Nullch;
+ 	return(NULL);
+     }
++    if (RExC_utf8 && !RExC_orig_utf8) {
++        STRLEN len = xend-exp;
++        DEBUG_r(PerlIO_printf(Perl_debug_log,
++                    "UTF8 mismatch! Converting to utf8 for resizing and compile\n"));
++        exp = (char*)Perl_bytes_to_utf8(aTHX_ (U8*)exp, &len);
++        xend = exp + len;
++        RExC_orig_utf8 = RExC_utf8;
++        SAVEFREEPV(exp);
++        goto redo_first_pass;
++    }
++
+

diff --git a/dev-lang/perl/files/perl-cwd-prefix.patch b/dev-lang/perl/files/perl-cwd-prefix.patch
new file mode 100644
index 0000000..d6f0e9b
--- /dev/null
+++ b/dev-lang/perl/files/perl-cwd-prefix.patch
@@ -0,0 +1,15 @@
+Index: dist/Cwd/Cwd.pm
+===================================================================
+--- perl-5.16.3/dist/Cwd/Cwd.pm
++++ perl-5.16.3/dist/Cwd/Cwd.pm
+@@ -331,8 +331,8 @@ $METHOD_MAP{NT} = $METHOD_MAP{MSWin32};
+ # are safe.  This prevents _backtick_pwd() consulting $ENV{PATH}
+ # so everything works under taint mode.
+ my $pwd_cmd;
+-foreach my $try ('/bin/pwd',
+-		 '/usr/bin/pwd',
++foreach my $try ('@GENTOO_PORTAGE_EPREFIX@/bin/pwd',
++		 '@GENTOO_PORTAGE_EPREFIX@/usr/bin/pwd',
+ 		 '/QOpenSys/bin/pwd', # OS/400 PASE.
+ 		) {
+ 

diff --git a/dev-lang/perl/files/perl-fix_h2ph_include_quote.patch b/dev-lang/perl/files/perl-fix_h2ph_include_quote.patch
new file mode 100644
index 0000000..a71fbe6
--- /dev/null
+++ b/dev-lang/perl/files/perl-fix_h2ph_include_quote.patch
@@ -0,0 +1,61 @@
+Subject: Fix h2ph with double-quote-delimited #include directives.
+
+Allow the quote mark delimiter also for those #include directives chased with "h2ph -a".
+
+Debian bug #479762.
+
+Also add the directory prefix of the current file when the quote syntax is
+used; 'require' will only look in @INC, not the current directory.
+
+Upstream change 33835.
+--- a/utils/h2ph.PL
++++ b/utils/h2ph.PL
+@@ -85,7 +85,7 @@ sub reindent($) {
+ }
+ 
+ my ($t, $tab, %curargs, $new, $eval_index, $dir, $name, $args, $outfile);
+-my ($incl, $incl_type, $next);
++my ($incl, $incl_type, $incl_quote, $next);
+ while (defined (my $file = next_file())) {
+     if (-l $file and -d $file) {
+         link_if_possible($file) if ($opt_l);
+@@ -186,9 +186,10 @@ while (defined (my $file = next_file())) {
+                       print OUT $t,"unless(defined(\&$name)) {\n    sub $name () {\t",$new,";}\n}\n";
+ 		    }
+ 		}
+-	    } elsif (/^(include|import|include_next)\s*[<\"](.*)[>\"]/) {
++	    } elsif (/^(include|import|include_next)\s*([<\"])(.*)[>\"]/) {
+                 $incl_type = $1;
+-                $incl = $2;
++                $incl_quote = $2;
++                $incl = $3;
+                 if (($incl_type eq 'include_next') ||
+                     ($opt_e && exists($bad_file{$incl}))) {
+                     $incl =~ s/\.h$/.ph/;
+@@ -221,6 +222,10 @@ while (defined (my $file = next_file())) {
+ 			   "warn(\$\@) if \$\@;\n");
+                 } else {
+                     $incl =~ s/\.h$/.ph/;
++                    # copy the prefix in the quote syntax (#include "x.h") case
++                    if ($incl !~ m|/| && $incl_quote eq q{"} && $file =~ m|^(.*)/|) {
++                        $incl = "$1/$incl";
++                    }
+ 		    print OUT $t,"require '$incl';\n";
+                 }
+ 	    } elsif (/^ifdef\s+(\w+)/) {
+@@ -724,8 +729,13 @@ sub queue_includes_from
+                 $line .= <HEADER>;
+             }
+ 
+-            if ($line =~ /^#\s*include\s+<(.*?)>/) {
+-                push(@ARGV, $1) unless $Is_converted{$1};
++            if ($line =~ /^#\s*include\s+([<"])(.*?)[>"]/) {
++                my ($delimiter, $new_file) = ($1, $2);
++                # copy the prefix in the quote syntax (#include "x.h") case
++                if ($delimiter eq q{"} && $file =~ m|^(.*)/|) {
++                    $new_file = "$1/$new_file";
++                }
++                push(@ARGV, $new_file) unless $Is_converted{$new_file};
+             }
+         }
+     close HEADER;

diff --git a/dev-lang/perl/files/perl-h2ph-ansi-header.patch b/dev-lang/perl/files/perl-h2ph-ansi-header.patch
new file mode 100644
index 0000000..c7f0d72
--- /dev/null
+++ b/dev-lang/perl/files/perl-h2ph-ansi-header.patch
@@ -0,0 +1,11 @@
+--- perl-5.8.0-RC2/utils/h2ph_patched.pix	2002-06-24 12:52:31.000000000 +0200
++++ perl-5.8.0-RC2/utils/h2ph_patched	2002-06-24 12:54:32.000000000 +0200
+@@ -39,6 +39,8 @@
+ my ($t, $tab, %curargs, $new, $eval_index, $dir, $name, $args, $outfile);
+ my ($incl, $next);
+ while (defined (my $file = next_file())) {
++    next if $file eq 'machine/ansi.h';
++
+     if (-l $file and -d $file) {
+         link_if_possible($file) if ($opt_l);
+         next;

diff --git a/dev-lang/perl/files/perl-hppa-pa7200-configure.patch b/dev-lang/perl/files/perl-hppa-pa7200-configure.patch
new file mode 100644
index 0000000..396209a
--- /dev/null
+++ b/dev-lang/perl/files/perl-hppa-pa7200-configure.patch
@@ -0,0 +1,11 @@
+--- Configure.orig	2006-06-02 13:14:22.000000000 -0500
++++ Configure	2006-06-02 13:07:03.000000000 -0500
+@@ -2967,7 +2967,7 @@
+ : Try to determine whether config.sh was made on this system
+ case "$config_sh" in
+ '')
+-myuname=`$uname -a 2>/dev/null`
++myuname=`$uname -a | $sed -e "s/'//" 2>/dev/null`
+ $test -z "$myuname" && myuname=`hostname 2>/dev/null`
+ # tr '[A-Z]' '[a-z]' would not work in EBCDIC
+ # because the A-Z/a-z are not consecutive.

diff --git a/dev-lang/perl/files/perl-noksh.patch b/dev-lang/perl/files/perl-noksh.patch
new file mode 100644
index 0000000..4c33b3e
--- /dev/null
+++ b/dev-lang/perl/files/perl-noksh.patch
@@ -0,0 +1,16 @@
+diff -burN perl-5.8.4.orig/Configure perl-5.8.4/Configure
+--- perl-5.8.4.orig/Configure	2004-04-01 05:48:18.000000000 -0800
++++ perl-5.8.4/Configure	2004-06-09 12:02:54.694172368 -0700
+@@ -164,6 +164,12 @@
+ 	;;
+ esac
+ 
++# 2004.06.09 rac
++# having $newsh persist as ksh here is bad news if ksh doesn't really
++# exist. this causes us to toss away a perfectly good working test in
++# bash in favour of more exotic external options. see bug 42665.
++test -x "${newsh}" || unset newsh
++
+ : if needed set CDPATH to a harmless value that is not chatty
+ : avoid bash 2.02 problems with empty CDPATH.
+ case "$CDPATH" in

diff --git a/dev-lang/perl/files/perl-perldoc-emptydirs.patch b/dev-lang/perl/files/perl-perldoc-emptydirs.patch
new file mode 100644
index 0000000..650248c
--- /dev/null
+++ b/dev-lang/perl/files/perl-perldoc-emptydirs.patch
@@ -0,0 +1,10 @@
+--- lib/Pod/Perldoc.pm.orig	2003-10-22 13:02:15.000000000 -0700
++++ lib/Pod/Perldoc.pm	2003-10-22 13:02:36.000000000 -0700
+@@ -1513,6 +1513,7 @@
+     $self->{'target'} = (splitdir $s)[-1];  # XXX: why not use File::Basename?
+     for ($i=0; $i<@dirs; $i++) {
+ 	$dir = $dirs[$i];
++	next unless -d $dir;
+ 	($dir = VMS::Filespec::unixpath($dir)) =~ s!/\z!! if IS_VMS;
+ 	if (       (! $self->opt_m && ( $ret = $self->check_file($dir,"$s.pod")))
+ 		or ( $ret = $self->check_file($dir,"$s.pm"))

diff --git a/dev-lang/perl/files/perl-picdl.patch b/dev-lang/perl/files/perl-picdl.patch
new file mode 100644
index 0000000..f69a680
--- /dev/null
+++ b/dev-lang/perl/files/perl-picdl.patch
@@ -0,0 +1,13 @@
+--- Makefile.SH.orig	2003-11-29 01:16:15.000000000 -0800
++++ Makefile.SH	2003-11-29 01:16:52.000000000 -0800
+@@ -129,8 +129,8 @@
+ 
+ 	;;
+ 
+-*)	pldlflags=''
+-	static_target='static'
++*)	pldlflags="$cccdlflags"
++	static_target='static_pic'
+ 	;;
+ esac
+ 

diff --git a/dev-lang/perl/files/perl-prelink-lpthread.patch b/dev-lang/perl/files/perl-prelink-lpthread.patch
new file mode 100644
index 0000000..d38497e
--- /dev/null
+++ b/dev-lang/perl/files/perl-prelink-lpthread.patch
@@ -0,0 +1,11 @@
+--- hints/linux.sh.orig	2003-02-14 18:11:50.000000000 -0800
++++ hints/linux.sh	2003-02-14 18:12:01.000000000 -0800
+@@ -43,7 +43,7 @@
+ # 'kaffe' has a /usr/lib/libnet.so which is not at all relevent for perl.
+ set `echo X "$libswanted "| sed -e 's/ bsd / /' -e 's/ net / /'`
+ shift
+-libswanted="$*"
++libswanted="pthread $*"
+ 
+ # If you have glibc, then report the version for ./myconfig bug reporting.
+ # (Configure doesn't need to know the specific version since it just uses

diff --git a/dev-lang/perl/files/perl-regexp-nossp.patch b/dev-lang/perl/files/perl-regexp-nossp.patch
new file mode 100644
index 0000000..d0357cd
--- /dev/null
+++ b/dev-lang/perl/files/perl-regexp-nossp.patch
@@ -0,0 +1,11 @@
+--- cflags.SH.orig	2005-07-03 23:39:10.000000000 -0400
++++ cflags.SH	2005-07-03 23:39:47.000000000 -0400
+@@ -165,6 +165,8 @@
+ esac
+ 
+     : Can we perhaps use $ansi2knr here
++    [ "x$file" = xregcomp ] && export ccflags="${ccflags} -fno-stack-protector"
++    [ "x$file" = xregexec ] && export ccflags="${ccflags} -fno-stack-protector"
+     echo "$cc -c -DPERL_CORE $ccflags $optimize $warn"
+     eval "$also "'"$cc -DPERL_CORE -c $ccflags $optimize $warn"'
+ 

diff --git a/dev-lang/perl/metadata.xml b/dev-lang/perl/metadata.xml
new file mode 100644
index 0000000..1db3180
--- /dev/null
+++ b/dev-lang/perl/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>perl</herd>
+	<use>
+		<flag name='ithreads'>Enable Perl threads, has some compatibility problems</flag>
+		<flag name='perlsuid'>Enable Perl SUID install. Has some risks associated.</flag>
+	</use>
+</pkgmetadata>

diff --git a/dev-lang/perl/patches/cwd.patch b/dev-lang/perl/patches/cwd.patch
new file mode 100644
index 0000000..99fb2be
--- /dev/null
+++ b/dev-lang/perl/patches/cwd.patch
@@ -0,0 +1,13 @@
+Index: perl/files/eblits/src_prepare-v50160001.eblit
+===================================================================
+--- perl.orig/files/eblits/src_prepare-v50160001.eblit
++++ perl/files/eblits/src_prepare-v50160001.eblit
+@@ -57,6 +57,8 @@ eblit-perl-src_prepare() {
+ 		EPATCH_SINGLE_MSG="  ${patch} ..."
+ 		epatch "${WORKDIR}"/patches/${patch}
+ 	done < "${WORKDIR}"/patches/series
++	epatch "${FILESDIR}"/${PN}-cwd-prefix.patch
++	eprefixify dist/Cwd/Cwd.pm
+ 
+ 	src_prepare_update_patchlevel_h
+ 

diff --git a/dev-lang/perl/patches/perl.patch b/dev-lang/perl/patches/perl.patch
new file mode 100644
index 0000000..7a1c7ff
--- /dev/null
+++ b/dev-lang/perl/patches/perl.patch
@@ -0,0 +1,11 @@
+Index: perl/files/eblits/src_configure-v50160001.eblit
+===================================================================
+--- perl.orig/files/eblits/src_configure-v50160001.eblit
++++ perl/files/eblits/src_configure-v50160001.eblit
+@@ -141,5 +141,6 @@ eblit-perl-src_configure() {
+ 		-Dinstallusrbinperl='n' \
+ 		-Ud_csh \
+ 		-Uusenm \
++		-Dsh="${EPREFIX}"/bin/sh \
+ 		"${myconf[@]}" || die "Unable to configure"
+ }

diff --git a/dev-lang/perl/patches/series b/dev-lang/perl/patches/series
new file mode 100644
index 0000000..b7708a7
--- /dev/null
+++ b/dev-lang/perl/patches/series
@@ -0,0 +1,2 @@
+cwd.patch
+perl.patch

diff --git a/dev-lang/perl/perl-5.10.1.ebuild b/dev-lang/perl/perl-5.10.1.ebuild
new file mode 100644
index 0000000..e15f96c
--- /dev/null
+++ b/dev-lang/perl/perl-5.10.1.ebuild
@@ -0,0 +1,610 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.10.1.ebuild,v 1.23 2012/01/02 22:52:21 zmedico Exp $
+
+EAPI=2
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib
+
+PATCH_VER=9
+
+PERL_OLDVERSEN="5.10.0"
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+S="${WORKDIR}/${MY_P}"
+SRC_URI="mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+	http://dev.gentoo.org/~tove/files/${MY_P}-${PATCH_VER}.tar.bz2"
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="berkdb build debug doc gdbm ithreads"
+
+COMMON_DEPEND="berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	>=sys-devel/libperl-5.10.1
+	!!<sys-devel/libperl-5.10.1
+	app-arch/bzip2
+	sys-libs/zlib"
+DEPEND="${COMMON_DEPEND}
+	elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs )"
+RDEPEND="${COMMON_DEPEND}"
+PDEPEND=">=app-admin/perl-cleaner-2_pre090920"
+
+dual_scripts() {
+	src_remove_dual_scripts perl-core/Archive-Tar        1.52    ptar ptardiff
+	src_remove_dual_scripts perl-core/Digest-SHA         5.47    shasum
+	src_remove_dual_scripts perl-core/CPAN               1.9402  cpan
+	src_remove_dual_scripts perl-core/CPANPLUS           0.88    cpanp cpan2dist cpanp-run-perl
+	src_remove_dual_scripts perl-core/Encode             2.35    enc2xs piconv
+	src_remove_dual_scripts perl-core/ExtUtils-MakeMaker 6.55_02 instmodsh
+	src_remove_dual_scripts perl-core/Module-Build       0.34_02 config_data
+	src_remove_dual_scripts perl-core/Module-CoreList    2.18    corelist
+	src_remove_dual_scripts perl-core/PodParser          1.37    pod2usage podchecker podselect
+	src_remove_dual_scripts perl-core/Test-Harness       3.17    prove
+	src_remove_dual_scripts perl-core/podlators          2.2.2   pod2man pod2text
+}
+
+pkg_setup() {
+	LIBPERL="libperl$(get_libname ${MY_PV})"
+
+	if use ithreads ; then
+		ewarn "THREADS WARNING:"
+		ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
+		ewarn "interpreter-level threading enabled."
+		ewarn "Threading is not supported by all applications "
+		ewarn "that compile against perl. You use threading at "
+		ewarn "your own discretion. "
+		echo
+	fi
+	if has_version "~dev-lang/perl-5.8.8" ; then
+		ewarn "UPDATE THE PERL MODULES:"
+		ewarn "After updating dev-lang/perl you must reinstall"
+		ewarn "the installed perl modules."
+		ewarn "Use: perl-cleaner --all"
+	elif has_version dev-lang/perl ; then
+		# doesnot work
+		#if ! has_version dev-lang/perl[ithreads=,debug=] ; then
+		#if ! has_version dev-lang/perl[ithreads=] || ! has_version dev-lang/perl[debug=] ; then
+		if (   use ithreads && ! has_version dev-lang/perl[ithreads]   ) || \
+		   ( ! use ithreads &&   has_version dev-lang/perl[ithreads]   ) || \
+		   (   use debug    && ! has_version dev-lang/perl[debug]      ) || \
+		   ( ! use debug    &&   has_version dev-lang/perl[debug]      ) ; then
+			ewarn "TOGGLED USE-FLAGS WARNING:"
+			ewarn "You changed one of the use-flags ithreads or debug."
+			ewarn "You must rebuild all perl-modules installed."
+			ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
+		fi
+	fi
+	dual_scripts
+}
+
+src_prepare() {
+	EPATCH_SOURCE="${WORKDIR}/perl-patch" \
+	EPATCH_SUFFIX="diff" \
+	EPATCH_FORCE="yes" \
+	epatch
+
+	# pod/perltoc.pod fails
+	ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV})
+	ln -s ${LIBPERL} libperl$(get_libname )
+}
+
+myconf() {
+	# the myconf array is declared in src_configure
+	myconf=( "${myconf[@]}" "$@" )
+}
+
+src_configure() {
+	declare -a myconf
+
+	# some arches and -O do not mix :)
+	use ppc && replace-flags -O? -O1
+	# Perl has problems compiling with -Os in your flags with glibc
+	use elibc_uclibc || replace-flags "-Os" "-O2"
+	# This flag makes compiling crash in interesting ways
+	filter-flags "-malign-double"
+	# Fixes bug #97645
+	use ppc && filter-flags "-mpowerpc-gpopt"
+	# Fixes bug #143895 on gcc-4.1.1
+	filter-flags "-fsched2-use-superblocks"
+
+	# this is needed because gcc 3.3-compiled kernels will hang
+	# the machine trying to run this test - check with `Kumba
+	# <rac@gentoo.org> 2003.06.26
+	use mips && myconf -Dd_u32align
+
+	use sparc && myconf -Ud_longdbl
+
+	export LC_ALL="C"
+	[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
+
+	# 266337
+	export BUILD_BZIP2=0
+	export BZIP2_INCLUDE=/usr/include
+	export BZIP2_LIB=/usr/$(get_libdir)
+	cat <<-EOF > "${S}/ext/Compress-Raw-Zlib/config.in"
+		BUILD_ZLIB = False
+		INCLUDE = /usr/include
+		LIB = /usr/$(get_libdir)
+
+		OLD_ZLIB = False
+		GZIP_OS_CODE = AUTO_DETECT
+	EOF
+
+	case ${CHOST} in
+		*-freebsd*)   osname="freebsd" ;;
+		*-dragonfly*) osname="dragonfly" ;;
+		*-netbsd*)    osname="netbsd" ;;
+		*-openbsd*)   osname="openbsd" ;;
+		*-darwin*)    osname="darwin" ;;
+		*)            osname="linux" ;;
+	esac
+
+	if use ithreads ; then
+		mythreading="-multi"
+		myconf -Dusethreads
+		myarch=${CHOST}
+		myarch="${myarch%%-*}-${osname}-thread"
+	else
+		myarch=${CHOST}
+		myarch="${myarch%%-*}-${osname}"
+	fi
+	if use debug ; then
+		myarch="${myarch}-debug"
+	fi
+
+	# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
+
+	myndbm='U'
+	mygdbm='U'
+	mydb='U'
+
+	if use gdbm ; then
+		mygdbm='D'
+		myndbm='D'
+	fi
+	if use berkdb ; then
+		mydb='D'
+		has_version '=sys-libs/db-1*' && myndbm='D'
+	fi
+
+	myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
+
+	if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
+		ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
+		myconf -Ui_db -Ui_ndbm
+	fi
+
+	if use debug ; then
+		append-cflags "-g"
+		myconf -DDEBUGGING
+	fi
+
+	local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v} ${v}/${myarch}${mythreading}"; done )
+
+	[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
+
+	if [[ $(get_libdir) != "lib" ]] ; then
+		# We need to use " and not ', as the written config.sh use ' ...
+		myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
+	fi
+
+	sh Configure \
+		-des \
+		-Duseshrplib \
+		-Darchname="${myarch}" \
+		-Dcc="$(tc-getCC)" \
+		-Doptimize="${CFLAGS}" \
+		-Dscriptdir=/usr/bin \
+		-Dprefix='/usr' \
+		-Dvendorprefix='/usr' \
+		-Dsiteprefix='/usr' \
+		-Dprivlib="/usr/$(get_libdir)/perl5/${MY_PV}" \
+		-Darchlib="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}" \
+		-Dvendorlib="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}" \
+		-Dvendorarch="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}" \
+		-Dsitelib="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}" \
+		-Dsitearch="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${mythreading}" \
+		-Dman1dir=/usr/share/man/man1 \
+		-Dman3dir=/usr/share/man/man3 \
+		-Dinstallman1dir=/usr/share/man/man1 \
+		-Dinstallman3dir=/usr/share/man/man3 \
+		-Dman1ext='1' \
+		-Dman3ext='3pm' \
+		-Dlibperl="${LIBPERL}" \
+		-Dlocincpth=' ' \
+		-Duselargefiles \
+		-Dd_semctl_semun \
+		-Dinc_version_list="$inclist" \
+		-Dcf_by='Gentoo' \
+		-Dmyhostname='localhost' \
+		-Dperladmin='root@localhost' \
+		-Dinstallusrbinperl='n' \
+		-Ud_csh \
+		-Uusenm \
+		"${myconf[@]}" || die "Unable to configure"
+}
+
+src_test() {
+#	use elibc_uclibc && export MAKEOPTS="${MAKEOPTS} -j1"
+#	TEST_JOBS=$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs=)([[:digit:]]+).*/\2/' ) \
+		make test_harness || die "test failed"
+}
+
+src_install() {
+	export LC_ALL="C"
+	local i
+	local coredir="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}/CORE"
+
+	# Fix for "stupid" modules and programs
+	dodir /usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${mythreading}
+
+	local installtarget=install
+	if use build ; then
+		installtarget=install.perl
+	fi
+	make DESTDIR="${D}" ${installtarget} || die "Unable to make ${installtarget}"
+
+	rm -f "${D}"/usr/bin/perl
+	ln -s perl${MY_PV} "${D}"/usr/bin/perl
+
+	dolib.so "${D}"/${coredir}/${LIBPERL} || die
+	dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
+	dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname) || die
+	rm -f "${D}"/${coredir}/${LIBPERL}
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/${LIBPERL}
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname ${SHORT_PV})
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname)
+
+	rm -rf "${D}"/usr/share/man/man3 || die "Unable to remove module man pages"
+#	cp -f utils/h2ph utils/h2ph_patched
+#	epatch "${FILESDIR}"/${PN}-h2ph-ansi-header.patch
+#
+#	LD_LIBRARY_PATH=. ./perl -Ilib utils/h2ph_patched \
+#		-a -d "${D}"/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading} <<EOF
+#asm/termios.h
+#syscall.h
+#syslimits.h
+#syslog.h
+#sys/ioctl.h
+#sys/socket.h
+#sys/time.h
+#wait.h
+#EOF
+
+# vvv still needed?
+#	# This is to fix a missing c flag for backwards compat
+#	for i in $(find "${D}"/usr/$(get_libdir)/perl5 -iname "Config.pm" ) ; do
+#		sed -i \
+#			-e "s:ccflags=':ccflags='-DPERL5 :" \
+#			-e "s:cppflags=':cppflags='-DPERL5 :" \
+#			"${i}" || die "Sed failed"
+#	done
+
+	# A poor fix for the miniperl issues
+	dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+	fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+	dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
+	fperms 0755 /usr/bin/xsubpp
+
+	# This removes ${D} from Config.pm and .packlist
+	for i in $(find "${D}" -iname "Config.pm" -o -iname ".packlist" ) ; do
+		einfo "Removing ${D} from ${i}..."
+		sed -i -e "s:${D}::" "${i}" || die "Sed failed"
+	done
+
+	# Note: find out from psm why we would need/want this.
+	# ( use berkdb && has_version '=sys-libs/db-1*' ) ||
+	#	find "${D}" -name "*NDBM*" | xargs rm -f
+
+	dodoc Changes* README AUTHORS || die
+
+	if use doc ; then
+		# HTML Documentation
+		# We expect errors, warnings, and such with the following.
+
+		dodir /usr/share/doc/${PF}/html
+		./perl installhtml \
+			--podroot='.' \
+			--podpath='lib:ext:pod:vms' \
+			--recurse \
+			--htmldir="${D}/usr/share/doc/${PF}/html" \
+			--libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
+	fi
+
+	dual_scripts
+
+	if use build ; then
+		src_remove_extra_files
+	fi
+}
+
+pkg_postinst() {
+	local INC DIR file
+
+	dual_scripts
+
+	INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${MY_PV}'|etc|local|perl$/; print "$line\n" }')
+	if [[ "${ROOT}" = "/" ]] ; then
+		ebegin "Removing old .ph files"
+		for DIR in ${INC} ; do
+			if [[ -d "${ROOT}/${DIR}" ]] ; then
+				for file in $(find "${ROOT}/${DIR}" -name "*.ph" -type f ) ; do
+					rm -f "${ROOT}/${file}"
+					einfo "<< ${file}"
+				done
+			fi
+		done
+		# Silently remove the now empty dirs
+		for DIR in ${INC} ; do
+			if [[ -d "${ROOT}/${DIR}" ]] ; then
+				find "${ROOT}/${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+			fi
+		done
+		ebegin "Generating ConfigLocal.pm (ignore any error)"
+		enc2xs -C
+		ebegin "Converting C header files to the corresponding Perl format"
+		cd /usr/include
+		h2ph -Q *
+		h2ph -Q -r sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/*
+	fi
+
+# This has been moved into a function because rumor has it that a future release
+# of portage will allow us to check what version was just removed - which means
+# we will be able to invoke this only as needed :)
+	# Tried doing this via  -z, but $INC is too big...
+	if [[ "${INC}x" != "x" ]]; then
+		cleaner_msg
+		epause 5
+	fi
+}
+
+pkg_postrm(){
+	${IS_PERL} && dual_scripts
+}
+
+cleaner_msg() {
+	eerror "You have had multiple versions of perl. It is recommended"
+	eerror "that you run perl-cleaner now. perl-cleaner will"
+	eerror "assist with this transition. This script is capable"
+	eerror "of cleaning out old .ph files, rebuilding modules for "
+	eerror "your new version of perl, as well as re-emerging"
+	eerror "applications that compiled against your old libperl$(get_libname)"
+	eerror
+	eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
+	eerror "Part of the rebuilding of applications compiled against "
+	eerror "your old libperl involves temporarily unmerging"
+	eerror "them - interruptions could leave you with unmerged"
+	eerror "packages before they can be remerged."
+	eerror ""
+	eerror "If you have run perl-cleaner and a package still gives"
+	eerror "you trouble, and re-emerging it fails to correct"
+	eerror "the problem, please check http://bugs.gentoo.org/"
+	eerror "for more information or to report a bug."
+	eerror ""
+}
+
+src_remove_dual_scripts() {
+	local i pkg ver ff
+	pkg="$1"
+	ver="$2"
+	shift 2
+	if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ;then
+		for i in "$@" ; do
+			ff=`echo ${ROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*`
+			ff=${ff##*.1}
+			alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*"
+			alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/share/man/man1/${i}-[0-9]*"
+		done
+	elif has "${EBUILD_PHASE:-none}" "setup" ; then
+		for i in "$@" ; do
+			if [[ -f ${ROOT}/usr/bin/${i} && ! -h ${ROOT}/usr/bin/${i} ]] ; then
+				has_version ${pkg} && ewarn "You must reinstall $pkg !"
+				break
+			fi
+		done
+	else
+		for i in "$@" ; do
+			mv "${D}"/usr/bin/${i}{,-${ver}-${P}} || die
+			mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || \
+				echo "/usr/share/man/man1/${i}.1 does not exist!"
+		done
+	fi
+}
+
+src_remove_extra_files() {
+	local prefix="./usr" # ./ is important
+	local bindir="${prefix}/bin"
+	local libdir="${prefix}/$(get_libdir)"
+	local perlroot="${libdir}/perl5" # perl installs per-arch dirs
+	local prV="${perlroot}/${MY_PV}"
+	local prVA="${prV}/${myarch}${mythreading}"
+
+	# I made this list from the Mandr*, Debian and ex-Connectiva perl-base list
+	# Then, I added several files to get GNU autotools running
+	# FIXME: should this be in a separated file to be sourced?
+	local MINIMAL_PERL_INSTALL="
+	${bindir}/h2ph
+	${bindir}/perl
+	${bindir}/perl${MY_PV}
+	${bindir}/pod2man
+	${libdir}/${LIBPERL}
+	${libdir}/libperl$(get_libname)
+	${libdir}/libperl$(get_libname ${SHORT_PV})
+	${prV}/attributes.pm
+	${prV}/AutoLoader.pm
+	${prV}/autouse.pm
+	${prV}/base.pm
+	${prV}/bigint.pm
+	${prV}/bignum.pm
+	${prV}/bigrat.pm
+	${prV}/blib.pm
+	${prV}/bytes_heavy.pl
+	${prV}/bytes.pm
+	${prV}/Carp/Heavy.pm
+	${prV}/Carp.pm
+	${prV}/charnames.pm
+	${prV}/Class/Struct.pm
+	${prV}/constant.pm
+	${prV}/diagnostics.pm
+	${prV}/DirHandle.pm
+	${prV}/Exporter/Heavy.pm
+	${prV}/Exporter.pm
+	${prV}/ExtUtils/Command.pm
+	${prV}/ExtUtils/Constant.pm
+	${prV}/ExtUtils/Embed.pm
+	${prV}/ExtUtils/Installed.pm
+	${prV}/ExtUtils/Install.pm
+	${prV}/ExtUtils/Liblist.pm
+	${prV}/ExtUtils/MakeMaker.pm
+	${prV}/ExtUtils/Manifest.pm
+	${prV}/ExtUtils/Mkbootstrap.pm
+	${prV}/ExtUtils/Mksymlists.pm
+	${prV}/ExtUtils/MM_Any.pm
+	${prV}/ExtUtils/MM_MacOS.pm
+	${prV}/ExtUtils/MM.pm
+	${prV}/ExtUtils/MM_Unix.pm
+	${prV}/ExtUtils/MY.pm
+	${prV}/ExtUtils/Packlist.pm
+	${prV}/ExtUtils/testlib.pm
+	${prV}/ExtUtils/Miniperl.pm
+	${prV}/ExtUtils/Command/MM.pm
+	${prV}/ExtUtils/Constant/Base.pm
+	${prV}/ExtUtils/Constant/Utils.pm
+	${prV}/ExtUtils/Constant/XS.pm
+	${prV}/ExtUtils/Liblist/Kid.pm
+	${prV}/ExtUtils/MakeMaker/bytes.pm
+	${prV}/ExtUtils/MakeMaker/vmsish.pm
+	${prV}/fields.pm
+	${prV}/File/Basename.pm
+	${prV}/File/Compare.pm
+	${prV}/File/Copy.pm
+	${prV}/File/Find.pm
+	${prV}/FileHandle.pm
+	${prV}/File/Path.pm
+	${prV}/File/Spec.pm
+	${prV}/File/Spec/Unix.pm
+	${prV}/File/stat.pm
+	${prV}/filetest.pm
+	${prVA}/attrs.pm
+	${prVA}/auto/attrs
+	${prVA}/auto/Cwd/Cwd$(get_libname)
+	${prVA}/auto/Data/Dumper/Dumper$(get_libname)
+	${prVA}/auto/DynaLoader/dl_findfile.al
+	${prVA}/auto/Fcntl/Fcntl$(get_libname)
+	${prVA}/auto/File/Glob/Glob$(get_libname)
+	${prVA}/auto/IO/IO$(get_libname)
+	${prVA}/auto/POSIX/autosplit.ix
+	${prVA}/auto/POSIX/fstat.al
+	${prVA}/auto/POSIX/load_imports.al
+	${prVA}/auto/POSIX/POSIX.bs
+	${prVA}/auto/POSIX/POSIX$(get_libname)
+	${prVA}/auto/POSIX/stat.al
+	${prVA}/auto/POSIX/tmpfile.al
+	${prVA}/auto/re/re$(get_libname)
+	${prVA}/auto/Socket/Socket$(get_libname)
+	${prVA}/auto/Storable/autosplit.ix
+	${prVA}/auto/Storable/_retrieve.al
+	${prVA}/auto/Storable/retrieve.al
+	${prVA}/auto/Storable/Storable$(get_libname)
+	${prVA}/auto/Storable/_store.al
+	${prVA}/auto/Storable/store.al
+	${prVA}/B/Deparse.pm
+	${prVA}/B.pm
+	${prVA}/Config.pm
+	${prVA}/Config_heavy.pl
+	${prVA}/CORE/libperl$(get_libname)
+	${prVA}/Cwd.pm
+	${prVA}/Data/Dumper.pm
+	${prVA}/DynaLoader.pm
+	${prVA}/encoding.pm
+	${prVA}/Errno.pm
+	${prVA}/Fcntl.pm
+	${prVA}/File/Glob.pm
+	${prVA}/_h2ph_pre.ph
+	${prVA}/IO/File.pm
+	${prVA}/IO/Handle.pm
+	${prVA}/IO/Pipe.pm
+	${prVA}/IO.pm
+	${prVA}/IO/Seekable.pm
+	${prVA}/IO/Select.pm
+	${prVA}/IO/Socket.pm
+	${prVA}/lib.pm
+	${prVA}/NDBM_File.pm
+	${prVA}/ops.pm
+	${prVA}/POSIX.pm
+	${prVA}/re.pm
+	${prVA}/Socket.pm
+	${prVA}/Storable.pm
+	${prVA}/threads
+	${prVA}/threads.pm
+	${prVA}/XSLoader.pm
+	${prV}/Getopt/Long.pm
+	${prV}/Getopt/Std.pm
+	${prV}/if.pm
+	${prV}/integer.pm
+	${prV}/IO/Socket/INET.pm
+	${prV}/IO/Socket/UNIX.pm
+	${prV}/IPC/Open2.pm
+	${prV}/IPC/Open3.pm
+	${prV}/less.pm
+	${prV}/List/Util.pm
+	${prV}/locale.pm
+	${prV}/open.pm
+	${prV}/overload.pm
+	${prV}/Pod/InputObjects.pm
+	${prV}/Pod/Man.pm
+	${prV}/Pod/ParseLink.pm
+	${prV}/Pod/Parser.pm
+	${prV}/Pod/Select.pm
+	${prV}/Pod/Text.pm
+	${prV}/Pod/Usage.pm
+	${prV}/PerlIO.pm
+	${prV}/Scalar/Util.pm
+	${prV}/SelectSaver.pm
+	${prV}/sigtrap.pm
+	${prV}/sort.pm
+	${prV}/stat.pl
+	${prV}/strict.pm
+	${prV}/subs.pm
+	${prV}/Symbol.pm
+	${prV}/Text/ParseWords.pm
+	${prV}/Text/Tabs.pm
+	${prV}/Text/Wrap.pm
+	${prV}/Time/Local.pm
+	${prV}/unicore/Canonical.pl
+	${prV}/unicore/Exact.pl
+	${prV}/unicore/lib/gc_sc/Digit.pl
+	${prV}/unicore/lib/gc_sc/Word.pl
+	${prV}/unicore/PVA.pl
+	${prV}/unicore/To/Fold.pl
+	${prV}/unicore/To/Lower.pl
+	${prV}/unicore/To/Upper.pl
+	${prV}/utf8_heavy.pl
+	${prV}/utf8.pm
+	${prV}/vars.pm
+	${prV}/vmsish.pm
+	${prV}/warnings
+	${prV}/warnings.pm
+	${prV}/warnings/register.pm"
+
+	pushd "${D}" > /dev/null
+	# Remove cruft
+	einfo "Removing files that are not in the minimal install"
+	echo "${MINIMAL_PERL_INSTALL}"
+	for f in $(find . -type f ) ; do
+		has "${f}" ${MINIMAL_PERL_INSTALL} || rm -f "${f}"
+	done
+	# Remove empty directories
+	find . -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+	popd > /dev/null
+}

diff --git a/dev-lang/perl/perl-5.12.3-r1.ebuild b/dev-lang/perl/perl-5.12.3-r1.ebuild
new file mode 100644
index 0000000..5856f99
--- /dev/null
+++ b/dev-lang/perl/perl-5.12.3-r1.ebuild
@@ -0,0 +1,638 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.12.3-r1.ebuild,v 1.8 2012/01/02 22:52:21 zmedico Exp $
+
+EAPI=3
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib
+
+PATCH_VER=4
+
+PERL_OLDVERSEN="5.12.2 5.12.1 5.12.0"
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+	mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://cpan/authors/id/R/RJ/RJBS/${MY_P}.tar.bz2
+	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+	http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2"
+#	mirror://cpan/src/${MY_P}.tar.bz2
+#	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+IUSE="berkdb build debug doc gdbm ithreads"
+
+COMMON_DEPEND="berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	>=sys-devel/libperl-5.10.1
+	!!<sys-devel/libperl-5.10.1
+	app-arch/bzip2
+	sys-libs/zlib"
+DEPEND="${COMMON_DEPEND}
+	elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs )"
+RDEPEND="${COMMON_DEPEND}"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+	src_remove_dual_scripts perl-core/Archive-Tar        1.54    ptar ptardiff
+	src_remove_dual_scripts perl-core/Digest-SHA         5.47    shasum
+	src_remove_dual_scripts perl-core/CPAN               1.9456  cpan
+	src_remove_dual_scripts perl-core/CPANPLUS           0.90    cpanp cpan2dist cpanp-run-perl
+	src_remove_dual_scripts perl-core/Encode             2.39    enc2xs piconv
+	src_remove_dual_scripts perl-core/ExtUtils-MakeMaker 6.56    instmodsh
+	src_remove_dual_scripts perl-core/Module-Build       0.3603  config_data
+	src_remove_dual_scripts perl-core/Module-CoreList    2.43    corelist
+	src_remove_dual_scripts perl-core/PodParser          1.37    pod2usage podchecker podselect
+	src_remove_dual_scripts perl-core/Test-Harness       3.17    prove
+	src_remove_dual_scripts perl-core/podlators          2.3.1   pod2man pod2text
+}
+
+pkg_setup() {
+	case ${CHOST} in
+		*-freebsd*)   osname="freebsd" ;;
+		*-dragonfly*) osname="dragonfly" ;;
+		*-netbsd*)    osname="netbsd" ;;
+		*-openbsd*)   osname="openbsd" ;;
+		*-darwin*)    osname="darwin" ;;
+		*)            osname="linux" ;;
+	esac
+
+	if use ithreads ; then
+		mythreading="-multi"
+		myarch="${CHOST%%-*}-${osname}-thread"
+	else
+		myarch="${CHOST%%-*}-${osname}"
+	fi
+	if use debug ; then
+		myarch="${myarch}-debug"
+	fi
+
+	LIBPERL="libperl$(get_libname ${MY_PV} )"
+	PRIV_LIB="/usr/$(get_libdir)/perl5/${MY_PV}"
+	ARCH_LIB="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
+	SITE_LIB="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}"
+	SITE_ARCH="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${mythreading}"
+	VENDOR_LIB="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}"
+	VENDOR_ARCH="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}"
+
+	if use ithreads ; then
+		echo ""
+		ewarn "THREADS WARNING:"
+		ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
+		ewarn "interpreter-level threading enabled."
+		ewarn "Threading is not supported by all applications "
+		ewarn "that compile against perl. You use threading at "
+		ewarn "your own discretion. "
+	fi
+	if has_version "<dev-lang/perl-${SHORT_PV}" ; then
+		echo ""
+		ewarn "UPDATE THE PERL MODULES:"
+		ewarn "After updating dev-lang/perl you must reinstall"
+		ewarn "the installed perl modules."
+		ewarn "Use: perl-cleaner --all"
+	elif has_version dev-lang/perl ; then
+		# doesnot work
+		#if ! has_version dev-lang/perl[ithreads=,debug=] ; then
+		#if ! has_version dev-lang/perl[ithreads=] || ! has_version dev-lang/perl[debug=] ; then
+		if (   use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
+		   ( ! use ithreads &&   has_version dev-lang/perl[ithreads] ) || \
+		   (   use debug    && ! has_version dev-lang/perl[debug]    ) || \
+		   ( ! use debug    &&   has_version dev-lang/perl[debug]    ) ; then
+			echo ""
+			ewarn "TOGGLED USE-FLAGS WARNING:"
+			ewarn "You changed one of the use-flags ithreads or debug."
+			ewarn "You must rebuild all perl-modules installed."
+			ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
+		fi
+	fi
+	dual_scripts
+}
+
+src_prepare_update_patchlevel_h() {
+	[[ -f ${WORKDIR}/perl-patch/series ]] || return 0
+
+	while read patch level ; do
+		sed -i -e "s/^\t,NULL$/	,\"${patch//__/_}\"\n&/" "${S}"/patchlevel.h || die
+	done < "${WORKDIR}"/perl-patch/series
+}
+
+src_prepare() {
+	EPATCH_SOURCE="${WORKDIR}/perl-patch" \
+	EPATCH_SUFFIX="diff" \
+	EPATCH_FORCE="yes" \
+	EPATCH_OPTS="-p1" \
+	epatch
+
+	src_prepare_update_patchlevel_h
+
+	# pod/perltoc.pod fails
+	# lib/ExtUtils/t/Embed.t fails
+	ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV})
+	ln -s ${LIBPERL} libperl$(get_libname )
+}
+
+myconf() {
+	# the myconf array is declared in src_configure
+	myconf=( "${myconf[@]}" "$@" )
+}
+
+src_configure() {
+	declare -a myconf
+
+	export LC_ALL="C"
+	[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
+
+	# some arches and -O do not mix :)
+	use ppc && replace-flags -O? -O1
+	# Perl has problems compiling with -Os in your flags with glibc
+	use elibc_uclibc || replace-flags "-Os" "-O2"
+	# This flag makes compiling crash in interesting ways
+	filter-flags "-malign-double"
+	# Fixes bug #97645
+	use ppc && filter-flags "-mpowerpc-gpopt"
+	# Fixes bug #143895 on gcc-4.1.1
+	filter-flags "-fsched2-use-superblocks"
+
+	# this is needed because gcc 3.3-compiled kernels will hang
+	# the machine trying to run this test - check with `Kumba
+	# <rac@gentoo.org> 2003.06.26
+	use mips && myconf -Dd_u32align
+
+	use sparc && myconf -Ud_longdbl
+
+	# 266337
+	export BUILD_BZIP2=0
+	export BZIP2_INCLUDE=/usr/include
+	export BZIP2_LIB=/usr/$(get_libdir)
+	cat <<-EOF > "${S}/cpan/Compress-Raw-Zlib/config.in"
+		BUILD_ZLIB = False
+		INCLUDE = /usr/include
+		LIB = /usr/$(get_libdir)
+
+		OLD_ZLIB = False
+		GZIP_OS_CODE = AUTO_DETECT
+	EOF
+
+	# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
+
+	myndbm='U'
+	mygdbm='U'
+	mydb='U'
+
+	if use gdbm ; then
+		mygdbm='D'
+		myndbm='D'
+	fi
+	if use berkdb ; then
+		mydb='D'
+		has_version '=sys-libs/db-1*' && myndbm='D'
+	fi
+
+	myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
+
+	if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
+		ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
+		myconf -Ui_db -Ui_ndbm
+	fi
+
+	use ithreads && myconf -Dusethreads
+
+	if use debug ; then
+		append-cflags "-g"
+		myconf -DDEBUGGING
+	elif [[ ${CFLAGS} == *-g* ]] ; then
+		myconf -DDEBUGGING=-g
+	else
+		myconf -DDEBUGGING=none
+	fi
+
+	if [[ -n ${PERL_OLDVERSEN} ]] ; then
+		local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarch}${mythreading} ${v} "; done )
+		myconf -Dinc_version_list="$inclist"
+	fi
+
+	[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
+
+	if [[ $(get_libdir) != "lib" ]] ; then
+		# We need to use " and not ', as the written config.sh use ' ...
+		myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
+	fi
+
+	sh Configure \
+		-des \
+		-Duseshrplib \
+		-Darchname="${myarch}" \
+		-Dcc="$(tc-getCC)" \
+		-Doptimize="${CFLAGS}" \
+		-Dldflags="${LDFLAGS}" \
+		-Dprefix='/usr' \
+		-Dsiteprefix='/usr' \
+		-Dvendorprefix='/usr' \
+		-Dscriptdir='/usr/bin' \
+		-Dprivlib="${PRIV_LIB}" \
+		-Darchlib="${ARCH_LIB}" \
+		-Dsitelib="${SITE_LIB}" \
+		-Dsitearch="${SITE_ARCH}" \
+		-Dvendorlib="${VENDOR_LIB}" \
+		-Dvendorarch="${VENDOR_ARCH}" \
+		-Dman1dir=/usr/share/man/man1 \
+		-Dman3dir=/usr/share/man/man3 \
+		-Dsiteman1dir=/usr/share/man/man1 \
+		-Dsiteman3dir=/usr/share/man/man3 \
+		-Dvendorman1dir=/usr/share/man/man1 \
+		-Dvendorman3dir=/usr/share/man/man3 \
+		-Dman1ext='1' \
+		-Dman3ext='3pm' \
+		-Dlibperl="${LIBPERL}" \
+		-Dlocincpth=' ' \
+		-Duselargefiles \
+		-Dd_semctl_semun \
+		-Dcf_by='Gentoo' \
+		-Dmyhostname='localhost' \
+		-Dperladmin='root@localhost' \
+		-Dinstallusrbinperl='n' \
+		-Ud_csh \
+		-Uusenm \
+		"${myconf[@]}" || die "Unable to configure"
+}
+
+src_compile() {
+	# bug 331113
+	emake -j1 || die "emake failed"
+}
+
+src_test() {
+	if [[ ${EUID} == 0 ]] ; then
+		ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
+		return 0
+	fi
+	use elibc_uclibc && export MAKEOPTS+=" -j1"
+	TEST_JOBS=$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs=)([[:digit:]]+).*/\2/' ) \
+		make test_harness || die "test failed"
+}
+
+src_install() {
+	local i
+	local coredir="${ARCH_LIB}/CORE"
+
+#	# Fix for "stupid" modules and programs
+#	dodir ${SITE_ARCH} ${SITE_LIB}
+#	keepdir "${VENDOR_ARCH}" #338802 for enc2xs
+
+	local installtarget=install
+	if use build ; then
+		installtarget=install.perl
+	fi
+	make DESTDIR="${D}" ${installtarget} || die "Unable to make ${installtarget}"
+
+	rm -f "${D}"/usr/bin/perl
+	ln -s perl${MY_PV} "${D}"/usr/bin/perl
+
+	dolib.so "${D}"/${coredir}/${LIBPERL} || die
+	dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
+	dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname) || die
+	rm -f "${D}"/${coredir}/${LIBPERL}
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/${LIBPERL}
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname ${SHORT_PV})
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname)
+
+	rm -rf "${D}"/usr/share/man/man3 || die "Unable to remove module man pages"
+
+#	# A poor fix for the miniperl issues
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
+#	fperms 0755 /usr/bin/xsubpp
+
+	# This removes ${D} from Config.pm
+	for i in $(find "${D}" -iname "Config.pm" ) ; do
+		einfo "Removing ${D} from ${i}..."
+		sed -i -e "s:${D}::" "${i}" || die "Sed failed"
+	done
+
+	find "${D}" -type f -name .packlist -delete || die
+
+	# Note: find out from psm why we would need/want this.
+	# ( use berkdb && has_version '=sys-libs/db-1*' ) ||
+	#	find "${D}" -name "*NDBM*" | xargs rm -f
+
+	dodoc Changes* README AUTHORS || die
+
+	if use doc ; then
+		# HTML Documentation
+		# We expect errors, warnings, and such with the following.
+
+		dodir /usr/share/doc/${PF}/html
+		LD_LIBRARY_PATH=. ./perl installhtml \
+			--podroot='.' \
+			--podpath='lib:ext:pod:vms' \
+			--recurse \
+			--htmldir="${D}/usr/share/doc/${PF}/html" \
+			--libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
+	fi
+
+	if use build ; then
+		src_remove_extra_files
+	fi
+
+	dual_scripts
+}
+
+pkg_postinst() {
+	dual_scripts
+
+	if [[ "${ROOT}" = "/" ]] ; then
+		local INC DIR file
+		INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${MY_PV}'|etc|local|perl$/; print "$line\n" }')
+		einfo "Removing old .ph files"
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
+					rm -f "${file}"
+					einfo "<< ${file}"
+				done
+			fi
+		done
+		# Silently remove the now empty dirs
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+			fi
+		done
+		if ! use build ; then
+			ebegin "Generating ConfigLocal.pm (ignore any error)"
+			enc2xs -C
+		fi
+
+		einfo "Converting C header files to the corresponding Perl format (ignore any error)"
+		pushd /usr/include >/dev/null
+			h2ph -Q -a -d ${ARCH_LIB} \
+				asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \
+				sys/socket.h sys/time.h wait.h sysexits.h
+		popd >/dev/null
+
+# This has been moved into a function because rumor has it that a future release
+# of portage will allow us to check what version was just removed - which means
+# we will be able to invoke this only as needed :)
+		# Tried doing this via  -z, but $INC is too big...
+		#if [[ "${INC}x" != "x" ]]; then
+		#	cleaner_msg
+		#fi
+	fi
+}
+
+pkg_postrm(){
+	dual_scripts
+
+#	if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then
+#		ebegin "Removing ConfigLocal.pm"
+#		rm "${ARCH_LIB}/Encode/ConfigLocal.pm"
+#	fi
+}
+
+cleaner_msg() {
+	eerror "You have had multiple versions of perl. It is recommended"
+	eerror "that you run perl-cleaner now. perl-cleaner will"
+	eerror "assist with this transition. This script is capable"
+	eerror "of cleaning out old .ph files, rebuilding modules for "
+	eerror "your new version of perl, as well as re-emerging"
+	eerror "applications that compiled against your old libperl$(get_libname)"
+	eerror
+	eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
+	eerror "Part of the rebuilding of applications compiled against "
+	eerror "your old libperl involves temporarily unmerging"
+	eerror "them - interruptions could leave you with unmerged"
+	eerror "packages before they can be remerged."
+	eerror ""
+	eerror "If you have run perl-cleaner and a package still gives"
+	eerror "you trouble, and re-emerging it fails to correct"
+	eerror "the problem, please check http://bugs.gentoo.org/"
+	eerror "for more information or to report a bug."
+	eerror ""
+}
+
+src_remove_dual_scripts() {
+
+	local i pkg ver ff
+	pkg="$1"
+	ver="$2"
+	shift 2
+	if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ;then
+		for i in "$@" ; do
+			alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*"
+			if [[ ${i} != cpanp-run-perl ]] ; then
+				ff=`echo ${ROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*`
+				ff=${ff##*.1}
+				alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/share/man/man1/${i}-[0-9]*"
+			fi
+		done
+	elif has "${EBUILD_PHASE:-none}" "setup" ; then
+		for i in "$@" ; do
+			if [[ -f ${ROOT}/usr/bin/${i} && ! -h ${ROOT}/usr/bin/${i} ]] ; then
+				has_version ${pkg} && ewarn "You must reinstall $pkg !"
+				break
+			fi
+		done
+	else
+		for i in "$@" ; do
+			if ! [[ -f "${D}"/usr/bin/${i} ]] ; then
+				use build || ewarn "/usr/bin/${i} does not exist!"
+				continue
+			fi
+			mv "${D}"/usr/bin/${i}{,-${ver}-${P}} || die
+			if [[ -f ${D}/usr/share/man/man1/${i}.1 ]] ; then
+				mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || die
+			else
+				echo "/usr/share/man/man1/${i}.1 does not exist!"
+			fi
+		done
+	fi
+}
+
+src_remove_extra_files() {
+	local prefix="./usr" # ./ is important
+	local bindir="${prefix}/bin"
+	local libdir="${prefix}/$(get_libdir)"
+
+	# I made this list from the Mandr*, Debian and ex-Connectiva perl-base list
+	# Then, I added several files to get GNU autotools running
+	# FIXME: should this be in a separated file to be sourced?
+	local MINIMAL_PERL_INSTALL="
+	${bindir}/h2ph
+	${bindir}/perl
+	${bindir}/perl${MY_PV}
+	${bindir}/pod2man
+	${libdir}/${LIBPERL}
+	${libdir}/libperl$(get_libname)
+	${libdir}/libperl$(get_libname ${SHORT_PV})
+	.${PRIV_LIB}/AutoLoader.pm
+	.${PRIV_LIB}/B/Deparse.pm
+	.${PRIV_LIB}/Carp.pm
+	.${PRIV_LIB}/Carp/Heavy.pm
+	.${PRIV_LIB}/Class/Struct.pm
+	.${PRIV_LIB}/DirHandle.pm
+	.${PRIV_LIB}/Exporter.pm
+	.${PRIV_LIB}/Exporter/Heavy.pm
+	.${PRIV_LIB}/ExtUtils/Command.pm
+	.${PRIV_LIB}/ExtUtils/Command/MM.pm
+	.${PRIV_LIB}/ExtUtils/Constant.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Base.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Utils.pm
+	.${PRIV_LIB}/ExtUtils/Constant/XS.pm
+	.${PRIV_LIB}/ExtUtils/Embed.pm
+	.${PRIV_LIB}/ExtUtils/Install.pm
+	.${PRIV_LIB}/ExtUtils/Installed.pm
+	.${PRIV_LIB}/ExtUtils/Liblist.pm
+	.${PRIV_LIB}/ExtUtils/Liblist/Kid.pm
+	.${PRIV_LIB}/ExtUtils/MM.pm
+	.${PRIV_LIB}/ExtUtils/MM_Any.pm
+	.${PRIV_LIB}/ExtUtils/MM_MacOS.pm
+	.${PRIV_LIB}/ExtUtils/MM_Unix.pm
+	.${PRIV_LIB}/ExtUtils/MY.pm
+	.${PRIV_LIB}/ExtUtils/MakeMaker.pm
+	.${PRIV_LIB}/ExtUtils/Manifest.pm
+	.${PRIV_LIB}/ExtUtils/Miniperl.pm
+	.${PRIV_LIB}/ExtUtils/Mkbootstrap.pm
+	.${PRIV_LIB}/ExtUtils/Mksymlists.pm
+	.${PRIV_LIB}/ExtUtils/Packlist.pm
+	.${PRIV_LIB}/ExtUtils/testlib.pm
+	.${PRIV_LIB}/File/Basename.pm
+	.${PRIV_LIB}/File/Compare.pm
+	.${PRIV_LIB}/File/Copy.pm
+	.${PRIV_LIB}/File/Find.pm
+	.${PRIV_LIB}/File/Path.pm
+	.${PRIV_LIB}/File/stat.pm
+	.${PRIV_LIB}/FileHandle.pm
+	.${PRIV_LIB}/Getopt/Long.pm
+	.${PRIV_LIB}/Getopt/Std.pm
+	.${PRIV_LIB}/IPC/Open2.pm
+	.${PRIV_LIB}/IPC/Open3.pm
+	.${PRIV_LIB}/PerlIO.pm
+	.${PRIV_LIB}/Pod/InputObjects.pm
+	.${PRIV_LIB}/Pod/Man.pm
+	.${PRIV_LIB}/Pod/ParseLink.pm
+	.${PRIV_LIB}/Pod/Parser.pm
+	.${PRIV_LIB}/Pod/Select.pm
+	.${PRIV_LIB}/Pod/Text.pm
+	.${PRIV_LIB}/Pod/Usage.pm
+	.${PRIV_LIB}/SelectSaver.pm
+	.${PRIV_LIB}/Symbol.pm
+	.${PRIV_LIB}/Text/ParseWords.pm
+	.${PRIV_LIB}/Text/Tabs.pm
+	.${PRIV_LIB}/Text/Wrap.pm
+	.${PRIV_LIB}/Tie/Hash.pm
+	.${PRIV_LIB}/Time/Local.pm
+	.${PRIV_LIB}/XSLoader.pm
+	.${PRIV_LIB}/autouse.pm
+	.${PRIV_LIB}/base.pm
+	.${PRIV_LIB}/bigint.pm
+	.${PRIV_LIB}/bignum.pm
+	.${PRIV_LIB}/bigrat.pm
+	.${PRIV_LIB}/blib.pm
+	.${PRIV_LIB}/bytes.pm
+	.${PRIV_LIB}/bytes_heavy.pl
+	.${PRIV_LIB}/charnames.pm
+	.${PRIV_LIB}/constant.pm
+	.${PRIV_LIB}/diagnostics.pm
+	.${PRIV_LIB}/fields.pm
+	.${PRIV_LIB}/filetest.pm
+	.${PRIV_LIB}/if.pm
+	.${PRIV_LIB}/integer.pm
+	.${PRIV_LIB}/less.pm
+	.${PRIV_LIB}/locale.pm
+	.${PRIV_LIB}/open.pm
+	.${PRIV_LIB}/overload.pm
+	.${PRIV_LIB}/sigtrap.pm
+	.${PRIV_LIB}/sort.pm
+	.${PRIV_LIB}/stat.pl
+	.${PRIV_LIB}/strict.pm
+	.${PRIV_LIB}/subs.pm
+	.${PRIV_LIB}/unicore/To/Fold.pl
+	.${PRIV_LIB}/unicore/To/Lower.pl
+	.${PRIV_LIB}/unicore/To/Upper.pl
+	.${PRIV_LIB}/utf8.pm
+	.${PRIV_LIB}/utf8_heavy.pl
+	.${PRIV_LIB}/vars.pm
+	.${PRIV_LIB}/vmsish.pm
+	.${PRIV_LIB}/warnings
+	.${PRIV_LIB}/warnings.pm
+	.${PRIV_LIB}/warnings/register.pm
+	.${ARCH_LIB}/B.pm
+	.${ARCH_LIB}/CORE/libperl$(get_libname)
+	.${ARCH_LIB}/Config.pm
+	.${ARCH_LIB}/Config_heavy.pl
+	.${ARCH_LIB}/Cwd.pm
+	.${ARCH_LIB}/Data/Dumper.pm
+	.${ARCH_LIB}/DynaLoader.pm
+	.${ARCH_LIB}/Errno.pm
+	.${ARCH_LIB}/Fcntl.pm
+	.${ARCH_LIB}/File/Glob.pm
+	.${ARCH_LIB}/File/Spec.pm
+	.${ARCH_LIB}/File/Spec/Unix.pm
+	.${ARCH_LIB}/IO.pm
+	.${ARCH_LIB}/IO/File.pm
+	.${ARCH_LIB}/IO/Handle.pm
+	.${ARCH_LIB}/IO/Pipe.pm
+	.${ARCH_LIB}/IO/Seekable.pm
+	.${ARCH_LIB}/IO/Select.pm
+	.${ARCH_LIB}/IO/Socket.pm
+	.${ARCH_LIB}/IO/Socket/INET.pm
+	.${ARCH_LIB}/IO/Socket/UNIX.pm
+	.${ARCH_LIB}/List/Util.pm
+	.${ARCH_LIB}/NDBM_File.pm
+	.${ARCH_LIB}/POSIX.pm
+	.${ARCH_LIB}/Scalar/Util.pm
+	.${ARCH_LIB}/Socket.pm
+	.${ARCH_LIB}/Storable.pm
+	.${ARCH_LIB}/attributes.pm
+	.${ARCH_LIB}/auto/Cwd/Cwd$(get_libname)
+	.${ARCH_LIB}/auto/Data/Dumper/Dumper$(get_libname)
+	.${ARCH_LIB}/auto/DynaLoader/dl_findfile.al
+	.${ARCH_LIB}/auto/Fcntl/Fcntl$(get_libname)
+	.${ARCH_LIB}/auto/File/Glob/Glob$(get_libname)
+	.${ARCH_LIB}/auto/IO/IO$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/POSIX$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/autosplit.ix
+	.${ARCH_LIB}/auto/POSIX/fstat.al
+	.${ARCH_LIB}/auto/POSIX/load_imports.al
+	.${ARCH_LIB}/auto/POSIX/stat.al
+	.${ARCH_LIB}/auto/POSIX/tmpfile.al
+	.${ARCH_LIB}/auto/Socket/Socket$(get_libname)
+	.${ARCH_LIB}/auto/Storable/Storable$(get_libname)
+	.${ARCH_LIB}/auto/Storable/_retrieve.al
+	.${ARCH_LIB}/auto/Storable/_store.al
+	.${ARCH_LIB}/auto/Storable/autosplit.ix
+	.${ARCH_LIB}/auto/Storable/retrieve.al
+	.${ARCH_LIB}/auto/Storable/store.al
+	.${ARCH_LIB}/auto/re/re$(get_libname)
+	.${ARCH_LIB}/encoding.pm
+	.${ARCH_LIB}/lib.pm
+	.${ARCH_LIB}/ops.pm
+	.${ARCH_LIB}/re.pm
+	.${ARCH_LIB}/threads.pm
+"
+
+	pushd "${D}" > /dev/null
+	# Remove cruft
+	einfo "Removing files that are not in the minimal install"
+	echo "${MINIMAL_PERL_INSTALL}"
+	for f in $(find . -type f ) ; do
+		has "${f}" ${MINIMAL_PERL_INSTALL} || rm -f "${f}"
+	done
+	# Remove empty directories
+	find . -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+	#for f in ${MINIMAL_PERL_INSTALL} ; do
+	#	[[ -e $f ]] || ewarn "$f unused in MINIMAL_PERL_INSTALL"
+	#done
+	popd > /dev/null
+}

diff --git a/dev-lang/perl/perl-5.12.4-r1.ebuild b/dev-lang/perl/perl-5.12.4-r1.ebuild
new file mode 100644
index 0000000..2d1245f
--- /dev/null
+++ b/dev-lang/perl/perl-5.12.4-r1.ebuild
@@ -0,0 +1,634 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.12.4-r1.ebuild,v 1.8 2012/01/02 22:52:21 zmedico Exp $
+
+EAPI=4
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib
+
+PATCH_VER=1
+
+PERL_OLDVERSEN="5.12.3 5.12.2 5.12.1 5.12.0"
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+	mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://cpan/authors/id/L/LB/LBROCARD/${MY_P}.tar.bz2
+	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+	http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2"
+#	mirror://cpan/src/${MY_P}.tar.bz2
+#	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+IUSE="berkdb build debug doc gdbm ithreads"
+
+COMMON_DEPEND="berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	>=sys-devel/libperl-5.10.1
+	!!<sys-devel/libperl-5.10.1
+	app-arch/bzip2
+	sys-libs/zlib"
+DEPEND="${COMMON_DEPEND}
+	elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs )"
+RDEPEND="${COMMON_DEPEND}"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+	src_remove_dual_scripts perl-core/Archive-Tar        1.54      ptar ptardiff
+	src_remove_dual_scripts perl-core/Digest-SHA         5.47      shasum
+	src_remove_dual_scripts perl-core/CPAN               1.945.600 cpan
+	src_remove_dual_scripts perl-core/CPANPLUS           0.900.0   cpanp cpan2dist cpanp-run-perl
+	src_remove_dual_scripts perl-core/Encode             2.39      enc2xs piconv
+	src_remove_dual_scripts perl-core/ExtUtils-MakeMaker 6.56      instmodsh
+	src_remove_dual_scripts perl-core/ExtUtils-ParseXS   2.210.0   xsubpp
+	src_remove_dual_scripts perl-core/Module-Build       0.3603    config_data
+	src_remove_dual_scripts perl-core/Module-CoreList    2.500.0   corelist
+	src_remove_dual_scripts perl-core/PodParser          1.370.0   pod2usage podchecker podselect
+	src_remove_dual_scripts perl-core/Test-Harness       3.17      prove
+	src_remove_dual_scripts perl-core/podlators          2.3.1     pod2man pod2text
+}
+
+pkg_setup() {
+	case ${CHOST} in
+		*-freebsd*)   osname="freebsd" ;;
+		*-dragonfly*) osname="dragonfly" ;;
+		*-netbsd*)    osname="netbsd" ;;
+		*-openbsd*)   osname="openbsd" ;;
+		*-darwin*)    osname="darwin" ;;
+		*)            osname="linux" ;;
+	esac
+
+	if use ithreads ; then
+		mythreading="-multi"
+		myarch="${CHOST%%-*}-${osname}-thread"
+	else
+		myarch="${CHOST%%-*}-${osname}"
+	fi
+	if use debug ; then
+		myarch="${myarch}-debug"
+	fi
+
+	LIBPERL="libperl$(get_libname ${MY_PV} )"
+	PRIV_LIB="/usr/$(get_libdir)/perl5/${MY_PV}"
+	ARCH_LIB="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
+	SITE_LIB="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}"
+	SITE_ARCH="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${mythreading}"
+	VENDOR_LIB="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}"
+	VENDOR_ARCH="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}"
+
+	if use ithreads ; then
+		echo ""
+		ewarn "THREADS WARNING:"
+		ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
+		ewarn "interpreter-level threading enabled."
+		ewarn "Threading is not supported by all applications "
+		ewarn "that compile against perl. You use threading at "
+		ewarn "your own discretion. "
+	fi
+	if has_version "<dev-lang/perl-${SHORT_PV}" ; then
+		echo ""
+		ewarn "UPDATE THE PERL MODULES:"
+		ewarn "After updating dev-lang/perl you must reinstall"
+		ewarn "the installed perl modules."
+		ewarn "Use: perl-cleaner --all"
+	elif has_version dev-lang/perl ; then
+		# doesnot work
+		#if ! has_version dev-lang/perl[ithreads=,debug=] ; then
+		#if ! has_version dev-lang/perl[ithreads=] || ! has_version dev-lang/perl[debug=] ; then
+		if (   use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
+		   ( ! use ithreads &&   has_version dev-lang/perl[ithreads] ) || \
+		   (   use debug    && ! has_version dev-lang/perl[debug]    ) || \
+		   ( ! use debug    &&   has_version dev-lang/perl[debug]    ) ; then
+			echo ""
+			ewarn "TOGGLED USE-FLAGS WARNING:"
+			ewarn "You changed one of the use-flags ithreads or debug."
+			ewarn "You must rebuild all perl-modules installed."
+			ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
+		fi
+	fi
+	dual_scripts
+}
+
+src_prepare_update_patchlevel_h() {
+	[[ -f ${WORKDIR}/perl-patch/series ]] || return 0
+
+	while read patch level ; do
+		sed -i -e "s/^\t,NULL$/	,\"${patch//__/_}\"\n&/" "${S}"/patchlevel.h || die
+	done < "${WORKDIR}"/perl-patch/series
+}
+
+src_prepare() {
+	EPATCH_SOURCE="${WORKDIR}/perl-patch" \
+	EPATCH_SUFFIX="diff" \
+	EPATCH_FORCE="yes" \
+	EPATCH_OPTS="-p1" \
+	epatch
+
+	src_prepare_update_patchlevel_h
+
+	# pod/perltoc.pod fails
+	# lib/ExtUtils/t/Embed.t fails
+	ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV})
+	ln -s ${LIBPERL} libperl$(get_libname )
+}
+
+myconf() {
+	# the myconf array is declared in src_configure
+	myconf=( "${myconf[@]}" "$@" )
+}
+
+src_configure() {
+	declare -a myconf
+
+	export LC_ALL="C"
+	[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
+
+	# some arches and -O do not mix :)
+	use ppc && replace-flags -O? -O1
+	# Perl has problems compiling with -Os in your flags with glibc
+	use elibc_uclibc || replace-flags "-Os" "-O2"
+	# This flag makes compiling crash in interesting ways
+	filter-flags "-malign-double"
+	# Fixes bug #97645
+	use ppc && filter-flags "-mpowerpc-gpopt"
+	# Fixes bug #143895 on gcc-4.1.1
+	filter-flags "-fsched2-use-superblocks"
+
+	use sparc && myconf -Ud_longdbl
+
+	# 266337
+	export BUILD_BZIP2=0
+	export BZIP2_INCLUDE=/usr/include
+	export BZIP2_LIB=/usr/$(get_libdir)
+	cat <<-EOF > "${S}/cpan/Compress-Raw-Zlib/config.in"
+		BUILD_ZLIB = False
+		INCLUDE = /usr/include
+		LIB = /usr/$(get_libdir)
+
+		OLD_ZLIB = False
+		GZIP_OS_CODE = AUTO_DETECT
+	EOF
+
+	# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
+
+	myndbm='U'
+	mygdbm='U'
+	mydb='U'
+
+	if use gdbm ; then
+		mygdbm='D'
+		myndbm='D'
+	fi
+	if use berkdb ; then
+		mydb='D'
+		has_version '=sys-libs/db-1*' && myndbm='D'
+	fi
+
+	myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
+
+	if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
+		ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
+		myconf -Ui_db -Ui_ndbm
+	fi
+
+	use ithreads && myconf -Dusethreads
+
+	if use debug ; then
+		append-cflags "-g"
+		myconf -DDEBUGGING
+	elif [[ ${CFLAGS} == *-g* ]] ; then
+		myconf -DDEBUGGING=-g
+	else
+		myconf -DDEBUGGING=none
+	fi
+
+	if [[ -n ${PERL_OLDVERSEN} ]] ; then
+		local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarch}${mythreading} ${v} "; done )
+		myconf -Dinc_version_list="$inclist"
+	fi
+
+	[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
+
+	if [[ $(get_libdir) != "lib" ]] ; then
+		# We need to use " and not ', as the written config.sh use ' ...
+		myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
+	fi
+
+	sh Configure \
+		-des \
+		-Duseshrplib \
+		-Darchname="${myarch}" \
+		-Dcc="$(tc-getCC)" \
+		-Doptimize="${CFLAGS}" \
+		-Dldflags="${LDFLAGS}" \
+		-Dprefix='/usr' \
+		-Dsiteprefix='/usr' \
+		-Dvendorprefix='/usr' \
+		-Dscriptdir='/usr/bin' \
+		-Dprivlib="${PRIV_LIB}" \
+		-Darchlib="${ARCH_LIB}" \
+		-Dsitelib="${SITE_LIB}" \
+		-Dsitearch="${SITE_ARCH}" \
+		-Dvendorlib="${VENDOR_LIB}" \
+		-Dvendorarch="${VENDOR_ARCH}" \
+		-Dman1dir=/usr/share/man/man1 \
+		-Dman3dir=/usr/share/man/man3 \
+		-Dsiteman1dir=/usr/share/man/man1 \
+		-Dsiteman3dir=/usr/share/man/man3 \
+		-Dvendorman1dir=/usr/share/man/man1 \
+		-Dvendorman3dir=/usr/share/man/man3 \
+		-Dman1ext='1' \
+		-Dman3ext='3pm' \
+		-Dlibperl="${LIBPERL}" \
+		-Dlocincpth=' ' \
+		-Duselargefiles \
+		-Dd_semctl_semun \
+		-Dcf_by='Gentoo' \
+		-Dmyhostname='localhost' \
+		-Dperladmin='root@localhost' \
+		-Dinstallusrbinperl='n' \
+		-Ud_csh \
+		-Uusenm \
+		"${myconf[@]}" || die "Unable to configure"
+}
+
+src_compile() {
+	# bug 331113
+	emake -j1 || die "emake failed"
+}
+
+src_test() {
+	if [[ ${EUID} == 0 ]] ; then
+		ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
+		return 0
+	fi
+	use elibc_uclibc && export MAKEOPTS+=" -j1"
+	TEST_JOBS=$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs=)([[:digit:]]+).*/\2/' ) \
+		make test_harness || die "test failed"
+}
+
+src_install() {
+	local i
+	local coredir="${ARCH_LIB}/CORE"
+
+#	# Fix for "stupid" modules and programs
+#	dodir ${SITE_ARCH} ${SITE_LIB}
+#	keepdir "${VENDOR_ARCH}" #338802 for enc2xs
+
+	local installtarget=install
+	if use build ; then
+		installtarget=install.perl
+	fi
+	make DESTDIR="${D}" ${installtarget} || die "Unable to make ${installtarget}"
+
+	rm -f "${D}"/usr/bin/perl
+	ln -s perl${MY_PV} "${D}"/usr/bin/perl
+
+	dolib.so "${D}"/${coredir}/${LIBPERL} || die
+	dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
+	dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname) || die
+	rm -f "${D}"/${coredir}/${LIBPERL}
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/${LIBPERL}
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname ${SHORT_PV})
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname)
+
+	rm -rf "${D}"/usr/share/man/man3 || die "Unable to remove module man pages"
+
+#	# A poor fix for the miniperl issues
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
+#	fperms 0755 /usr/bin/xsubpp
+
+	# This removes ${D} from Config.pm
+	for i in $(find "${D}" -iname "Config.pm" ) ; do
+		einfo "Removing ${D} from ${i}..."
+		sed -i -e "s:${D}::" "${i}" || die "Sed failed"
+	done
+
+	find "${D}" -type f -name .packlist -delete || die
+
+	# Note: find out from psm why we would need/want this.
+	# ( use berkdb && has_version '=sys-libs/db-1*' ) ||
+	#	find "${D}" -name "*NDBM*" | xargs rm -f
+
+	dodoc Changes* README AUTHORS || die
+
+	if use doc ; then
+		# HTML Documentation
+		# We expect errors, warnings, and such with the following.
+
+		dodir /usr/share/doc/${PF}/html
+		LD_LIBRARY_PATH=. ./perl installhtml \
+			--podroot='.' \
+			--podpath='lib:ext:pod:vms' \
+			--recurse \
+			--htmldir="${D}/usr/share/doc/${PF}/html" \
+			--libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
+	fi
+
+	if use build ; then
+		src_remove_extra_files
+	fi
+
+	dual_scripts
+}
+
+pkg_postinst() {
+	dual_scripts
+
+	if [[ "${ROOT}" = "/" ]] ; then
+		local INC DIR file
+		INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${MY_PV}'|etc|local|perl$/; print "$line\n" }')
+		einfo "Removing old .ph files"
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
+					rm -f "${file}"
+					einfo "<< ${file}"
+				done
+			fi
+		done
+		# Silently remove the now empty dirs
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+			fi
+		done
+		if ! use build ; then
+			ebegin "Generating ConfigLocal.pm (ignore any error)"
+			enc2xs -C
+		fi
+
+		einfo "Converting C header files to the corresponding Perl format (ignore any error)"
+		pushd /usr/include >/dev/null
+			h2ph -Q -a -d ${ARCH_LIB} \
+				asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \
+				sys/socket.h sys/time.h wait.h sysexits.h
+		popd >/dev/null
+
+# This has been moved into a function because rumor has it that a future release
+# of portage will allow us to check what version was just removed - which means
+# we will be able to invoke this only as needed :)
+		# Tried doing this via  -z, but $INC is too big...
+		#if [[ "${INC}x" != "x" ]]; then
+		#	cleaner_msg
+		#fi
+	fi
+}
+
+pkg_postrm(){
+	dual_scripts
+
+#	if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then
+#		ebegin "Removing ConfigLocal.pm"
+#		rm "${ARCH_LIB}/Encode/ConfigLocal.pm"
+#	fi
+}
+
+cleaner_msg() {
+	eerror "You have had multiple versions of perl. It is recommended"
+	eerror "that you run perl-cleaner now. perl-cleaner will"
+	eerror "assist with this transition. This script is capable"
+	eerror "of cleaning out old .ph files, rebuilding modules for "
+	eerror "your new version of perl, as well as re-emerging"
+	eerror "applications that compiled against your old libperl$(get_libname)"
+	eerror
+	eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
+	eerror "Part of the rebuilding of applications compiled against "
+	eerror "your old libperl involves temporarily unmerging"
+	eerror "them - interruptions could leave you with unmerged"
+	eerror "packages before they can be remerged."
+	eerror ""
+	eerror "If you have run perl-cleaner and a package still gives"
+	eerror "you trouble, and re-emerging it fails to correct"
+	eerror "the problem, please check http://bugs.gentoo.org/"
+	eerror "for more information or to report a bug."
+	eerror ""
+}
+
+src_remove_dual_scripts() {
+
+	local i pkg ver ff
+	pkg="$1"
+	ver="$2"
+	shift 2
+	if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ;then
+		for i in "$@" ; do
+			alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*"
+			if [[ ${i} != cpanp-run-perl ]] ; then
+				ff=`echo ${ROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*`
+				ff=${ff##*.1}
+				alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/share/man/man1/${i}-[0-9]*"
+			fi
+		done
+	elif has "${EBUILD_PHASE:-none}" "setup" ; then
+		for i in "$@" ; do
+			if [[ -f ${ROOT}/usr/bin/${i} && ! -h ${ROOT}/usr/bin/${i} ]] ; then
+				has_version ${pkg} && ewarn "You must reinstall $pkg !"
+				break
+			fi
+		done
+	else
+		for i in "$@" ; do
+			if ! [[ -f "${D}"/usr/bin/${i} ]] ; then
+				use build || ewarn "/usr/bin/${i} does not exist!"
+				continue
+			fi
+			mv "${D}"/usr/bin/${i}{,-${ver}-${P}} || die
+			if [[ -f ${D}/usr/share/man/man1/${i}.1 ]] ; then
+				mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || die
+			else
+				echo "/usr/share/man/man1/${i}.1 does not exist!"
+			fi
+		done
+	fi
+}
+
+src_remove_extra_files() {
+	local prefix="./usr" # ./ is important
+	local bindir="${prefix}/bin"
+	local libdir="${prefix}/$(get_libdir)"
+
+	# I made this list from the Mandr*, Debian and ex-Connectiva perl-base list
+	# Then, I added several files to get GNU autotools running
+	# FIXME: should this be in a separated file to be sourced?
+	local MINIMAL_PERL_INSTALL="
+	${bindir}/h2ph
+	${bindir}/perl
+	${bindir}/perl${MY_PV}
+	${bindir}/pod2man
+	${libdir}/${LIBPERL}
+	${libdir}/libperl$(get_libname)
+	${libdir}/libperl$(get_libname ${SHORT_PV})
+	.${PRIV_LIB}/AutoLoader.pm
+	.${PRIV_LIB}/B/Deparse.pm
+	.${PRIV_LIB}/Carp.pm
+	.${PRIV_LIB}/Carp/Heavy.pm
+	.${PRIV_LIB}/Class/Struct.pm
+	.${PRIV_LIB}/DirHandle.pm
+	.${PRIV_LIB}/Exporter.pm
+	.${PRIV_LIB}/Exporter/Heavy.pm
+	.${PRIV_LIB}/ExtUtils/Command.pm
+	.${PRIV_LIB}/ExtUtils/Command/MM.pm
+	.${PRIV_LIB}/ExtUtils/Constant.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Base.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Utils.pm
+	.${PRIV_LIB}/ExtUtils/Constant/XS.pm
+	.${PRIV_LIB}/ExtUtils/Embed.pm
+	.${PRIV_LIB}/ExtUtils/Install.pm
+	.${PRIV_LIB}/ExtUtils/Installed.pm
+	.${PRIV_LIB}/ExtUtils/Liblist.pm
+	.${PRIV_LIB}/ExtUtils/Liblist/Kid.pm
+	.${PRIV_LIB}/ExtUtils/MM.pm
+	.${PRIV_LIB}/ExtUtils/MM_Any.pm
+	.${PRIV_LIB}/ExtUtils/MM_MacOS.pm
+	.${PRIV_LIB}/ExtUtils/MM_Unix.pm
+	.${PRIV_LIB}/ExtUtils/MY.pm
+	.${PRIV_LIB}/ExtUtils/MakeMaker.pm
+	.${PRIV_LIB}/ExtUtils/Manifest.pm
+	.${PRIV_LIB}/ExtUtils/Miniperl.pm
+	.${PRIV_LIB}/ExtUtils/Mkbootstrap.pm
+	.${PRIV_LIB}/ExtUtils/Mksymlists.pm
+	.${PRIV_LIB}/ExtUtils/Packlist.pm
+	.${PRIV_LIB}/ExtUtils/testlib.pm
+	.${PRIV_LIB}/File/Basename.pm
+	.${PRIV_LIB}/File/Compare.pm
+	.${PRIV_LIB}/File/Copy.pm
+	.${PRIV_LIB}/File/Find.pm
+	.${PRIV_LIB}/File/Path.pm
+	.${PRIV_LIB}/File/stat.pm
+	.${PRIV_LIB}/FileHandle.pm
+	.${PRIV_LIB}/Getopt/Long.pm
+	.${PRIV_LIB}/Getopt/Std.pm
+	.${PRIV_LIB}/IPC/Open2.pm
+	.${PRIV_LIB}/IPC/Open3.pm
+	.${PRIV_LIB}/PerlIO.pm
+	.${PRIV_LIB}/Pod/InputObjects.pm
+	.${PRIV_LIB}/Pod/Man.pm
+	.${PRIV_LIB}/Pod/ParseLink.pm
+	.${PRIV_LIB}/Pod/Parser.pm
+	.${PRIV_LIB}/Pod/Select.pm
+	.${PRIV_LIB}/Pod/Text.pm
+	.${PRIV_LIB}/Pod/Usage.pm
+	.${PRIV_LIB}/SelectSaver.pm
+	.${PRIV_LIB}/Symbol.pm
+	.${PRIV_LIB}/Text/ParseWords.pm
+	.${PRIV_LIB}/Text/Tabs.pm
+	.${PRIV_LIB}/Text/Wrap.pm
+	.${PRIV_LIB}/Tie/Hash.pm
+	.${PRIV_LIB}/Time/Local.pm
+	.${PRIV_LIB}/XSLoader.pm
+	.${PRIV_LIB}/autouse.pm
+	.${PRIV_LIB}/base.pm
+	.${PRIV_LIB}/bigint.pm
+	.${PRIV_LIB}/bignum.pm
+	.${PRIV_LIB}/bigrat.pm
+	.${PRIV_LIB}/blib.pm
+	.${PRIV_LIB}/bytes.pm
+	.${PRIV_LIB}/bytes_heavy.pl
+	.${PRIV_LIB}/charnames.pm
+	.${PRIV_LIB}/constant.pm
+	.${PRIV_LIB}/diagnostics.pm
+	.${PRIV_LIB}/fields.pm
+	.${PRIV_LIB}/filetest.pm
+	.${PRIV_LIB}/if.pm
+	.${PRIV_LIB}/integer.pm
+	.${PRIV_LIB}/less.pm
+	.${PRIV_LIB}/locale.pm
+	.${PRIV_LIB}/open.pm
+	.${PRIV_LIB}/overload.pm
+	.${PRIV_LIB}/sigtrap.pm
+	.${PRIV_LIB}/sort.pm
+	.${PRIV_LIB}/stat.pl
+	.${PRIV_LIB}/strict.pm
+	.${PRIV_LIB}/subs.pm
+	.${PRIV_LIB}/unicore/To/Fold.pl
+	.${PRIV_LIB}/unicore/To/Lower.pl
+	.${PRIV_LIB}/unicore/To/Upper.pl
+	.${PRIV_LIB}/utf8.pm
+	.${PRIV_LIB}/utf8_heavy.pl
+	.${PRIV_LIB}/vars.pm
+	.${PRIV_LIB}/vmsish.pm
+	.${PRIV_LIB}/warnings
+	.${PRIV_LIB}/warnings.pm
+	.${PRIV_LIB}/warnings/register.pm
+	.${ARCH_LIB}/B.pm
+	.${ARCH_LIB}/CORE/libperl$(get_libname)
+	.${ARCH_LIB}/Config.pm
+	.${ARCH_LIB}/Config_heavy.pl
+	.${ARCH_LIB}/Cwd.pm
+	.${ARCH_LIB}/Data/Dumper.pm
+	.${ARCH_LIB}/DynaLoader.pm
+	.${ARCH_LIB}/Errno.pm
+	.${ARCH_LIB}/Fcntl.pm
+	.${ARCH_LIB}/File/Glob.pm
+	.${ARCH_LIB}/File/Spec.pm
+	.${ARCH_LIB}/File/Spec/Unix.pm
+	.${ARCH_LIB}/IO.pm
+	.${ARCH_LIB}/IO/File.pm
+	.${ARCH_LIB}/IO/Handle.pm
+	.${ARCH_LIB}/IO/Pipe.pm
+	.${ARCH_LIB}/IO/Seekable.pm
+	.${ARCH_LIB}/IO/Select.pm
+	.${ARCH_LIB}/IO/Socket.pm
+	.${ARCH_LIB}/IO/Socket/INET.pm
+	.${ARCH_LIB}/IO/Socket/UNIX.pm
+	.${ARCH_LIB}/List/Util.pm
+	.${ARCH_LIB}/NDBM_File.pm
+	.${ARCH_LIB}/POSIX.pm
+	.${ARCH_LIB}/Scalar/Util.pm
+	.${ARCH_LIB}/Socket.pm
+	.${ARCH_LIB}/Storable.pm
+	.${ARCH_LIB}/attributes.pm
+	.${ARCH_LIB}/auto/Cwd/Cwd$(get_libname)
+	.${ARCH_LIB}/auto/Data/Dumper/Dumper$(get_libname)
+	.${ARCH_LIB}/auto/DynaLoader/dl_findfile.al
+	.${ARCH_LIB}/auto/Fcntl/Fcntl$(get_libname)
+	.${ARCH_LIB}/auto/File/Glob/Glob$(get_libname)
+	.${ARCH_LIB}/auto/IO/IO$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/POSIX$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/autosplit.ix
+	.${ARCH_LIB}/auto/POSIX/fstat.al
+	.${ARCH_LIB}/auto/POSIX/load_imports.al
+	.${ARCH_LIB}/auto/POSIX/stat.al
+	.${ARCH_LIB}/auto/POSIX/tmpfile.al
+	.${ARCH_LIB}/auto/Socket/Socket$(get_libname)
+	.${ARCH_LIB}/auto/Storable/Storable$(get_libname)
+	.${ARCH_LIB}/auto/Storable/_retrieve.al
+	.${ARCH_LIB}/auto/Storable/_store.al
+	.${ARCH_LIB}/auto/Storable/autosplit.ix
+	.${ARCH_LIB}/auto/Storable/retrieve.al
+	.${ARCH_LIB}/auto/Storable/store.al
+	.${ARCH_LIB}/auto/re/re$(get_libname)
+	.${ARCH_LIB}/encoding.pm
+	.${ARCH_LIB}/lib.pm
+	.${ARCH_LIB}/ops.pm
+	.${ARCH_LIB}/re.pm
+	.${ARCH_LIB}/threads.pm
+"
+
+	pushd "${D}" > /dev/null
+	# Remove cruft
+	einfo "Removing files that are not in the minimal install"
+	echo "${MINIMAL_PERL_INSTALL}"
+	for f in $(find . -type f ) ; do
+		has "${f}" ${MINIMAL_PERL_INSTALL} || rm -f "${f}"
+	done
+	# Remove empty directories
+	find . -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+	#for f in ${MINIMAL_PERL_INSTALL} ; do
+	#	[[ -e $f ]] || ewarn "$f unused in MINIMAL_PERL_INSTALL"
+	#done
+	popd > /dev/null
+}

diff --git a/dev-lang/perl/perl-5.12.4-r2.ebuild b/dev-lang/perl/perl-5.12.4-r2.ebuild
new file mode 100644
index 0000000..2b97965
--- /dev/null
+++ b/dev-lang/perl/perl-5.12.4-r2.ebuild
@@ -0,0 +1,686 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.12.4-r2.ebuild,v 1.2 2012/04/26 12:59:46 aballier Exp $
+
+EAPI=4
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib
+
+PATCH_VER=1
+
+PERL_OLDVERSEN="5.12.3 5.12.2 5.12.1 5.12.0"
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+	mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://cpan/authors/id/L/LB/LBROCARD/${MY_P}.tar.bz2
+	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+	http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2"
+#	mirror://cpan/src/${MY_P}.tar.bz2
+#	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="berkdb build debug doc gdbm ithreads"
+
+COMMON_DEPEND="berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	>=sys-devel/libperl-5.10.1
+	!!<sys-devel/libperl-5.10.1
+	app-arch/bzip2
+	sys-libs/zlib"
+DEPEND="${COMMON_DEPEND}
+	!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )"
+RDEPEND="${COMMON_DEPEND}"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+	src_remove_dual_scripts perl-core/Archive-Tar        1.54      ptar ptardiff
+	src_remove_dual_scripts perl-core/Digest-SHA         5.47      shasum
+	src_remove_dual_scripts perl-core/CPAN               1.945.600 cpan
+	src_remove_dual_scripts perl-core/CPANPLUS           0.900.0   cpanp cpan2dist cpanp-run-perl
+	src_remove_dual_scripts perl-core/Encode             2.39      enc2xs piconv
+	src_remove_dual_scripts perl-core/ExtUtils-MakeMaker 6.56      instmodsh
+	src_remove_dual_scripts perl-core/ExtUtils-ParseXS   2.210.0   xsubpp
+	src_remove_dual_scripts perl-core/Module-Build       0.3603    config_data
+	src_remove_dual_scripts perl-core/Module-CoreList    2.500.0   corelist
+	src_remove_dual_scripts perl-core/PodParser          1.370.0   pod2usage podchecker podselect
+	src_remove_dual_scripts perl-core/Test-Harness       3.17      prove
+	src_remove_dual_scripts perl-core/podlators          2.3.1     pod2man pod2text
+}
+
+pkg_setup() {
+	case ${CHOST} in
+		*-freebsd*)   osname="freebsd" ;;
+		*-dragonfly*) osname="dragonfly" ;;
+		*-netbsd*)    osname="netbsd" ;;
+		*-openbsd*)   osname="openbsd" ;;
+		*-darwin*)    osname="darwin" ;;
+		*-interix*)   osname="interix" ;;
+		*)            osname="linux" ;;
+	esac
+
+	if use ithreads ; then
+		mythreading="-multi"
+		myarch="${CHOST%%-*}-${osname}-thread"
+	else
+		myarch="${CHOST%%-*}-${osname}"
+	fi
+	if use debug ; then
+		myarch="${myarch}-debug"
+	fi
+
+	LIBPERL="libperl$(get_libname ${MY_PV} )"
+	PRIV_LIB="/usr/$(get_libdir)/perl5/${MY_PV}"
+	ARCH_LIB="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
+	SITE_LIB="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}"
+	SITE_ARCH="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${mythreading}"
+	VENDOR_LIB="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}"
+	VENDOR_ARCH="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}"
+
+	if use ithreads ; then
+		echo ""
+		ewarn "THREADS WARNING:"
+		ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
+		ewarn "interpreter-level threading enabled."
+		ewarn "Threading is not supported by all applications "
+		ewarn "that compile against perl. You use threading at "
+		ewarn "your own discretion. "
+	fi
+	if has_version "<dev-lang/perl-${SHORT_PV}" ; then
+		echo ""
+		ewarn "UPDATE THE PERL MODULES:"
+		ewarn "After updating dev-lang/perl you must reinstall"
+		ewarn "the installed perl modules."
+		ewarn "Use: perl-cleaner --all"
+	elif has_version dev-lang/perl ; then
+		# doesnot work
+		#if ! has_version dev-lang/perl[ithreads=,debug=] ; then
+		#if ! has_version dev-lang/perl[ithreads=] || ! has_version dev-lang/perl[debug=] ; then
+		if (   use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
+		   ( ! use ithreads &&   has_version dev-lang/perl[ithreads] ) || \
+		   (   use debug    && ! has_version dev-lang/perl[debug]    ) || \
+		   ( ! use debug    &&   has_version dev-lang/perl[debug]    ) ; then
+			echo ""
+			ewarn "TOGGLED USE-FLAGS WARNING:"
+			ewarn "You changed one of the use-flags ithreads or debug."
+			ewarn "You must rebuild all perl-modules installed."
+			ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
+		fi
+	fi
+	dual_scripts
+}
+
+src_prepare_update_patchlevel_h() {
+	[[ -f ${WORKDIR}/perl-patch/series ]] || return 0
+
+	while read patch level ; do
+		sed -i -e "s/^\t,NULL$/	,\"${patch//__/_}\"\n&/" "${S}"/patchlevel.h || die
+	done < "${WORKDIR}"/perl-patch/series
+}
+
+src_prepare() {
+	EPATCH_SOURCE="${WORKDIR}/perl-patch" \
+	EPATCH_SUFFIX="diff" \
+	EPATCH_FORCE="yes" \
+	EPATCH_OPTS="-p1" \
+	epatch
+
+	src_prepare_update_patchlevel_h
+
+	# pod/perltoc.pod fails
+	# lib/ExtUtils/t/Embed.t fails
+	if ! tc-is-static-only ; then
+		ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV})
+		ln -s ${LIBPERL} libperl$(get_libname )
+	fi
+
+	epatch "${FILESDIR}"/${PN}-5.12.3-aix-soname.patch
+	epatch "${FILESDIR}"/${PN}-5.8.8-solaris-relocation.patch
+	epatch "${FILESDIR}"/${PN}-5.8.8-solaris11.patch
+	epatch "${FILESDIR}"/${PN}-5.10.1-cleanup-paths.patch
+	epatch "${FILESDIR}"/${PN}-5.8.8-usr-local.patch
+	epatch "${FILESDIR}"/${PN}-5.10.1-hpux.patch
+	epatch "${FILESDIR}"/${PN}-5.8.8-darwin-cc-ld.patch
+	epatch "${FILESDIR}"/${PN}-5.12.3-mint.patch
+	epatch "${FILESDIR}"/${PN}-5.12.3-interix.patch
+
+	# Fix build on OSX Lion (10.7)
+	sed -i -e '/^usenm=/s/true/false/' hints/darwin.sh
+
+	# rest of usr-local patch
+	sed -i \
+		-e '/^locincpth=/c\locincpth=""' \
+		-e '/^loclibpth=/c\loclibpth=""' \
+		-e '/^glibpth=.*\/local\//s: /usr/local/lib.*":":' \
+		Configure || die
+}
+
+myconf() {
+	# the myconf array is declared in src_configure
+	myconf=( "${myconf[@]}" "$@" )
+}
+
+src_configure() {
+	declare -a myconf
+
+	export LC_ALL="C"
+	[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
+
+	# some arches and -O do not mix :)
+	use ppc && replace-flags -O? -O1
+	# Perl has problems compiling with -Os in your flags with glibc
+	use elibc_uclibc || replace-flags "-Os" "-O2"
+	# This flag makes compiling crash in interesting ways
+	filter-flags "-malign-double"
+	# Fixes bug #97645
+	use ppc && filter-flags "-mpowerpc-gpopt"
+	# Fixes bug #143895 on gcc-4.1.1
+	filter-flags "-fsched2-use-superblocks"
+
+	use sparc && myconf -Ud_longdbl
+
+	# 266337
+	export BUILD_BZIP2=0
+	export BZIP2_INCLUDE=${EPREFIX}/usr/include
+	export BZIP2_LIB=${EPREFIX}/usr/$(get_libdir)
+	cat <<-EOF > "${S}/cpan/Compress-Raw-Zlib/config.in"
+		BUILD_ZLIB = False
+		INCLUDE = ${EPREFIX}/usr/include
+		LIB = ${EPREFIX}/usr/$(get_libdir)
+
+		OLD_ZLIB = False
+		GZIP_OS_CODE = AUTO_DETECT
+	EOF
+
+	# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
+
+	myndbm='U'
+	mygdbm='U'
+	mydb='U'
+
+	if use gdbm ; then
+		mygdbm='D'
+		myndbm='D'
+	fi
+	if use berkdb ; then
+		mydb='D'
+		has_version '=sys-libs/db-1*' && myndbm='D'
+	fi
+
+	myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
+
+	if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
+		ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
+		myconf -Ui_db -Ui_ndbm
+	fi
+
+	use ithreads && myconf -Dusethreads
+
+	if use debug ; then
+		append-cflags "-g"
+		myconf -DDEBUGGING
+	elif [[ ${CFLAGS} == *-g* ]] ; then
+		myconf -DDEBUGGING=-g
+	else
+		myconf -DDEBUGGING=none
+	fi
+
+	if [[ -n ${PERL_OLDVERSEN} ]] ; then
+		local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarch}${mythreading} ${v} "; done )
+		myconf -Dinc_version_list="$inclist"
+	fi
+
+	[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
+
+	# Prefix: the host system needs not to follow Gentoo multilib stuff, and in
+	# Prefix itself we don't do multilib either, so make sure perl can find
+	# something compatible.
+	if use prefix ; then
+		local ldir
+		local llib
+		local paths=""
+		echo "int main() {}" > "${T}"/t.c
+		# need to ensure dirs contain compatible libs, bug #358875
+		for ldir in /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 /lib /usr/lib ; do
+			[[ -d ${ldir} ]] || continue
+			# look for libc, which should be somewhere
+			llib=${ldir}/libc$(get_libname)
+			[[ -e ${llib} ]] || continue
+			if $(tc-getCC) -o "${T}"/t "${T}"/t.c ${llib} >& /dev/null ; then
+				ldir=${ldir#/usr}
+				paths="${ldir} /usr${ldir}"
+				break
+			fi
+		done
+		myconf "-Dlibpth=${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir) ${paths:-/lib /usr/lib}"
+	elif [[ $(get_libdir) != "lib" ]] ; then
+		# We need to use " and not ', as the written config.sh use ' ...
+		myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
+	fi
+
+	# don't try building ODBM, bug #354453
+	myconf -Dnoextensions=ODBM_File
+
+	sh Configure \
+		-des \
+		-Duseshrplib \
+		-Darchname="${myarch}" \
+		-Dcc="$(tc-getCC)" \
+		-Doptimize="${CFLAGS}" \
+		-Dldflags="${LDFLAGS}" \
+		-Dprefix="${EPREFIX}"'/usr' \
+		-Dinstallprefix="${EPREFIX}"'/usr' \
+		-Dsiteprefix="${EPREFIX}"'/usr' \
+		-Dvendorprefix="${EPREFIX}"'/usr' \
+		-Dscriptdir="${EPREFIX}"'/usr/bin' \
+		-Dprivlib="${EPREFIX}${PRIV_LIB}" \
+		-Darchlib="${EPREFIX}${ARCH_LIB}" \
+		-Dsitelib="${EPREFIX}${SITE_LIB}" \
+		-Dsitearch="${EPREFIX}${SITE_ARCH}" \
+		-Dvendorlib="${EPREFIX}${VENDOR_LIB}" \
+		-Dvendorarch="${EPREFIX}${VENDOR_ARCH}" \
+		-Dman1dir="${EPREFIX}"/usr/share/man/man1 \
+		-Dman3dir="${EPREFIX}"/usr/share/man/man3 \
+		-Dsiteman1dir="${EPREFIX}"/usr/share/man/man1 \
+		-Dsiteman3dir="${EPREFIX}"/usr/share/man/man3 \
+		-Dvendorman1dir="${EPREFIX}"/usr/share/man/man1 \
+		-Dvendorman3dir="${EPREFIX}"/usr/share/man/man3 \
+		-Dman1ext='1' \
+		-Dman3ext='3pm' \
+		-Dlibperl="${LIBPERL}" \
+		-Dlocincpth="${EPREFIX}"'/usr/include ' \
+		-Dglibpth="${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir)"' ' \
+		-Duselargefiles \
+		-Dd_semctl_semun \
+		-Dcf_by='Gentoo' \
+		-Dmyhostname='localhost' \
+		-Dperladmin='root@localhost' \
+		-Dinstallusrbinperl='n' \
+		-Ud_csh \
+		-Uusenm \
+		"${myconf[@]}" || die "Unable to configure"
+}
+
+src_compile() {
+	# bug 331113
+	emake -j1 || die "emake failed"
+}
+
+src_test() {
+	if [[ ${EUID} == 0 ]] ; then
+		ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
+		return 0
+	fi
+	use elibc_uclibc && export MAKEOPTS+=" -j1"
+	TEST_JOBS=$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs=)([[:digit:]]+).*/\2/' ) \
+		make test_harness || die "test failed"
+}
+
+src_install() {
+	local i
+	local coredir="${ARCH_LIB}/CORE"
+
+#	# Fix for "stupid" modules and programs
+#	dodir ${SITE_ARCH} ${SITE_LIB}
+#	keepdir "${VENDOR_ARCH}" #338802 for enc2xs
+
+	local installtarget=install
+	if use build ; then
+		installtarget=install.perl
+	fi
+	make DESTDIR="${D}" ${installtarget} || die "Unable to make ${installtarget}"
+
+	rm -f "${ED}"/usr/bin/perl
+	ln -s perl${MY_PV} "${ED}"/usr/bin/perl
+
+	if ! tc-is-static-only ; then
+		dolib.so "${ED}"/${coredir}/${LIBPERL} || die
+		dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
+		dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname) || die
+		rm -f "${ED}"/${coredir}/${LIBPERL}
+		dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/${LIBPERL}
+		dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname ${SHORT_PV})
+		dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname)
+	fi
+
+	rm -rf "${ED}"/usr/share/man/man3 || die "Unable to remove module man pages"
+
+#	# A poor fix for the miniperl issues
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
+#	fperms 0755 /usr/bin/xsubpp
+
+	# This removes ${D} from Config.pm
+	for i in $(find "${D}" -iname "Config.pm" ) ; do
+		einfo "Removing ${D} from ${i}..."
+		sed -i -e "s:${D}::" "${i}" || die "Sed failed"
+	done
+
+	find "${ED}" -type f -name .packlist -delete || die
+
+	# Note: find out from psm why we would need/want this.
+	# ( use berkdb && has_version '=sys-libs/db-1*' ) ||
+	#	find "${ED}" -name "*NDBM*" | xargs rm -f
+
+	dodoc Changes* README AUTHORS || die
+
+	if use doc ; then
+		# HTML Documentation
+		# We expect errors, warnings, and such with the following.
+
+		dodir /usr/share/doc/${PF}/html
+		LD_LIBRARY_PATH=. ./perl installhtml \
+			--podroot='.' \
+			--podpath='lib:ext:pod:vms' \
+			--recurse \
+			--htmldir="${ED}/usr/share/doc/${PF}/html" \
+			--libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
+	fi
+
+	if use build ; then
+		src_remove_extra_files
+	fi
+
+	dual_scripts
+}
+
+pkg_postinst() {
+	dual_scripts
+
+	if [[ "${ROOT}" = "/" ]] ; then
+		local INC DIR file
+		INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${MY_PV}'|etc|local|perl$/; print "$line\n" }')
+		einfo "Removing old .ph files"
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
+					rm -f "${file}"
+					einfo "<< ${file}"
+				done
+			fi
+		done
+		# Silently remove the now empty dirs
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+			fi
+		done
+		if ! use build ; then
+			ebegin "Generating ConfigLocal.pm (ignore any error)"
+			enc2xs -C
+		fi
+
+		einfo "Converting C header files to the corresponding Perl format (ignore any error)"
+		# Prefix note: unprefixed as this is all kernel/libc stuff that we never provide
+		pushd /usr/include >/dev/null
+			h2ph -Q -a -d "${EPREFIX}"${ARCH_LIB} \
+				asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \
+				sys/socket.h sys/time.h wait.h sysexits.h
+		popd >/dev/null
+
+# This has been moved into a function because rumor has it that a future release
+# of portage will allow us to check what version was just removed - which means
+# we will be able to invoke this only as needed :)
+		# Tried doing this via  -z, but $INC is too big...
+		#if [[ "${INC}x" != "x" ]]; then
+		#	cleaner_msg
+		#fi
+	fi
+}
+
+pkg_postrm(){
+	dual_scripts
+
+#	if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then
+#		ebegin "Removing ConfigLocal.pm"
+#		rm "${ARCH_LIB}/Encode/ConfigLocal.pm"
+#	fi
+}
+
+cleaner_msg() {
+	eerror "You have had multiple versions of perl. It is recommended"
+	eerror "that you run perl-cleaner now. perl-cleaner will"
+	eerror "assist with this transition. This script is capable"
+	eerror "of cleaning out old .ph files, rebuilding modules for "
+	eerror "your new version of perl, as well as re-emerging"
+	eerror "applications that compiled against your old libperl$(get_libname)"
+	eerror
+	eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
+	eerror "Part of the rebuilding of applications compiled against "
+	eerror "your old libperl involves temporarily unmerging"
+	eerror "them - interruptions could leave you with unmerged"
+	eerror "packages before they can be remerged."
+	eerror ""
+	eerror "If you have run perl-cleaner and a package still gives"
+	eerror "you trouble, and re-emerging it fails to correct"
+	eerror "the problem, please check http://bugs.gentoo.org/"
+	eerror "for more information or to report a bug."
+	eerror ""
+}
+
+src_remove_dual_scripts() {
+
+	local i pkg ver ff
+	pkg="$1"
+	ver="$2"
+	shift 2
+	if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ;then
+		for i in "$@" ; do
+			alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*"
+			if [[ ${i} != cpanp-run-perl ]] ; then
+				ff=`echo ${EROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*`
+				ff=${ff##*.1}
+				alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/share/man/man1/${i}-[0-9]*"
+			fi
+		done
+	elif has "${EBUILD_PHASE:-none}" "setup" ; then
+		for i in "$@" ; do
+			if [[ -f ${EROOT}/usr/bin/${i} && ! -h ${EROOT}/usr/bin/${i} ]] ; then
+				has_version ${pkg} && ewarn "You must reinstall $pkg !"
+				break
+			fi
+		done
+	else
+		for i in "$@" ; do
+			if ! [[ -f "${ED}"/usr/bin/${i} ]] ; then
+				use build || ewarn "/usr/bin/${i} does not exist!"
+				continue
+			fi
+			mv "${ED}"/usr/bin/${i}{,-${ver}-${P}} || die
+			if [[ -f ${ED}/usr/share/man/man1/${i}.1 ]] ; then
+				mv "${ED}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || die
+			else
+				echo "/usr/share/man/man1/${i}.1 does not exist!"
+			fi
+		done
+	fi
+}
+
+src_remove_extra_files() {
+	local prefix="./usr" # ./ is important
+	local bindir="${prefix}/bin"
+	local libdir="${prefix}/$(get_libdir)"
+
+	# I made this list from the Mandr*, Debian and ex-Connectiva perl-base list
+	# Then, I added several files to get GNU autotools running
+	# FIXME: should this be in a separated file to be sourced?
+	local MINIMAL_PERL_INSTALL="
+	${bindir}/h2ph
+	${bindir}/perl
+	${bindir}/perl${MY_PV}
+	${bindir}/pod2man
+	${libdir}/${LIBPERL}
+	${libdir}/libperl$(get_libname)
+	${libdir}/libperl$(get_libname ${SHORT_PV})
+	.${PRIV_LIB}/AutoLoader.pm
+	.${PRIV_LIB}/B/Deparse.pm
+	.${PRIV_LIB}/Carp.pm
+	.${PRIV_LIB}/Carp/Heavy.pm
+	.${PRIV_LIB}/Class/Struct.pm
+	.${PRIV_LIB}/DirHandle.pm
+	.${PRIV_LIB}/Exporter.pm
+	.${PRIV_LIB}/Exporter/Heavy.pm
+	.${PRIV_LIB}/ExtUtils/Command.pm
+	.${PRIV_LIB}/ExtUtils/Command/MM.pm
+	.${PRIV_LIB}/ExtUtils/Constant.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Base.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Utils.pm
+	.${PRIV_LIB}/ExtUtils/Constant/XS.pm
+	.${PRIV_LIB}/ExtUtils/Embed.pm
+	.${PRIV_LIB}/ExtUtils/Install.pm
+	.${PRIV_LIB}/ExtUtils/Installed.pm
+	.${PRIV_LIB}/ExtUtils/Liblist.pm
+	.${PRIV_LIB}/ExtUtils/Liblist/Kid.pm
+	.${PRIV_LIB}/ExtUtils/MM.pm
+	.${PRIV_LIB}/ExtUtils/MM_Any.pm
+	.${PRIV_LIB}/ExtUtils/MM_MacOS.pm
+	.${PRIV_LIB}/ExtUtils/MM_Unix.pm
+	.${PRIV_LIB}/ExtUtils/MY.pm
+	.${PRIV_LIB}/ExtUtils/MakeMaker.pm
+	.${PRIV_LIB}/ExtUtils/Manifest.pm
+	.${PRIV_LIB}/ExtUtils/Miniperl.pm
+	.${PRIV_LIB}/ExtUtils/Mkbootstrap.pm
+	.${PRIV_LIB}/ExtUtils/Mksymlists.pm
+	.${PRIV_LIB}/ExtUtils/Packlist.pm
+	.${PRIV_LIB}/ExtUtils/testlib.pm
+	.${PRIV_LIB}/File/Basename.pm
+	.${PRIV_LIB}/File/Compare.pm
+	.${PRIV_LIB}/File/Copy.pm
+	.${PRIV_LIB}/File/Find.pm
+	.${PRIV_LIB}/File/Path.pm
+	.${PRIV_LIB}/File/stat.pm
+	.${PRIV_LIB}/FileHandle.pm
+	.${PRIV_LIB}/Getopt/Long.pm
+	.${PRIV_LIB}/Getopt/Std.pm
+	.${PRIV_LIB}/IPC/Open2.pm
+	.${PRIV_LIB}/IPC/Open3.pm
+	.${PRIV_LIB}/PerlIO.pm
+	.${PRIV_LIB}/Pod/InputObjects.pm
+	.${PRIV_LIB}/Pod/Man.pm
+	.${PRIV_LIB}/Pod/ParseLink.pm
+	.${PRIV_LIB}/Pod/Parser.pm
+	.${PRIV_LIB}/Pod/Select.pm
+	.${PRIV_LIB}/Pod/Text.pm
+	.${PRIV_LIB}/Pod/Usage.pm
+	.${PRIV_LIB}/SelectSaver.pm
+	.${PRIV_LIB}/Symbol.pm
+	.${PRIV_LIB}/Text/ParseWords.pm
+	.${PRIV_LIB}/Text/Tabs.pm
+	.${PRIV_LIB}/Text/Wrap.pm
+	.${PRIV_LIB}/Tie/Hash.pm
+	.${PRIV_LIB}/Time/Local.pm
+	.${PRIV_LIB}/XSLoader.pm
+	.${PRIV_LIB}/autouse.pm
+	.${PRIV_LIB}/base.pm
+	.${PRIV_LIB}/bigint.pm
+	.${PRIV_LIB}/bignum.pm
+	.${PRIV_LIB}/bigrat.pm
+	.${PRIV_LIB}/blib.pm
+	.${PRIV_LIB}/bytes.pm
+	.${PRIV_LIB}/bytes_heavy.pl
+	.${PRIV_LIB}/charnames.pm
+	.${PRIV_LIB}/constant.pm
+	.${PRIV_LIB}/diagnostics.pm
+	.${PRIV_LIB}/fields.pm
+	.${PRIV_LIB}/filetest.pm
+	.${PRIV_LIB}/if.pm
+	.${PRIV_LIB}/integer.pm
+	.${PRIV_LIB}/less.pm
+	.${PRIV_LIB}/locale.pm
+	.${PRIV_LIB}/open.pm
+	.${PRIV_LIB}/overload.pm
+	.${PRIV_LIB}/sigtrap.pm
+	.${PRIV_LIB}/sort.pm
+	.${PRIV_LIB}/stat.pl
+	.${PRIV_LIB}/strict.pm
+	.${PRIV_LIB}/subs.pm
+	.${PRIV_LIB}/unicore/To/Fold.pl
+	.${PRIV_LIB}/unicore/To/Lower.pl
+	.${PRIV_LIB}/unicore/To/Upper.pl
+	.${PRIV_LIB}/utf8.pm
+	.${PRIV_LIB}/utf8_heavy.pl
+	.${PRIV_LIB}/vars.pm
+	.${PRIV_LIB}/vmsish.pm
+	.${PRIV_LIB}/warnings
+	.${PRIV_LIB}/warnings.pm
+	.${PRIV_LIB}/warnings/register.pm
+	.${ARCH_LIB}/B.pm
+	.${ARCH_LIB}/CORE/libperl$(get_libname)
+	.${ARCH_LIB}/Config.pm
+	.${ARCH_LIB}/Config_heavy.pl
+	.${ARCH_LIB}/Cwd.pm
+	.${ARCH_LIB}/Data/Dumper.pm
+	.${ARCH_LIB}/DynaLoader.pm
+	.${ARCH_LIB}/Errno.pm
+	.${ARCH_LIB}/Fcntl.pm
+	.${ARCH_LIB}/File/Glob.pm
+	.${ARCH_LIB}/File/Spec.pm
+	.${ARCH_LIB}/File/Spec/Unix.pm
+	.${ARCH_LIB}/IO.pm
+	.${ARCH_LIB}/IO/File.pm
+	.${ARCH_LIB}/IO/Handle.pm
+	.${ARCH_LIB}/IO/Pipe.pm
+	.${ARCH_LIB}/IO/Seekable.pm
+	.${ARCH_LIB}/IO/Select.pm
+	.${ARCH_LIB}/IO/Socket.pm
+	.${ARCH_LIB}/IO/Socket/INET.pm
+	.${ARCH_LIB}/IO/Socket/UNIX.pm
+	.${ARCH_LIB}/List/Util.pm
+	.${ARCH_LIB}/NDBM_File.pm
+	.${ARCH_LIB}/POSIX.pm
+	.${ARCH_LIB}/Scalar/Util.pm
+	.${ARCH_LIB}/Socket.pm
+	.${ARCH_LIB}/Storable.pm
+	.${ARCH_LIB}/attributes.pm
+	.${ARCH_LIB}/auto/Cwd/Cwd$(get_libname)
+	.${ARCH_LIB}/auto/Data/Dumper/Dumper$(get_libname)
+	.${ARCH_LIB}/auto/DynaLoader/dl_findfile.al
+	.${ARCH_LIB}/auto/Fcntl/Fcntl$(get_libname)
+	.${ARCH_LIB}/auto/File/Glob/Glob$(get_libname)
+	.${ARCH_LIB}/auto/IO/IO$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/POSIX$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/autosplit.ix
+	.${ARCH_LIB}/auto/POSIX/fstat.al
+	.${ARCH_LIB}/auto/POSIX/load_imports.al
+	.${ARCH_LIB}/auto/POSIX/stat.al
+	.${ARCH_LIB}/auto/POSIX/tmpfile.al
+	.${ARCH_LIB}/auto/Socket/Socket$(get_libname)
+	.${ARCH_LIB}/auto/Storable/Storable$(get_libname)
+	.${ARCH_LIB}/auto/Storable/_retrieve.al
+	.${ARCH_LIB}/auto/Storable/_store.al
+	.${ARCH_LIB}/auto/Storable/autosplit.ix
+	.${ARCH_LIB}/auto/Storable/retrieve.al
+	.${ARCH_LIB}/auto/Storable/store.al
+	.${ARCH_LIB}/auto/re/re$(get_libname)
+	.${ARCH_LIB}/encoding.pm
+	.${ARCH_LIB}/lib.pm
+	.${ARCH_LIB}/ops.pm
+	.${ARCH_LIB}/re.pm
+	.${ARCH_LIB}/threads.pm
+"
+
+	pushd "${ED}" > /dev/null
+	# Remove cruft
+	einfo "Removing files that are not in the minimal install"
+	echo "${MINIMAL_PERL_INSTALL}"
+	for f in $(find . -type f ) ; do
+		has "${f}" ${MINIMAL_PERL_INSTALL} || rm -f "${f}"
+	done
+	# Remove empty directories
+	find . -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+	#for f in ${MINIMAL_PERL_INSTALL} ; do
+	#	[[ -e $f ]] || ewarn "$f unused in MINIMAL_PERL_INSTALL"
+	#done
+	popd > /dev/null
+}

diff --git a/dev-lang/perl/perl-5.12.4.ebuild b/dev-lang/perl/perl-5.12.4.ebuild
new file mode 100644
index 0000000..fb17196
--- /dev/null
+++ b/dev-lang/perl/perl-5.12.4.ebuild
@@ -0,0 +1,638 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.12.4.ebuild,v 1.2 2012/01/02 22:52:21 zmedico Exp $
+
+EAPI=4
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib
+
+PATCH_VER=1
+
+PERL_OLDVERSEN="5.12.3 5.12.2 5.12.1 5.12.0"
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+	mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://cpan/authors/id/L/LB/LBROCARD/${MY_P}.tar.bz2
+	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+	http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2"
+#	mirror://cpan/src/${MY_P}.tar.bz2
+#	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="berkdb build debug doc gdbm ithreads"
+
+COMMON_DEPEND="berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	>=sys-devel/libperl-5.10.1
+	!!<sys-devel/libperl-5.10.1
+	app-arch/bzip2
+	sys-libs/zlib"
+DEPEND="${COMMON_DEPEND}
+	elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs )"
+RDEPEND="${COMMON_DEPEND}"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+	src_remove_dual_scripts perl-core/Archive-Tar        1.54      ptar ptardiff
+	src_remove_dual_scripts perl-core/Digest-SHA         5.47      shasum
+	src_remove_dual_scripts perl-core/CPAN               1.945.600 cpan
+	src_remove_dual_scripts perl-core/CPANPLUS           0.900.0   cpanp cpan2dist cpanp-run-perl
+	src_remove_dual_scripts perl-core/Encode             2.39      enc2xs piconv
+	src_remove_dual_scripts perl-core/ExtUtils-MakeMaker 6.56      instmodsh
+	src_remove_dual_scripts perl-core/Module-Build       0.3603    config_data
+	src_remove_dual_scripts perl-core/Module-CoreList    2.500.0   corelist
+	src_remove_dual_scripts perl-core/PodParser          1.370.0   pod2usage podchecker podselect
+	src_remove_dual_scripts perl-core/Test-Harness       3.17      prove
+	src_remove_dual_scripts perl-core/podlators          2.3.1     pod2man pod2text
+}
+
+pkg_setup() {
+	case ${CHOST} in
+		*-freebsd*)   osname="freebsd" ;;
+		*-dragonfly*) osname="dragonfly" ;;
+		*-netbsd*)    osname="netbsd" ;;
+		*-openbsd*)   osname="openbsd" ;;
+		*-darwin*)    osname="darwin" ;;
+		*)            osname="linux" ;;
+	esac
+
+	if use ithreads ; then
+		mythreading="-multi"
+		myarch="${CHOST%%-*}-${osname}-thread"
+	else
+		myarch="${CHOST%%-*}-${osname}"
+	fi
+	if use debug ; then
+		myarch="${myarch}-debug"
+	fi
+
+	LIBPERL="libperl$(get_libname ${MY_PV} )"
+	PRIV_LIB="/usr/$(get_libdir)/perl5/${MY_PV}"
+	ARCH_LIB="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
+	SITE_LIB="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}"
+	SITE_ARCH="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${mythreading}"
+	VENDOR_LIB="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}"
+	VENDOR_ARCH="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}"
+
+	if use ithreads ; then
+		echo ""
+		ewarn "THREADS WARNING:"
+		ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
+		ewarn "interpreter-level threading enabled."
+		ewarn "Threading is not supported by all applications "
+		ewarn "that compile against perl. You use threading at "
+		ewarn "your own discretion. "
+	fi
+	if has_version "<dev-lang/perl-${SHORT_PV}" ; then
+		echo ""
+		ewarn "UPDATE THE PERL MODULES:"
+		ewarn "After updating dev-lang/perl you must reinstall"
+		ewarn "the installed perl modules."
+		ewarn "Use: perl-cleaner --all"
+	elif has_version dev-lang/perl ; then
+		# doesnot work
+		#if ! has_version dev-lang/perl[ithreads=,debug=] ; then
+		#if ! has_version dev-lang/perl[ithreads=] || ! has_version dev-lang/perl[debug=] ; then
+		if (   use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
+		   ( ! use ithreads &&   has_version dev-lang/perl[ithreads] ) || \
+		   (   use debug    && ! has_version dev-lang/perl[debug]    ) || \
+		   ( ! use debug    &&   has_version dev-lang/perl[debug]    ) ; then
+			echo ""
+			ewarn "TOGGLED USE-FLAGS WARNING:"
+			ewarn "You changed one of the use-flags ithreads or debug."
+			ewarn "You must rebuild all perl-modules installed."
+			ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
+		fi
+	fi
+	dual_scripts
+}
+
+src_prepare_update_patchlevel_h() {
+	[[ -f ${WORKDIR}/perl-patch/series ]] || return 0
+
+	while read patch level ; do
+		sed -i -e "s/^\t,NULL$/	,\"${patch//__/_}\"\n&/" "${S}"/patchlevel.h || die
+	done < "${WORKDIR}"/perl-patch/series
+}
+
+src_prepare() {
+	EPATCH_SOURCE="${WORKDIR}/perl-patch" \
+	EPATCH_SUFFIX="diff" \
+	EPATCH_FORCE="yes" \
+	EPATCH_OPTS="-p1" \
+	epatch
+
+	src_prepare_update_patchlevel_h
+
+	# pod/perltoc.pod fails
+	# lib/ExtUtils/t/Embed.t fails
+	ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV})
+	ln -s ${LIBPERL} libperl$(get_libname )
+}
+
+myconf() {
+	# the myconf array is declared in src_configure
+	myconf=( "${myconf[@]}" "$@" )
+}
+
+src_configure() {
+	declare -a myconf
+
+	export LC_ALL="C"
+	[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
+
+	# some arches and -O do not mix :)
+	use ppc && replace-flags -O? -O1
+	# Perl has problems compiling with -Os in your flags with glibc
+	use elibc_uclibc || replace-flags "-Os" "-O2"
+	# This flag makes compiling crash in interesting ways
+	filter-flags "-malign-double"
+	# Fixes bug #97645
+	use ppc && filter-flags "-mpowerpc-gpopt"
+	# Fixes bug #143895 on gcc-4.1.1
+	filter-flags "-fsched2-use-superblocks"
+
+	# this is needed because gcc 3.3-compiled kernels will hang
+	# the machine trying to run this test - check with `Kumba
+	# <rac@gentoo.org> 2003.06.26
+	use mips && myconf -Dd_u32align
+
+	use sparc && myconf -Ud_longdbl
+
+	# 266337
+	export BUILD_BZIP2=0
+	export BZIP2_INCLUDE=/usr/include
+	export BZIP2_LIB=/usr/$(get_libdir)
+	cat <<-EOF > "${S}/cpan/Compress-Raw-Zlib/config.in"
+		BUILD_ZLIB = False
+		INCLUDE = /usr/include
+		LIB = /usr/$(get_libdir)
+
+		OLD_ZLIB = False
+		GZIP_OS_CODE = AUTO_DETECT
+	EOF
+
+	# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
+
+	myndbm='U'
+	mygdbm='U'
+	mydb='U'
+
+	if use gdbm ; then
+		mygdbm='D'
+		myndbm='D'
+	fi
+	if use berkdb ; then
+		mydb='D'
+		has_version '=sys-libs/db-1*' && myndbm='D'
+	fi
+
+	myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
+
+	if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
+		ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
+		myconf -Ui_db -Ui_ndbm
+	fi
+
+	use ithreads && myconf -Dusethreads
+
+	if use debug ; then
+		append-cflags "-g"
+		myconf -DDEBUGGING
+	elif [[ ${CFLAGS} == *-g* ]] ; then
+		myconf -DDEBUGGING=-g
+	else
+		myconf -DDEBUGGING=none
+	fi
+
+	if [[ -n ${PERL_OLDVERSEN} ]] ; then
+		local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarch}${mythreading} ${v} "; done )
+		myconf -Dinc_version_list="$inclist"
+	fi
+
+	[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
+
+	if [[ $(get_libdir) != "lib" ]] ; then
+		# We need to use " and not ', as the written config.sh use ' ...
+		myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
+	fi
+
+	sh Configure \
+		-des \
+		-Duseshrplib \
+		-Darchname="${myarch}" \
+		-Dcc="$(tc-getCC)" \
+		-Doptimize="${CFLAGS}" \
+		-Dldflags="${LDFLAGS}" \
+		-Dprefix='/usr' \
+		-Dsiteprefix='/usr' \
+		-Dvendorprefix='/usr' \
+		-Dscriptdir='/usr/bin' \
+		-Dprivlib="${PRIV_LIB}" \
+		-Darchlib="${ARCH_LIB}" \
+		-Dsitelib="${SITE_LIB}" \
+		-Dsitearch="${SITE_ARCH}" \
+		-Dvendorlib="${VENDOR_LIB}" \
+		-Dvendorarch="${VENDOR_ARCH}" \
+		-Dman1dir=/usr/share/man/man1 \
+		-Dman3dir=/usr/share/man/man3 \
+		-Dsiteman1dir=/usr/share/man/man1 \
+		-Dsiteman3dir=/usr/share/man/man3 \
+		-Dvendorman1dir=/usr/share/man/man1 \
+		-Dvendorman3dir=/usr/share/man/man3 \
+		-Dman1ext='1' \
+		-Dman3ext='3pm' \
+		-Dlibperl="${LIBPERL}" \
+		-Dlocincpth=' ' \
+		-Duselargefiles \
+		-Dd_semctl_semun \
+		-Dcf_by='Gentoo' \
+		-Dmyhostname='localhost' \
+		-Dperladmin='root@localhost' \
+		-Dinstallusrbinperl='n' \
+		-Ud_csh \
+		-Uusenm \
+		"${myconf[@]}" || die "Unable to configure"
+}
+
+src_compile() {
+	# bug 331113
+	emake -j1 || die "emake failed"
+}
+
+src_test() {
+	if [[ ${EUID} == 0 ]] ; then
+		ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
+		return 0
+	fi
+	use elibc_uclibc && export MAKEOPTS+=" -j1"
+	TEST_JOBS=$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs=)([[:digit:]]+).*/\2/' ) \
+		make test_harness || die "test failed"
+}
+
+src_install() {
+	local i
+	local coredir="${ARCH_LIB}/CORE"
+
+#	# Fix for "stupid" modules and programs
+#	dodir ${SITE_ARCH} ${SITE_LIB}
+#	keepdir "${VENDOR_ARCH}" #338802 for enc2xs
+
+	local installtarget=install
+	if use build ; then
+		installtarget=install.perl
+	fi
+	make DESTDIR="${D}" ${installtarget} || die "Unable to make ${installtarget}"
+
+	rm -f "${D}"/usr/bin/perl
+	ln -s perl${MY_PV} "${D}"/usr/bin/perl
+
+	dolib.so "${D}"/${coredir}/${LIBPERL} || die
+	dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
+	dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname) || die
+	rm -f "${D}"/${coredir}/${LIBPERL}
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/${LIBPERL}
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname ${SHORT_PV})
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname)
+
+	rm -rf "${D}"/usr/share/man/man3 || die "Unable to remove module man pages"
+
+#	# A poor fix for the miniperl issues
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
+#	fperms 0755 /usr/bin/xsubpp
+
+	# This removes ${D} from Config.pm
+	for i in $(find "${D}" -iname "Config.pm" ) ; do
+		einfo "Removing ${D} from ${i}..."
+		sed -i -e "s:${D}::" "${i}" || die "Sed failed"
+	done
+
+	find "${D}" -type f -name .packlist -delete || die
+
+	# Note: find out from psm why we would need/want this.
+	# ( use berkdb && has_version '=sys-libs/db-1*' ) ||
+	#	find "${D}" -name "*NDBM*" | xargs rm -f
+
+	dodoc Changes* README AUTHORS || die
+
+	if use doc ; then
+		# HTML Documentation
+		# We expect errors, warnings, and such with the following.
+
+		dodir /usr/share/doc/${PF}/html
+		LD_LIBRARY_PATH=. ./perl installhtml \
+			--podroot='.' \
+			--podpath='lib:ext:pod:vms' \
+			--recurse \
+			--htmldir="${D}/usr/share/doc/${PF}/html" \
+			--libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
+	fi
+
+	if use build ; then
+		src_remove_extra_files
+	fi
+
+	dual_scripts
+}
+
+pkg_postinst() {
+	dual_scripts
+
+	if [[ "${ROOT}" = "/" ]] ; then
+		local INC DIR file
+		INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${MY_PV}'|etc|local|perl$/; print "$line\n" }')
+		einfo "Removing old .ph files"
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
+					rm -f "${file}"
+					einfo "<< ${file}"
+				done
+			fi
+		done
+		# Silently remove the now empty dirs
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+			fi
+		done
+		if ! use build ; then
+			ebegin "Generating ConfigLocal.pm (ignore any error)"
+			enc2xs -C
+		fi
+
+		einfo "Converting C header files to the corresponding Perl format (ignore any error)"
+		pushd /usr/include >/dev/null
+			h2ph -Q -a -d ${ARCH_LIB} \
+				asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \
+				sys/socket.h sys/time.h wait.h sysexits.h
+		popd >/dev/null
+
+# This has been moved into a function because rumor has it that a future release
+# of portage will allow us to check what version was just removed - which means
+# we will be able to invoke this only as needed :)
+		# Tried doing this via  -z, but $INC is too big...
+		#if [[ "${INC}x" != "x" ]]; then
+		#	cleaner_msg
+		#fi
+	fi
+}
+
+pkg_postrm(){
+	dual_scripts
+
+#	if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then
+#		ebegin "Removing ConfigLocal.pm"
+#		rm "${ARCH_LIB}/Encode/ConfigLocal.pm"
+#	fi
+}
+
+cleaner_msg() {
+	eerror "You have had multiple versions of perl. It is recommended"
+	eerror "that you run perl-cleaner now. perl-cleaner will"
+	eerror "assist with this transition. This script is capable"
+	eerror "of cleaning out old .ph files, rebuilding modules for "
+	eerror "your new version of perl, as well as re-emerging"
+	eerror "applications that compiled against your old libperl$(get_libname)"
+	eerror
+	eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
+	eerror "Part of the rebuilding of applications compiled against "
+	eerror "your old libperl involves temporarily unmerging"
+	eerror "them - interruptions could leave you with unmerged"
+	eerror "packages before they can be remerged."
+	eerror ""
+	eerror "If you have run perl-cleaner and a package still gives"
+	eerror "you trouble, and re-emerging it fails to correct"
+	eerror "the problem, please check http://bugs.gentoo.org/"
+	eerror "for more information or to report a bug."
+	eerror ""
+}
+
+src_remove_dual_scripts() {
+
+	local i pkg ver ff
+	pkg="$1"
+	ver="$2"
+	shift 2
+	if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ;then
+		for i in "$@" ; do
+			alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*"
+			if [[ ${i} != cpanp-run-perl ]] ; then
+				ff=`echo ${ROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*`
+				ff=${ff##*.1}
+				alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/share/man/man1/${i}-[0-9]*"
+			fi
+		done
+	elif has "${EBUILD_PHASE:-none}" "setup" ; then
+		for i in "$@" ; do
+			if [[ -f ${ROOT}/usr/bin/${i} && ! -h ${ROOT}/usr/bin/${i} ]] ; then
+				has_version ${pkg} && ewarn "You must reinstall $pkg !"
+				break
+			fi
+		done
+	else
+		for i in "$@" ; do
+			if ! [[ -f "${D}"/usr/bin/${i} ]] ; then
+				use build || ewarn "/usr/bin/${i} does not exist!"
+				continue
+			fi
+			mv "${D}"/usr/bin/${i}{,-${ver}-${P}} || die
+			if [[ -f ${D}/usr/share/man/man1/${i}.1 ]] ; then
+				mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || die
+			else
+				echo "/usr/share/man/man1/${i}.1 does not exist!"
+			fi
+		done
+	fi
+}
+
+src_remove_extra_files() {
+	local prefix="./usr" # ./ is important
+	local bindir="${prefix}/bin"
+	local libdir="${prefix}/$(get_libdir)"
+
+	# I made this list from the Mandr*, Debian and ex-Connectiva perl-base list
+	# Then, I added several files to get GNU autotools running
+	# FIXME: should this be in a separated file to be sourced?
+	local MINIMAL_PERL_INSTALL="
+	${bindir}/h2ph
+	${bindir}/perl
+	${bindir}/perl${MY_PV}
+	${bindir}/pod2man
+	${libdir}/${LIBPERL}
+	${libdir}/libperl$(get_libname)
+	${libdir}/libperl$(get_libname ${SHORT_PV})
+	.${PRIV_LIB}/AutoLoader.pm
+	.${PRIV_LIB}/B/Deparse.pm
+	.${PRIV_LIB}/Carp.pm
+	.${PRIV_LIB}/Carp/Heavy.pm
+	.${PRIV_LIB}/Class/Struct.pm
+	.${PRIV_LIB}/DirHandle.pm
+	.${PRIV_LIB}/Exporter.pm
+	.${PRIV_LIB}/Exporter/Heavy.pm
+	.${PRIV_LIB}/ExtUtils/Command.pm
+	.${PRIV_LIB}/ExtUtils/Command/MM.pm
+	.${PRIV_LIB}/ExtUtils/Constant.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Base.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Utils.pm
+	.${PRIV_LIB}/ExtUtils/Constant/XS.pm
+	.${PRIV_LIB}/ExtUtils/Embed.pm
+	.${PRIV_LIB}/ExtUtils/Install.pm
+	.${PRIV_LIB}/ExtUtils/Installed.pm
+	.${PRIV_LIB}/ExtUtils/Liblist.pm
+	.${PRIV_LIB}/ExtUtils/Liblist/Kid.pm
+	.${PRIV_LIB}/ExtUtils/MM.pm
+	.${PRIV_LIB}/ExtUtils/MM_Any.pm
+	.${PRIV_LIB}/ExtUtils/MM_MacOS.pm
+	.${PRIV_LIB}/ExtUtils/MM_Unix.pm
+	.${PRIV_LIB}/ExtUtils/MY.pm
+	.${PRIV_LIB}/ExtUtils/MakeMaker.pm
+	.${PRIV_LIB}/ExtUtils/Manifest.pm
+	.${PRIV_LIB}/ExtUtils/Miniperl.pm
+	.${PRIV_LIB}/ExtUtils/Mkbootstrap.pm
+	.${PRIV_LIB}/ExtUtils/Mksymlists.pm
+	.${PRIV_LIB}/ExtUtils/Packlist.pm
+	.${PRIV_LIB}/ExtUtils/testlib.pm
+	.${PRIV_LIB}/File/Basename.pm
+	.${PRIV_LIB}/File/Compare.pm
+	.${PRIV_LIB}/File/Copy.pm
+	.${PRIV_LIB}/File/Find.pm
+	.${PRIV_LIB}/File/Path.pm
+	.${PRIV_LIB}/File/stat.pm
+	.${PRIV_LIB}/FileHandle.pm
+	.${PRIV_LIB}/Getopt/Long.pm
+	.${PRIV_LIB}/Getopt/Std.pm
+	.${PRIV_LIB}/IPC/Open2.pm
+	.${PRIV_LIB}/IPC/Open3.pm
+	.${PRIV_LIB}/PerlIO.pm
+	.${PRIV_LIB}/Pod/InputObjects.pm
+	.${PRIV_LIB}/Pod/Man.pm
+	.${PRIV_LIB}/Pod/ParseLink.pm
+	.${PRIV_LIB}/Pod/Parser.pm
+	.${PRIV_LIB}/Pod/Select.pm
+	.${PRIV_LIB}/Pod/Text.pm
+	.${PRIV_LIB}/Pod/Usage.pm
+	.${PRIV_LIB}/SelectSaver.pm
+	.${PRIV_LIB}/Symbol.pm
+	.${PRIV_LIB}/Text/ParseWords.pm
+	.${PRIV_LIB}/Text/Tabs.pm
+	.${PRIV_LIB}/Text/Wrap.pm
+	.${PRIV_LIB}/Tie/Hash.pm
+	.${PRIV_LIB}/Time/Local.pm
+	.${PRIV_LIB}/XSLoader.pm
+	.${PRIV_LIB}/autouse.pm
+	.${PRIV_LIB}/base.pm
+	.${PRIV_LIB}/bigint.pm
+	.${PRIV_LIB}/bignum.pm
+	.${PRIV_LIB}/bigrat.pm
+	.${PRIV_LIB}/blib.pm
+	.${PRIV_LIB}/bytes.pm
+	.${PRIV_LIB}/bytes_heavy.pl
+	.${PRIV_LIB}/charnames.pm
+	.${PRIV_LIB}/constant.pm
+	.${PRIV_LIB}/diagnostics.pm
+	.${PRIV_LIB}/fields.pm
+	.${PRIV_LIB}/filetest.pm
+	.${PRIV_LIB}/if.pm
+	.${PRIV_LIB}/integer.pm
+	.${PRIV_LIB}/less.pm
+	.${PRIV_LIB}/locale.pm
+	.${PRIV_LIB}/open.pm
+	.${PRIV_LIB}/overload.pm
+	.${PRIV_LIB}/sigtrap.pm
+	.${PRIV_LIB}/sort.pm
+	.${PRIV_LIB}/stat.pl
+	.${PRIV_LIB}/strict.pm
+	.${PRIV_LIB}/subs.pm
+	.${PRIV_LIB}/unicore/To/Fold.pl
+	.${PRIV_LIB}/unicore/To/Lower.pl
+	.${PRIV_LIB}/unicore/To/Upper.pl
+	.${PRIV_LIB}/utf8.pm
+	.${PRIV_LIB}/utf8_heavy.pl
+	.${PRIV_LIB}/vars.pm
+	.${PRIV_LIB}/vmsish.pm
+	.${PRIV_LIB}/warnings
+	.${PRIV_LIB}/warnings.pm
+	.${PRIV_LIB}/warnings/register.pm
+	.${ARCH_LIB}/B.pm
+	.${ARCH_LIB}/CORE/libperl$(get_libname)
+	.${ARCH_LIB}/Config.pm
+	.${ARCH_LIB}/Config_heavy.pl
+	.${ARCH_LIB}/Cwd.pm
+	.${ARCH_LIB}/Data/Dumper.pm
+	.${ARCH_LIB}/DynaLoader.pm
+	.${ARCH_LIB}/Errno.pm
+	.${ARCH_LIB}/Fcntl.pm
+	.${ARCH_LIB}/File/Glob.pm
+	.${ARCH_LIB}/File/Spec.pm
+	.${ARCH_LIB}/File/Spec/Unix.pm
+	.${ARCH_LIB}/IO.pm
+	.${ARCH_LIB}/IO/File.pm
+	.${ARCH_LIB}/IO/Handle.pm
+	.${ARCH_LIB}/IO/Pipe.pm
+	.${ARCH_LIB}/IO/Seekable.pm
+	.${ARCH_LIB}/IO/Select.pm
+	.${ARCH_LIB}/IO/Socket.pm
+	.${ARCH_LIB}/IO/Socket/INET.pm
+	.${ARCH_LIB}/IO/Socket/UNIX.pm
+	.${ARCH_LIB}/List/Util.pm
+	.${ARCH_LIB}/NDBM_File.pm
+	.${ARCH_LIB}/POSIX.pm
+	.${ARCH_LIB}/Scalar/Util.pm
+	.${ARCH_LIB}/Socket.pm
+	.${ARCH_LIB}/Storable.pm
+	.${ARCH_LIB}/attributes.pm
+	.${ARCH_LIB}/auto/Cwd/Cwd$(get_libname)
+	.${ARCH_LIB}/auto/Data/Dumper/Dumper$(get_libname)
+	.${ARCH_LIB}/auto/DynaLoader/dl_findfile.al
+	.${ARCH_LIB}/auto/Fcntl/Fcntl$(get_libname)
+	.${ARCH_LIB}/auto/File/Glob/Glob$(get_libname)
+	.${ARCH_LIB}/auto/IO/IO$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/POSIX$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/autosplit.ix
+	.${ARCH_LIB}/auto/POSIX/fstat.al
+	.${ARCH_LIB}/auto/POSIX/load_imports.al
+	.${ARCH_LIB}/auto/POSIX/stat.al
+	.${ARCH_LIB}/auto/POSIX/tmpfile.al
+	.${ARCH_LIB}/auto/Socket/Socket$(get_libname)
+	.${ARCH_LIB}/auto/Storable/Storable$(get_libname)
+	.${ARCH_LIB}/auto/Storable/_retrieve.al
+	.${ARCH_LIB}/auto/Storable/_store.al
+	.${ARCH_LIB}/auto/Storable/autosplit.ix
+	.${ARCH_LIB}/auto/Storable/retrieve.al
+	.${ARCH_LIB}/auto/Storable/store.al
+	.${ARCH_LIB}/auto/re/re$(get_libname)
+	.${ARCH_LIB}/encoding.pm
+	.${ARCH_LIB}/lib.pm
+	.${ARCH_LIB}/ops.pm
+	.${ARCH_LIB}/re.pm
+	.${ARCH_LIB}/threads.pm
+"
+
+	pushd "${D}" > /dev/null
+	# Remove cruft
+	einfo "Removing files that are not in the minimal install"
+	echo "${MINIMAL_PERL_INSTALL}"
+	for f in $(find . -type f ) ; do
+		has "${f}" ${MINIMAL_PERL_INSTALL} || rm -f "${f}"
+	done
+	# Remove empty directories
+	find . -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+	#for f in ${MINIMAL_PERL_INSTALL} ; do
+	#	[[ -e $f ]] || ewarn "$f unused in MINIMAL_PERL_INSTALL"
+	#done
+	popd > /dev/null
+}

diff --git a/dev-lang/perl/perl-5.12.5.ebuild b/dev-lang/perl/perl-5.12.5.ebuild
new file mode 100644
index 0000000..bc061d5
--- /dev/null
+++ b/dev-lang/perl/perl-5.12.5.ebuild
@@ -0,0 +1,689 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.12.5.ebuild,v 1.1 2013/03/04 19:51:15 tove Exp $
+
+EAPI=5
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib
+
+PATCH_VER=1
+
+PERL_OLDVERSEN="5.12.4 5.12.3 5.12.2 5.12.1 5.12.0"
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+	mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://cpan/authors/id/L/LB/LBROCARD/${MY_P}.tar.bz2
+	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+	http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2"
+#	mirror://cpan/src/${MY_P}.tar.bz2
+#	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0/${SHORT_PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="berkdb build debug doc gdbm ithreads"
+
+COMMON_DEPEND="berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	>=sys-devel/libperl-5.10.1
+	!!<sys-devel/libperl-5.10.1
+	app-arch/bzip2
+	sys-libs/zlib"
+DEPEND="${COMMON_DEPEND}
+	!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )"
+RDEPEND="${COMMON_DEPEND}"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+	src_remove_dual_scripts perl-core/Archive-Tar        1.54      ptar ptardiff
+	src_remove_dual_scripts perl-core/Digest-SHA         5.47      shasum
+	src_remove_dual_scripts perl-core/CPAN               1.945.600 cpan
+	src_remove_dual_scripts perl-core/CPANPLUS           0.900.0   cpanp cpan2dist cpanp-run-perl
+	src_remove_dual_scripts perl-core/Encode             2.39      enc2xs piconv
+	src_remove_dual_scripts perl-core/ExtUtils-MakeMaker 6.56      instmodsh
+	src_remove_dual_scripts perl-core/ExtUtils-ParseXS   2.210.0   xsubpp
+	src_remove_dual_scripts perl-core/Module-Build       0.3603    config_data
+	src_remove_dual_scripts perl-core/Module-CoreList    2.770.0   corelist
+	src_remove_dual_scripts perl-core/PodParser          1.370.0   pod2usage podchecker podselect
+	src_remove_dual_scripts perl-core/Test-Harness       3.17      prove
+	src_remove_dual_scripts perl-core/podlators          2.3.1     pod2man pod2text
+}
+
+pkg_setup() {
+	case ${CHOST} in
+		*-freebsd*)   osname="freebsd" ;;
+		*-dragonfly*) osname="dragonfly" ;;
+		*-netbsd*)    osname="netbsd" ;;
+		*-openbsd*)   osname="openbsd" ;;
+		*-darwin*)    osname="darwin" ;;
+		*-interix*)   osname="interix" ;;
+		*)            osname="linux" ;;
+	esac
+
+	if use ithreads ; then
+		mythreading="-multi"
+		myarch="${CHOST%%-*}-${osname}-thread"
+	else
+		myarch="${CHOST%%-*}-${osname}"
+	fi
+	if use debug ; then
+		myarch="${myarch}-debug"
+	fi
+
+	LIBPERL="libperl$(get_libname ${MY_PV} )"
+	PRIV_LIB="/usr/$(get_libdir)/perl5/${MY_PV}"
+	ARCH_LIB="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
+	SITE_LIB="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}"
+	SITE_ARCH="/usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${mythreading}"
+	VENDOR_LIB="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}"
+	VENDOR_ARCH="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}"
+
+	if use ithreads ; then
+		echo ""
+		ewarn "THREADS WARNING:"
+		ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
+		ewarn "interpreter-level threading enabled."
+		ewarn "Threading is not supported by all applications "
+		ewarn "that compile against perl. You use threading at "
+		ewarn "your own discretion. "
+	fi
+	if has_version "<dev-lang/perl-${SHORT_PV}" ; then
+		echo ""
+		ewarn "UPDATE THE PERL MODULES:"
+		ewarn "After updating dev-lang/perl you must reinstall"
+		ewarn "the installed perl modules."
+		ewarn "Use: perl-cleaner --all"
+	elif has_version dev-lang/perl ; then
+		# doesnot work
+		#if ! has_version dev-lang/perl[ithreads=,debug=] ; then
+		#if ! has_version dev-lang/perl[ithreads=] || ! has_version dev-lang/perl[debug=] ; then
+		if (   use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
+		   ( ! use ithreads &&   has_version dev-lang/perl[ithreads] ) || \
+		   (   use debug    && ! has_version dev-lang/perl[debug]    ) || \
+		   ( ! use debug    &&   has_version dev-lang/perl[debug]    ) ; then
+			echo ""
+			ewarn "TOGGLED USE-FLAGS WARNING:"
+			ewarn "You changed one of the use-flags ithreads or debug."
+			ewarn "You must rebuild all perl-modules installed."
+			ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
+		fi
+	fi
+	dual_scripts
+}
+
+src_prepare_update_patchlevel_h() {
+	[[ -f ${WORKDIR}/perl-patch/series ]] || return 0
+
+	while read patch level ; do
+		sed -i -e "s/^\t,NULL$/	,\"${patch//__/_}\"\n&/" "${S}"/patchlevel.h || die
+	done < "${WORKDIR}"/perl-patch/series
+}
+
+src_prepare() {
+	EPATCH_SOURCE="${WORKDIR}/perl-patch" \
+	EPATCH_SUFFIX="diff" \
+	EPATCH_FORCE="yes" \
+	EPATCH_OPTS="-p1" \
+	epatch
+
+	src_prepare_update_patchlevel_h
+
+	# pod/perltoc.pod fails
+	# lib/ExtUtils/t/Embed.t fails
+	if ! tc-is-static-only ; then
+		ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV})
+		ln -s ${LIBPERL} libperl$(get_libname )
+	fi
+
+	epatch \
+		"${FILESDIR}"/${PN}-5.12.3-aix-soname.patch \
+		"${FILESDIR}"/${PN}-5.8.8-solaris-relocation.patch \
+		"${FILESDIR}"/${PN}-5.8.8-solaris11.patch \
+		"${FILESDIR}"/${PN}-5.10.1-cleanup-paths.patch \
+		"${FILESDIR}"/${PN}-5.8.8-usr-local.patch \
+		"${FILESDIR}"/${PN}-5.10.1-hpux.patch \
+		"${FILESDIR}"/${PN}-5.8.8-darwin-cc-ld.patch \
+		"${FILESDIR}"/${PN}-5.12.3-mint.patch \
+		"${FILESDIR}"/${PN}-5.12.3-interix.patch \
+		"${FILESDIR}"/${PN}-5.12.5-rehash-5.12.5.patch
+
+
+	# Fix build on OSX Lion (10.7)
+	sed -i -e '/^usenm=/s/true/false/' hints/darwin.sh
+
+	# rest of usr-local patch
+	sed -i \
+		-e '/^locincpth=/c\locincpth=""' \
+		-e '/^loclibpth=/c\loclibpth=""' \
+		-e '/^glibpth=.*\/local\//s: /usr/local/lib.*":":' \
+		Configure || die
+}
+
+myconf() {
+	# the myconf array is declared in src_configure
+	myconf=( "${myconf[@]}" "$@" )
+}
+
+src_configure() {
+	declare -a myconf
+
+	export LC_ALL="C"
+	[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
+
+	# some arches and -O do not mix :)
+	use ppc && replace-flags -O? -O1
+	# Perl has problems compiling with -Os in your flags with glibc
+	use elibc_uclibc || replace-flags "-Os" "-O2"
+	# This flag makes compiling crash in interesting ways
+	filter-flags "-malign-double"
+	# Fixes bug #97645
+	use ppc && filter-flags "-mpowerpc-gpopt"
+	# Fixes bug #143895 on gcc-4.1.1
+	filter-flags "-fsched2-use-superblocks"
+
+	use sparc && myconf -Ud_longdbl
+
+	# 266337
+	export BUILD_BZIP2=0
+	export BZIP2_INCLUDE=${EPREFIX}/usr/include
+	export BZIP2_LIB=${EPREFIX}/usr/$(get_libdir)
+	cat <<-EOF > "${S}/cpan/Compress-Raw-Zlib/config.in"
+		BUILD_ZLIB = False
+		INCLUDE = ${EPREFIX}/usr/include
+		LIB = ${EPREFIX}/usr/$(get_libdir)
+
+		OLD_ZLIB = False
+		GZIP_OS_CODE = AUTO_DETECT
+	EOF
+
+	# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
+
+	myndbm='U'
+	mygdbm='U'
+	mydb='U'
+
+	if use gdbm ; then
+		mygdbm='D'
+		myndbm='D'
+	fi
+	if use berkdb ; then
+		mydb='D'
+		has_version '=sys-libs/db-1*' && myndbm='D'
+	fi
+
+	myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
+
+	if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
+		ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
+		myconf -Ui_db -Ui_ndbm
+	fi
+
+	use ithreads && myconf -Dusethreads
+
+	if use debug ; then
+		append-cflags "-g"
+		myconf -DDEBUGGING
+	elif [[ ${CFLAGS} == *-g* ]] ; then
+		myconf -DDEBUGGING=-g
+	else
+		myconf -DDEBUGGING=none
+	fi
+
+	if [[ -n ${PERL_OLDVERSEN} ]] ; then
+		local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarch}${mythreading} ${v} "; done )
+		myconf -Dinc_version_list="$inclist"
+	fi
+
+	[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
+
+	# Prefix: the host system needs not to follow Gentoo multilib stuff, and in
+	# Prefix itself we don't do multilib either, so make sure perl can find
+	# something compatible.
+	if use prefix ; then
+		local ldir
+		local llib
+		local paths=""
+		echo "int main() {}" > "${T}"/t.c
+		# need to ensure dirs contain compatible libs, bug #358875
+		for ldir in /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 /lib /usr/lib ; do
+			[[ -d ${ldir} ]] || continue
+			# look for libc, which should be somewhere
+			llib=${ldir}/libc$(get_libname)
+			[[ -e ${llib} ]] || continue
+			if $(tc-getCC) -o "${T}"/t "${T}"/t.c ${llib} >& /dev/null ; then
+				ldir=${ldir#/usr}
+				paths="${ldir} /usr${ldir}"
+				break
+			fi
+		done
+		myconf "-Dlibpth=${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir) ${paths:-/lib /usr/lib}"
+	elif [[ $(get_libdir) != "lib" ]] ; then
+		# We need to use " and not ', as the written config.sh use ' ...
+		myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
+	fi
+
+	# don't try building ODBM, bug #354453
+	myconf -Dnoextensions=ODBM_File
+
+	sh Configure \
+		-des \
+		-Duseshrplib \
+		-Darchname="${myarch}" \
+		-Dcc="$(tc-getCC)" \
+		-Doptimize="${CFLAGS}" \
+		-Dldflags="${LDFLAGS}" \
+		-Dprefix="${EPREFIX}"'/usr' \
+		-Dinstallprefix="${EPREFIX}"'/usr' \
+		-Dsiteprefix="${EPREFIX}"'/usr' \
+		-Dvendorprefix="${EPREFIX}"'/usr' \
+		-Dscriptdir="${EPREFIX}"'/usr/bin' \
+		-Dprivlib="${EPREFIX}${PRIV_LIB}" \
+		-Darchlib="${EPREFIX}${ARCH_LIB}" \
+		-Dsitelib="${EPREFIX}${SITE_LIB}" \
+		-Dsitearch="${EPREFIX}${SITE_ARCH}" \
+		-Dvendorlib="${EPREFIX}${VENDOR_LIB}" \
+		-Dvendorarch="${EPREFIX}${VENDOR_ARCH}" \
+		-Dman1dir="${EPREFIX}"/usr/share/man/man1 \
+		-Dman3dir="${EPREFIX}"/usr/share/man/man3 \
+		-Dsiteman1dir="${EPREFIX}"/usr/share/man/man1 \
+		-Dsiteman3dir="${EPREFIX}"/usr/share/man/man3 \
+		-Dvendorman1dir="${EPREFIX}"/usr/share/man/man1 \
+		-Dvendorman3dir="${EPREFIX}"/usr/share/man/man3 \
+		-Dman1ext='1' \
+		-Dman3ext='3pm' \
+		-Dlibperl="${LIBPERL}" \
+		-Dlocincpth="${EPREFIX}"'/usr/include ' \
+		-Dglibpth="${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir)"' ' \
+		-Duselargefiles \
+		-Dd_semctl_semun \
+		-Dcf_by='Gentoo' \
+		-Dmyhostname='localhost' \
+		-Dperladmin='root@localhost' \
+		-Dinstallusrbinperl='n' \
+		-Ud_csh \
+		-Uusenm \
+		"${myconf[@]}" || die "Unable to configure"
+}
+
+src_compile() {
+	# bug 331113
+	emake -j1 || die "emake failed"
+}
+
+src_test() {
+	if [[ ${EUID} == 0 ]] ; then
+		ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
+		return 0
+	fi
+	use elibc_uclibc && export MAKEOPTS+=" -j1"
+	TEST_JOBS=$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs=)([[:digit:]]+).*/\2/' ) \
+		make test_harness || die "test failed"
+}
+
+src_install() {
+	local i
+	local coredir="${ARCH_LIB}/CORE"
+
+#	# Fix for "stupid" modules and programs
+#	dodir ${SITE_ARCH} ${SITE_LIB}
+#	keepdir "${VENDOR_ARCH}" #338802 for enc2xs
+
+	local installtarget=install
+	if use build ; then
+		installtarget=install.perl
+	fi
+	make DESTDIR="${D}" ${installtarget} || die "Unable to make ${installtarget}"
+
+	rm -f "${ED}"/usr/bin/perl
+	ln -s perl${MY_PV} "${ED}"/usr/bin/perl
+
+	if ! tc-is-static-only ; then
+		dolib.so "${ED}"/${coredir}/${LIBPERL} || die
+		dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
+		dosym ${LIBPERL} /usr/$(get_libdir)/libperl$(get_libname) || die
+		rm -f "${ED}"/${coredir}/${LIBPERL}
+		dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/${LIBPERL}
+		dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname ${SHORT_PV})
+		dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname)
+	fi
+
+	rm -rf "${ED}"/usr/share/man/man3 || die "Unable to remove module man pages"
+
+#	# A poor fix for the miniperl issues
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
+#	fperms 0755 /usr/bin/xsubpp
+
+	# This removes ${D} from Config.pm
+	for i in $(find "${D}" -iname "Config.pm" ) ; do
+		einfo "Removing ${D} from ${i}..."
+		sed -i -e "s:${D}::" "${i}" || die "Sed failed"
+	done
+
+	find "${ED}" -type f -name .packlist -delete || die
+
+	# Note: find out from psm why we would need/want this.
+	# ( use berkdb && has_version '=sys-libs/db-1*' ) ||
+	#	find "${ED}" -name "*NDBM*" | xargs rm -f
+
+	dodoc Changes* README AUTHORS || die
+
+	if use doc ; then
+		# HTML Documentation
+		# We expect errors, warnings, and such with the following.
+
+		dodir /usr/share/doc/${PF}/html
+		LD_LIBRARY_PATH=. ./perl installhtml \
+			--podroot='.' \
+			--podpath='lib:ext:pod:vms' \
+			--recurse \
+			--htmldir="${ED}/usr/share/doc/${PF}/html" \
+			--libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
+	fi
+
+	if use build ; then
+		src_remove_extra_files
+	fi
+
+	dual_scripts
+}
+
+pkg_postinst() {
+	dual_scripts
+
+	if [[ "${ROOT}" = "/" ]] ; then
+		local INC DIR file
+		INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${MY_PV}'|etc|local|perl$/; print "$line\n" }')
+		einfo "Removing old .ph files"
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
+					rm -f "${file}"
+					einfo "<< ${file}"
+				done
+			fi
+		done
+		# Silently remove the now empty dirs
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+			fi
+		done
+		if ! use build ; then
+			ebegin "Generating ConfigLocal.pm (ignore any error)"
+			enc2xs -C
+		fi
+
+		einfo "Converting C header files to the corresponding Perl format (ignore any error)"
+		# Prefix note: unprefixed as this is all kernel/libc stuff that we never provide
+		pushd /usr/include >/dev/null
+			h2ph -Q -a -d "${EPREFIX}"${ARCH_LIB} \
+				asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \
+				sys/socket.h sys/time.h wait.h sysexits.h
+		popd >/dev/null
+
+# This has been moved into a function because rumor has it that a future release
+# of portage will allow us to check what version was just removed - which means
+# we will be able to invoke this only as needed :)
+		# Tried doing this via  -z, but $INC is too big...
+		#if [[ "${INC}x" != "x" ]]; then
+		#	cleaner_msg
+		#fi
+	fi
+}
+
+pkg_postrm(){
+	dual_scripts
+
+#	if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then
+#		ebegin "Removing ConfigLocal.pm"
+#		rm "${ARCH_LIB}/Encode/ConfigLocal.pm"
+#	fi
+}
+
+cleaner_msg() {
+	eerror "You have had multiple versions of perl. It is recommended"
+	eerror "that you run perl-cleaner now. perl-cleaner will"
+	eerror "assist with this transition. This script is capable"
+	eerror "of cleaning out old .ph files, rebuilding modules for "
+	eerror "your new version of perl, as well as re-emerging"
+	eerror "applications that compiled against your old libperl$(get_libname)"
+	eerror
+	eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
+	eerror "Part of the rebuilding of applications compiled against "
+	eerror "your old libperl involves temporarily unmerging"
+	eerror "them - interruptions could leave you with unmerged"
+	eerror "packages before they can be remerged."
+	eerror ""
+	eerror "If you have run perl-cleaner and a package still gives"
+	eerror "you trouble, and re-emerging it fails to correct"
+	eerror "the problem, please check http://bugs.gentoo.org/"
+	eerror "for more information or to report a bug."
+	eerror ""
+}
+
+src_remove_dual_scripts() {
+
+	local i pkg ver ff
+	pkg="$1"
+	ver="$2"
+	shift 2
+	if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ;then
+		for i in "$@" ; do
+			alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*"
+			if [[ ${i} != cpanp-run-perl ]] ; then
+				ff=`echo ${EROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*`
+				ff=${ff##*.1}
+				alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/share/man/man1/${i}-[0-9]*"
+			fi
+		done
+	elif has "${EBUILD_PHASE:-none}" "setup" ; then
+		for i in "$@" ; do
+			if [[ -f ${EROOT}/usr/bin/${i} && ! -h ${EROOT}/usr/bin/${i} ]] ; then
+				has_version ${pkg} && ewarn "You must reinstall $pkg !"
+				break
+			fi
+		done
+	else
+		for i in "$@" ; do
+			if ! [[ -f "${ED}"/usr/bin/${i} ]] ; then
+				use build || ewarn "/usr/bin/${i} does not exist!"
+				continue
+			fi
+			mv "${ED}"/usr/bin/${i}{,-${ver}-${P}} || die
+			if [[ -f ${ED}/usr/share/man/man1/${i}.1 ]] ; then
+				mv "${ED}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || die
+			else
+				echo "/usr/share/man/man1/${i}.1 does not exist!"
+			fi
+		done
+	fi
+}
+
+src_remove_extra_files() {
+	local prefix="./usr" # ./ is important
+	local bindir="${prefix}/bin"
+	local libdir="${prefix}/$(get_libdir)"
+
+	# I made this list from the Mandr*, Debian and ex-Connectiva perl-base list
+	# Then, I added several files to get GNU autotools running
+	# FIXME: should this be in a separated file to be sourced?
+	local MINIMAL_PERL_INSTALL="
+	${bindir}/h2ph
+	${bindir}/perl
+	${bindir}/perl${MY_PV}
+	${bindir}/pod2man
+	${libdir}/${LIBPERL}
+	${libdir}/libperl$(get_libname)
+	${libdir}/libperl$(get_libname ${SHORT_PV})
+	.${PRIV_LIB}/AutoLoader.pm
+	.${PRIV_LIB}/B/Deparse.pm
+	.${PRIV_LIB}/Carp.pm
+	.${PRIV_LIB}/Carp/Heavy.pm
+	.${PRIV_LIB}/Class/Struct.pm
+	.${PRIV_LIB}/DirHandle.pm
+	.${PRIV_LIB}/Exporter.pm
+	.${PRIV_LIB}/Exporter/Heavy.pm
+	.${PRIV_LIB}/ExtUtils/Command.pm
+	.${PRIV_LIB}/ExtUtils/Command/MM.pm
+	.${PRIV_LIB}/ExtUtils/Constant.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Base.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Utils.pm
+	.${PRIV_LIB}/ExtUtils/Constant/XS.pm
+	.${PRIV_LIB}/ExtUtils/Embed.pm
+	.${PRIV_LIB}/ExtUtils/Install.pm
+	.${PRIV_LIB}/ExtUtils/Installed.pm
+	.${PRIV_LIB}/ExtUtils/Liblist.pm
+	.${PRIV_LIB}/ExtUtils/Liblist/Kid.pm
+	.${PRIV_LIB}/ExtUtils/MM.pm
+	.${PRIV_LIB}/ExtUtils/MM_Any.pm
+	.${PRIV_LIB}/ExtUtils/MM_MacOS.pm
+	.${PRIV_LIB}/ExtUtils/MM_Unix.pm
+	.${PRIV_LIB}/ExtUtils/MY.pm
+	.${PRIV_LIB}/ExtUtils/MakeMaker.pm
+	.${PRIV_LIB}/ExtUtils/Manifest.pm
+	.${PRIV_LIB}/ExtUtils/Miniperl.pm
+	.${PRIV_LIB}/ExtUtils/Mkbootstrap.pm
+	.${PRIV_LIB}/ExtUtils/Mksymlists.pm
+	.${PRIV_LIB}/ExtUtils/Packlist.pm
+	.${PRIV_LIB}/ExtUtils/testlib.pm
+	.${PRIV_LIB}/File/Basename.pm
+	.${PRIV_LIB}/File/Compare.pm
+	.${PRIV_LIB}/File/Copy.pm
+	.${PRIV_LIB}/File/Find.pm
+	.${PRIV_LIB}/File/Path.pm
+	.${PRIV_LIB}/File/stat.pm
+	.${PRIV_LIB}/FileHandle.pm
+	.${PRIV_LIB}/Getopt/Long.pm
+	.${PRIV_LIB}/Getopt/Std.pm
+	.${PRIV_LIB}/IPC/Open2.pm
+	.${PRIV_LIB}/IPC/Open3.pm
+	.${PRIV_LIB}/PerlIO.pm
+	.${PRIV_LIB}/Pod/InputObjects.pm
+	.${PRIV_LIB}/Pod/Man.pm
+	.${PRIV_LIB}/Pod/ParseLink.pm
+	.${PRIV_LIB}/Pod/Parser.pm
+	.${PRIV_LIB}/Pod/Select.pm
+	.${PRIV_LIB}/Pod/Text.pm
+	.${PRIV_LIB}/Pod/Usage.pm
+	.${PRIV_LIB}/SelectSaver.pm
+	.${PRIV_LIB}/Symbol.pm
+	.${PRIV_LIB}/Text/ParseWords.pm
+	.${PRIV_LIB}/Text/Tabs.pm
+	.${PRIV_LIB}/Text/Wrap.pm
+	.${PRIV_LIB}/Tie/Hash.pm
+	.${PRIV_LIB}/Time/Local.pm
+	.${PRIV_LIB}/XSLoader.pm
+	.${PRIV_LIB}/autouse.pm
+	.${PRIV_LIB}/base.pm
+	.${PRIV_LIB}/bigint.pm
+	.${PRIV_LIB}/bignum.pm
+	.${PRIV_LIB}/bigrat.pm
+	.${PRIV_LIB}/blib.pm
+	.${PRIV_LIB}/bytes.pm
+	.${PRIV_LIB}/bytes_heavy.pl
+	.${PRIV_LIB}/charnames.pm
+	.${PRIV_LIB}/constant.pm
+	.${PRIV_LIB}/diagnostics.pm
+	.${PRIV_LIB}/fields.pm
+	.${PRIV_LIB}/filetest.pm
+	.${PRIV_LIB}/if.pm
+	.${PRIV_LIB}/integer.pm
+	.${PRIV_LIB}/less.pm
+	.${PRIV_LIB}/locale.pm
+	.${PRIV_LIB}/open.pm
+	.${PRIV_LIB}/overload.pm
+	.${PRIV_LIB}/sigtrap.pm
+	.${PRIV_LIB}/sort.pm
+	.${PRIV_LIB}/stat.pl
+	.${PRIV_LIB}/strict.pm
+	.${PRIV_LIB}/subs.pm
+	.${PRIV_LIB}/unicore/To/Fold.pl
+	.${PRIV_LIB}/unicore/To/Lower.pl
+	.${PRIV_LIB}/unicore/To/Upper.pl
+	.${PRIV_LIB}/utf8.pm
+	.${PRIV_LIB}/utf8_heavy.pl
+	.${PRIV_LIB}/vars.pm
+	.${PRIV_LIB}/vmsish.pm
+	.${PRIV_LIB}/warnings
+	.${PRIV_LIB}/warnings.pm
+	.${PRIV_LIB}/warnings/register.pm
+	.${ARCH_LIB}/B.pm
+	.${ARCH_LIB}/CORE/libperl$(get_libname)
+	.${ARCH_LIB}/Config.pm
+	.${ARCH_LIB}/Config_heavy.pl
+	.${ARCH_LIB}/Cwd.pm
+	.${ARCH_LIB}/Data/Dumper.pm
+	.${ARCH_LIB}/DynaLoader.pm
+	.${ARCH_LIB}/Errno.pm
+	.${ARCH_LIB}/Fcntl.pm
+	.${ARCH_LIB}/File/Glob.pm
+	.${ARCH_LIB}/File/Spec.pm
+	.${ARCH_LIB}/File/Spec/Unix.pm
+	.${ARCH_LIB}/IO.pm
+	.${ARCH_LIB}/IO/File.pm
+	.${ARCH_LIB}/IO/Handle.pm
+	.${ARCH_LIB}/IO/Pipe.pm
+	.${ARCH_LIB}/IO/Seekable.pm
+	.${ARCH_LIB}/IO/Select.pm
+	.${ARCH_LIB}/IO/Socket.pm
+	.${ARCH_LIB}/IO/Socket/INET.pm
+	.${ARCH_LIB}/IO/Socket/UNIX.pm
+	.${ARCH_LIB}/List/Util.pm
+	.${ARCH_LIB}/NDBM_File.pm
+	.${ARCH_LIB}/POSIX.pm
+	.${ARCH_LIB}/Scalar/Util.pm
+	.${ARCH_LIB}/Socket.pm
+	.${ARCH_LIB}/Storable.pm
+	.${ARCH_LIB}/attributes.pm
+	.${ARCH_LIB}/auto/Cwd/Cwd$(get_libname)
+	.${ARCH_LIB}/auto/Data/Dumper/Dumper$(get_libname)
+	.${ARCH_LIB}/auto/DynaLoader/dl_findfile.al
+	.${ARCH_LIB}/auto/Fcntl/Fcntl$(get_libname)
+	.${ARCH_LIB}/auto/File/Glob/Glob$(get_libname)
+	.${ARCH_LIB}/auto/IO/IO$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/POSIX$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/autosplit.ix
+	.${ARCH_LIB}/auto/POSIX/fstat.al
+	.${ARCH_LIB}/auto/POSIX/load_imports.al
+	.${ARCH_LIB}/auto/POSIX/stat.al
+	.${ARCH_LIB}/auto/POSIX/tmpfile.al
+	.${ARCH_LIB}/auto/Socket/Socket$(get_libname)
+	.${ARCH_LIB}/auto/Storable/Storable$(get_libname)
+	.${ARCH_LIB}/auto/Storable/_retrieve.al
+	.${ARCH_LIB}/auto/Storable/_store.al
+	.${ARCH_LIB}/auto/Storable/autosplit.ix
+	.${ARCH_LIB}/auto/Storable/retrieve.al
+	.${ARCH_LIB}/auto/Storable/store.al
+	.${ARCH_LIB}/auto/re/re$(get_libname)
+	.${ARCH_LIB}/encoding.pm
+	.${ARCH_LIB}/lib.pm
+	.${ARCH_LIB}/ops.pm
+	.${ARCH_LIB}/re.pm
+	.${ARCH_LIB}/threads.pm
+"
+
+	pushd "${ED}" > /dev/null
+	# Remove cruft
+	einfo "Removing files that are not in the minimal install"
+	echo "${MINIMAL_PERL_INSTALL}"
+	for f in $(find . -type f ) ; do
+		has "${f}" ${MINIMAL_PERL_INSTALL} || rm -f "${f}"
+	done
+	# Remove empty directories
+	find . -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+	#for f in ${MINIMAL_PERL_INSTALL} ; do
+	#	[[ -e $f ]] || ewarn "$f unused in MINIMAL_PERL_INSTALL"
+	#done
+	popd > /dev/null
+}

diff --git a/dev-lang/perl/perl-5.14.1-r1.ebuild b/dev-lang/perl/perl-5.14.1-r1.ebuild
new file mode 100644
index 0000000..6e4d51d
--- /dev/null
+++ b/dev-lang/perl/perl-5.14.1-r1.ebuild
@@ -0,0 +1,674 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.14.1-r1.ebuild,v 1.2 2012/01/02 22:52:21 zmedico Exp $
+
+EAPI=4
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib
+
+PATCH_VER=1
+
+PERL_OLDVERSEN="5.14.0"
+MODULE_AUTHOR=JESSE
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+	mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
+	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+	http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2"
+#	mirror://cpan/src/${MY_P}.tar.bz2
+#	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="berkdb build debug doc gdbm ithreads"
+
+COMMON_DEPEND="
+	berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	app-arch/bzip2
+	sys-libs/zlib
+"
+DEPEND="${COMMON_DEPEND}
+	elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs )
+"
+RDEPEND="${COMMON_DEPEND}
+"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+	src_remove_dual      perl-core/Archive-Tar        1.760.0      ptar ptardiff ptargrep
+	src_remove_dual      perl-core/Digest-SHA         5.610.0      shasum
+	src_remove_dual      perl-core/CPAN               1.960.0      cpan
+	src_remove_dual      perl-core/CPANPLUS           0.910.300    cpanp cpan2dist
+	src_remove_dual_file perl-core/CPANPLUS           0.910.300    /usr/bin/cpanp-run-perl
+	src_remove_dual      perl-core/Encode             2.420.0      enc2xs piconv
+	src_remove_dual      perl-core/ExtUtils-MakeMaker 6.570.500_rc instmodsh
+	src_remove_dual      perl-core/ExtUtils-ParseXS   2.221.0      xsubpp
+	src_remove_dual      perl-core/JSON-PP            2.271.50     json_pp
+	src_remove_dual      perl-core/Module-Build       0.380.0      config_data
+	src_remove_dual      perl-core/Module-CoreList    2.490.100-rc corelist
+	src_remove_dual      perl-core/PodParser          1.370.0      pod2usage podchecker podselect
+	src_remove_dual      perl-core/Test-Harness       3.230.0      prove
+	src_remove_dual      perl-core/podlators          2.4.0        pod2man pod2text
+	src_remove_dual_man  perl-core/podlators          2.4.0        /usr/share/man/man1/perlpodstyle.1
+}
+
+pkg_pretend() {
+	check_rebuild
+}
+
+pkg_setup() {
+	case ${CHOST} in
+		*-freebsd*)   osname="freebsd" ;;
+		*-dragonfly*) osname="dragonfly" ;;
+		*-netbsd*)    osname="netbsd" ;;
+		*-openbsd*)   osname="openbsd" ;;
+		*-darwin*)    osname="darwin" ;;
+		*)            osname="linux" ;;
+	esac
+
+	if use ithreads ; then
+		mythreading="-multi"
+		myarch="${CHOST%%-*}-${osname}-thread"
+	else
+		myarch="${CHOST%%-*}-${osname}"
+	fi
+	if use debug ; then
+		myarch="${myarch}-debug"
+	fi
+
+	LIBPERL="libperl$(get_libname ${MY_PV} )"
+	PRIV_LIB="/usr/$(get_libdir)/perl5/${MY_PV}"
+	ARCH_LIB="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
+	SITE_LIB="/usr/local/$(get_libdir)/perl5/${MY_PV}"
+	SITE_ARCH="/usr/local/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
+	VENDOR_LIB="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}"
+	VENDOR_ARCH="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}"
+
+	if use ithreads ; then
+		echo ""
+		ewarn "THREADS WARNING:"
+		ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
+		ewarn "interpreter-level threading enabled."
+		ewarn "Threading is not supported by all applications "
+		ewarn "that compile against perl. You use threading at "
+		ewarn "your own discretion. "
+	fi
+	check_rebuild
+	dual_scripts
+}
+
+check_rebuild() {
+	if has_version "<dev-lang/perl-${SHORT_PV}" ; then
+		echo ""
+		ewarn "UPDATE THE PERL MODULES:"
+		ewarn "After updating dev-lang/perl you must reinstall"
+		ewarn "the installed perl modules."
+		ewarn "Use: perl-cleaner --all"
+	elif has_version dev-lang/perl ; then
+		# doesnot work
+		#if ! has_version dev-lang/perl[ithreads=,debug=] ; then
+		#if ! has_version dev-lang/perl[ithreads=] || ! has_version dev-lang/perl[debug=] ; then
+		if (   use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
+		   ( ! use ithreads &&   has_version dev-lang/perl[ithreads] ) || \
+		   (   use debug    && ! has_version dev-lang/perl[debug]    ) || \
+		   ( ! use debug    &&   has_version dev-lang/perl[debug]    ) ; then
+			echo ""
+			ewarn "TOGGLED USE-FLAGS WARNING:"
+			ewarn "You changed one of the use-flags ithreads or debug."
+			ewarn "You must rebuild all perl-modules installed."
+			ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
+		fi
+	fi
+}
+
+src_prepare_update_patchlevel_h() {
+	[[ -f ${WORKDIR}/perl-patch/series ]] || return 0
+
+	while read patch level ; do
+		sed -i -e "s/^\t,NULL$/	,\"${patch//__/_}\"\n&/" "${S}"/patchlevel.h || die
+	done < "${WORKDIR}"/perl-patch/series
+}
+
+src_prepare() {
+	EPATCH_SOURCE="${WORKDIR}/perl-patch" \
+	EPATCH_SUFFIX="diff" \
+	EPATCH_FORCE="yes" \
+	EPATCH_OPTS="-p1" \
+	epatch
+
+	src_prepare_update_patchlevel_h
+
+	# pod/perltoc.pod fails
+	# lib/ExtUtils/t/Embed.t fails
+	ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV}) || die
+	ln -s ${LIBPERL} libperl$(get_libname ) || die
+}
+
+myconf() {
+	# the myconf array is declared in src_configure
+	myconf=( "${myconf[@]}" "$@" )
+}
+
+src_configure() {
+	declare -a myconf
+
+	export LC_ALL="C"
+	[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
+
+	# some arches and -O do not mix :)
+	use ppc && replace-flags -O? -O1
+	# Perl has problems compiling with -Os in your flags with glibc
+	use elibc_uclibc || replace-flags "-Os" "-O2"
+	# This flag makes compiling crash in interesting ways
+	filter-flags "-malign-double"
+	# Fixes bug #97645
+	use ppc && filter-flags "-mpowerpc-gpopt"
+	# Fixes bug #143895 on gcc-4.1.1
+	filter-flags "-fsched2-use-superblocks"
+
+	# this is needed because gcc 3.3-compiled kernels will hang
+	# the machine trying to run this test - check with `Kumba
+	# <rac@gentoo.org> 2003.06.26
+	use mips && myconf -Dd_u32align
+
+	use sparc && myconf -Ud_longdbl
+
+	# 266337
+	export BUILD_BZIP2=0
+	export BZIP2_INCLUDE=/usr/include
+	export BZIP2_LIB=/usr/$(get_libdir)
+	cat <<-EOF > "${S}/cpan/Compress-Raw-Zlib/config.in"
+		BUILD_ZLIB = False
+		INCLUDE = /usr/include
+		LIB = /usr/$(get_libdir)
+
+		OLD_ZLIB = False
+		GZIP_OS_CODE = AUTO_DETECT
+	EOF
+
+	# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
+
+	myndbm='U'
+	mygdbm='U'
+	mydb='U'
+
+	if use gdbm ; then
+		mygdbm='D'
+		myndbm='D'
+	fi
+	if use berkdb ; then
+		mydb='D'
+		has_version '=sys-libs/db-1*' && myndbm='D'
+	fi
+
+	myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
+
+	if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
+		ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
+		myconf -Ui_db -Ui_ndbm
+	fi
+
+	use ithreads && myconf -Dusethreads
+
+	if use debug ; then
+		append-cflags "-g"
+		myconf -DDEBUGGING
+	elif [[ ${CFLAGS} == *-g* ]] ; then
+		myconf -DDEBUGGING=-g
+	else
+		myconf -DDEBUGGING=none
+	fi
+
+	if [[ -n ${PERL_OLDVERSEN} ]] ; then
+		local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarch}${mythreading} ${v} "; done )
+		myconf -Dinc_version_list="${inclist}"
+	fi
+
+	[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
+
+	if [[ $(get_libdir) != "lib" ]] ; then
+		# We need to use " and not ', as the written config.sh use ' ...
+		myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
+	fi
+
+	sh Configure \
+		-des \
+		-Duseshrplib \
+		-Darchname="${myarch}" \
+		-Dcc="$(tc-getCC)" \
+		-Doptimize="${CFLAGS}" \
+		-Dldflags="${LDFLAGS}" \
+		-Dprefix='/usr' \
+		-Dsiteprefix='/usr' \
+		-Dvendorprefix='/usr' \
+		-Dscriptdir='/usr/bin' \
+		-Dprivlib="${PRIV_LIB}" \
+		-Darchlib="${ARCH_LIB}" \
+		-Dsitelib="${SITE_LIB}" \
+		-Dsitearch="${SITE_ARCH}" \
+		-Dvendorlib="${VENDOR_LIB}" \
+		-Dvendorarch="${VENDOR_ARCH}" \
+		-Dman1dir=/usr/share/man/man1 \
+		-Dman3dir=/usr/share/man/man3 \
+		-Dsiteman1dir=/usr/share/man/man1 \
+		-Dsiteman3dir=/usr/share/man/man3 \
+		-Dvendorman1dir=/usr/share/man/man1 \
+		-Dvendorman3dir=/usr/share/man/man3 \
+		-Dman1ext='1' \
+		-Dman3ext='3pm' \
+		-Dlibperl="${LIBPERL}" \
+		-Dlocincpth=' ' \
+		-Duselargefiles \
+		-Dd_semctl_semun \
+		-Dcf_by='Gentoo' \
+		-Dmyhostname='localhost' \
+		-Dperladmin='root@localhost' \
+		-Dinstallusrbinperl='n' \
+		-Ud_csh \
+		-Uusenm \
+		"${myconf[@]}" || die "Unable to configure"
+}
+
+src_test() {
+	if [[ ${EUID} == 0 ]] ; then
+		ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
+		return 0
+	fi
+	use elibc_uclibc && export MAKEOPTS+=" -j1"
+	TEST_JOBS=$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs=)([[:digit:]]+).*/\2/' ) \
+		make test_harness || die "test failed"
+}
+
+src_install() {
+	local i
+	local coredir="${ARCH_LIB}/CORE"
+
+	local installtarget=install
+	if use build ; then
+		installtarget=install.perl
+	fi
+	emake DESTDIR="${D}" ${installtarget}
+
+	rm -f "${D}"/usr/bin/perl
+	ln -s perl${MY_PV} "${D}"/usr/bin/perl || die
+
+	dolib.so "${D}"${coredir}/${LIBPERL}
+	rm -f "${D}"${coredir}/${LIBPERL}
+	ln -sf ${LIBPERL} "${D}"/usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
+	ln -sf ${LIBPERL} "${D}"/usr/$(get_libdir)/libperl$(get_libname) || die
+	ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${D}"${coredir}/${LIBPERL} || die
+	ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${D}"${coredir}/libperl$(get_libname ${SHORT_PV}) || die
+	ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${D}"${coredir}/libperl$(get_libname) || die
+
+	rm -rf "${D}"/usr/share/man/man3 || die "Unable to remove module man pages"
+
+#	# A poor fix for the miniperl issues
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
+#	fperms 0755 /usr/bin/xsubpp
+
+	# This removes ${D} from Config.pm
+	for i in $(find "${D}" -iname "Config.pm" ) ; do
+		einfo "Removing ${D} from ${i}..."
+		sed -i -e "s:${D}::" "${i}" || die "Sed failed"
+	done
+
+	find "${D}" -type f -name .packlist -delete || die
+
+	# Note: find out from psm why we would need/want this.
+	# ( use berkdb && has_version '=sys-libs/db-1*' ) ||
+	#	find "${D}" -name "*NDBM*" | xargs rm -f
+
+	dodoc Changes* README AUTHORS
+
+	if use doc ; then
+		# HTML Documentation
+		# We expect errors, warnings, and such with the following.
+
+		dodir /usr/share/doc/${PF}/html
+		LD_LIBRARY_PATH=. ./perl installhtml \
+			--podroot='.' \
+			--podpath='lib:ext:pod:vms' \
+			--recurse \
+			--htmldir="${D}/usr/share/doc/${PF}/html" \
+			--libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
+	fi
+
+	if use build ; then
+		src_remove_extra_files
+	fi
+
+	dual_scripts
+}
+
+pkg_postinst() {
+	dual_scripts
+
+	if [[ "${ROOT}" = "/" ]] ; then
+		local INC DIR file
+		INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }')
+		einfo "Removing old .ph files"
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
+					rm -f "${file}"
+					einfo "<< ${file}"
+				done
+			fi
+		done
+		# Silently remove the now empty dirs
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+			fi
+		done
+#		if ! use build ; then
+#			ebegin "Generating ConfigLocal.pm (ignore any error)"
+#			enc2xs -C
+#		fi
+
+		einfo "Converting C header files to the corresponding Perl format (ignore any error)"
+		pushd /usr/include >/dev/null
+			h2ph -Q -a -d ${ARCH_LIB} \
+				asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \
+				sys/socket.h sys/time.h wait.h sysexits.h
+		popd >/dev/null
+
+# This has been moved into a function because rumor has it that a future release
+# of portage will allow us to check what version was just removed - which means
+# we will be able to invoke this only as needed :)
+		# Tried doing this via  -z, but $INC is too big...
+		#if [[ "${INC}x" != "x" ]]; then
+		#	cleaner_msg
+		#fi
+	fi
+}
+
+pkg_postrm(){
+	dual_scripts
+
+#	if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then
+#		ebegin "Removing ConfigLocal.pm"
+#		rm "${ARCH_LIB}/Encode/ConfigLocal.pm"
+#	fi
+}
+
+cleaner_msg() {
+	eerror "You have had multiple versions of perl. It is recommended"
+	eerror "that you run perl-cleaner now. perl-cleaner will"
+	eerror "assist with this transition. This script is capable"
+	eerror "of cleaning out old .ph files, rebuilding modules for "
+	eerror "your new version of perl, as well as re-emerging"
+	eerror "applications that compiled against your old libperl$(get_libname)"
+	eerror
+	eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
+	eerror "Part of the rebuilding of applications compiled against "
+	eerror "your old libperl involves temporarily unmerging"
+	eerror "them - interruptions could leave you with unmerged"
+	eerror "packages before they can be remerged."
+	eerror ""
+	eerror "If you have run perl-cleaner and a package still gives"
+	eerror "you trouble, and re-emerging it fails to correct"
+	eerror "the problem, please check http://bugs.gentoo.org/"
+	eerror "for more information or to report a bug."
+	eerror ""
+}
+
+src_remove_dual_file() {
+	local i pkg ver
+	pkg="$1"
+	ver="$2"
+	shift 2
+	case "${EBUILD_PHASE:-none}" in
+		postinst|postrm)
+			for i in "$@" ; do
+				alternatives_auto_makesym "${i}" "${i}-[0-9]*"
+			done
+			;;
+		setup)
+			for i in "$@" ; do
+				if [[ -f ${ROOT}${i} && ! -h ${ROOT}${i} ]] ; then
+					has_version ${pkg} && ewarn "You must reinstall ${pkg} !"
+					break
+				fi
+			done
+			;;
+		install)
+			for i in "$@" ; do
+				if ! [[ -f "${D}"${i} ]] ; then
+					use build || ewarn "${i} does not exist!"
+					continue
+				fi
+				mv "${D}"${i}{,-${ver}-${P}} || die
+			done
+			;;
+	esac
+}
+
+src_remove_dual_man() {
+	local i pkg ver ff
+	pkg="$1"
+	ver="$2"
+	shift 2
+	case "${EBUILD_PHASE:-none}" in
+		postinst|postrm)
+			for i in "$@" ; do
+				ff=`echo "${ROOT}${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}}"*`
+				ff=${ff##*${i#${i%.[0-9]}}}
+				alternatives_auto_makesym "${i}${ff}" "${i%.[0-9]}-[0-9]*"
+			done
+			;;
+		install)
+			for i in "$@" ; do
+				if ! [[ -f "${D}"${i} ]] ; then
+					use build || ewarn "${i} does not exist!"
+					continue
+				fi
+				mv "${D}"${i} "${D}"${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}} || die
+			done
+			;;
+	esac
+}
+
+src_remove_dual() {
+	local i pkg ver
+	pkg="$1"
+	ver="$2"
+	shift 2
+	for i in "$@" ; do
+		src_remove_dual_file  "${pkg}" "${ver}" "/usr/bin/${i}"
+		src_remove_dual_man   "${pkg}" "${ver}" "/usr/share/man/man1/${i}.1"
+	done
+}
+
+src_remove_extra_files() {
+	local prefix="./usr" # ./ is important
+	local bindir="${prefix}/bin"
+	local libdir="${prefix}/$(get_libdir)"
+
+	# I made this list from the Mandr*, Debian and ex-Connectiva perl-base list
+	# Then, I added several files to get GNU autotools running
+	# FIXME: should this be in a separated file to be sourced?
+	local MINIMAL_PERL_INSTALL="
+	${bindir}/h2ph
+	${bindir}/perl
+	${bindir}/perl${MY_PV}
+	${bindir}/pod2man
+	${libdir}/${LIBPERL}
+	${libdir}/libperl$(get_libname)
+	${libdir}/libperl$(get_libname ${SHORT_PV})
+	.${PRIV_LIB}/AutoLoader.pm
+	.${PRIV_LIB}/B/Deparse.pm
+	.${PRIV_LIB}/Carp.pm
+	.${PRIV_LIB}/Carp/Heavy.pm
+	.${PRIV_LIB}/Class/Struct.pm
+	.${PRIV_LIB}/DirHandle.pm
+	.${PRIV_LIB}/Exporter.pm
+	.${PRIV_LIB}/Exporter/Heavy.pm
+	.${PRIV_LIB}/ExtUtils/Command.pm
+	.${PRIV_LIB}/ExtUtils/Command/MM.pm
+	.${PRIV_LIB}/ExtUtils/Constant.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Base.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Utils.pm
+	.${PRIV_LIB}/ExtUtils/Constant/XS.pm
+	.${PRIV_LIB}/ExtUtils/Embed.pm
+	.${PRIV_LIB}/ExtUtils/Install.pm
+	.${PRIV_LIB}/ExtUtils/Installed.pm
+	.${PRIV_LIB}/ExtUtils/Liblist.pm
+	.${PRIV_LIB}/ExtUtils/Liblist/Kid.pm
+	.${PRIV_LIB}/ExtUtils/MM.pm
+	.${PRIV_LIB}/ExtUtils/MM_Any.pm
+	.${PRIV_LIB}/ExtUtils/MM_MacOS.pm
+	.${PRIV_LIB}/ExtUtils/MM_Unix.pm
+	.${PRIV_LIB}/ExtUtils/MY.pm
+	.${PRIV_LIB}/ExtUtils/MakeMaker.pm
+	.${PRIV_LIB}/ExtUtils/MakeMaker/Config.pm
+	.${PRIV_LIB}/ExtUtils/Manifest.pm
+	.${PRIV_LIB}/ExtUtils/Miniperl.pm
+	.${PRIV_LIB}/ExtUtils/Mkbootstrap.pm
+	.${PRIV_LIB}/ExtUtils/Mksymlists.pm
+	.${PRIV_LIB}/ExtUtils/Packlist.pm
+	.${PRIV_LIB}/ExtUtils/testlib.pm
+	.${PRIV_LIB}/File/Basename.pm
+	.${PRIV_LIB}/File/Compare.pm
+	.${PRIV_LIB}/File/Copy.pm
+	.${PRIV_LIB}/File/Find.pm
+	.${PRIV_LIB}/File/Path.pm
+	.${PRIV_LIB}/File/stat.pm
+	.${PRIV_LIB}/FileHandle.pm
+	.${PRIV_LIB}/Getopt/Long.pm
+	.${PRIV_LIB}/Getopt/Std.pm
+	.${PRIV_LIB}/IPC/Open2.pm
+	.${PRIV_LIB}/IPC/Open3.pm
+	.${PRIV_LIB}/PerlIO.pm
+	.${PRIV_LIB}/Pod/InputObjects.pm
+	.${PRIV_LIB}/Pod/Man.pm
+	.${PRIV_LIB}/Pod/ParseLink.pm
+	.${PRIV_LIB}/Pod/Parser.pm
+	.${PRIV_LIB}/Pod/Select.pm
+	.${PRIV_LIB}/Pod/Text.pm
+	.${PRIV_LIB}/Pod/Usage.pm
+	.${PRIV_LIB}/SelectSaver.pm
+	.${PRIV_LIB}/Symbol.pm
+	.${PRIV_LIB}/Text/ParseWords.pm
+	.${PRIV_LIB}/Text/Tabs.pm
+	.${PRIV_LIB}/Text/Wrap.pm
+	.${PRIV_LIB}/Tie/Hash.pm
+	.${PRIV_LIB}/Time/Local.pm
+	.${PRIV_LIB}/XSLoader.pm
+	.${PRIV_LIB}/autouse.pm
+	.${PRIV_LIB}/base.pm
+	.${PRIV_LIB}/bigint.pm
+	.${PRIV_LIB}/bignum.pm
+	.${PRIV_LIB}/bigrat.pm
+	.${PRIV_LIB}/blib.pm
+	.${PRIV_LIB}/bytes.pm
+	.${PRIV_LIB}/bytes_heavy.pl
+	.${PRIV_LIB}/charnames.pm
+	.${PRIV_LIB}/constant.pm
+	.${PRIV_LIB}/diagnostics.pm
+	.${PRIV_LIB}/fields.pm
+	.${PRIV_LIB}/filetest.pm
+	.${PRIV_LIB}/if.pm
+	.${PRIV_LIB}/integer.pm
+	.${PRIV_LIB}/less.pm
+	.${PRIV_LIB}/locale.pm
+	.${PRIV_LIB}/open.pm
+	.${PRIV_LIB}/overload.pm
+	.${PRIV_LIB}/sigtrap.pm
+	.${PRIV_LIB}/sort.pm
+	.${PRIV_LIB}/stat.pl
+	.${PRIV_LIB}/strict.pm
+	.${PRIV_LIB}/subs.pm
+	.${PRIV_LIB}/unicore/To/Fold.pl
+	.${PRIV_LIB}/unicore/To/Lower.pl
+	.${PRIV_LIB}/unicore/To/Upper.pl
+	.${PRIV_LIB}/utf8.pm
+	.${PRIV_LIB}/utf8_heavy.pl
+	.${PRIV_LIB}/vars.pm
+	.${PRIV_LIB}/vmsish.pm
+	.${PRIV_LIB}/warnings
+	.${PRIV_LIB}/warnings.pm
+	.${PRIV_LIB}/warnings/register.pm
+	.${ARCH_LIB}/B.pm
+	.${ARCH_LIB}/CORE/libperl$(get_libname)
+	.${ARCH_LIB}/Config.pm
+	.${ARCH_LIB}/Config_heavy.pl
+	.${ARCH_LIB}/Cwd.pm
+	.${ARCH_LIB}/Data/Dumper.pm
+	.${ARCH_LIB}/DynaLoader.pm
+	.${ARCH_LIB}/Errno.pm
+	.${ARCH_LIB}/Fcntl.pm
+	.${ARCH_LIB}/File/Glob.pm
+	.${ARCH_LIB}/File/Spec.pm
+	.${ARCH_LIB}/File/Spec/Unix.pm
+	.${ARCH_LIB}/IO.pm
+	.${ARCH_LIB}/IO/File.pm
+	.${ARCH_LIB}/IO/Handle.pm
+	.${ARCH_LIB}/IO/Pipe.pm
+	.${ARCH_LIB}/IO/Seekable.pm
+	.${ARCH_LIB}/IO/Select.pm
+	.${ARCH_LIB}/IO/Socket.pm
+	.${ARCH_LIB}/IO/Socket/INET.pm
+	.${ARCH_LIB}/IO/Socket/UNIX.pm
+	.${ARCH_LIB}/List/Util.pm
+	.${ARCH_LIB}/NDBM_File.pm
+	.${ARCH_LIB}/POSIX.pm
+	.${ARCH_LIB}/Scalar/Util.pm
+	.${ARCH_LIB}/Socket.pm
+	.${ARCH_LIB}/Storable.pm
+	.${ARCH_LIB}/attributes.pm
+	.${ARCH_LIB}/auto/Cwd/Cwd$(get_libname)
+	.${ARCH_LIB}/auto/Data/Dumper/Dumper$(get_libname)
+	.${ARCH_LIB}/auto/DynaLoader/dl_findfile.al
+	.${ARCH_LIB}/auto/Fcntl/Fcntl$(get_libname)
+	.${ARCH_LIB}/auto/File/Glob/Glob$(get_libname)
+	.${ARCH_LIB}/auto/IO/IO$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/POSIX$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/autosplit.ix
+	.${ARCH_LIB}/auto/POSIX/fstat.al
+	.${ARCH_LIB}/auto/POSIX/load_imports.al
+	.${ARCH_LIB}/auto/POSIX/stat.al
+	.${ARCH_LIB}/auto/POSIX/tmpfile.al
+	.${ARCH_LIB}/auto/Socket/Socket$(get_libname)
+	.${ARCH_LIB}/auto/Storable/Storable$(get_libname)
+	.${ARCH_LIB}/auto/Storable/_retrieve.al
+	.${ARCH_LIB}/auto/Storable/_store.al
+	.${ARCH_LIB}/auto/Storable/autosplit.ix
+	.${ARCH_LIB}/auto/Storable/retrieve.al
+	.${ARCH_LIB}/auto/Storable/store.al
+	.${ARCH_LIB}/auto/re/re$(get_libname)
+	.${ARCH_LIB}/encoding.pm
+	.${ARCH_LIB}/lib.pm
+	.${ARCH_LIB}/ops.pm
+	.${ARCH_LIB}/re.pm
+	.${ARCH_LIB}/threads.pm
+"
+
+	pushd "${D}" > /dev/null
+	# Remove cruft
+	einfo "Removing files that are not in the minimal install"
+	echo "${MINIMAL_PERL_INSTALL}"
+	for f in $(find . -type f ) ; do
+		has "${f}" ${MINIMAL_PERL_INSTALL} || rm -f "${f}"
+	done
+	# Remove empty directories
+	find . -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+	#for f in ${MINIMAL_PERL_INSTALL} ; do
+	#	[[ -e ${f} ]] || ewarn "${f} unused in MINIMAL_PERL_INSTALL"
+	#done
+	popd > /dev/null
+}

diff --git a/dev-lang/perl/perl-5.14.1.ebuild b/dev-lang/perl/perl-5.14.1.ebuild
new file mode 100644
index 0000000..0102670
--- /dev/null
+++ b/dev-lang/perl/perl-5.14.1.ebuild
@@ -0,0 +1,633 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.14.1.ebuild,v 1.2 2012/01/02 22:52:21 zmedico Exp $
+
+EAPI=4
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib
+
+PATCH_VER=1
+
+PERL_OLDVERSEN="5.14.0"
+MODULE_AUTHOR=JESSE
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+	mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
+	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+	http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2"
+#	mirror://cpan/src/${MY_P}.tar.bz2
+#	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="berkdb build debug doc gdbm ithreads"
+
+COMMON_DEPEND="
+	berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	app-arch/bzip2
+	sys-libs/zlib
+"
+DEPEND="${COMMON_DEPEND}
+	elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs )
+"
+RDEPEND="${COMMON_DEPEND}
+"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+	src_remove_dual_scripts perl-core/Archive-Tar        1.760.0      ptar ptardiff ptargrep
+	src_remove_dual_scripts perl-core/Digest-SHA         5.610.0      shasum
+	src_remove_dual_scripts perl-core/CPAN               1.960.0      cpan
+	src_remove_dual_scripts perl-core/CPANPLUS           0.910.300    cpanp cpan2dist cpanp-run-perl
+	src_remove_dual_scripts perl-core/Encode             2.420.0      enc2xs piconv
+	src_remove_dual_scripts perl-core/ExtUtils-MakeMaker 6.570.500_rc instmodsh
+	src_remove_dual_scripts perl-core/JSON-PP            2.271.50     json_pp
+	src_remove_dual_scripts perl-core/Module-Build       0.380.0      config_data
+	src_remove_dual_scripts perl-core/Module-CoreList    2.490.100-rc corelist
+	src_remove_dual_scripts perl-core/PodParser          1.370.0      pod2usage podchecker podselect
+	src_remove_dual_scripts perl-core/Test-Harness       3.230.0      prove
+	src_remove_dual_scripts perl-core/podlators          2.4.0        pod2man pod2text
+}
+
+pkg_setup() {
+	case ${CHOST} in
+		*-freebsd*)   osname="freebsd" ;;
+		*-dragonfly*) osname="dragonfly" ;;
+		*-netbsd*)    osname="netbsd" ;;
+		*-openbsd*)   osname="openbsd" ;;
+		*-darwin*)    osname="darwin" ;;
+		*)            osname="linux" ;;
+	esac
+
+	if use ithreads ; then
+		mythreading="-multi"
+		myarch="${CHOST%%-*}-${osname}-thread"
+	else
+		myarch="${CHOST%%-*}-${osname}"
+	fi
+	if use debug ; then
+		myarch="${myarch}-debug"
+	fi
+
+	LIBPERL="libperl$(get_libname ${MY_PV} )"
+	PRIV_LIB="/usr/$(get_libdir)/perl5/${MY_PV}"
+	ARCH_LIB="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
+	SITE_LIB="/usr/local/$(get_libdir)/perl5/${MY_PV}"
+	SITE_ARCH="/usr/local/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
+	VENDOR_LIB="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}"
+	VENDOR_ARCH="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}"
+
+	if use ithreads ; then
+		echo ""
+		ewarn "THREADS WARNING:"
+		ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
+		ewarn "interpreter-level threading enabled."
+		ewarn "Threading is not supported by all applications "
+		ewarn "that compile against perl. You use threading at "
+		ewarn "your own discretion. "
+	fi
+	if has_version "<dev-lang/perl-${SHORT_PV}" ; then
+		echo ""
+		ewarn "UPDATE THE PERL MODULES:"
+		ewarn "After updating dev-lang/perl you must reinstall"
+		ewarn "the installed perl modules."
+		ewarn "Use: perl-cleaner --all"
+	elif has_version dev-lang/perl ; then
+		# doesnot work
+		#if ! has_version dev-lang/perl[ithreads=,debug=] ; then
+		#if ! has_version dev-lang/perl[ithreads=] || ! has_version dev-lang/perl[debug=] ; then
+		if (   use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
+		   ( ! use ithreads &&   has_version dev-lang/perl[ithreads] ) || \
+		   (   use debug    && ! has_version dev-lang/perl[debug]    ) || \
+		   ( ! use debug    &&   has_version dev-lang/perl[debug]    ) ; then
+			echo ""
+			ewarn "TOGGLED USE-FLAGS WARNING:"
+			ewarn "You changed one of the use-flags ithreads or debug."
+			ewarn "You must rebuild all perl-modules installed."
+			ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
+		fi
+	fi
+	dual_scripts
+}
+
+src_prepare_update_patchlevel_h() {
+	[[ -f ${WORKDIR}/perl-patch/series ]] || return 0
+
+	while read patch level ; do
+		sed -i -e "s/^\t,NULL$/	,\"${patch//__/_}\"\n&/" "${S}"/patchlevel.h || die
+	done < "${WORKDIR}"/perl-patch/series
+}
+
+src_prepare() {
+	EPATCH_SOURCE="${WORKDIR}/perl-patch" \
+	EPATCH_SUFFIX="diff" \
+	EPATCH_FORCE="yes" \
+	EPATCH_OPTS="-p1" \
+	epatch
+
+	src_prepare_update_patchlevel_h
+
+	# pod/perltoc.pod fails
+	# lib/ExtUtils/t/Embed.t fails
+	ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV}) || die
+	ln -s ${LIBPERL} libperl$(get_libname ) || die
+}
+
+myconf() {
+	# the myconf array is declared in src_configure
+	myconf=( "${myconf[@]}" "$@" )
+}
+
+src_configure() {
+	declare -a myconf
+
+	export LC_ALL="C"
+	[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
+
+	# some arches and -O do not mix :)
+	use ppc && replace-flags -O? -O1
+	# Perl has problems compiling with -Os in your flags with glibc
+	use elibc_uclibc || replace-flags "-Os" "-O2"
+	# This flag makes compiling crash in interesting ways
+	filter-flags "-malign-double"
+	# Fixes bug #97645
+	use ppc && filter-flags "-mpowerpc-gpopt"
+	# Fixes bug #143895 on gcc-4.1.1
+	filter-flags "-fsched2-use-superblocks"
+
+	# this is needed because gcc 3.3-compiled kernels will hang
+	# the machine trying to run this test - check with `Kumba
+	# <rac@gentoo.org> 2003.06.26
+	use mips && myconf -Dd_u32align
+
+	use sparc && myconf -Ud_longdbl
+
+	# 266337
+	export BUILD_BZIP2=0
+	export BZIP2_INCLUDE=/usr/include
+	export BZIP2_LIB=/usr/$(get_libdir)
+	cat <<-EOF > "${S}/cpan/Compress-Raw-Zlib/config.in"
+		BUILD_ZLIB = False
+		INCLUDE = /usr/include
+		LIB = /usr/$(get_libdir)
+
+		OLD_ZLIB = False
+		GZIP_OS_CODE = AUTO_DETECT
+	EOF
+
+	# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
+
+	myndbm='U'
+	mygdbm='U'
+	mydb='U'
+
+	if use gdbm ; then
+		mygdbm='D'
+		myndbm='D'
+	fi
+	if use berkdb ; then
+		mydb='D'
+		has_version '=sys-libs/db-1*' && myndbm='D'
+	fi
+
+	myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
+
+	if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
+		ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
+		myconf -Ui_db -Ui_ndbm
+	fi
+
+	use ithreads && myconf -Dusethreads
+
+	if use debug ; then
+		append-cflags "-g"
+		myconf -DDEBUGGING
+	elif [[ ${CFLAGS} == *-g* ]] ; then
+		myconf -DDEBUGGING=-g
+	else
+		myconf -DDEBUGGING=none
+	fi
+
+	if [[ -n ${PERL_OLDVERSEN} ]] ; then
+		local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarch}${mythreading} ${v} "; done )
+		myconf -Dinc_version_list="$inclist"
+	fi
+
+	[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
+
+	if [[ $(get_libdir) != "lib" ]] ; then
+		# We need to use " and not ', as the written config.sh use ' ...
+		myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
+	fi
+
+	sh Configure \
+		-des \
+		-Duseshrplib \
+		-Darchname="${myarch}" \
+		-Dcc="$(tc-getCC)" \
+		-Doptimize="${CFLAGS}" \
+		-Dldflags="${LDFLAGS}" \
+		-Dprefix='/usr' \
+		-Dsiteprefix='/usr' \
+		-Dvendorprefix='/usr' \
+		-Dscriptdir='/usr/bin' \
+		-Dprivlib="${PRIV_LIB}" \
+		-Darchlib="${ARCH_LIB}" \
+		-Dsitelib="${SITE_LIB}" \
+		-Dsitearch="${SITE_ARCH}" \
+		-Dvendorlib="${VENDOR_LIB}" \
+		-Dvendorarch="${VENDOR_ARCH}" \
+		-Dman1dir=/usr/share/man/man1 \
+		-Dman3dir=/usr/share/man/man3 \
+		-Dsiteman1dir=/usr/share/man/man1 \
+		-Dsiteman3dir=/usr/share/man/man3 \
+		-Dvendorman1dir=/usr/share/man/man1 \
+		-Dvendorman3dir=/usr/share/man/man3 \
+		-Dman1ext='1' \
+		-Dman3ext='3pm' \
+		-Dlibperl="${LIBPERL}" \
+		-Dlocincpth=' ' \
+		-Duselargefiles \
+		-Dd_semctl_semun \
+		-Dcf_by='Gentoo' \
+		-Dmyhostname='localhost' \
+		-Dperladmin='root@localhost' \
+		-Dinstallusrbinperl='n' \
+		-Ud_csh \
+		-Uusenm \
+		"${myconf[@]}" || die "Unable to configure"
+}
+
+src_test() {
+	if [[ ${EUID} == 0 ]] ; then
+		ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
+		return 0
+	fi
+	use elibc_uclibc && export MAKEOPTS+=" -j1"
+	TEST_JOBS=$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs=)([[:digit:]]+).*/\2/' ) \
+		make test_harness || die "test failed"
+}
+
+src_install() {
+	local i
+	local coredir="${ARCH_LIB}/CORE"
+
+	local installtarget=install
+	if use build ; then
+		installtarget=install.perl
+	fi
+	emake DESTDIR="${D}" ${installtarget}
+
+	rm -f "${D}"/usr/bin/perl
+	ln -s perl${MY_PV} "${D}"/usr/bin/perl || die
+
+	dolib.so "${D}"${coredir}/${LIBPERL}
+	rm -f "${D}"${coredir}/${LIBPERL}
+	ln -sf ${LIBPERL} "${D}"/usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
+	ln -sf ${LIBPERL} "${D}"/usr/$(get_libdir)/libperl$(get_libname) || die
+	ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${D}"${coredir}/${LIBPERL} || die
+	ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${D}"${coredir}/libperl$(get_libname ${SHORT_PV}) || die
+	ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${D}"${coredir}/libperl$(get_libname) || die
+
+	rm -rf "${D}"/usr/share/man/man3 || die "Unable to remove module man pages"
+
+#	# A poor fix for the miniperl issues
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
+#	fperms 0755 /usr/bin/xsubpp
+
+	# This removes ${D} from Config.pm
+	for i in $(find "${D}" -iname "Config.pm" ) ; do
+		einfo "Removing ${D} from ${i}..."
+		sed -i -e "s:${D}::" "${i}" || die "Sed failed"
+	done
+
+	find "${D}" -type f -name .packlist -delete || die
+
+	# Note: find out from psm why we would need/want this.
+	# ( use berkdb && has_version '=sys-libs/db-1*' ) ||
+	#	find "${D}" -name "*NDBM*" | xargs rm -f
+
+	dodoc Changes* README AUTHORS
+
+	if use doc ; then
+		# HTML Documentation
+		# We expect errors, warnings, and such with the following.
+
+		dodir /usr/share/doc/${PF}/html
+		LD_LIBRARY_PATH=. ./perl installhtml \
+			--podroot='.' \
+			--podpath='lib:ext:pod:vms' \
+			--recurse \
+			--htmldir="${D}/usr/share/doc/${PF}/html" \
+			--libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
+	fi
+
+	if use build ; then
+		src_remove_extra_files
+	fi
+
+	dual_scripts
+}
+
+pkg_postinst() {
+	dual_scripts
+
+	if [[ "${ROOT}" = "/" ]] ; then
+		local INC DIR file
+		INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }')
+		einfo "Removing old .ph files"
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
+					rm -f "${file}"
+					einfo "<< ${file}"
+				done
+			fi
+		done
+		# Silently remove the now empty dirs
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+			fi
+		done
+#		if ! use build ; then
+#			ebegin "Generating ConfigLocal.pm (ignore any error)"
+#			enc2xs -C
+#		fi
+
+		einfo "Converting C header files to the corresponding Perl format (ignore any error)"
+		pushd /usr/include >/dev/null
+			h2ph -Q -a -d ${ARCH_LIB} \
+				asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \
+				sys/socket.h sys/time.h wait.h sysexits.h
+		popd >/dev/null
+
+# This has been moved into a function because rumor has it that a future release
+# of portage will allow us to check what version was just removed - which means
+# we will be able to invoke this only as needed :)
+		# Tried doing this via  -z, but $INC is too big...
+		#if [[ "${INC}x" != "x" ]]; then
+		#	cleaner_msg
+		#fi
+	fi
+}
+
+pkg_postrm(){
+	dual_scripts
+
+#	if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then
+#		ebegin "Removing ConfigLocal.pm"
+#		rm "${ARCH_LIB}/Encode/ConfigLocal.pm"
+#	fi
+}
+
+cleaner_msg() {
+	eerror "You have had multiple versions of perl. It is recommended"
+	eerror "that you run perl-cleaner now. perl-cleaner will"
+	eerror "assist with this transition. This script is capable"
+	eerror "of cleaning out old .ph files, rebuilding modules for "
+	eerror "your new version of perl, as well as re-emerging"
+	eerror "applications that compiled against your old libperl$(get_libname)"
+	eerror
+	eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
+	eerror "Part of the rebuilding of applications compiled against "
+	eerror "your old libperl involves temporarily unmerging"
+	eerror "them - interruptions could leave you with unmerged"
+	eerror "packages before they can be remerged."
+	eerror ""
+	eerror "If you have run perl-cleaner and a package still gives"
+	eerror "you trouble, and re-emerging it fails to correct"
+	eerror "the problem, please check http://bugs.gentoo.org/"
+	eerror "for more information or to report a bug."
+	eerror ""
+}
+
+src_remove_dual_scripts() {
+
+	local i pkg ver ff
+	pkg="$1"
+	ver="$2"
+	shift 2
+	if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ;then
+		for i in "$@" ; do
+			alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*"
+			if [[ ${i} != cpanp-run-perl ]] ; then
+				ff=`echo ${ROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*`
+				ff=${ff##*.1}
+				alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/share/man/man1/${i}-[0-9]*"
+			fi
+		done
+	elif has "${EBUILD_PHASE:-none}" "setup" ; then
+		for i in "$@" ; do
+			if [[ -f ${ROOT}/usr/bin/${i} && ! -h ${ROOT}/usr/bin/${i} ]] ; then
+				has_version ${pkg} && ewarn "You must reinstall $pkg !"
+				break
+			fi
+		done
+	else
+		for i in "$@" ; do
+			if ! [[ -f "${D}"/usr/bin/${i} ]] ; then
+				use build || ewarn "/usr/bin/${i} does not exist!"
+				continue
+			fi
+			mv "${D}"/usr/bin/${i}{,-${ver}-${P}} || die
+			if [[ -f ${D}/usr/share/man/man1/${i}.1 ]] ; then
+				mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || die
+			else
+				echo "/usr/share/man/man1/${i}.1 does not exist!"
+			fi
+		done
+	fi
+}
+
+src_remove_extra_files() {
+	local prefix="./usr" # ./ is important
+	local bindir="${prefix}/bin"
+	local libdir="${prefix}/$(get_libdir)"
+
+	# I made this list from the Mandr*, Debian and ex-Connectiva perl-base list
+	# Then, I added several files to get GNU autotools running
+	# FIXME: should this be in a separated file to be sourced?
+	local MINIMAL_PERL_INSTALL="
+	${bindir}/h2ph
+	${bindir}/perl
+	${bindir}/perl${MY_PV}
+	${bindir}/pod2man
+	${libdir}/${LIBPERL}
+	${libdir}/libperl$(get_libname)
+	${libdir}/libperl$(get_libname ${SHORT_PV})
+	.${PRIV_LIB}/AutoLoader.pm
+	.${PRIV_LIB}/B/Deparse.pm
+	.${PRIV_LIB}/Carp.pm
+	.${PRIV_LIB}/Carp/Heavy.pm
+	.${PRIV_LIB}/Class/Struct.pm
+	.${PRIV_LIB}/DirHandle.pm
+	.${PRIV_LIB}/Exporter.pm
+	.${PRIV_LIB}/Exporter/Heavy.pm
+	.${PRIV_LIB}/ExtUtils/Command.pm
+	.${PRIV_LIB}/ExtUtils/Command/MM.pm
+	.${PRIV_LIB}/ExtUtils/Constant.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Base.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Utils.pm
+	.${PRIV_LIB}/ExtUtils/Constant/XS.pm
+	.${PRIV_LIB}/ExtUtils/Embed.pm
+	.${PRIV_LIB}/ExtUtils/Install.pm
+	.${PRIV_LIB}/ExtUtils/Installed.pm
+	.${PRIV_LIB}/ExtUtils/Liblist.pm
+	.${PRIV_LIB}/ExtUtils/Liblist/Kid.pm
+	.${PRIV_LIB}/ExtUtils/MM.pm
+	.${PRIV_LIB}/ExtUtils/MM_Any.pm
+	.${PRIV_LIB}/ExtUtils/MM_MacOS.pm
+	.${PRIV_LIB}/ExtUtils/MM_Unix.pm
+	.${PRIV_LIB}/ExtUtils/MY.pm
+	.${PRIV_LIB}/ExtUtils/MakeMaker.pm
+	.${PRIV_LIB}/ExtUtils/Manifest.pm
+	.${PRIV_LIB}/ExtUtils/Miniperl.pm
+	.${PRIV_LIB}/ExtUtils/Mkbootstrap.pm
+	.${PRIV_LIB}/ExtUtils/Mksymlists.pm
+	.${PRIV_LIB}/ExtUtils/Packlist.pm
+	.${PRIV_LIB}/ExtUtils/testlib.pm
+	.${PRIV_LIB}/File/Basename.pm
+	.${PRIV_LIB}/File/Compare.pm
+	.${PRIV_LIB}/File/Copy.pm
+	.${PRIV_LIB}/File/Find.pm
+	.${PRIV_LIB}/File/Path.pm
+	.${PRIV_LIB}/File/stat.pm
+	.${PRIV_LIB}/FileHandle.pm
+	.${PRIV_LIB}/Getopt/Long.pm
+	.${PRIV_LIB}/Getopt/Std.pm
+	.${PRIV_LIB}/IPC/Open2.pm
+	.${PRIV_LIB}/IPC/Open3.pm
+	.${PRIV_LIB}/PerlIO.pm
+	.${PRIV_LIB}/Pod/InputObjects.pm
+	.${PRIV_LIB}/Pod/Man.pm
+	.${PRIV_LIB}/Pod/ParseLink.pm
+	.${PRIV_LIB}/Pod/Parser.pm
+	.${PRIV_LIB}/Pod/Select.pm
+	.${PRIV_LIB}/Pod/Text.pm
+	.${PRIV_LIB}/Pod/Usage.pm
+	.${PRIV_LIB}/SelectSaver.pm
+	.${PRIV_LIB}/Symbol.pm
+	.${PRIV_LIB}/Text/ParseWords.pm
+	.${PRIV_LIB}/Text/Tabs.pm
+	.${PRIV_LIB}/Text/Wrap.pm
+	.${PRIV_LIB}/Tie/Hash.pm
+	.${PRIV_LIB}/Time/Local.pm
+	.${PRIV_LIB}/XSLoader.pm
+	.${PRIV_LIB}/autouse.pm
+	.${PRIV_LIB}/base.pm
+	.${PRIV_LIB}/bigint.pm
+	.${PRIV_LIB}/bignum.pm
+	.${PRIV_LIB}/bigrat.pm
+	.${PRIV_LIB}/blib.pm
+	.${PRIV_LIB}/bytes.pm
+	.${PRIV_LIB}/bytes_heavy.pl
+	.${PRIV_LIB}/charnames.pm
+	.${PRIV_LIB}/constant.pm
+	.${PRIV_LIB}/diagnostics.pm
+	.${PRIV_LIB}/fields.pm
+	.${PRIV_LIB}/filetest.pm
+	.${PRIV_LIB}/if.pm
+	.${PRIV_LIB}/integer.pm
+	.${PRIV_LIB}/less.pm
+	.${PRIV_LIB}/locale.pm
+	.${PRIV_LIB}/open.pm
+	.${PRIV_LIB}/overload.pm
+	.${PRIV_LIB}/sigtrap.pm
+	.${PRIV_LIB}/sort.pm
+	.${PRIV_LIB}/stat.pl
+	.${PRIV_LIB}/strict.pm
+	.${PRIV_LIB}/subs.pm
+	.${PRIV_LIB}/unicore/To/Fold.pl
+	.${PRIV_LIB}/unicore/To/Lower.pl
+	.${PRIV_LIB}/unicore/To/Upper.pl
+	.${PRIV_LIB}/utf8.pm
+	.${PRIV_LIB}/utf8_heavy.pl
+	.${PRIV_LIB}/vars.pm
+	.${PRIV_LIB}/vmsish.pm
+	.${PRIV_LIB}/warnings
+	.${PRIV_LIB}/warnings.pm
+	.${PRIV_LIB}/warnings/register.pm
+	.${ARCH_LIB}/B.pm
+	.${ARCH_LIB}/CORE/libperl$(get_libname)
+	.${ARCH_LIB}/Config.pm
+	.${ARCH_LIB}/Config_heavy.pl
+	.${ARCH_LIB}/Cwd.pm
+	.${ARCH_LIB}/Data/Dumper.pm
+	.${ARCH_LIB}/DynaLoader.pm
+	.${ARCH_LIB}/Errno.pm
+	.${ARCH_LIB}/Fcntl.pm
+	.${ARCH_LIB}/File/Glob.pm
+	.${ARCH_LIB}/File/Spec.pm
+	.${ARCH_LIB}/File/Spec/Unix.pm
+	.${ARCH_LIB}/IO.pm
+	.${ARCH_LIB}/IO/File.pm
+	.${ARCH_LIB}/IO/Handle.pm
+	.${ARCH_LIB}/IO/Pipe.pm
+	.${ARCH_LIB}/IO/Seekable.pm
+	.${ARCH_LIB}/IO/Select.pm
+	.${ARCH_LIB}/IO/Socket.pm
+	.${ARCH_LIB}/IO/Socket/INET.pm
+	.${ARCH_LIB}/IO/Socket/UNIX.pm
+	.${ARCH_LIB}/List/Util.pm
+	.${ARCH_LIB}/NDBM_File.pm
+	.${ARCH_LIB}/POSIX.pm
+	.${ARCH_LIB}/Scalar/Util.pm
+	.${ARCH_LIB}/Socket.pm
+	.${ARCH_LIB}/Storable.pm
+	.${ARCH_LIB}/attributes.pm
+	.${ARCH_LIB}/auto/Cwd/Cwd$(get_libname)
+	.${ARCH_LIB}/auto/Data/Dumper/Dumper$(get_libname)
+	.${ARCH_LIB}/auto/DynaLoader/dl_findfile.al
+	.${ARCH_LIB}/auto/Fcntl/Fcntl$(get_libname)
+	.${ARCH_LIB}/auto/File/Glob/Glob$(get_libname)
+	.${ARCH_LIB}/auto/IO/IO$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/POSIX$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/autosplit.ix
+	.${ARCH_LIB}/auto/POSIX/fstat.al
+	.${ARCH_LIB}/auto/POSIX/load_imports.al
+	.${ARCH_LIB}/auto/POSIX/stat.al
+	.${ARCH_LIB}/auto/POSIX/tmpfile.al
+	.${ARCH_LIB}/auto/Socket/Socket$(get_libname)
+	.${ARCH_LIB}/auto/Storable/Storable$(get_libname)
+	.${ARCH_LIB}/auto/Storable/_retrieve.al
+	.${ARCH_LIB}/auto/Storable/_store.al
+	.${ARCH_LIB}/auto/Storable/autosplit.ix
+	.${ARCH_LIB}/auto/Storable/retrieve.al
+	.${ARCH_LIB}/auto/Storable/store.al
+	.${ARCH_LIB}/auto/re/re$(get_libname)
+	.${ARCH_LIB}/encoding.pm
+	.${ARCH_LIB}/lib.pm
+	.${ARCH_LIB}/ops.pm
+	.${ARCH_LIB}/re.pm
+	.${ARCH_LIB}/threads.pm
+"
+
+	pushd "${D}" > /dev/null
+	# Remove cruft
+	einfo "Removing files that are not in the minimal install"
+	echo "${MINIMAL_PERL_INSTALL}"
+	for f in $(find . -type f ) ; do
+		has "${f}" ${MINIMAL_PERL_INSTALL} || rm -f "${f}"
+	done
+	# Remove empty directories
+	find . -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+	#for f in ${MINIMAL_PERL_INSTALL} ; do
+	#	[[ -e $f ]] || ewarn "$f unused in MINIMAL_PERL_INSTALL"
+	#done
+	popd > /dev/null
+}

diff --git a/dev-lang/perl/perl-5.14.2.ebuild b/dev-lang/perl/perl-5.14.2.ebuild
new file mode 100644
index 0000000..a325acb
--- /dev/null
+++ b/dev-lang/perl/perl-5.14.2.ebuild
@@ -0,0 +1,715 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.14.2.ebuild,v 1.4 2012/03/03 12:29:38 grobian Exp $
+
+EAPI=4
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib
+
+PATCH_VER=1
+
+PERL_OLDVERSEN="5.14.0 5.14.1"
+MODULE_AUTHOR=FLORA
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+	mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
+	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+	http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2"
+#	mirror://cpan/src/${MY_P}.tar.bz2
+#	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="berkdb build debug doc gdbm ithreads"
+
+COMMON_DEPEND="
+	berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	app-arch/bzip2
+	sys-libs/zlib
+"
+DEPEND="${COMMON_DEPEND}
+	!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
+"
+RDEPEND="${COMMON_DEPEND}
+"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+	src_remove_dual      perl-core/Archive-Tar        1.760.0      ptar ptardiff ptargrep
+	src_remove_dual      perl-core/Digest-SHA         5.610.0      shasum
+	src_remove_dual      perl-core/CPAN               1.960.1_rc   cpan
+	src_remove_dual      perl-core/CPANPLUS           0.910.300    cpanp cpan2dist
+	src_remove_dual_file perl-core/CPANPLUS           0.910.300    /usr/bin/cpanp-run-perl
+	src_remove_dual      perl-core/Encode             2.420.100_rc enc2xs piconv
+	src_remove_dual      perl-core/ExtUtils-MakeMaker 6.570.500_rc instmodsh
+	src_remove_dual      perl-core/ExtUtils-ParseXS   2.221.0      xsubpp
+	src_remove_dual      perl-core/JSON-PP            2.271.50     json_pp
+	src_remove_dual      perl-core/Module-Build       0.380.0      config_data
+	src_remove_dual      perl-core/Module-CoreList    2.490.200_rc corelist
+	src_remove_dual      perl-core/PodParser          1.370.0      pod2usage podchecker podselect
+	src_remove_dual      perl-core/Test-Harness       3.230.0      prove
+	src_remove_dual      perl-core/podlators          2.4.0        pod2man pod2text
+	src_remove_dual_man  perl-core/podlators          2.4.0        /usr/share/man/man1/perlpodstyle.1
+}
+
+pkg_pretend() {
+	check_rebuild
+}
+
+pkg_setup() {
+	case ${CHOST} in
+		*-freebsd*)   osname="freebsd" ;;
+		*-dragonfly*) osname="dragonfly" ;;
+		*-netbsd*)    osname="netbsd" ;;
+		*-openbsd*)   osname="openbsd" ;;
+		*-darwin*)    osname="darwin" ;;
+		*-interix*)   osname="interix" ;;
+		*)            osname="linux" ;;
+	esac
+
+	if use ithreads ; then
+		mythreading="-multi"
+		myarch="${CHOST%%-*}-${osname}-thread"
+	else
+		myarch="${CHOST%%-*}-${osname}"
+	fi
+	if use debug ; then
+		myarch="${myarch}-debug"
+	fi
+
+	LIBPERL="libperl$(get_libname ${MY_PV} )"
+	PRIV_LIB="/usr/$(get_libdir)/perl5/${MY_PV}"
+	ARCH_LIB="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
+	SITE_LIB="/usr/local/$(get_libdir)/perl5/${MY_PV}"
+	SITE_ARCH="/usr/local/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
+	VENDOR_LIB="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}"
+	VENDOR_ARCH="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}"
+
+	if use ithreads ; then
+		echo ""
+		ewarn "THREADS WARNING:"
+		ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
+		ewarn "interpreter-level threading enabled."
+		ewarn "Threading is not supported by all applications "
+		ewarn "that compile against perl. You use threading at "
+		ewarn "your own discretion. "
+	fi
+	check_rebuild
+	dual_scripts
+}
+
+check_rebuild() {
+	if has_version "<dev-lang/perl-${SHORT_PV}" ; then
+		echo ""
+		ewarn "UPDATE THE PERL MODULES:"
+		ewarn "After updating dev-lang/perl you must reinstall"
+		ewarn "the installed perl modules."
+		ewarn "Use: perl-cleaner --all"
+	elif has_version dev-lang/perl ; then
+		# doesnot work
+		#if ! has_version dev-lang/perl[ithreads=,debug=] ; then
+		#if ! has_version dev-lang/perl[ithreads=] || ! has_version dev-lang/perl[debug=] ; then
+		if (   use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
+		   ( ! use ithreads &&   has_version dev-lang/perl[ithreads] ) || \
+		   (   use debug    && ! has_version dev-lang/perl[debug]    ) || \
+		   ( ! use debug    &&   has_version dev-lang/perl[debug]    ) ; then
+			echo ""
+			ewarn "TOGGLED USE-FLAGS WARNING:"
+			ewarn "You changed one of the use-flags ithreads or debug."
+			ewarn "You must rebuild all perl-modules installed."
+			ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
+		fi
+	fi
+}
+
+src_prepare_update_patchlevel_h() {
+	[[ -f ${WORKDIR}/perl-patch/series ]] || return 0
+
+	while read patch level ; do
+		sed -i -e "s/^\t,NULL$/	,\"${patch//__/_}\"\n&/" "${S}"/patchlevel.h || die
+	done < "${WORKDIR}"/perl-patch/series
+}
+
+src_prepare() {
+	EPATCH_SOURCE="${WORKDIR}/perl-patch" \
+	EPATCH_SUFFIX="diff" \
+	EPATCH_FORCE="yes" \
+	EPATCH_OPTS="-p1" \
+	epatch
+
+	src_prepare_update_patchlevel_h
+
+	# pod/perltoc.pod fails
+	# lib/ExtUtils/t/Embed.t fails
+	if ! tc-is-static-only ; then
+		ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV}) || die
+		ln -s ${LIBPERL} libperl$(get_libname ) || die
+	fi
+
+	epatch "${FILESDIR}"/${PN}-5.12.3-aix-soname.patch
+	epatch "${FILESDIR}"/${PN}-5.8.8-solaris-relocation.patch
+	epatch "${FILESDIR}"/${PN}-5.8.8-solaris11.patch
+	epatch "${FILESDIR}"/${PN}-5.14.1-cleanup-paths.patch
+	epatch "${FILESDIR}"/${PN}-5.8.8-usr-local.patch
+	epatch "${FILESDIR}"/${PN}-5.10.1-hpux.patch
+	epatch "${FILESDIR}"/${PN}-5.8.8-darwin-cc-ld.patch
+	epatch "${FILESDIR}"/${PN}-5.12.3-mint.patch
+	epatch "${FILESDIR}"/${PN}-5.12.3-interix.patch
+
+	# rest of usr-local patch
+	sed -i \
+		-e '/^locincpth=/c\locincpth=""' \
+		-e '/^loclibpth=/c\loclibpth=""' \
+		-e '/^glibpth=.*\/local\//s: /usr/local/lib.*":":' \
+		Configure || die
+}
+
+myconf() {
+	# the myconf array is declared in src_configure
+	myconf=( "${myconf[@]}" "$@" )
+}
+
+src_configure() {
+	declare -a myconf
+
+	export LC_ALL="C"
+	[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
+
+	# some arches and -O do not mix :)
+	use ppc && replace-flags -O? -O1
+	# Perl has problems compiling with -Os in your flags with glibc
+	use elibc_uclibc || replace-flags "-Os" "-O2"
+	# This flag makes compiling crash in interesting ways
+	filter-flags "-malign-double"
+	# Fixes bug #97645
+	use ppc && filter-flags "-mpowerpc-gpopt"
+	# Fixes bug #143895 on gcc-4.1.1
+	filter-flags "-fsched2-use-superblocks"
+
+	use sparc && myconf -Ud_longdbl
+
+	# 266337
+	export BUILD_BZIP2=0
+	export BZIP2_INCLUDE=${EPREFIX}/usr/include
+	export BZIP2_LIB=${EPREFIX}/usr/$(get_libdir)
+	cat <<-EOF > "${S}/cpan/Compress-Raw-Zlib/config.in"
+		BUILD_ZLIB = False
+		INCLUDE = ${EPREFIX}/usr/include
+		LIB = ${EPREFIX}/usr/$(get_libdir)
+
+		OLD_ZLIB = False
+		GZIP_OS_CODE = AUTO_DETECT
+	EOF
+
+	# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
+
+	myndbm='U'
+	mygdbm='U'
+	mydb='U'
+
+	if use gdbm ; then
+		mygdbm='D'
+		myndbm='D'
+	fi
+	if use berkdb ; then
+		mydb='D'
+		has_version '=sys-libs/db-1*' && myndbm='D'
+	fi
+
+	myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
+
+	if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
+		ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
+		myconf -Ui_db -Ui_ndbm
+	fi
+
+	use ithreads && myconf -Dusethreads
+
+	if use debug ; then
+		append-cflags "-g"
+		myconf -DDEBUGGING
+	elif [[ ${CFLAGS} == *-g* ]] ; then
+		myconf -DDEBUGGING=-g
+	else
+		myconf -DDEBUGGING=none
+	fi
+
+	if [[ -n ${PERL_OLDVERSEN} ]] ; then
+		local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarch}${mythreading} ${v} "; done )
+		myconf -Dinc_version_list="${inclist}"
+	fi
+
+	[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
+
+	# Prefix: the host system needs not to follow Gentoo multilib stuff, and in
+	# Prefix itself we don't do multilib either, so make sure perl can find
+	# something compatible.
+	if use prefix ; then
+		local ldir
+		local llib
+		local paths=""
+		echo "int main() {}" > "${T}"/t.c
+		# need to ensure dirs contain compatible libs, bug #358875
+		for ldir in /lib /usr/lib /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 ; do
+			[[ -d ${ldir} ]] || continue
+			# find a random lib from here
+			llib=( ${ldir}/*$(get_libname) )
+			[[ -e ${llib[0]} ]] || continue
+			$(tc-getCC) -o "${T}"/t "${T}"/t.c ${llib[0]} >& /dev/null \
+				&& paths="${paths} ${ldir}"
+		done
+		myconf "-Dlibpth=${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir) ${paths}"
+	elif [[ $(get_libdir) != "lib" ]] ; then
+		# We need to use " and not ', as the written config.sh use ' ...
+		myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
+	fi
+
+	# don't try building ODBM, bug #354453
+	myconf -Dnoextensions=ODBM_File
+
+	sh Configure \
+		-des \
+		-Duseshrplib \
+		-Darchname="${myarch}" \
+		-Dcc="$(tc-getCC)" \
+		-Doptimize="${CFLAGS}" \
+		-Dldflags="${LDFLAGS}" \
+		-Dprefix="${EPREFIX}"'/usr' \
+		-Dinstallprefix="${EPREFIX}"'/usr' \
+		-Dsiteprefix="${EPREFIX}"'/usr' \
+		-Dvendorprefix="${EPREFIX}"'/usr' \
+		-Dscriptdir="${EPREFIX}"'/usr/bin' \
+		-Dprivlib="${EPREFIX}${PRIV_LIB}" \
+		-Darchlib="${EPREFIX}${ARCH_LIB}" \
+		-Dsitelib="${EPREFIX}${SITE_LIB}" \
+		-Dsitearch="${EPREFIX}${SITE_ARCH}" \
+		-Dvendorlib="${EPREFIX}${VENDOR_LIB}" \
+		-Dvendorarch="${EPREFIX}${VENDOR_ARCH}" \
+		-Dman1dir="${EPREFIX}"/usr/share/man/man1 \
+		-Dman3dir="${EPREFIX}"/usr/share/man/man3 \
+		-Dsiteman1dir="${EPREFIX}"/usr/share/man/man1 \
+		-Dsiteman3dir="${EPREFIX}"/usr/share/man/man3 \
+		-Dvendorman1dir="${EPREFIX}"/usr/share/man/man1 \
+		-Dvendorman3dir="${EPREFIX}"/usr/share/man/man3 \
+		-Dman1ext='1' \
+		-Dman3ext='3pm' \
+		-Dlibperl="${LIBPERL}" \
+		-Dlocincpth="${EPREFIX}"'/usr/include ' \
+		-Dglibpth="${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir)"' ' \
+		-Duselargefiles \
+		-Dd_semctl_semun \
+		-Dcf_by='Gentoo' \
+		-Dmyhostname='localhost' \
+		-Dperladmin='root@localhost' \
+		-Dinstallusrbinperl='n' \
+		-Ud_csh \
+		-Uusenm \
+		"${myconf[@]}" || die "Unable to configure"
+}
+
+src_test() {
+	if [[ ${EUID} == 0 ]] ; then
+		ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
+		return 0
+	fi
+	use elibc_uclibc && export MAKEOPTS+=" -j1"
+	TEST_JOBS=$(echo -j1 ${MAKEOPTS} | sed -r 's/.*(-j[[:space:]]*|--jobs=)([[:digit:]]+).*/\2/' ) \
+		make test_harness || die "test failed"
+}
+
+src_install() {
+	local i
+	local coredir="${ARCH_LIB}/CORE"
+
+	local installtarget=install
+	if use build ; then
+		installtarget=install.perl
+	fi
+	emake DESTDIR="${D}" ${installtarget}
+
+	rm -f "${ED}"/usr/bin/perl
+	ln -s perl${MY_PV} "${ED}"/usr/bin/perl || die
+
+	if ! tc-is-static-only ; then
+		dolib.so "${ED}"${coredir}/${LIBPERL}
+		rm -f "${ED}"${coredir}/${LIBPERL}
+		ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
+		ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname) || die
+		ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/${LIBPERL} || die
+		ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/libperl$(get_libname ${SHORT_PV}) || die
+		ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/libperl$(get_libname) || die
+	fi
+
+	rm -rf "${ED}"/usr/share/man/man3 || die "Unable to remove module man pages"
+
+#	# A poor fix for the miniperl issues
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+#	dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
+#	fperms 0755 /usr/bin/xsubpp
+
+	# This removes ${D} from Config.pm
+	for i in $(find "${D}" -iname "Config.pm" ) ; do
+		einfo "Removing ${D} from ${i}..."
+		sed -i -e "s:${D}::" "${i}" || die "Sed failed"
+	done
+
+	find "${ED}" -type f -name .packlist -delete || die
+
+	# Note: find out from psm why we would need/want this.
+	# ( use berkdb && has_version '=sys-libs/db-1*' ) ||
+	#	find "${ED}" -name "*NDBM*" | xargs rm -f
+
+	dodoc Changes* README AUTHORS
+
+	if use doc ; then
+		# HTML Documentation
+		# We expect errors, warnings, and such with the following.
+
+		dodir /usr/share/doc/${PF}/html
+		LD_LIBRARY_PATH=. ./perl installhtml \
+			--podroot='.' \
+			--podpath='lib:ext:pod:vms' \
+			--recurse \
+			--htmldir="${ED}/usr/share/doc/${PF}/html" \
+			--libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
+	fi
+
+	if use build ; then
+		src_remove_extra_files
+	fi
+
+	dual_scripts
+}
+
+pkg_postinst() {
+	dual_scripts
+
+	if [[ "${ROOT}" = "/" ]] ; then
+		local INC DIR file
+		INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }')
+		einfo "Removing old .ph files"
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
+					rm -f "${file}"
+					einfo "<< ${file}"
+				done
+			fi
+		done
+		# Silently remove the now empty dirs
+		for DIR in ${INC} ; do
+			if [[ -d "${DIR}" ]] ; then
+				find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+			fi
+		done
+#		if ! use build ; then
+#			ebegin "Generating ConfigLocal.pm (ignore any error)"
+#			enc2xs -C
+#		fi
+
+		einfo "Converting C header files to the corresponding Perl format (ignore any error)"
+		# Prefix note: unprefixed as this is all kernel/libc stuff that we never provide
+		pushd /usr/include >/dev/null
+			h2ph -Q -a -d "${EPREFIX}"${ARCH_LIB} \
+				asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \
+				sys/socket.h sys/time.h wait.h sysexits.h
+		popd >/dev/null
+
+# This has been moved into a function because rumor has it that a future release
+# of portage will allow us to check what version was just removed - which means
+# we will be able to invoke this only as needed :)
+		# Tried doing this via  -z, but $INC is too big...
+		#if [[ "${INC}x" != "x" ]]; then
+		#	cleaner_msg
+		#fi
+	fi
+}
+
+pkg_postrm(){
+	dual_scripts
+
+#	if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then
+#		ebegin "Removing ConfigLocal.pm"
+#		rm "${ARCH_LIB}/Encode/ConfigLocal.pm"
+#	fi
+}
+
+cleaner_msg() {
+	eerror "You have had multiple versions of perl. It is recommended"
+	eerror "that you run perl-cleaner now. perl-cleaner will"
+	eerror "assist with this transition. This script is capable"
+	eerror "of cleaning out old .ph files, rebuilding modules for "
+	eerror "your new version of perl, as well as re-emerging"
+	eerror "applications that compiled against your old libperl$(get_libname)"
+	eerror
+	eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
+	eerror "Part of the rebuilding of applications compiled against "
+	eerror "your old libperl involves temporarily unmerging"
+	eerror "them - interruptions could leave you with unmerged"
+	eerror "packages before they can be remerged."
+	eerror ""
+	eerror "If you have run perl-cleaner and a package still gives"
+	eerror "you trouble, and re-emerging it fails to correct"
+	eerror "the problem, please check http://bugs.gentoo.org/"
+	eerror "for more information or to report a bug."
+	eerror ""
+}
+
+src_remove_dual_file() {
+	local i pkg ver
+	pkg="$1"
+	ver="$2"
+	shift 2
+	case "${EBUILD_PHASE:-none}" in
+		postinst|postrm)
+			for i in "$@" ; do
+				alternatives_auto_makesym "${i}" "${i}-[0-9]*"
+			done
+			;;
+		setup)
+			for i in "$@" ; do
+				if [[ -f ${EROOT}${i} && ! -h ${EROOT}${i} ]] ; then
+					has_version ${pkg} && ewarn "You must reinstall ${pkg} !"
+					break
+				fi
+			done
+			;;
+		install)
+			for i in "$@" ; do
+				if ! [[ -f "${ED}"${i} ]] ; then
+					use build || ewarn "${i} does not exist!"
+					continue
+				fi
+				mv "${ED}"${i}{,-${ver}-${P}} || die
+			done
+			;;
+	esac
+}
+
+src_remove_dual_man() {
+	local i pkg ver ff
+	pkg="$1"
+	ver="$2"
+	shift 2
+	case "${EBUILD_PHASE:-none}" in
+		postinst|postrm)
+			for i in "$@" ; do
+				ff=`echo "${EROOT}${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}}"*`
+				ff=${ff##*${i#${i%.[0-9]}}}
+				alternatives_auto_makesym "${i}${ff}" "${i%.[0-9]}-[0-9]*"
+			done
+			;;
+		install)
+			for i in "$@" ; do
+				if ! [[ -f "${ED}"${i} ]] ; then
+					use build || ewarn "${i} does not exist!"
+					continue
+				fi
+				mv "${ED}"${i} "${ED}"${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}} || die
+			done
+			;;
+	esac
+}
+
+src_remove_dual() {
+	local i pkg ver
+	pkg="$1"
+	ver="$2"
+	shift 2
+	for i in "$@" ; do
+		src_remove_dual_file  "${pkg}" "${ver}" "/usr/bin/${i}"
+		src_remove_dual_man   "${pkg}" "${ver}" "/usr/share/man/man1/${i}.1"
+	done
+}
+
+src_remove_extra_files() {
+	local prefix="./usr" # ./ is important
+	local bindir="${prefix}/bin"
+	local libdir="${prefix}/$(get_libdir)"
+
+	# I made this list from the Mandr*, Debian and ex-Connectiva perl-base list
+	# Then, I added several files to get GNU autotools running
+	# FIXME: should this be in a separated file to be sourced?
+	local MINIMAL_PERL_INSTALL="
+	${bindir}/h2ph
+	${bindir}/perl
+	${bindir}/perl${MY_PV}
+	${bindir}/pod2man
+	${libdir}/${LIBPERL}
+	${libdir}/libperl$(get_libname)
+	${libdir}/libperl$(get_libname ${SHORT_PV})
+	.${PRIV_LIB}/AutoLoader.pm
+	.${PRIV_LIB}/B/Deparse.pm
+	.${PRIV_LIB}/Carp.pm
+	.${PRIV_LIB}/Carp/Heavy.pm
+	.${PRIV_LIB}/Class/Struct.pm
+	.${PRIV_LIB}/DirHandle.pm
+	.${PRIV_LIB}/Exporter.pm
+	.${PRIV_LIB}/Exporter/Heavy.pm
+	.${PRIV_LIB}/ExtUtils/Command.pm
+	.${PRIV_LIB}/ExtUtils/Command/MM.pm
+	.${PRIV_LIB}/ExtUtils/Constant.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Base.pm
+	.${PRIV_LIB}/ExtUtils/Constant/Utils.pm
+	.${PRIV_LIB}/ExtUtils/Constant/XS.pm
+	.${PRIV_LIB}/ExtUtils/Embed.pm
+	.${PRIV_LIB}/ExtUtils/Install.pm
+	.${PRIV_LIB}/ExtUtils/Installed.pm
+	.${PRIV_LIB}/ExtUtils/Liblist.pm
+	.${PRIV_LIB}/ExtUtils/Liblist/Kid.pm
+	.${PRIV_LIB}/ExtUtils/MM.pm
+	.${PRIV_LIB}/ExtUtils/MM_Any.pm
+	.${PRIV_LIB}/ExtUtils/MM_MacOS.pm
+	.${PRIV_LIB}/ExtUtils/MM_Unix.pm
+	.${PRIV_LIB}/ExtUtils/MY.pm
+	.${PRIV_LIB}/ExtUtils/MakeMaker.pm
+	.${PRIV_LIB}/ExtUtils/MakeMaker/Config.pm
+	.${PRIV_LIB}/ExtUtils/Manifest.pm
+	.${PRIV_LIB}/ExtUtils/Miniperl.pm
+	.${PRIV_LIB}/ExtUtils/Mkbootstrap.pm
+	.${PRIV_LIB}/ExtUtils/Mksymlists.pm
+	.${PRIV_LIB}/ExtUtils/Packlist.pm
+	.${PRIV_LIB}/ExtUtils/testlib.pm
+	.${PRIV_LIB}/File/Basename.pm
+	.${PRIV_LIB}/File/Compare.pm
+	.${PRIV_LIB}/File/Copy.pm
+	.${PRIV_LIB}/File/Find.pm
+	.${PRIV_LIB}/File/Path.pm
+	.${PRIV_LIB}/File/stat.pm
+	.${PRIV_LIB}/FileHandle.pm
+	.${PRIV_LIB}/Getopt/Long.pm
+	.${PRIV_LIB}/Getopt/Std.pm
+	.${PRIV_LIB}/IPC/Open2.pm
+	.${PRIV_LIB}/IPC/Open3.pm
+	.${PRIV_LIB}/PerlIO.pm
+	.${PRIV_LIB}/Pod/InputObjects.pm
+	.${PRIV_LIB}/Pod/Man.pm
+	.${PRIV_LIB}/Pod/ParseLink.pm
+	.${PRIV_LIB}/Pod/Parser.pm
+	.${PRIV_LIB}/Pod/Select.pm
+	.${PRIV_LIB}/Pod/Text.pm
+	.${PRIV_LIB}/Pod/Usage.pm
+	.${PRIV_LIB}/SelectSaver.pm
+	.${PRIV_LIB}/Symbol.pm
+	.${PRIV_LIB}/Text/ParseWords.pm
+	.${PRIV_LIB}/Text/Tabs.pm
+	.${PRIV_LIB}/Text/Wrap.pm
+	.${PRIV_LIB}/Tie/Hash.pm
+	.${PRIV_LIB}/Time/Local.pm
+	.${PRIV_LIB}/XSLoader.pm
+	.${PRIV_LIB}/autouse.pm
+	.${PRIV_LIB}/base.pm
+	.${PRIV_LIB}/bigint.pm
+	.${PRIV_LIB}/bignum.pm
+	.${PRIV_LIB}/bigrat.pm
+	.${PRIV_LIB}/blib.pm
+	.${PRIV_LIB}/bytes.pm
+	.${PRIV_LIB}/bytes_heavy.pl
+	.${PRIV_LIB}/charnames.pm
+	.${PRIV_LIB}/constant.pm
+	.${PRIV_LIB}/diagnostics.pm
+	.${PRIV_LIB}/fields.pm
+	.${PRIV_LIB}/filetest.pm
+	.${PRIV_LIB}/if.pm
+	.${PRIV_LIB}/integer.pm
+	.${PRIV_LIB}/less.pm
+	.${PRIV_LIB}/locale.pm
+	.${PRIV_LIB}/open.pm
+	.${PRIV_LIB}/overload.pm
+	.${PRIV_LIB}/sigtrap.pm
+	.${PRIV_LIB}/sort.pm
+	.${PRIV_LIB}/stat.pl
+	.${PRIV_LIB}/strict.pm
+	.${PRIV_LIB}/subs.pm
+	.${PRIV_LIB}/unicore/To/Fold.pl
+	.${PRIV_LIB}/unicore/To/Lower.pl
+	.${PRIV_LIB}/unicore/To/Upper.pl
+	.${PRIV_LIB}/utf8.pm
+	.${PRIV_LIB}/utf8_heavy.pl
+	.${PRIV_LIB}/vars.pm
+	.${PRIV_LIB}/vmsish.pm
+	.${PRIV_LIB}/warnings
+	.${PRIV_LIB}/warnings.pm
+	.${PRIV_LIB}/warnings/register.pm
+	.${ARCH_LIB}/B.pm
+	.${ARCH_LIB}/CORE/libperl$(get_libname)
+	.${ARCH_LIB}/Config.pm
+	.${ARCH_LIB}/Config_heavy.pl
+	.${ARCH_LIB}/Cwd.pm
+	.${ARCH_LIB}/Data/Dumper.pm
+	.${ARCH_LIB}/DynaLoader.pm
+	.${ARCH_LIB}/Errno.pm
+	.${ARCH_LIB}/Fcntl.pm
+	.${ARCH_LIB}/File/Glob.pm
+	.${ARCH_LIB}/File/Spec.pm
+	.${ARCH_LIB}/File/Spec/Unix.pm
+	.${ARCH_LIB}/IO.pm
+	.${ARCH_LIB}/IO/File.pm
+	.${ARCH_LIB}/IO/Handle.pm
+	.${ARCH_LIB}/IO/Pipe.pm
+	.${ARCH_LIB}/IO/Seekable.pm
+	.${ARCH_LIB}/IO/Select.pm
+	.${ARCH_LIB}/IO/Socket.pm
+	.${ARCH_LIB}/IO/Socket/INET.pm
+	.${ARCH_LIB}/IO/Socket/UNIX.pm
+	.${ARCH_LIB}/List/Util.pm
+	.${ARCH_LIB}/NDBM_File.pm
+	.${ARCH_LIB}/POSIX.pm
+	.${ARCH_LIB}/Scalar/Util.pm
+	.${ARCH_LIB}/Socket.pm
+	.${ARCH_LIB}/Storable.pm
+	.${ARCH_LIB}/attributes.pm
+	.${ARCH_LIB}/auto/Cwd/Cwd$(get_libname)
+	.${ARCH_LIB}/auto/Data/Dumper/Dumper$(get_libname)
+	.${ARCH_LIB}/auto/DynaLoader/dl_findfile.al
+	.${ARCH_LIB}/auto/Fcntl/Fcntl$(get_libname)
+	.${ARCH_LIB}/auto/File/Glob/Glob$(get_libname)
+	.${ARCH_LIB}/auto/IO/IO$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/POSIX$(get_libname)
+	.${ARCH_LIB}/auto/POSIX/autosplit.ix
+	.${ARCH_LIB}/auto/POSIX/fstat.al
+	.${ARCH_LIB}/auto/POSIX/load_imports.al
+	.${ARCH_LIB}/auto/POSIX/stat.al
+	.${ARCH_LIB}/auto/POSIX/tmpfile.al
+	.${ARCH_LIB}/auto/Socket/Socket$(get_libname)
+	.${ARCH_LIB}/auto/Storable/Storable$(get_libname)
+	.${ARCH_LIB}/auto/Storable/_retrieve.al
+	.${ARCH_LIB}/auto/Storable/_store.al
+	.${ARCH_LIB}/auto/Storable/autosplit.ix
+	.${ARCH_LIB}/auto/Storable/retrieve.al
+	.${ARCH_LIB}/auto/Storable/store.al
+	.${ARCH_LIB}/auto/re/re$(get_libname)
+	.${ARCH_LIB}/encoding.pm
+	.${ARCH_LIB}/lib.pm
+	.${ARCH_LIB}/ops.pm
+	.${ARCH_LIB}/re.pm
+	.${ARCH_LIB}/threads.pm
+"
+
+	pushd "${ED}" > /dev/null
+	# Remove cruft
+	einfo "Removing files that are not in the minimal install"
+	echo "${MINIMAL_PERL_INSTALL}"
+	for f in $(find . -type f ) ; do
+		has "${f}" ${MINIMAL_PERL_INSTALL} || rm -f "${f}"
+	done
+	# Remove empty directories
+	find . -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
+	#for f in ${MINIMAL_PERL_INSTALL} ; do
+	#	[[ -e ${f} ]] || ewarn "${f} unused in MINIMAL_PERL_INSTALL"
+	#done
+	popd > /dev/null
+}

diff --git a/dev-lang/perl/perl-5.16.0.ebuild b/dev-lang/perl/perl-5.16.0.ebuild
new file mode 100644
index 0000000..3b3393d
--- /dev/null
+++ b/dev-lang/perl/perl-5.16.0.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.16.0.ebuild,v 1.3 2012/06/07 06:02:12 tove Exp $
+
+EAPI=4
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
+
+PATCH_VER=3
+
+PERL_OLDVERSEN=""
+MODULE_AUTHOR=RJBS
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+	mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
+	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+	http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2
+"
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="berkdb debug doc gdbm ithreads"
+
+RDEPEND="
+	berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	app-arch/bzip2
+	sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+	!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
+"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+	src_remove_dual      perl-core/Archive-Tar        1.820.0      ptar ptardiff ptargrep
+	src_remove_dual      perl-core/Digest-SHA         5.710.0      shasum
+	src_remove_dual      perl-core/CPAN               1.980.0      cpan
+	src_remove_dual      perl-core/CPANPLUS           0.912.100    cpanp cpan2dist
+	src_remove_dual_file perl-core/CPANPLUS           0.912.100    /usr/bin/cpanp-run-perl
+	src_remove_dual      perl-core/Encode             2.440.0      enc2xs piconv
+	src_remove_dual      perl-core/ExtUtils-MakeMaker 6.630.200_rc instmodsh
+	src_remove_dual      perl-core/ExtUtils-ParseXS   3.160.0      xsubpp
+	src_remove_dual      perl-core/IO-Compress        2.48.0       zipdetails
+	src_remove_dual      perl-core/JSON-PP            2.272.0      json_pp
+	src_remove_dual      perl-core/Module-Build       0.390.100_rc config_data
+	src_remove_dual      perl-core/Module-CoreList    2.660.0      corelist
+	src_remove_dual      perl-core/PodParser          1.510.0      pod2usage podchecker podselect
+	src_remove_dual      perl-core/Test-Harness       3.230.0      prove
+	src_remove_dual      perl-core/podlators          2.4.0        pod2man pod2text
+	src_remove_dual_man  perl-core/podlators          2.4.0        /usr/share/man/man1/perlpodstyle.1
+}
+
+# eblit-include [--skip] <function> [version]
+eblit-include() {
+	local skipable=false
+	[[ $1 == "--skip" ]] && skipable=true && shift
+	[[ $1 == pkg_* ]] && skipable=true
+
+	local e v func=$1 ver=$2
+	[[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
+	for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
+		e="${FILESDIR}/eblits/${func}${v}.eblit"
+		if [[ -e ${e} ]] ; then
+			. "${e}"
+			return 0
+		fi
+	done
+	${skipable} && return 0
+	die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
+}
+
+# eblit-run-maybe <function>
+# run the specified function if it is defined
+eblit-run-maybe() {
+	[[ $(type -t "$@") == "function" ]] && "$@"
+}
+
+# eblit-run <function> [version]
+# aka: src_unpack() { eblit-run src_unpack ; }
+eblit-run() {
+	eblit-include --skip common "${*:2}"
+	eblit-include "$@"
+	eblit-run-maybe eblit-$1-pre
+	eblit-${PN}-$1
+	eblit-run-maybe eblit-$1-post
+}
+
+#src_unpack()	{ eblit-run src_unpack    v50160001 ; }
+src_prepare()	{ eblit-run src_prepare   v50160001 ; }
+src_configure()	{ eblit-run src_configure v50160001 ; }
+#src_compile()	{ eblit-run src_compile   v50160001 ; }
+src_test()		{ eblit-run src_test      v50160001 ; }
+src_install()	{ eblit-run src_install   v50160001 ; }
+
+# FILESDIR might not be available during binpkg install
+# FIXME: version passing
+for x in setup {pre,post}{inst,rm} ; do
+	e="${FILESDIR}/eblits/pkg_${x}-v50160001.eblit"
+	if [[ -e ${e} ]] ; then
+		. "${e}"
+		eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
+	fi
+done

diff --git a/dev-lang/perl/perl-5.16.1.ebuild b/dev-lang/perl/perl-5.16.1.ebuild
new file mode 100644
index 0000000..813d318
--- /dev/null
+++ b/dev-lang/perl/perl-5.16.1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.16.1.ebuild,v 1.1 2012/08/09 14:38:29 tove Exp $
+
+EAPI=4
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
+
+PATCH_VER=1
+
+PERL_OLDVERSEN="5.16.0"
+MODULE_AUTHOR=RJBS
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+	mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
+	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+	http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2
+"
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="berkdb debug doc gdbm ithreads"
+
+RDEPEND="
+	berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	app-arch/bzip2
+	sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+	!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
+"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+	src_remove_dual      perl-core/Archive-Tar        1.820.0      ptar ptardiff ptargrep
+	src_remove_dual      perl-core/Digest-SHA         5.710.0      shasum
+	src_remove_dual      perl-core/CPAN               1.980.0      cpan
+	src_remove_dual      perl-core/CPANPLUS           0.912.100    cpanp cpan2dist
+	src_remove_dual_file perl-core/CPANPLUS           0.912.100    /usr/bin/cpanp-run-perl
+	src_remove_dual      perl-core/Encode             2.440.0      enc2xs piconv
+	src_remove_dual      perl-core/ExtUtils-MakeMaker 6.630.200_rc instmodsh
+	src_remove_dual      perl-core/ExtUtils-ParseXS   3.160.0      xsubpp
+	src_remove_dual      perl-core/IO-Compress        2.48.0       zipdetails
+	src_remove_dual      perl-core/JSON-PP            2.272.0      json_pp
+	src_remove_dual      perl-core/Module-Build       0.390.100_rc config_data
+	src_remove_dual      perl-core/Module-CoreList    2.700.0      corelist
+	src_remove_dual      perl-core/PodParser          1.510.0      pod2usage podchecker podselect
+	src_remove_dual      perl-core/Test-Harness       3.230.0      prove
+	src_remove_dual      perl-core/podlators          2.4.0        pod2man pod2text
+	src_remove_dual_man  perl-core/podlators          2.4.0        /usr/share/man/man1/perlpodstyle.1
+}
+
+# eblit-include [--skip] <function> [version]
+eblit-include() {
+	local skipable=false
+	[[ $1 == "--skip" ]] && skipable=true && shift
+	[[ $1 == pkg_* ]] && skipable=true
+
+	local e v func=$1 ver=$2
+	[[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
+	for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
+		e="${FILESDIR}/eblits/${func}${v}.eblit"
+		if [[ -e ${e} ]] ; then
+			. "${e}"
+			return 0
+		fi
+	done
+	${skipable} && return 0
+	die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
+}
+
+# eblit-run-maybe <function>
+# run the specified function if it is defined
+eblit-run-maybe() {
+	[[ $(type -t "$@") == "function" ]] && "$@"
+}
+
+# eblit-run <function> [version]
+# aka: src_unpack() { eblit-run src_unpack ; }
+eblit-run() {
+	eblit-include --skip common "${*:2}"
+	eblit-include "$@"
+	eblit-run-maybe eblit-$1-pre
+	eblit-${PN}-$1
+	eblit-run-maybe eblit-$1-post
+}
+
+#src_unpack()	{ eblit-run src_unpack    v50160001 ; }
+src_prepare()	{ eblit-run src_prepare   v50160001 ; }
+src_configure()	{ eblit-run src_configure v50160001 ; }
+#src_compile()	{ eblit-run src_compile   v50160001 ; }
+src_test()		{ eblit-run src_test      v50160001 ; }
+src_install()	{ eblit-run src_install   v50160001 ; }
+
+# FILESDIR might not be available during binpkg install
+# FIXME: version passing
+for x in setup {pre,post}{inst,rm} ; do
+	e="${FILESDIR}/eblits/pkg_${x}-v50160001.eblit"
+	if [[ -e ${e} ]] ; then
+		. "${e}"
+		eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
+	fi
+done

diff --git a/dev-lang/perl/perl-5.16.2-r1.ebuild b/dev-lang/perl/perl-5.16.2-r1.ebuild
new file mode 100644
index 0000000..4800ce3
--- /dev/null
+++ b/dev-lang/perl/perl-5.16.2-r1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.16.2-r1.ebuild,v 1.1 2013/03/04 19:51:15 tove Exp $
+
+EAPI=5
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
+
+PATCH_VER=3
+
+PERL_OLDVERSEN="5.16.1 5.16.0"
+MODULE_AUTHOR=RJBS
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+	mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
+	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+	http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2
+"
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1+ )"
+SLOT="0/${SHORT_PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="berkdb build debug doc gdbm ithreads"
+
+RDEPEND="
+	berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	app-arch/bzip2
+	sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+	!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
+"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+	src_remove_dual      perl-core/Archive-Tar        1.820.0      ptar ptardiff ptargrep
+	src_remove_dual      perl-core/Digest-SHA         5.710.0      shasum
+	src_remove_dual      perl-core/CPAN               1.980.0      cpan
+	src_remove_dual      perl-core/CPANPLUS           0.912.100    cpanp cpan2dist
+	src_remove_dual_file perl-core/CPANPLUS           0.912.100    /usr/bin/cpanp-run-perl
+	src_remove_dual      perl-core/Encode             2.440.0      enc2xs piconv
+	src_remove_dual      perl-core/ExtUtils-MakeMaker 6.630.200_rc instmodsh
+	src_remove_dual      perl-core/ExtUtils-ParseXS   3.160.0      xsubpp
+	src_remove_dual      perl-core/IO-Compress        2.48.0       zipdetails
+	src_remove_dual      perl-core/JSON-PP            2.272.0      json_pp
+	src_remove_dual      perl-core/Module-Build       0.390.100_rc config_data
+	src_remove_dual      perl-core/Module-CoreList    2.760.0      corelist
+	src_remove_dual      perl-core/PodParser          1.510.0      pod2usage podchecker podselect
+	src_remove_dual      perl-core/Pod-Perldoc        1.170.0      perldoc
+	src_remove_dual      perl-core/Test-Harness       3.230.0      prove
+	src_remove_dual      perl-core/podlators          2.4.0        pod2man pod2text
+	src_remove_dual_man  perl-core/podlators          2.4.0        /usr/share/man/man1/perlpodstyle.1
+}
+
+# eblit-include [--skip] <function> [version]
+eblit-include() {
+	local skipable=false
+	[[ $1 == "--skip" ]] && skipable=true && shift
+	[[ $1 == pkg_* ]] && skipable=true
+
+	local e v func=$1 ver=$2
+	[[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
+	for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
+		e="${FILESDIR}/eblits/${func}${v}.eblit"
+		if [[ -e ${e} ]] ; then
+			. "${e}"
+			return 0
+		fi
+	done
+	${skipable} && return 0
+	die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
+}
+
+# eblit-run-maybe <function>
+# run the specified function if it is defined
+eblit-run-maybe() {
+	[[ $(type -t "$@") == "function" ]] && "$@"
+}
+
+# eblit-run <function> [version]
+# aka: src_unpack() { eblit-run src_unpack ; }
+eblit-run() {
+	eblit-include --skip common "${*:2}"
+	eblit-include "$@"
+	eblit-run-maybe eblit-$1-pre
+	eblit-${PN}-$1
+	eblit-run-maybe eblit-$1-post
+}
+
+#src_unpack()	{ eblit-run src_unpack    v50160001 ; }
+src_prepare()	{ eblit-run src_prepare   v50160001 ; }
+src_configure()	{ eblit-run src_configure v50160001 ; }
+#src_compile()	{ eblit-run src_compile   v50160001 ; }
+src_test()		{ eblit-run src_test      v50160001 ; }
+src_install()	{ eblit-run src_install   v50160001 ; }
+
+# FILESDIR might not be available during binpkg install
+# FIXME: version passing
+for x in setup {pre,post}{inst,rm} ; do
+	e="${FILESDIR}/eblits/pkg_${x}-v50160001.eblit"
+	if [[ -e ${e} ]] ; then
+		. "${e}"
+		eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
+	fi
+done

diff --git a/dev-lang/perl/perl-5.16.2.ebuild b/dev-lang/perl/perl-5.16.2.ebuild
new file mode 100644
index 0000000..6a56790
--- /dev/null
+++ b/dev-lang/perl/perl-5.16.2.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.16.2.ebuild,v 1.3 2013/02/18 22:46:49 zmedico Exp $
+
+EAPI=5
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
+
+PATCH_VER=2
+
+PERL_OLDVERSEN="5.16.1 5.16.0"
+MODULE_AUTHOR=RJBS
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+	mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
+	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+	http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2
+"
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="berkdb build debug doc gdbm ithreads"
+
+RDEPEND="
+	berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	app-arch/bzip2
+	sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+	!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
+"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+	src_remove_dual      perl-core/Archive-Tar        1.820.0      ptar ptardiff ptargrep
+	src_remove_dual      perl-core/Digest-SHA         5.710.0      shasum
+	src_remove_dual      perl-core/CPAN               1.980.0      cpan
+	src_remove_dual      perl-core/CPANPLUS           0.912.100    cpanp cpan2dist
+	src_remove_dual_file perl-core/CPANPLUS           0.912.100    /usr/bin/cpanp-run-perl
+	src_remove_dual      perl-core/Encode             2.440.0      enc2xs piconv
+	src_remove_dual      perl-core/ExtUtils-MakeMaker 6.630.200_rc instmodsh
+	src_remove_dual      perl-core/ExtUtils-ParseXS   3.160.0      xsubpp
+	src_remove_dual      perl-core/IO-Compress        2.48.0       zipdetails
+	src_remove_dual      perl-core/JSON-PP            2.272.0      json_pp
+	src_remove_dual      perl-core/Module-Build       0.390.100_rc config_data
+	src_remove_dual      perl-core/Module-CoreList    2.760.0      corelist
+	src_remove_dual      perl-core/PodParser          1.510.0      pod2usage podchecker podselect
+	src_remove_dual      perl-core/Test-Harness       3.230.0      prove
+	src_remove_dual      perl-core/podlators          2.4.0        pod2man pod2text
+	src_remove_dual_man  perl-core/podlators          2.4.0        /usr/share/man/man1/perlpodstyle.1
+}
+
+# eblit-include [--skip] <function> [version]
+eblit-include() {
+	local skipable=false
+	[[ $1 == "--skip" ]] && skipable=true && shift
+	[[ $1 == pkg_* ]] && skipable=true
+
+	local e v func=$1 ver=$2
+	[[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
+	for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
+		e="${FILESDIR}/eblits/${func}${v}.eblit"
+		if [[ -e ${e} ]] ; then
+			. "${e}"
+			return 0
+		fi
+	done
+	${skipable} && return 0
+	die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
+}
+
+# eblit-run-maybe <function>
+# run the specified function if it is defined
+eblit-run-maybe() {
+	[[ $(type -t "$@") == "function" ]] && "$@"
+}
+
+# eblit-run <function> [version]
+# aka: src_unpack() { eblit-run src_unpack ; }
+eblit-run() {
+	eblit-include --skip common "${*:2}"
+	eblit-include "$@"
+	eblit-run-maybe eblit-$1-pre
+	eblit-${PN}-$1
+	eblit-run-maybe eblit-$1-post
+}
+
+#src_unpack()	{ eblit-run src_unpack    v50160001 ; }
+src_prepare()	{ eblit-run src_prepare   v50160001 ; }
+src_configure()	{ eblit-run src_configure v50160001 ; }
+#src_compile()	{ eblit-run src_compile   v50160001 ; }
+src_test()		{ eblit-run src_test      v50160001 ; }
+src_install()	{ eblit-run src_install   v50160001 ; }
+
+# FILESDIR might not be available during binpkg install
+# FIXME: version passing
+for x in setup {pre,post}{inst,rm} ; do
+	e="${FILESDIR}/eblits/pkg_${x}-v50160001.eblit"
+	if [[ -e ${e} ]] ; then
+		. "${e}"
+		eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
+	fi
+done

diff --git a/dev-lang/perl/perl-5.16.3.ebuild b/dev-lang/perl/perl-5.16.3.ebuild
new file mode 100644
index 0000000..42fe0c5
--- /dev/null
+++ b/dev-lang/perl/perl-5.16.3.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.16.3.ebuild,v 1.1 2013/03/12 04:38:09 tove Exp $
+
+EAPI=5
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing prefix
+
+PATCH_VER=1
+
+PERL_OLDVERSEN="5.16.2 5.16.1 5.16.0"
+MODULE_AUTHOR=RJBS
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+
+SRC_URI="
+	mirror://cpan/src/${MY_P}.tar.bz2
+	mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
+	mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
+	http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2
+"
+HOMEPAGE="http://www.perl.org/"
+
+LICENSE="|| ( Artistic GPL-1+ )"
+SLOT="0/${SHORT_PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="berkdb build debug doc gdbm ithreads"
+
+RDEPEND="
+	berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	app-arch/bzip2
+	sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+	!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
+"
+PDEPEND=">=app-admin/perl-cleaner-2.5"
+
+S="${WORKDIR}/${MY_P}"
+
+dual_scripts() {
+	src_remove_dual      perl-core/Archive-Tar        1.820.0      ptar ptardiff ptargrep
+	src_remove_dual      perl-core/Digest-SHA         5.710.0      shasum
+	src_remove_dual      perl-core/CPAN               1.980.0      cpan
+	src_remove_dual      perl-core/CPANPLUS           0.912.100    cpanp cpan2dist
+	src_remove_dual_file perl-core/CPANPLUS           0.912.100    /usr/bin/cpanp-run-perl
+	src_remove_dual      perl-core/Encode             2.440.0      enc2xs piconv
+	src_remove_dual      perl-core/ExtUtils-MakeMaker 6.630.200_rc instmodsh
+	src_remove_dual      perl-core/ExtUtils-ParseXS   3.160.0      xsubpp
+	src_remove_dual      perl-core/IO-Compress        2.48.0       zipdetails
+	src_remove_dual      perl-core/JSON-PP            2.272.0      json_pp
+	src_remove_dual      perl-core/Module-Build       0.390.100_rc config_data
+	src_remove_dual      perl-core/Module-CoreList    2.840.0      corelist
+	src_remove_dual      perl-core/PodParser          1.510.0      pod2usage podchecker podselect
+	src_remove_dual      perl-core/Pod-Perldoc        1.170.0      perldoc
+	src_remove_dual      perl-core/Test-Harness       3.230.0      prove
+	src_remove_dual      perl-core/podlators          2.4.0        pod2man pod2text
+	src_remove_dual_man  perl-core/podlators          2.4.0        /usr/share/man/man1/perlpodstyle.1
+}
+
+# eblit-include [--skip] <function> [version]
+eblit-include() {
+	local skipable=false
+	[[ $1 == "--skip" ]] && skipable=true && shift
+	[[ $1 == pkg_* ]] && skipable=true
+
+	local e v func=$1 ver=$2
+	[[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
+	for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
+		e="${FILESDIR}/eblits/${func}${v}.eblit"
+		if [[ -e ${e} ]] ; then
+			. "${e}"
+			return 0
+		fi
+	done
+	${skipable} && return 0
+	die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
+}
+
+# eblit-run-maybe <function>
+# run the specified function if it is defined
+eblit-run-maybe() {
+	[[ $(type -t "$@") == "function" ]] && "$@"
+}
+
+# eblit-run <function> [version]
+# aka: src_unpack() { eblit-run src_unpack ; }
+eblit-run() {
+	eblit-include --skip common "${*:2}"
+	eblit-include "$@"
+	eblit-run-maybe eblit-$1-pre
+	eblit-${PN}-$1
+	eblit-run-maybe eblit-$1-post
+}
+
+#src_unpack()	{ eblit-run src_unpack    v50160001 ; }
+src_prepare()	{ eblit-run src_prepare   v50160001 ; }
+src_configure()	{ eblit-run src_configure v50160001 ; }
+#src_compile()	{ eblit-run src_compile   v50160001 ; }
+src_test()		{ eblit-run src_test      v50160001 ; }
+src_install()	{ eblit-run src_install   v50160001 ; }
+
+# FILESDIR might not be available during binpkg install
+# FIXME: version passing
+for x in setup {pre,post}{inst,rm} ; do
+	e="${FILESDIR}/eblits/pkg_${x}-v50160001.eblit"
+	if [[ -e ${e} ]] ; then
+		. "${e}"
+		eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
+	fi
+done

diff --git a/dev-lang/perl/perl-5.8.8-r8.ebuild b/dev-lang/perl/perl-5.8.8-r8.ebuild
new file mode 100644
index 0000000..acea381
--- /dev/null
+++ b/dev-lang/perl/perl-5.8.8-r8.ebuild
@@ -0,0 +1,698 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.8-r8.ebuild,v 1.14 2012/01/02 22:52:21 zmedico Exp $
+
+inherit eutils alternatives flag-o-matic toolchain-funcs multilib
+
+# The slot of this binary compat version of libperl.so
+PERLSLOT="1"
+
+SHORT_PV="${PV%.*}"
+MY_P="perl-${PV/_rc/-RC}"
+MY_PV="${PV%_rc*}"
+DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
+S="${WORKDIR}/${MY_P}"
+SRC_URI="mirror://cpan/src/${MY_P}.tar.bz2"
+HOMEPAGE="http://www.perl.org/"
+LIBPERL="libperl$(get_libname ${PERLSLOT}.${SHORT_PV})"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="berkdb debug doc gdbm ithreads perlsuid build elibc_FreeBSD"
+PERL_OLDVERSEN="5.8.0 5.8.2 5.8.4 5.8.5 5.8.6 5.8.7"
+
+DEPEND="berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	>=sys-devel/libperl-${PV}-r1
+	elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs )
+	<sys-devel/libperl-5.9
+	!<perl-core/File-Spec-0.87
+	!<perl-core/Test-Simple-0.47-r1"
+
+RDEPEND="~sys-devel/libperl-${PV}
+	berkdb? ( sys-libs/db )
+	gdbm? ( >=sys-libs/gdbm-1.8.3 )
+	build? (
+		!perl-core/Test-Harness
+		!perl-core/PodParser
+		!dev-perl/Locale-gettext
+	)"
+
+PDEPEND=">=app-admin/perl-cleaner-1.03"
+
+dual_scripts() {
+	src_remove_dual_scripts perl-core/Encode             2.12    enc2xs piconv
+	src_remove_dual_scripts perl-core/PodParser          1.32    pod2usage podchecker podselect
+	src_remove_dual_scripts perl-core/ExtUtils-MakeMaker 6.30    instmodsh
+	src_remove_dual_scripts perl-core/Test-Harness       2.56    prove
+	src_remove_dual_scripts perl-core/CPAN               1.76_02 cpan
+	src_remove_dual_scripts perl-core/podlators          1.37    pod2man pod2text
+}
+
+pkg_setup() {
+	# I think this should rather be displayed if you *have* 'ithreads'
+	# in USE if it could break things ...
+	if use ithreads
+	then
+		ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
+		ewarn "interpreter-level threading enabled."
+		ewarn "Threading is not supported by all applications "
+		ewarn "that compile against perl. You use threading at "
+		ewarn "your own discretion. "
+		epause 5
+	fi
+
+	if [[ ! -f "${ROOT}/usr/$(get_libdir)/${LIBPERL}" ]]
+	then
+		# Make sure we have libperl installed ...
+		eerror "Cannot find ${ROOT}/usr/$(get_libdir)/${LIBPERL}!  Make sure that you"
+		eerror "have sys-libs/libperl installed properly ..."
+		die "Cannot find ${ROOT}/usr/$(get_libdir)/${LIBPERL}!"
+	fi
+	dual_scripts
+}
+
+src_unpack() {
+	unpack ${A}
+
+	# Get -lpthread linked before -lc.  This is needed
+	# when using glibc >= 2.3, or else runtime signal
+	# handling breaks.  Fixes bug #14380.
+	# <rac@gentoo.org> (14 Feb 2003)
+	# reinstated to try to avoid sdl segfaults 03.10.02
+	cd "${S}"; epatch "${FILESDIR}"/${PN}-prelink-lpthread.patch
+
+	# Patch perldoc to not abort when it attempts to search
+	# nonexistent directories; fixes bug #16589.
+	# <rac@gentoo.org> (28 Feb 2003)
+
+	cd "${S}"; epatch "${FILESDIR}"/${PN}-perldoc-emptydirs.patch
+
+	# this lays the groundwork for solving the issue of what happens
+	# when people (or ebuilds) install different versiosn of modules
+	# that are in the core, by rearranging the @INC directory to look
+	# site -> vendor -> core.
+	cd "${S}"; epatch "${FILESDIR}"/${P}-reorder-INC.patch
+
+	# some well-intentioned stuff in http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=Pine.SOL.4.10.10205231231200.5399-100000%40maxwell.phys.lafayette.edu
+	# attempts to avoid bringing cccdlflags to bear on static
+	# extensions (like DynaLoader).  i believe this is
+	# counterproductive on a Gentoo system which has both a shared
+	# and static libperl, so effectively revert this here.
+	cd "${S}"; epatch "${FILESDIR}"/${PN}-picdl.patch
+
+	# Configure makes an unwarranted assumption that /bin/ksh is a
+	# good shell. This patch makes it revert to using /bin/sh unless
+	# /bin/ksh really is executable. Should fix bug 42665.
+	# rac 2004.06.09
+	cd "${S}"; epatch "${FILESDIR}"/${PN}-noksh.patch
+
+	# makedepend.SH contains a syntax error which is ignored by bash but causes
+	# dash to abort
+	epatch "${FILESDIR}"/${P}-makedepend-syntax.patch
+
+	# We do not want the build root in the linked perl module's RUNPATH, so
+	# strip paths containing PORTAGE_TMPDIR if its set.  This is for the
+	# MakeMaker module, bug #105054.
+	epatch "${FILESDIR}"/${PN}-5.8.7-MakeMaker-RUNPATH.patch
+
+	# Starting and hopefully ending with 5.8.7 we observe stack
+	# corruption with the regexp handling in perls DynaLoader code
+	# with ssp enabled. This become fatal during compile time so we
+	# temporally disable ssp on two regexp files till upstream has a
+	# chance to work it out. Bug #97452
+	[[ -n $(test-flags -fno-stack-protector) ]] && \
+		epatch "${FILESDIR}"/${PN}-regexp-nossp.patch
+
+	# On PA7200, uname -a contains a single quote and we need to
+	# filter it otherwise configure fails. See #125535.
+	epatch "${FILESDIR}"/perl-hppa-pa7200-configure.patch
+
+	case "$(get_libdir)" in
+		lib64) cd "${S}" && epatch "${FILESDIR}"/${P}-lib64.patch;;
+		lib32) cd "${S}" && epatch "${FILESDIR}"/${P}-lib32.patch;;
+		lib) true;;
+		*) die "Something's wrong with your libdir, don't know how to treat it.";;
+	esac
+
+	[[ ${CHOST} == *-dragonfly* ]] && cd "${S}" && epatch "${FILESDIR}"/${P}-dragonfly-clean.patch
+	[[ ${CHOST} == *-freebsd* ]] && cd "${S}" && epatch "${FILESDIR}"/${P}-fbsdhints.patch
+	cd "${S}"; epatch "${FILESDIR}"/${P}-USE_MM_LD_RUN_PATH.patch
+	cd "${S}"; epatch "${FILESDIR}"/${P}-links.patch
+	# c++ patch - should address swig related items
+	cd "${S}"; epatch "${FILESDIR}"/${P}-cplusplus.patch
+
+	epatch "${FILESDIR}"/${P}-gcc42-command-line.patch
+
+	# Newer linux-headers don't include asm/page.h. Fix this.
+	# Patch from bug 168312, thanks Peter!
+	echo "#include <asm/page.h>" | $(tc-getCPP) > /dev/null 2>&1 || \
+		epatch "${FILESDIR}"/${P}-asm-page-h-compile-failure.patch
+
+	# Also add the directory prefix of the current file when the quote syntax is
+	# used; 'require' will only look in @INC, not the current directory.
+	epatch "${FILESDIR}"/${PN}-fix_h2ph_include_quote.patch
+
+	# perlcc fix patch - bug #181229
+	epatch "${FILESDIR}"/${P}-perlcc.patch
+
+	# libnet hostname test patch
+	epatch "${FILESDIR}"/${P}-libnet-hostname.patch
+
+	# patch to fix bug #198196
+	# UTF/Regular expressions boundary error (CVE-2007-5116)
+	epatch "${FILESDIR}"/${P}-utf8-boundary.patch
+
+	# patch to fix bug #219203
+	epatch "${FILESDIR}"/${P}-CVE-2008-1927.patch
+
+	epatch "${FILESDIR}"/${P}-CAN-2005-0448-rmtree-2.patch
+	epatch "${FILESDIR}"/${P}-fix_file_path_chdir.patch
+
+	# Respect CFLAGS even for linking when done with compiler
+	epatch "${FILESDIR}"/${P}-ccld-cflags.patch
+}
+
+myconf() {
+	# the myconf array is declared in src_configure
+	myconf=( "${myconf[@]}" "$@" )
+}
+
+src_configure() {
+	declare -a myconf
+
+	# some arches and -O do not mix :)
+	use ppc && replace-flags -O? -O1
+	# Perl has problems compiling with -Os in your flags with glibc
+	use elibc_uclibc || replace-flags "-Os" "-O2"
+	( gcc-specs-ssp && use ia64 ) && append-flags -fno-stack-protector
+	# This flag makes compiling crash in interesting ways
+	filter-flags -malign-double
+	# Fixes bug #97645
+	use ppc && filter-flags -mpowerpc-gpopt
+	# Fixes bug #143895 on gcc-4.1.1
+	filter-flags "-fsched2-use-superblocks"
+
+	export LC_ALL="C"
+	[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
+
+	case ${CHOST} in
+		*-freebsd*) osname="freebsd" ;;
+		*-dragonfly*) osname="dragonfly" ;;
+		*-netbsd*) osname="netbsd" ;;
+		*-openbsd*) osname="openbsd" ;;
+		*-darwin*) osname="darwin" ;;
+
+		*) osname="linux" ;;
+	esac
+
+	if use ithreads
+	then
+		einfo "using ithreads"
+		mythreading="-multi"
+		myconf -Dusethreads
+		myarch=${CHOST}
+		myarch="${myarch%%-*}-${osname}-thread"
+	else
+		myarch=${CHOST}
+		myarch="${myarch%%-*}-${osname}"
+	fi
+
+	local inclist=$(for v in $PERL_OLDVERSEN; do echo -n "$v $v/$myarch$mythreading "; done)
+
+	# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
+
+	myndbm='U'
+	mygdbm='U'
+	mydb='U'
+
+	if use gdbm
+	then
+		mygdbm='D'
+		myndbm='D'
+	fi
+	if use berkdb
+	then
+		mydb='D'
+		has_version '=sys-libs/db-1*' && myndbm='D'
+	fi
+
+	myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
+
+	if use mips
+	then
+		# this is needed because gcc 3.3-compiled kernels will hang
+		# the machine trying to run this test - check with `Kumba
+		# <rac@gentoo.org> 2003.06.26
+		myconf -Dd_u32align
+	fi
+
+	if use perlsuid
+	then
+		myconf -Dd_dosuid
+		ewarn "You have enabled Perl's suid compile. Please"
+		ewarn "read http://search.cpan.org/~nwclark/perl-5.8.8/INSTALL#suidperl"
+		epause 3
+	fi
+
+	if use debug
+	then
+		CFLAGS="${CFLAGS} -g"
+		myconf -DDEBUGGING
+	fi
+
+	if use sparc
+	then
+		myconf -Ud_longdbl
+	fi
+
+	if use alpha && "$(tc-getCC)" == "ccc"
+	then
+		ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
+		myconf -Ui_db -Ui_ndbm
+	fi
+
+	[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
+
+	if [[ $(get_libdir) != "lib" ]] ; then
+		# We need to use " and not ', as the written config.sh use ' ...
+		myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
+	fi
+
+	sh Configure -des \
+		-Darchname="${myarch}" \
+		-Dcccdlflags='-fPIC' \
+		-Dccdlflags='-rdynamic' \
+		-Dcc="$(tc-getCC)" \
+		-Dprefix='/usr' \
+		-Dvendorprefix='/usr' \
+		-Dsiteprefix='/usr' \
+		-Dlocincpth=' ' \
+		-Doptimize="${CFLAGS}" \
+		-Duselargefiles \
+		-Dd_semctl_semun \
+		-Dscriptdir=/usr/bin \
+		-Dman1dir=/usr/share/man/man1 \
+		-Dman3dir=/usr/share/man/man3 \
+		-Dinstallman1dir=/usr/share/man/man1 \
+		-Dinstallman3dir=/usr/share/man/man3 \
+		-Dman1ext='1' \
+		-Dman3ext='3pm' \
+		-Dinc_version_list="$inclist" \
+		-Dcf_by='Gentoo' \
+		-Ud_csh \
+		-Dusenm \
+		"${myconf[@]}" || die "Unable to configure"
+}
+
+src_compile() {
+
+	# would like to bracket this with a test for the existence of a
+	# dotfile, but can't clean it automatically now.
+
+	src_configure
+
+	emake -j1 || die "Unable to make"
+}
+
+src_test() {
+	use elibc_uclibc && export MAKEOPTS="${MAKEOPTS} -j1"
+	emake -i test CCDLFLAGS= || die "test failed"
+}
+
+src_install() {
+
+	export LC_ALL="C"
+
+	# Need to do this, else apps do not link to dynamic version of
+	# the library ...
+	local coredir="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}/CORE"
+	dodir ${coredir}
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/${LIBPERL}
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname ${PERLSLOT})
+	dosym ../../../../../$(get_libdir)/${LIBPERL} ${coredir}/libperl$(get_libname)
+
+	# Fix for "stupid" modules and programs
+	dodir /usr/$(get_libdir)/perl5/site_perl/${MY_PV}/${myarch}${mythreading}
+
+	local installtarget=install
+	if use build ; then
+		installtarget=install.perl
+	fi
+	make DESTDIR="${D}" ${installtarget} || die "Unable to make ${installtarget}"
+
+	rm "${D}"/usr/bin/perl
+	ln -s perl${MY_PV} "${D}"/usr/bin/perl
+
+	cp -f utils/h2ph utils/h2ph_patched
+	epatch "${FILESDIR}"/${PN}-h2ph-ansi-header.patch
+
+	LD_LIBRARY_PATH=. ./perl -Ilib utils/h2ph_patched \
+		-a -d "${D}"/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading} <<EOF
+asm/termios.h
+syscall.h
+syslimits.h
+syslog.h
+sys/ioctl.h
+sys/socket.h
+sys/time.h
+wait.h
+EOF
+
+	# This is to fix a missing c flag for backwards compat
+	for i in `find "${D}"/usr/$(get_libdir)/perl5 -iname "Config.pm"`;do
+		sed -e "s:ccflags=':ccflags='-DPERL5 :" \
+			-e "s:cppflags=':cppflags='-DPERL5 :" \
+			${i} > ${i}.new &&\
+			mv ${i}.new ${i} || die "Sed failed"
+	done
+
+	# A poor fix for the miniperl issues
+	dosed 's:./miniperl:/usr/bin/perl:' /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+	fperms 0444 /usr/$(get_libdir)/perl5/${MY_PV}/ExtUtils/xsubpp
+	dosed 's:./miniperl:/usr/bin/perl:' /usr/bin/xsubpp
+	fperms 0755 /usr/bin/xsubpp
+
+	# This removes ${D} from Config.pm and .packlist
+	for i in `find "${D}" -iname "Config.pm"` `find "${D}" -iname ".packlist"`;do
+		einfo "Removing ${D} from ${i}..."
+		sed -e "s:${D}::" ${i} > ${i}.new &&\
+			mv ${i}.new ${i} || die "Sed failed"
+	done
+
+	# Note: find out from psm why we would need/want this.
+	# ( use berkdb && has_version '=sys-libs/db-1*' ) ||
+	#	find ${D} -name "*NDBM*" | xargs rm -f
+
+	dodoc Changes* Artistic Copying README Todo* AUTHORS
+
+	if use doc
+	then
+		# HTML Documentation
+		# We expect errors, warnings, and such with the following.
+
+		dodir /usr/share/doc/${PF}/html
+		./perl installhtml \
+			--podroot='.' \
+			--podpath='lib:ext:pod:vms' \
+			--recurse \
+			--htmldir="${D}/usr/share/doc/${PF}/html" \
+			--libpods='perlfunc:perlguts:perlvar:perlrun:perlop'
+	fi
+	cd `find "${D}" -name Path.pm|sed -e 's/Path.pm//'`
+	# CAN patch in bug 79685
+	#epatch "${FILESDIR}"/${P}-CAN-2005-0448-rmtree-2.patch
+
+	dual_scripts
+
+	if use build ; then
+		src_remove_extra_files
+	fi
+}
+
+pkg_postinst() {
+	dual_scripts
+	INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${MY_PV}'|etc|local|perl$/; print "$line\n" }')
+	if [[ "${ROOT}" = "/" ]]
+	then
+		ebegin "Removing old .ph files"
+		for DIR in $INC; do
+			if [[ -d "${ROOT}"/$DIR ]]; then
+				for file in $(find "${ROOT}"/$DIR -name "*.ph" -type f); do
+					rm "${ROOT}"/$file
+					einfo "<< $file"
+				done
+			fi
+		done
+		# Silently remove the now empty dirs
+		for DIR in $INC; do
+		   if [[ -d "${ROOT}"/$DIR ]]; then
+			find "${ROOT}"/$DIR -depth -type d | xargs -r rmdir &> /dev/null
+		   fi
+		done
+		ebegin "Generating ConfigLocal.pm (ignore any error)"
+		enc2xs -C
+		ebegin "Converting C header files to the corresponding Perl format"
+		cd /usr/include;
+		h2ph *
+		h2ph -r sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/* gentoo*
+		cd /usr/include/linux
+		h2ph *
+	fi
+
+# This has been moved into a function because rumor has it that a future release
+# of portage will allow us to check what version was just removed - which means
+# we will be able to invoke this only as needed :)
+	# Tried doing this via  -z, but $INC is too big...
+	if [[ "${INC}x" != "x" ]]; then
+		cleaner_msg
+		epause 5
+	fi
+}
+
+pkg_postrm() {
+	dual_scripts
+}
+
+cleaner_msg() {
+	eerror "You have had multiple versions of perl. It is recommended"
+	eerror "that you run perl-cleaner now. perl-cleaner will"
+	eerror "assist with this transition. This script is capable"
+	eerror "of cleaning out old .ph files, rebuilding modules for "
+	eerror "your new version of perl, as well as re-emerging"
+	eerror "applications that compiled against your old libperl$(get_libname)"
+	eerror
+	eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
+	eerror "Part of the rebuilding of applications compiled against "
+	eerror "your old libperl involves temporarily unmerging"
+	eerror "them - interruptions could leave you with unmerged"
+	eerror "packages before they can be remerged."
+	eerror ""
+	eerror "If you have run perl-cleaner and a package still gives"
+	eerror "you trouble, and re-emerging it fails to correct"
+	eerror "the problem, please check http://bugs.gentoo.org/"
+	eerror "for more information or to report a bug."
+	eerror ""
+	eerror ""
+}
+
+src_remove_dual_scripts() {
+	local i pkg ver ff
+	pkg="$1"
+	ver="$2"
+	shift 2
+	if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ;then
+		for i in "$@" ; do
+			ff=`echo ${ROOT}/usr/share/man/man1/${i}-${ver}-${P}.1*`
+			ff=${ff##*.1}
+			alternatives_auto_makesym "/usr/bin/${i}" "/usr/bin/${i}-[0-9]*"
+			alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/share/man/man1/${i}-[0-9]*"
+		done
+	elif has "${EBUILD_PHASE:-none}" "setup" ; then
+		for i in "$@" ; do
+			if [[ -f ${ROOT}/usr/bin/${i} && ! -h ${ROOT}/usr/bin/${i} ]] ; then
+				has_version ${pkg} && ewarn "You must reinstall $pkg !"
+				break
+			fi
+		done
+	else
+		for i in "$@" ; do
+			mv "${D}"/usr/bin/${i}{,-${ver}-${P}} || die
+			mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || \
+				echo "/usr/share/man/man1/${i}.1 does not exist!"
+		done
+	fi
+}
+
+src_remove_extra_files() {
+	local prefix="./usr" # ./ is important
+	local bindir="${prefix}/bin"
+	local perlroot="${prefix}/$(get_libdir)/perl5" # perl installs per-arch dirs
+	local prV="${perlroot}/${MY_PV}"
+	# myarch and mythreading are defined inside src_configure()
+	local prVA="${prV}/${myarch}${mythreading}"
+
+	# I made this list from the Mandr*, Debian and ex-Connectiva perl-base list
+	# Then, I added several files to get GNU autotools running
+	# FIXME: should this be in a separated file to be sourced?
+	local MINIMAL_PERL_INSTALL="
+	${bindir}/h2ph
+	${bindir}/perl
+	${bindir}/perl${MY_PV}
+	${bindir}/pod2man
+	${prV}/attributes.pm
+	${prV}/AutoLoader.pm
+	${prV}/autouse.pm
+	${prV}/base.pm
+	${prV}/bigint.pm
+	${prV}/bignum.pm
+	${prV}/bigrat.pm
+	${prV}/blib.pm
+	${prV}/bytes_heavy.pl
+	${prV}/bytes.pm
+	${prV}/Carp/Heavy.pm
+	${prV}/Carp.pm
+	${prV}/charnames.pm
+	${prV}/Class/Struct.pm
+	${prV}/constant.pm
+	${prV}/diagnostics.pm
+	${prV}/DirHandle.pm
+	${prV}/Exporter/Heavy.pm
+	${prV}/Exporter.pm
+	${prV}/ExtUtils/Command.pm
+	${prV}/ExtUtils/Constant.pm
+	${prV}/ExtUtils/Embed.pm
+	${prV}/ExtUtils/Installed.pm
+	${prV}/ExtUtils/Install.pm
+	${prV}/ExtUtils/Liblist.pm
+	${prV}/ExtUtils/MakeMaker.pm
+	${prV}/ExtUtils/Manifest.pm
+	${prV}/ExtUtils/Mkbootstrap.pm
+	${prV}/ExtUtils/Mksymlists.pm
+	${prV}/ExtUtils/MM_Any.pm
+	${prV}/ExtUtils/MM_MacOS.pm
+	${prV}/ExtUtils/MM.pm
+	${prV}/ExtUtils/MM_Unix.pm
+	${prV}/ExtUtils/MY.pm
+	${prV}/ExtUtils/Packlist.pm
+	${prV}/ExtUtils/testlib.pm
+	${prV}/ExtUtils/Miniperl.pm
+	${prV}/ExtUtils/Command/MM.pm
+	${prV}/ExtUtils/Constant/Base.pm
+	${prV}/ExtUtils/Constant/Utils.pm
+	${prV}/ExtUtils/Constant/XS.pm
+	${prV}/ExtUtils/Liblist/Kid.pm
+	${prV}/ExtUtils/MakeMaker/bytes.pm
+	${prV}/ExtUtils/MakeMaker/vmsish.pm
+	${prV}/fields.pm
+	${prV}/File/Basename.pm
+	${prV}/File/Compare.pm
+	${prV}/File/Copy.pm
+	${prV}/File/Find.pm
+	${prV}/FileHandle.pm
+	${prV}/File/Path.pm
+	${prV}/File/Spec.pm
+	${prV}/File/Spec/Unix.pm
+	${prV}/File/stat.pm
+	${prV}/filetest.pm
+	${prVA}/attrs.pm
+	${prVA}/auto/attrs
+	${prVA}/auto/Cwd/Cwd$(get_libname)
+	${prVA}/auto/Data/Dumper/Dumper$(get_libname)
+	${prVA}/auto/DynaLoader/dl_findfile.al
+	${prVA}/auto/Fcntl/Fcntl$(get_libname)
+	${prVA}/auto/File/Glob/Glob$(get_libname)
+	${prVA}/auto/IO/IO$(get_libname)
+	${prVA}/auto/POSIX/autosplit.ix
+	${prVA}/auto/POSIX/fstat.al
+	${prVA}/auto/POSIX/load_imports.al
+	${prVA}/auto/POSIX/POSIX.bs
+	${prVA}/auto/POSIX/POSIX$(get_libname)
+	${prVA}/auto/POSIX/assert.al
+	${prVA}/auto/POSIX/stat.al
+	${prVA}/auto/POSIX/tmpfile.al
+	${prVA}/auto/re/re$(get_libname)
+	${prVA}/auto/Socket/Socket$(get_libname)
+	${prVA}/auto/Storable/autosplit.ix
+	${prVA}/auto/Storable/_retrieve.al
+	${prVA}/auto/Storable/retrieve.al
+	${prVA}/auto/Storable/Storable$(get_libname)
+	${prVA}/auto/Storable/_store.al
+	${prVA}/auto/Storable/store.al
+	${prVA}/B/Deparse.pm
+	${prVA}/B.pm
+	${prVA}/Config.pm
+	${prVA}/Config_heavy.pl
+	${prVA}/CORE/libperl$(get_libname)
+	${prVA}/Cwd.pm
+	${prVA}/Data/Dumper.pm
+	${prVA}/DynaLoader.pm
+	${prVA}/encoding.pm
+	${prVA}/Errno.pm
+	${prVA}/Fcntl.pm
+	${prVA}/File/Glob.pm
+	${prVA}/_h2ph_pre.ph
+	${prVA}/IO/File.pm
+	${prVA}/IO/Handle.pm
+	${prVA}/IO/Pipe.pm
+	${prVA}/IO.pm
+	${prVA}/IO/Seekable.pm
+	${prVA}/IO/Select.pm
+	${prVA}/IO/Socket.pm
+	${prVA}/lib.pm
+	${prVA}/NDBM_File.pm
+	${prVA}/ops.pm
+	${prVA}/POSIX.pm
+	${prVA}/re.pm
+	${prVA}/Socket.pm
+	${prVA}/Storable.pm
+	${prVA}/threads
+	${prVA}/threads.pm
+	${prVA}/XSLoader.pm
+	${prV}/Getopt/Long.pm
+	${prV}/Getopt/Std.pm
+	${prV}/if.pm
+	${prV}/integer.pm
+	${prV}/IO/Socket/INET.pm
+	${prV}/IO/Socket/UNIX.pm
+	${prV}/IPC/Open2.pm
+	${prV}/IPC/Open3.pm
+	${prV}/less.pm
+	${prV}/List/Util.pm
+	${prV}/locale.pm
+	${prV}/open.pm
+	${prV}/overload.pm
+	${prV}/Pod/InputObjects.pm
+	${prV}/Pod/Man.pm
+	${prV}/Pod/ParseLink.pm
+	${prV}/Pod/Parser.pm
+	${prV}/Pod/Select.pm
+	${prV}/Pod/Text.pm
+	${prV}/Pod/Usage.pm
+	${prV}/PerlIO.pm
+	${prV}/Scalar/Util.pm
+	${prV}/SelectSaver.pm
+	${prV}/sigtrap.pm
+	${prV}/sort.pm
+	${prV}/stat.pl
+	${prV}/strict.pm
+	${prV}/subs.pm
+	${prV}/Symbol.pm
+	${prV}/Text/ParseWords.pm
+	${prV}/Text/Tabs.pm
+	${prV}/Text/Wrap.pm
+	${prV}/Time/Local.pm
+	${prV}/unicore/Canonical.pl
+	${prV}/unicore/Exact.pl
+	${prV}/unicore/lib/gc_sc/Digit.pl
+	${prV}/unicore/lib/gc_sc/Word.pl
+	${prV}/unicore/PVA.pl
+	${prV}/unicore/To/Fold.pl
+	${prV}/unicore/To/Lower.pl
+	${prV}/unicore/To/Upper.pl
+	${prV}/utf8_heavy.pl
+	${prV}/utf8.pm
+	${prV}/vars.pm
+	${prV}/vmsish.pm
+	${prV}/warnings
+	${prV}/warnings.pm
+	${prV}/warnings/register.pm"
+
+	if use perlsuid ; then
+		MINIMAL_PERL_INSTALL="${MINIMAL_PERL_INSTALL}
+		${bindir}/suidperl
+		${bindir}/sperl${MY_PV}"
+	fi
+
+	pushd "${D}" > /dev/null
+	# Remove cruft
+	einfo "Removing files that are not in the minimal install"
+	echo "${MINIMAL_PERL_INSTALL}"
+	for f in $(find . -type f); do
+		has ${f} ${MINIMAL_PERL_INSTALL} || rm -f ${f}
+	done
+	# Remove empty directories
+	find . -depth -type d | xargs -r rmdir &> /dev/null
+	popd > /dev/null
+}

diff --git a/dev-lang/php/files/php-fpm-r4.init b/dev-lang/php/files/php-fpm-r4.init
old mode 100755
new mode 100644

diff --git a/dev-libs/mpfr/ChangeLog b/dev-libs/mpfr/ChangeLog
new file mode 100644
index 0000000..ac22af5
--- /dev/null
+++ b/dev-libs/mpfr/ChangeLog
@@ -0,0 +1,634 @@
+# ChangeLog for dev-libs/mpfr
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/ChangeLog,v 1.169 2013/09/13 18:32:04 grobian Exp $
+
+*mpfr-3.1.2-r1 (13 Sep 2013)
+
+  13 Sep 2013; Fabian Groffen <grobian@gentoo.org> +mpfr-3.1.2-r1.ebuild,
+  -mpfr-3.1.2.ebuild:
+  Fix src_prepare to always apply elibtoolize, necessary to install shared libs
+  on Solaris
+
+  25 Aug 2013; Mike Frysinger <vapier@gentoo.org> mpfr-2.4.2_p3-r1.ebuild,
+  mpfr-3.1.2.ebuild:
+  Simplify src_prepare code.
+
+  21 Jul 2013; Christoph Junghans <ottxor@gentoo.org> mpfr-2.4.2_p3-r1.ebuild,
+  mpfr-3.1.2.ebuild:
+  added prefix support (bug #476336)
+
+  29 Apr 2013; Sébastien Fabbro <bicatali@gentoo.org> mpfr-3.1.2.ebuild:
+  Keyword amd64-linux
+
+*mpfr-3.1.2 (14 Mar 2013)
+
+  14 Mar 2013; Ryan Hill <dirtyepic@gentoo.org> +mpfr-3.1.2.ebuild:
+  Version bump (bug #461686 by Samuli).
+
+  27 Feb 2013; Zac Medico <zmedico@gentoo.org> mpfr-3.1.1_p2.ebuild:
+  Fix for prefix and add ~arm-linux + ~x86-linux keywords.
+
+  01 Jan 2013; Raúl Porcel <armin76@gentoo.org> mpfr-3.1.1.ebuild:
+  m68k/s390/sh stable wrt #447890
+
+  30 Dec 2012; Agostino Sarubbo <ago@gentoo.org> mpfr-3.1.1.ebuild:
+  Stable for alpha, wrt bug #447890
+
+  30 Dec 2012; Agostino Sarubbo <ago@gentoo.org> mpfr-3.1.1.ebuild:
+  Stable for sparc, wrt bug #447890
+
+  29 Dec 2012; Jeroen Roovers <jer@gentoo.org> mpfr-3.1.1.ebuild:
+  Stable for HPPA (bug #447890).
+
+  26 Dec 2012; Markus Meier <maekke@gentoo.org> mpfr-3.1.1.ebuild:
+  arm stable, bug #447890
+
+  25 Dec 2012; Agostino Sarubbo <ago@gentoo.org> mpfr-3.1.1.ebuild:
+  Stable for ia64, wrt bug #447890
+
+  23 Dec 2012; Jeff Horelick <jdhore@gentoo.org> mpfr-3.1.1.ebuild:
+  marked x86 per bug 447890
+
+  23 Dec 2012; Agostino Sarubbo <ago@gentoo.org> mpfr-3.1.1.ebuild:
+  Stable for ppc64, wrt bug #447890
+
+  22 Dec 2012; Agostino Sarubbo <ago@gentoo.org> mpfr-3.1.1.ebuild:
+  Stable for ppc, wrt bug #447890
+
+  20 Dec 2012; Agostino Sarubbo <ago@gentoo.org> mpfr-3.1.1.ebuild:
+  Stable for amd64, wrt bug #447890
+
+*mpfr-3.1.1_p2 (20 Dec 2012)
+
+  20 Dec 2012; Mike Frysinger <vapier@gentoo.org> +files/3.1.1/patch01,
+  +files/3.1.1/patch02, +mpfr-3.1.1_p2.ebuild:
+  Version bump.
+
+*mpfr-3.1.1 (05 Jul 2012)
+
+  05 Jul 2012; Mike Frysinger <vapier@gentoo.org> +mpfr-3.1.1.ebuild:
+  Version bump.
+
+  06 Jun 2012; Zac Medico <zmedico@gentoo.org> mpfr-3.0.0_p3.ebuild,
+  mpfr-3.0.1.ebuild, mpfr-3.0.1_p4.ebuild:
+  inherit multilib for get_libdir
+
+  07 May 2012; Alexis Ballier <aballier@gentoo.org> mpfr-3.1.0_p7.ebuild:
+  readd fbsd keywords to latest version as bug #390425 seems fixed
+
+  26 Apr 2012; Alexis Ballier <aballier@gentoo.org> mpfr-3.0.1_p4-r1.ebuild:
+  keyword ~amd64-fbsd
+
+  19 Apr 2012; Mike Frysinger <vapier@gentoo.org> mpfr-2.4.2_p3.ebuild,
+  mpfr-3.0.0_p3.ebuild, mpfr-3.0.1.ebuild, mpfr-3.0.1_p4.ebuild,
+  mpfr-3.0.1_p4-r1.ebuild, mpfr-3.1.0.ebuild, mpfr-3.1.0_p7.ebuild:
+  Drop old epatch call #412591 by Stevan Bajić.
+
+*mpfr-3.1.0_p7 (09 Mar 2012)
+
+  09 Mar 2012; Mike Frysinger <vapier@gentoo.org> +files/3.1.0/patch01,
+  +files/3.1.0/patch02, +files/3.1.0/patch03, +files/3.1.0/patch04,
+  +files/3.1.0/patch05, +files/3.1.0/patch06, +files/3.1.0/patch07,
+  +mpfr-3.1.0_p7.ebuild:
+  Version bump #407551 by Samuli Suominen.
+
+  29 Dec 2011; Mark Loeser <halcy0n@gentoo.org> mpfr-3.0.1_p4.ebuild:
+  Stable for ppc/ppc64; bug #380673
+
+  09 Dec 2011; Alexis Ballier <aballier@gentoo.org> mpfr-3.0.1_p4-r1.ebuild,
+  mpfr-3.1.0.ebuild:
+  require static-libs on gmp when building with static-libs but do not force to
+  disable them on gmp when not, bug #394141
+
+  29 Nov 2011; Mike Frysinger <vapier@gentoo.org> mpfr-3.1.0.ebuild:
+  Drop fbsd KEYWORDS as this breaks gcc #390425 by Tibor Vago.
+
+  12 Oct 2011; Raúl Porcel <armin76@gentoo.org> mpfr-3.0.1_p4.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #380673
+
+*mpfr-3.1.0 (03 Oct 2011)
+
+  03 Oct 2011; Mike Frysinger <vapier@gentoo.org> +mpfr-3.1.0.ebuild:
+  Version bump.
+
+*mpfr-2.4.2_p3-r1 (03 Oct 2011)
+
+  03 Oct 2011; Mike Frysinger <vapier@gentoo.org> +mpfr-2.4.2_p3-r1.ebuild:
+  Add ebuild for libmpfr.so.1 ABI name.
+
+  14 Sep 2011; Jeroen Roovers <jer@gentoo.org> mpfr-3.0.1_p4.ebuild:
+  Stable for HPPA (bug #380673).
+
+  04 Sep 2011; Markus Meier <maekke@gentoo.org> mpfr-3.0.1_p4.ebuild:
+  arm/x86 stable, bug #380673
+
+  26 Aug 2011; Tony Vroon <chainsaw@gentoo.org> mpfr-3.0.1_p4.ebuild:
+  Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo in bug
+  #380673 filed by Mike "SpanKY" Frysinger.
+
+*mpfr-3.0.1_p4-r1 (25 Aug 2011)
+
+  25 Aug 2011; Mike Frysinger <vapier@gentoo.org> +mpfr-3.0.1_p4-r1.ebuild:
+  Add support for USE=static-libs #378235 by Agostino Sarubbo.
+
+*mpfr-3.0.1_p4 (14 Jul 2011)
+
+  14 Jul 2011; Mike Frysinger <vapier@gentoo.org> +files/3.0.1/patch01,
+  +files/3.0.1/patch02, +files/3.0.1/patch04, +mpfr-3.0.1_p4.ebuild,
+  +files/3.0.1/patch03:
+  Version bump.
+
+  14 Jul 2011; Mike Frysinger <vapier@gentoo.org> mpfr-2.4.2_p3.ebuild,
+  mpfr-3.0.0_p3.ebuild, mpfr-3.0.1.ebuild:
+  Use exact upstream URIs #375119 by zino.
+
+  23 Apr 2011; Raúl Porcel <armin76@gentoo.org> mpfr-3.0.0_p3.ebuild:
+  ia64/m68k/s390/sh/sparc stable wrt #348634
+
+  10 Apr 2011; Tobias Klausmann <klausman@gentoo.org> mpfr-3.0.0_p3.ebuild:
+  Stable on alpha, bug #348634
+
+  08 Apr 2011; Markus Meier <maekke@gentoo.org> mpfr-3.0.0_p3.ebuild:
+  arm stable, bug #348634
+
+*mpfr-3.0.1 (05 Apr 2011)
+
+  05 Apr 2011; Mike Frysinger <vapier@gentoo.org> +mpfr-3.0.1.ebuild:
+  Version bump.
+
+  22 Mar 2011; Jeroen Roovers <jer@gentoo.org> mpfr-3.0.0_p3.ebuild:
+  Stable for HPPA (bug #348634).
+
+  22 Mar 2011; Thomas Kahle <tomka@gentoo.org> mpfr-3.0.0_p3.ebuild:
+  x86 stable per bug 348634
+
+  21 Mar 2011; Christoph Mende <angelos@gentoo.org> mpfr-3.0.0_p3.ebuild:
+  Stable on amd64 wrt bug #348634
+
+  21 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> mpfr-3.0.0_p3.ebuild:
+  ppc/ppc64 stable wrt #348634
+
+  11 Mar 2011; Markos Chandras <hwoarang@gentoo.org> mpfr-3.0.0_p3.ebuild:
+  Reverting keyword. Bug #348634
+
+  11 Mar 2011; Markos Chandras <hwoarang@gentoo.org> mpfr-3.0.0_p3.ebuild:
+  Stable on amd64 wrt bug #348634
+
+*mpfr-3.0.0_p3 (30 Aug 2010)
+
+  30 Aug 2010; Mike Frysinger <vapier@gentoo.org> +files/3.0.0/patch01,
+  +files/3.0.0/patch02, +files/3.0.0/patch03, +mpfr-3.0.0_p3.ebuild:
+  Version bump.
+
+  30 Aug 2010; Mike Frysinger <vapier@gentoo.org> mpfr-2.4.2_p3.ebuild:
+  Mark sparc stable #324747.
+
+  20 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> mpfr-2.4.2_p3.ebuild:
+  ppc64 stable wrt #324747
+
+  18 Jul 2010; <nixnut@gentoo.org> mpfr-2.4.2_p3.ebuild:
+  ppc stable #324747
+
+  29 Jun 2010; Mike Frysinger <vapier@gentoo.org> mpfr-2.4.2_p3.ebuild:
+  Mark alpha/arm/ia64/s390/sh stable #324747.
+
+  24 Jun 2010; Markos Chandras <hwoarang@gentoo.org> mpfr-2.4.2_p3.ebuild:
+  Stable on amd64 wrt bug #324747
+
+  22 Jun 2010; Christian Faulhammer <fauli@gentoo.org> mpfr-2.4.2_p3.ebuild:
+  stable x86, bug 324747
+
+  21 Jun 2010; Jeroen Roovers <jer@gentoo.org> mpfr-2.4.2_p3.ebuild:
+  Stable for HPPA (bug #324747).
+
+  20 Jun 2010; Mike Frysinger <vapier@gentoo.org> mpfr-3.0.0.ebuild:
+  Revert unintentional SLOT update #324763 by William Throwe.
+
+*mpfr-3.0.0 (20 Jun 2010)
+
+  20 Jun 2010; Mike Frysinger <vapier@gentoo.org> +mpfr-3.0.0.ebuild:
+  Version bump.
+
+  29 Jan 2010; Raúl Porcel <armin76@gentoo.org> mpfr-2.4.1_p5.ebuild:
+  ia64/sparc stable wrt #297297
+
+*mpfr-2.4.2_p3 (24 Jan 2010)
+
+  24 Jan 2010; Mike Frysinger <vapier@gentoo.org> +files/2.4.2/patch03,
+  +mpfr-2.4.2_p3.ebuild:
+  Version bump.
+
+  23 Jan 2010; Tobias Klausmann <klausman@gentoo.org> mpfr-2.4.1_p5.ebuild:
+  Stable on alpha, bug #297297
+
+*mpfr-2.4.2_p2 (11 Jan 2010)
+
+  11 Jan 2010; Mike Frysinger <vapier@gentoo.org> +files/2.4.2/patch02,
+  +mpfr-2.4.2_p2.ebuild:
+  Add another fix from upstream and fix docs install #298316 by Diego E.
+  Pettenò.
+
+  06 Jan 2010; Jeroen Roovers <jer@gentoo.org> mpfr-2.4.1_p5.ebuild:
+  Stable for PPC (bug #297297).
+
+  02 Jan 2010; Markus Meier <maekke@gentoo.org> mpfr-2.4.1_p5.ebuild:
+  amd64 stable, bug #297297
+
+  02 Jan 2010; Brent Baude <ranger@gentoo.org> mpfr-2.4.1_p5.ebuild:
+  Marking mpfr-2.4.1_p5 ppc64 for bug 297297
+
+  31 Dec 2009; Christian Faulhammer <fauli@gentoo.org> mpfr-2.4.1_p5.ebuild:
+  stable x86, bug 297297
+
+  18 Dec 2009; Jeroen Roovers <jer@gentoo.org> mpfr-2.4.1_p5.ebuild:
+  Stable for HPPA (bug #297297).
+
+*mpfr-2.4.2_p1 (17 Dec 2009)
+
+  17 Dec 2009; Mike Frysinger <vapier@gentoo.org> -files/2.3.1/patch01,
+  +mpfr-2.4.2_p1.ebuild, +files/2.4.2/patch01:
+  Version bump.
+
+  10 Sep 2009; Samuli Suominen <ssuominen@gentoo.org> mpfr-2.3.2.ebuild,
+  mpfr-2.4.1_p1.ebuild, mpfr-2.4.1_p5.ebuild:
+  Fix lzma-utils vs. xz-utils deps.
+
+  01 Apr 2009; Tobias Scherbaum <dertobi123@gentoo.org>
+  mpfr-2.4.1_p1.ebuild:
+  ppc stable, bug #260968
+
+*mpfr-2.4.1_p5 (18 Mar 2009)
+
+  18 Mar 2009; Mike Frysinger <vapier@gentoo.org> +files/2.4.1/patch02,
+  +files/2.4.1/patch03, +files/2.4.1/patch04, +files/2.4.1/patch05,
+  +mpfr-2.4.1_p5.ebuild:
+  Version bump.
+
+  14 Mar 2009; Mike Frysinger <vapier@gentoo.org> mpfr-2.4.1_p1.ebuild:
+  Fix up == usage in shell test #261016 by deadhead.
+
+  07 Mar 2009; Raúl Porcel <armin76@gentoo.org> mpfr-2.4.1_p1.ebuild:
+  alpha/arm/ia64/s390/sh stable wrt #260968
+
+  07 Mar 2009; Markus Meier <maekke@gentoo.org> mpfr-2.4.1_p1.ebuild:
+  amd64/x86 stable, bug #260968
+
+  04 Mar 2009; Ferris McCormick <fmccor@gentoo.org> mpfr-2.4.1_p1.ebuild:
+  Sparc stable, security Bug #260968.
+
+  04 Mar 2009; Brent Baude <ranger@gentoo.org> mpfr-2.4.1_p1.ebuild:
+  Marking mpfr-2.4.1_p1 ppc64 for bug 260968
+
+  03 Mar 2009; Jeroen Roovers <jer@gentoo.org> mpfr-2.4.1_p1.ebuild:
+  Stable for HPPA (bug #260968).
+
+*mpfr-2.4.1_p1 (03 Mar 2009)
+
+  03 Mar 2009; Mike Frysinger <vapier@gentoo.org> +files/2.4.1/patch01,
+  +mpfr-2.4.1_p1.ebuild:
+  Add patch from upstream.
+
+  27 Feb 2009; Brent Baude <ranger@gentoo.org> mpfr-2.3.2.ebuild:
+  stable ppc64, bug 255195
+
+*mpfr-2.4.1 (26 Feb 2009)
+
+  26 Feb 2009; Mike Frysinger <vapier@gentoo.org> +mpfr-2.4.1.ebuild:
+  Version bump.
+
+*mpfr-2.4.0_p1 (21 Feb 2009)
+
+  21 Feb 2009; Mike Frysinger <vapier@gentoo.org> +files/2.4.0/patch01,
+  +mpfr-2.4.0_p1.ebuild:
+  Add fix from upstream.
+
+  16 Feb 2009; Brent Baude <ranger@gentoo.org> mpfr-2.3.2.ebuild:
+  stable ppc, bug 255195
+
+*mpfr-2.4.0 (26 Jan 2009)
+
+  26 Jan 2009; Mike Frysinger <vapier@gentoo.org> +mpfr-2.4.0.ebuild:
+  Version bump.
+
+  25 Jan 2009; Raúl Porcel <armin76@gentoo.org> mpfr-2.3.2.ebuild:
+  alpha/ia64 stable wrt #255195
+
+  18 Jan 2009; Markus Meier <maekke@gentoo.org> mpfr-2.3.2.ebuild:
+  x86 stable, bug #255195
+
+  17 Jan 2009; Jeroen Roovers <jer@gentoo.org> mpfr-2.3.2.ebuild:
+  Stable for HPPA (bug #255195).
+
+  16 Jan 2009; Steve Dibb <beandog@gentoo.org> mpfr-2.3.2.ebuild:
+  amd64 stable, bug 255195
+
+  16 Jan 2009; Ferris McCormick <fmccor@gentoo.org> mpfr-2.3.2.ebuild:
+  Sparc stable --- Bug #255195 --- all tests pass.
+
+*mpfr-2.3.2-r1 (16 Jan 2009)
+
+  16 Jan 2009; Mike Frysinger <vapier@gentoo.org>
+  +files/2.3.2/mpfr-2.3.2-svn5664.patch,
+  +files/2.3.2/mpfr-2.3.2-svn5752.patch, +mpfr-2.3.2-r1.ebuild:
+  Grab upstream fixes for upstream bug 6604.
+
+  28 Nov 2008; Alexis Ballier <aballier@gentoo.org> mpfr-2.3.2.ebuild:
+  fix find call for bsd find compatibility, bug #236067
+
+  22 Sep 2008; Jeroen Roovers <jer@gentoo.org> mpfr-2.3.1_p1.ebuild:
+  Stable for HPPA (bug #238208).
+
+  21 Sep 2008; Brent Baude <ranger@gentoo.org> mpfr-2.3.1_p1.ebuild:
+  stable ppc64, bug 238208
+
+  21 Sep 2008; nixnut <nixnut@gentoo.org> mpfr-2.3.1_p1.ebuild:
+  Stable on ppc wrt bug 238208
+
+  21 Sep 2008; Raúl Porcel <armin76@gentoo.org> mpfr-2.3.1_p1.ebuild:
+  alpha/ia64/sparc/x86 stable wrt #238208
+
+  20 Sep 2008; Steve Dibb <beandog@gentoo.org> mpfr-2.3.1_p1.ebuild:
+  amd64 stable, bug 238208
+
+*mpfr-2.3.2 (20 Sep 2008)
+
+  20 Sep 2008; Mike Frysinger <vapier@gentoo.org> +mpfr-2.3.2.ebuild:
+  Version bump.
+
+*mpfr-2.3.1_p1 (20 Aug 2008)
+
+  20 Aug 2008; Mike Frysinger <vapier@gentoo.org> +files/2.3.1/patch01,
+  +mpfr-2.3.1_p1.ebuild:
+  Apply upstream patch01 for mpfr-2.3.1.
+
+  02 May 2008; Mike Frysinger <vapier@gentoo.org> mpfr-2.3.1.ebuild:
+  Drop the hardcoded shared/static flags as the default is to build both and
+  we want autodetection for targets that may not support shared (like mingw).
+
+  20 Apr 2008; Mike Frysinger <vapier@gentoo.org> mpfr-2.3.1.ebuild:
+  Mark amd64 stable #217696.
+
+  18 Apr 2008; nixnut <nixnut@gentoo.org> mpfr-2.3.1.ebuild:
+  Stable on ppc wrt bug 217696
+
+  15 Apr 2008; Raúl Porcel <armin76@gentoo.org> mpfr-2.3.1.ebuild:
+  alpha/ia64/sparc/x86 stable wrt #217696
+
+  14 Apr 2008; Markus Rothe <corsair@gentoo.org> mpfr-2.3.1.ebuild:
+  Stable on ppc64; bug #217696
+
+  14 Apr 2008; Jeroen Roovers <jer@gentoo.org> mpfr-2.3.1.ebuild:
+  Stable for HPPA (bug #217696).
+
+  11 Feb 2008; Santiago M. Mola <coldwind@gentoo.org> mpfr-2.3.0_p4.ebuild:
+  amd64 stable wrt #208039
+
+  30 Jan 2008; Brent Baude <ranger@gentoo.org> mpfr-2.3.0_p4.ebuild:
+  Marking mpfr-2.3.0_p4 ppc64 for bug 208039
+
+  30 Jan 2008; Raúl Porcel <armin76@gentoo.org> mpfr-2.3.0_p4.ebuild:
+  alpha/ia64/sparc stable wrt #208039
+
+  30 Jan 2008; Dawid Węgliński <cla@gentoo.org> mpfr-2.3.0_p4.ebuild:
+  Stable on x86 (bug #208039)
+
+  29 Jan 2008; Jeroen Roovers <jer@gentoo.org> mpfr-2.3.0_p4.ebuild:
+  Stable for HPPA (bug #208039).
+
+  29 Jan 2008; nixnut <nixnut@gentoo.org> mpfr-2.3.0_p4.ebuild:
+  Stable on ppc wrt bug 208039
+
+*mpfr-2.3.1 (29 Jan 2008)
+
+  29 Jan 2008; Mike Frysinger <vapier@gentoo.org> +mpfr-2.3.1.ebuild:
+  Version bump.
+
+  17 Jan 2008; Jeroen Roovers <jer@gentoo.org> mpfr-2.3.0_p3.ebuild:
+  Stable for HPPA too.
+
+  14 Jan 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+  mpfr-2.3.0_p3.ebuild:
+  ppc. stable
+
+*mpfr-2.3.0_p4 (26 Dec 2007)
+
+  26 Dec 2007; Daniel Black <dragonheart@gentoo.org> +files/2.3.0/patch04,
+  +mpfr-2.3.0_p4.ebuild:
+  added upstream patch
+
+  01 Dec 2007; Markus Rothe <corsair@gentoo.org> mpfr-2.3.0_p3.ebuild:
+  Stable on ppc64
+
+  19 Nov 2007; Joshua Kinard <kumba@gentoo.org> mpfr-2.3.0_p3.ebuild:
+  Stable on mips.
+
+  13 Nov 2007; Raúl Porcel <armin76@gentoo.org> mpfr-2.3.0_p3.ebuild:
+  alpha/ia64/sparc/x86 stable
+
+*mpfr-2.3.0_p3 (06 Oct 2007)
+
+  06 Oct 2007; Mike Frysinger <vapier@gentoo.org> +files/2.3.0/patch01,
+  +files/2.3.0/patch02, +files/2.3.0/patch03, +mpfr-2.3.0_p3.ebuild:
+  Version bump #193893.
+
+  25 Aug 2007; Steve Dibb <beandog@gentoo.org> mpfr-2.2.1_p5.ebuild:
+  amd64 stable
+
+  13 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+  mpfr-2.2.1_p5.ebuild:
+  ppc. stable
+
+  27 Jul 2007; Jeroen Roovers <jer@gentoo.org> mpfr-2.2.1_p5.ebuild:
+  Stable for HPPA too.
+
+  22 Jul 2007; Tom Gall <tgall@gentoo.org> mpfr-2.2.1_p5.ebuild:
+  stable on ppc64
+
+  15 Jul 2007; Raúl Porcel <armin76@gentoo.org> mpfr-2.2.1_p5.ebuild:
+  alpha stable
+
+  16 May 2007; Gustavo Zacarias <gustavoz@gentoo.org> mpfr-2.2.1_p5.ebuild:
+  Stable on sparc
+
+  12 May 2007; Joshua Kinard <kumba@gentoo.org> mpfr-2.2.1_p5.ebuild:
+  Stable on mips.
+
+  23 Apr 2007; Raúl Porcel <armin76@gentoo.org> mpfr-2.2.1_p5.ebuild:
+  ia64 + x86 stable
+
+*mpfr-2.2.1_p5 (06 Apr 2007)
+
+  06 Apr 2007; Daniel Black <dragonheart@gentoo.org> +files/2.2.1/patch02,
+  +files/2.2.1/patch03, +files/2.2.1/patch04, +files/2.2.1/patch05,
+  +mpfr-2.2.1_p5.ebuild:
+  upstream patches
+
+  17 Feb 2007; Alexander H. Færøy <eroyf@gentoo.org>
+  mpfr-2.2.0_p16.ebuild:
+  Stable on MIPS; bug #159250
+
+*mpfr-2.2.1_p1 (17 Feb 2007)
+
+  17 Feb 2007; Daniel Black <dragonheart@gentoo.org> +files/2.2.1/patch01,
+  +mpfr-2.2.1_p1.ebuild:
+  upstream patch
+
+  05 Feb 2007; Simon Stelling <blubb@gentoo.org> mpfr-2.2.0_p16.ebuild:
+  stable on amd64; bug 159250
+
+  30 Dec 2006; Tom Gall <tgall@gentoo.org> mpfr-2.2.0_p16.ebuild:
+  stable on ppc64, bug #159250
+
+  30 Dec 2006; Andrej Kacian <ticho@gentoo.org> mpfr-2.2.0_p16.ebuild:
+  Stable on x86, bug #159250.
+
+  29 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+  mpfr-2.2.0_p16.ebuild:
+  Stable on ppc wrt bug #159250.
+
+  28 Dec 2006; Bryan Østergaard <kloeri@gentoo.org> mpfr-2.2.0_p16.ebuild:
+  Stable on Alpha.
+
+  28 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org> mpfr-2.2.0_p16.ebuild:
+  Stable on sparc wrt #159250
+
+  28 Dec 2006; Jeroen Roovers <jer@gentoo.org> mpfr-2.2.0_p16.ebuild:
+  Stable for HPPA (bug #159250).
+
+*mpfr-2.2.1 (22 Dec 2006)
+
+  22 Dec 2006; Daniel Black <dragonheart@gentoo.org> +mpfr-2.2.1.ebuild:
+  version bump. seems to be simple bug fixes but masked for further testing on
+  all gcc versions
+
+  22 Dec 2006; Daniel Black <dragonheart@gentoo.org> -mpfr-2.2.0_p12.ebuild,
+  -mpfr-2.2.0_p14.ebuild, mpfr-2.2.0_p16.ebuild:
+  added automake dependency - bug #158808 thanks to Igor Fedorow. Removed
+  older versions
+
+  09 Dec 2006; Timothy Redaelli <drizzt@gentoo.org> mpfr-2.2.0_p16.ebuild:
+  Add ~x86-fbsd keyword
+
+*mpfr-2.2.0_p16 (21 Oct 2006)
+
+  21 Oct 2006; Daniel Black <dragonheart@gentoo.org> +files/2.2.0/patch15,
+  +files/2.2.0/patch16, +mpfr-2.2.0_p16.ebuild:
+  Grab some more patches from upstream.
+
+  20 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> mpfr-2.2.0_p10.ebuild:
+  Stable on Alpha.
+
+  17 Oct 2006; Roy Marples <uberlord@gentoo.org> mpfr-2.2.0_p14.ebuild:
+  Added ~sparc-fbsd keyword.
+
+  29 Sep 2006; Mike Frysinger <vapier@gentoo.org> mpfr-2.2.0_p8.ebuild,
+  mpfr-2.2.0_p10.ebuild, mpfr-2.2.0_p12.ebuild, mpfr-2.2.0_p14.ebuild:
+  Dont filter -ffast-math; people who use this globally deserve what they get.
+
+  03 Sep 2006; Joshua Kinard <kumba@gentoo.org> mpfr-2.2.0_p10.ebuild:
+  Marked stable on mips.
+
+  24 Aug 2006; Markus Rothe <corsair@gentoo.org> mpfr-2.2.0_p10.ebuild:
+  Stable on ppc64
+
+  23 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org> mpfr-2.2.0_p10.ebuild:
+  Stable on sparc
+
+  21 Aug 2006; Chris Gianelloni <wolf31o2@gentoo.org> mpfr-2.2.0_p10.ebuild:
+  Stable on amd64 and x86 wrt release snapshot. This is in preparation for an
+  eventual GCC 4.1.1 going stable.
+
+*mpfr-2.2.0_p14 (28 Jul 2006)
+
+  28 Jul 2006; Daniel Black <dragonheart@gentoo.org> +files/2.2.0/patch13,
+  +files/2.2.0/patch14, +mpfr-2.2.0_p14.ebuild:
+  more upstream patches
+
+*mpfr-2.2.0_p12 (19 Jul 2006)
+
+  19 Jul 2006; Daniel Black <dragonheart@gentoo.org> +files/2.2.0/patch11,
+  +files/2.2.0/patch12, +mpfr-2.2.0_p12.ebuild:
+  more upstream patches
+
+  27 Jun 2006; Luca Barbato <lu_zero@gentoo.org> mpfr-2.2.0_p10.ebuild:
+  Marked stable on ppc
+
+  25 Jun 2006; Guy Martin <gmsoft@gentoo.org> mpfr-2.2.0_p10.ebuild:
+  Stable on hppa.
+
+  06 May 2006; Mike Frysinger <vapier@gentoo.org>
+  +files/2.2.0/debian-disable-buggy-umul_ppmm.patch, mpfr-2.2.0_p8.ebuild,
+  mpfr-2.2.0_p10.ebuild:
+  Grab patch from Debian to fix test crashes #126082.
+
+*mpfr-2.2.0_p10 (10 Apr 2006)
+
+  10 Apr 2006; Mike Frysinger <vapier@gentoo.org> +files/2.2.0/patch09,
+  +files/2.2.0/patch10, +mpfr-2.2.0_p10.ebuild:
+  Grab some more patches from upstream.
+
+  07 Apr 2006; Guy Martin <gmsoft@gentoo.org> mpfr-2.2.0_p8.ebuild:
+  Fix hppa 1.1 computation bug.
+
+  14 Mar 2006; Joseph Jezak <josejx@gentoo.org> mpfr-2.2.0_p8.ebuild:
+  Marked ppc stable for bug #121968.
+
+  27 Feb 2006; Jeroen Roovers <jer@gentoo.org> mpfr-2.2.0_p8.ebuild:
+  Stable on hppa (bug #121968).
+
+  26 Feb 2006; Joshua Kinard <kumba@gentoo.org> mpfr-2.2.0_p8.ebuild:
+  Marked stable on mips.
+
+  15 Feb 2006; Markus Rothe <corsair@gentoo.org> mpfr-2.2.0_p8.ebuild:
+  Stable on ppc64; bug #121968
+
+  13 Feb 2006; Patrick McLean <chutzpah@gentoo.org> mpfr-2.2.0_p8.ebuild:
+  Add filtering of -ffast-math on amd64 and mark stable (bug #121968).
+
+  09 Feb 2006; Aron Griffis <agriffis@gentoo.org> mpfr-2.2.0_p8.ebuild:
+  Mark 2.2.0_p8 stable on ia64
+
+  08 Feb 2006; Mark Loeser <halcy0n@gentoo.org> mpfr-2.2.0_p8.ebuild:
+  Stable on x86; bug #121968
+
+  08 Feb 2006; Gustavo Zacarias <gustavoz@gentoo.org> mpfr-2.2.0_p8.ebuild:
+  Stable on sparc wrt #121968
+
+  04 Feb 2006; Aron Griffis <agriffis@gentoo.org> mpfr-2.2.0_p4.ebuild:
+  Mark 2.2.0_p4 stable on ia64
+
+*mpfr-2.2.0_p8 (22 Jan 2006)
+
+  22 Jan 2006; Daniel Black <dragonheart@gentoo.org> +files/2.2.0/patch08,
+  +mpfr-2.2.0_p8.ebuild:
+  patch bump
+
+  07 Jan 2006; Daniel Black <dragonheart@gentoo.org> mpfr-2.2.0_p7.ebuild:
+  opps did not mean to commit 390 to stable - marked ~s390
+
+*mpfr-2.2.0_p7 (07 Jan 2006)
+
+  07 Jan 2006; Daniel Black <dragonheart@gentoo.org> +files/2.2.0/patch06
+  +files/2.2.0/patch07, +mpfr-2.2.0_p7.ebuild:
+  added more patches from upstream
+
+  03 Jan 2006; Joshua Kinard <kumba@gentoo.org> mpfr-2.2.0_p4.ebuild:
+  Add ~mips to KEYWORDS.
+
+  26 Oct 2005; Jason Wever <weeve@gentoo.org> mpfr-2.2.0_p4.ebuild:
+  Added ~sparc keyword wrt bug #80357.
+
+  23 Oct 2005; Brent Baude <ranger@gentoo.org> mpfr-2.2.0_p4.ebuild:
+  Marking mpfr ~ppc64 for bug 80357
+
+  22 Oct 2005; Mark Loeser <halcy0n@gentoo.org> mpfr-2.2.0_p4.ebuild:
+  Adding ~x86 to keywords; bug #110026
+
+  22 Oct 2005; Daniel Black <dragonheart@gentoo.org> mpfr-2.2.0_p4.ebuild:
+  ~ppc keyword. Dependency change to avoid file conflicts in earlier gmp
+  versions
+
+*mpfr-2.2.0_p4 (19 Oct 2005)
+
+  19 Oct 2005; Mike Frysinger <vapier@gentoo.org> :
+  Initial import.  Ebuild submitted by me.

diff --git a/dev-libs/mpfr/Manifest b/dev-libs/mpfr/Manifest
new file mode 100644
index 0000000..984e487
--- /dev/null
+++ b/dev-libs/mpfr/Manifest
@@ -0,0 +1,39 @@
+AUX 2.4.2/patch01 7136 SHA256 ff84b6a8626c79f869d5625d70900e1f99a37f623cb124fdd949dcbcf9f9757e SHA512 6abe563d839379e35c9cac37888d1996fa176453b5852b3bd725b952fbf5c72df898aa6a3be40632e5743264907e208b3b7a9f44a9d9a221b183eefd2c4fb134 WHIRLPOOL bd06a68155ab4ba69a5c6e8da933ad3538f8c7a69a0a266299b8d9d7ffe31f9466430655d0ac93bdab636a7bb8128b4c77761b815440e814a2e0c1a5f9a34a71
+AUX 2.4.2/patch02 2538 SHA256 b61b3ff4abaf93e031d446be201c659275d1b49d1a02ac0a2de45e5fafd47f0b SHA512 481316ce216fd2d84c88d57e24dac66abdfa3e32737752b70211c80523c909fb6742398971ef75e63039803da4dcfd564316df7722b6756d3da2d5e8ad3b1e21 WHIRLPOOL 95f4134d6972a582d66c1a95cc1362fba357a36ebf79c96422cb415838882be7a6c11c11eb2f9d73d68c31a65a3279c9f73eb72cb042b5523a7bedc1a9474cb2
+AUX 2.4.2/patch03 2544 SHA256 999bc180dbeb666cd0301e506f79c7394032bcfb81ca8ded85234d1e5f5563ce SHA512 78ed52e534e11348a49f0eaeef3381484d310c927f1c45fb315ecb0e18eab8cc53a8008a8b76bd14a6c241142ae4291aa3a9d49875e168bfc5c8b3dbf0eda972 WHIRLPOOL 8dda8a6d74eb4bdcd0596d4676ab856331187c6a93c23f8ccce79a74b892f8ed4ce21f90f0cd583a7a333a2292c8ecbc3ff549408fd7c5c43e64f7018ca0bcc7
+AUX 3.0.0/patch01 6577 SHA256 f820b12c3220124cd63beabcacff270b01308091970380cf2ef408e17bec1f5a SHA512 aae7ef896f15540fa58cd4fad96a917fc529cb872b2c2b93087c74f899debd8159c81b6deb4392728d0e58bff4fa17f3b17f9934e1660812283c7536af29e978 WHIRLPOOL 71b0696d2272d46a3e77a6c9883c4354e87d0921c82fd22f33c73ba287bd74acd56073eb2e98deb0665054608f47bcd0c4ff3f8e6adb3b5de28ef7e252372276
+AUX 3.0.0/patch02 11400 SHA256 afb0407f6ff4cbdddaac501b33117c25454068baea08d411968bb1c04b763417 SHA512 0f23343177357bf9709bd6192bccd67b205ec5354e1fe148b67a4ea611f1b14b33b7624968ef59e8c122c13ae1f4c9c80c95b97dd1a1a79620098cb5061bf675 WHIRLPOOL 722e1c17ff2a418b1846c8f51cf183dd350e77db1bab7523f21dd8488d956e28706c6d228216f8594402fec900b1934ad87e0eba94b662ded513b2460773a79c
+AUX 3.0.0/patch03 2932 SHA256 b651dc3aa8ecd85179e074987515b8bbdfd41b057a56b41247048bed47fee672 SHA512 7013495b5c487eca7b70340ffa28075618023ffdc2207f1ce4c47e354e8d2113141756dd543dab9ba1dddb023c417ca1d46781ca9e72e2e6c347365c4f650649 WHIRLPOOL 26f58bfebb45b0c4ab62f9d67a07cbb732dcc65a0de1175eb75c6ad7a1ddbd352e37ef05068c6f1f6ea7ca7ad034fd3a297a981ac3577be8646ebf4776f653cd
+AUX 3.0.1/patch01 3899 SHA256 71c062051a2c7df031740b9b358b32addbcf90261f914cdfc32fc66f7afdf43a SHA512 0330a1f840ffeb6440311638d388fb76aca92fc196bc4bbc88996e94d1923c2fdbce94fd7c2ffe5344909ef27a1bdc1340bfff48882f6dd3552c4b89fcdb30e3 WHIRLPOOL 23e1fbf90c09f711629e8877a987b934e847aaf3e9190575fa04277c104c558bffcab61b9c99b36f90e12edba5a48e9c41b610abacbccace393c9ce0997e853c
+AUX 3.0.1/patch02 3282 SHA256 c7d92754b1de6040e69ef253a63f084f96bdbefcf7a12211397b9f6b29cf9721 SHA512 185c4748d58d1583186e32fb9e56e26629fd5e7605f0604d8c52d4f96197dfd1ca29d0a0314fe5dec79319b83802f8e3b2c12703a7aac13af20a77c45294c7d2 WHIRLPOOL 64351705557c6199de6fd426bcb3906119a27cfdd10f43544bf58944bcac627ac1bd869fd2dde9484f85faf041603a320c1587b7d5e40d436406d08710c393f2
+AUX 3.0.1/patch03 3347 SHA256 cdec3e6b213260c5e3d51696c44bb373b035a10b178b711f001e672e768f27f5 SHA512 2753d3edb9c54f1ada63207a974aa05ec51ae2402d1ab12c5b969a4971bceeebb5ff63108051fb595015c856282d6e2e920598219196c24f5396dc91a47f654d WHIRLPOOL ff3381b5c8abacb19e6945a218bbaad8b59e1010e5415606b605684bdceb3016a10d11965fbe604a844ee2d5457fba9b47b4158593c8b93787bd1ab67f8ca0c3
+AUX 3.0.1/patch04 1722 SHA256 3c8b35c4d2593d404dadee1d00b2c5d6cc581e9530c10085fd0a183b39e31200 SHA512 29d63678d2612ab7805be67ead0e99f47ab4582d44b5887df08e458f5fd9646bf68867aa28b3526151664ecf3295abdd8fb67d753744d832ffa9b436af1561fd WHIRLPOOL 7ab2302055d2743cf55a262e5877623ee9a688f699e261c88407a6fc6c7b9cb945ecbf80b52e8a8bcb939d7f29b9e45fba50d3b4526ddf209a9b67f4d8eee0d8
+AUX 3.1.0/patch01 1935 SHA256 f2fb9ddd6a4b2ec7a580e5aa8eb275a1dfd1720f520e10d2b491246f4513c1c5 SHA512 e1974463384b84bcd404c9d10de75fd75ed9205a9fedcfb6b96a71c988f98a9dcd2fbd1f536df0f16d96f3117b741f054de87cb5304e6c1c9537bf68402c7fae WHIRLPOOL 3987e72fbbe0cab0e4acfe2e2e6efd8c52fd24f5d8da6ad80f1e628100f3061972743db2f08115ffb67b27073098132124f4f178da3d423bffa94f467c3b3957
+AUX 3.1.0/patch02 4502 SHA256 9205e3c412add2dda89346ad52fe8452d3e685595f1b973f6ff846505c5967e6 SHA512 ab95f09d4f051ef37c9b3a853ae6e0d66565f7f207ddd1f8b0a334bb1b068265e56bfe4c8d511ea9c3e83ea9a7f00f2c363416f48edf9d8e11416589c4a8a9f0 WHIRLPOOL a3695857ca5393954c5104e82278f272782489e37457354eb99f8516e761abe84b88797ed72b4d5dfed657b2573bdc7e97cbed8c69e1ac48fd6554e58934d8b7
+AUX 3.1.0/patch03 8260 SHA256 f096849b0f5db432f70f0945d366644943f11eb8c95185fde48f27faac2ff40b SHA512 04a6497324df941c58b64e747d2b6f9f5f45b4edf1b0dd8a400e112ed904c6d73703d63a7cd42d6c2f4230139e6559bcc1ea57fb6d33d61326bcf11127d70a81 WHIRLPOOL 25afe953594c204af3ab33baab65859cbfd3ca09ea107a9da1a75787d53c69d43f7c800075e856d86513a071c4aeebc48d5a43370ad1d93f1fbfe2d0638c2acc
+AUX 3.1.0/patch04 6280 SHA256 265127d7bd2ab93a1ec689c49fdb35737075e3df22e6f910153041603bd6eccc SHA512 9bb92c75838436497a33f992aa0fd7f2f0c05708e74d298ede18f8647ef83f52f39cd33490ec6ba1bebc12cb26cd6fe32ad087c01da1f87d85a61e5366f24086 WHIRLPOOL d0a51d583d35a0f65ff91562a0f65abd531c44baf306814051de9dbe7e537ad96717692580da356a8afaf876778cc1c7a0c7fc07adb957b87e0ac9a079e51917
+AUX 3.1.0/patch05 2690 SHA256 823ae84a55249f76b53ecdc4a17c4b834ca8e33f7710729f5cbb66982ff8a03b SHA512 475b07a0e45944e907f53e59ba37867dd055bb90ec05fd7b7ef5caabaa6eb1c14367b9b8bb276605a8c867bc775d74dd7dfc6496ee0c6fd4f66ea4ff26c720c8 WHIRLPOOL 6876dfa87ff77407ba91c5b9bd407ad2bdcd5663199f05c1dbbae8844e39b2d76c7c43fe053b6ec581579c1017da3bbdab62a480a205be16bcbc513ef41ed161
+AUX 3.1.0/patch06 1906 SHA256 78448079c133e9a7da4832c7ce1065060fbeb3f43ebabd6f6e9a9cbccb402599 SHA512 878ad8757479535518dd8b251476ce76fc4d9bf0bdc7953565bd117c8c866e63bfc7656f59be65c4b59c268cabb0bab9cb3c294e27597385099ad995c5fc4e18 WHIRLPOOL a8b64819cff8fbb5ae86869dd1cd0fd37f85c05d024e6f12a046c89bddb14a6069acf611c8e5769aee4e5d2777fdbd788e870d11b13c852eb46639774db0ef21
+AUX 3.1.0/patch07 25023 SHA256 adfda8ed246c75897523c0365dbe8f854500682eff5a88d1d4c16fbf0bbfe388 SHA512 403b9f88072fe64179b8c530f7651c4721ce721ee9dc22c20775266a8d6e3ba361b8112c2c8162fa143b4dec04b952aa6be997b56f1165d075f2be8fe90d7d6e WHIRLPOOL 7ffafcf8f85da52a1dc5a5cc965809b9905c74daa2cb1bce317b492786a05b668086a1f4d45f1885dee9371cb3f8c08e87bd347c9b713306d2ed651a337ba4af
+AUX 3.1.1/patch01 7535 SHA256 81ba90e0ad8f13f5392626b3b06f9145071dbbfc2b21099f562bf7f51a5228a3 SHA512 34529426fda74a61eacff5a2eaf73ef7ca0d914a2aab4c730ffe656d304c8f6be0805f904e321957bfe81f5366b1ea38597b8041cf2f8f29ea47056fe58e9a5d WHIRLPOOL 5d740d9632ae038f07a8f6c479094a9b5d54a95c08995721a4966bc4ea97b3e5b7e62333e79857154ba1b1f33ce644e78a9253f40da3a5670c5883784c797871
+AUX 3.1.1/patch02 5460 SHA256 40d152b1e94ee2accb17a8d6b870378f7774739f6348c6205c4d6c5dccdb12cf SHA512 ccfc22d714fcdb5a747450ec1997fcbdd27c27f9c48e4c3d7bf613174bcd5ca0546eec0becbdaf1d1adb41cb2504f45b0b5dfc2024e384b81c80f1ed3bb3e110 WHIRLPOOL 8aecb34b8df10ee127727b473f4003e7e515d4247218a8134135c14c592e61f4b91c9fd202f0ab06f07af048464e6cac802bc0c0f7a83642cab14eb9dfd55273
+DIST mpfr-2.4.2.tar.bz2 1077886 SHA256 c7e75a08a8d49d2082e4caee1591a05d11b9d5627514e678f02d66a124bcf2ba SHA512 c004b3dbf86c04960e4a1f8db37a409a7cc4cb76135e76e98dcc5ad93aaa8deb62334ee13ff84447a7c12a5e8cb57f25c62ac908c24920f1fb1a38d79d4a4c5e WHIRLPOOL d08935d1c5cda48753ddbf98b3b0e87d911279d7fea24e6b210da7e2378f769f3b20babe96859601195d6a9811cf8297d239df53ad2cfa6d0a1bb7bb02ac6a29
+DIST mpfr-3.0.0.tar.bz2 1138685 SHA256 8f4e5f9c53536cb798a30455ac429b1f9fc75a0f8af32d6e0ac31ebf1024821f SHA512 f404a5ebc48624406ff62ddc7c75c75ae06c207b0cdb60d330e95f2782fca9cf4875f8b8389b666bc96d4f157afbdf270d39d95ae890fc7f81027f744632d016 WHIRLPOOL 195eaafca24f4c11472eebc400899244966ed2f087604c8827314ca64ce4bb282af5ff683a1ffaeba5034d0ef82dbb627a88e77af7c1832b78b2ecb5a82d1b77
+DIST mpfr-3.0.1.tar.bz2 1154306 SHA256 e1977099bb494319c0f0c1f85759050c418a56884e9c6cef1c540b9b13e38e7f SHA512 bbac7d0d63fd3b4cd895e247c448adce7f4c2b6b66ecfe26af138018e0f96991fa8cbd8cbe94f924761aa1ac676e259af1228600dfc0854314e875e7739fd279 WHIRLPOOL 9d8e9fb6fd4c4526ae853e2bbf85c85dabe01000b0df6f79dcfdbb15f0df95f5a084f304e6e0bc78fbd768eecfb7749c5dfa03a772cc6444432dcaccb1c6adc9
+DIST mpfr-3.1.0.tar.bz2 1203891 SHA256 74a7bbbad168dd1cc414f1c9210b8fc16ccfc8e422d34b3371a8978e31eab680 SHA512 86083d8cf9dbcf1e33fcf1d73da8bd5b98fbc9187acf36b2d84c453fd18010aa659960a8026470e49d535d957f764941926a78acb31fe2869bf9a92524e0e81c WHIRLPOOL 7eb97b6df3ca8f903e2fa65c2f184edbf6cf990ce512eaf9598a52db381d74879e5549bf019e89b7d7d260d1347e19d6c03e8365e8340591e110d011090a7a4b
+DIST mpfr-3.1.1.tar.xz 1071688 SHA256 49d5acc32dbeec30a8e26af9c19845763d63feacb8bf97b12876008419f5a17a SHA512 4fcc87e19a08622b3211a33807e708b78da6c8659f391003703a9e170c485f56e6ebfff48d42afca7b4edb14fd9487684c4d8fd6c9f805ed62b6d5259d5721a8 WHIRLPOOL c4fdb3c7fba779cfa8900cd3b05322d4853bb6114ea42a5ec315d4489c25e962185f3e3cd3b3214360b55a58da02987c62c5ca92fb14989b38bd8c93bccd63d5
+DIST mpfr-3.1.2.tar.xz 1074388 SHA256 399d0f47ef6608cc01d29ed1b99c7faff36d9994c45f36f41ba250147100453b SHA512 8d594206afb2637ed39ad564d42c8c4d02b042b95925f5c6ec891e5cb87f7155195559c7ff477256a088ecaaa3c2b0d35a9d11a74ed526a1080d49b2950e5587 WHIRLPOOL 1e391888d9cecc71617e99eb841cafac536e703b12d46a53fdcf773cc2654c98ca6bde2358f997c8b7bfd832bdb0c395b224df8a460a8fb5b4ad6f2c2e092b17
+EBUILD mpfr-2.4.2_p3-r1.ebuild 1332 SHA256 545ff4aee0ddf6f6df9f778835eda8ea2833499d941995caac7409dc7acaa4a1 SHA512 a30aaf35f4a82be066307e7dbb64a70683c9b3bc2c12784278c0299c9919f860e32f12ef08dd422f98cc39be39a61055cfcb39a31321b0b70c6ff1073b13fc39 WHIRLPOOL bc53b602baa552ec1e635cb1da898040ef7c878e70aea727708f4fe767357f3405f7e7951af3eba867ac0a38e14388c8044992124386d8dff3fbfab6a4e8c671
+EBUILD mpfr-2.4.2_p3.ebuild 1536 SHA256 f380276e5161d8724d40aa4bc3f1f196787c6f0a03099b5d8838a01e946508d4 SHA512 b8f81c80b435c58b812283b978b4eab9c4e66a8cc206721477b26047d4ab8b6b8902f4d9bcfcc38d8486629828a5b54819519c3983d4a24f8ad91a7319cd652d WHIRLPOOL ae29d9214b89d8e726e9d6858bd9f5319cd625dd131d15e44bbdad2d982839c0269526194335e86fbfbcd2ec6a8bdc37af4119e569a52e4c4ace6429b8998f6c
+EBUILD mpfr-3.0.0_p3.ebuild 1692 SHA256 d646350c940c10c432a31d78ad7073e294bc60bf53d41b6fde1e0c7798db3932 SHA512 855dae5d805e9c3547419ed7dc1409f65653fd96a02f860c7acfb033700f1f78841ea6b2ccc34d3c975cc640997c6d1f075d561b9e61619c21d02a9e3eb9e98e WHIRLPOOL 44e067f6660aa6c4b9859d8ce8714d112c8dcb6ff482a53150f2a2ab6fb84dcb6229866dbad1eaddba6764b0554f2bb17ac5bd7947b3afc0431a7d1b10bbdbf6
+EBUILD mpfr-3.0.1.ebuild 1700 SHA256 c3e8921034f5f87586b9e14326e152c4072c15ae18b6d2a6a62cb16b9e32e3d4 SHA512 b006d0664ae56c0f8e510372d99ba349c736c11b109e7dd1a5f675b47c885b5644bb2ce119e9334bfa4afd366015f076e62d0263d491d9a7ce43e85f4adb4521 WHIRLPOOL f88d7a77c35d1eba770d72b5170a6fff8d756d809b178743f5e2774517517457d3a109e58e255b1802eb37b6f3c17011011e1f0a04315d0eccd5fe7ebe3fd2e9
+EBUILD mpfr-3.0.1_p4-r1.ebuild 1854 SHA256 8791dcf9d32b3b927964cebc15cf5f7a138af0ac2af5623a3ea6edfb7af8d66c SHA512 87f8459e697410f36e9ef5442955646b75e5a3893cf6d3962ec263fa44b9cf703a3aa7c0b6578a1d65610fa010683b072af525a2643874b5f409405860388b34 WHIRLPOOL a46061e0da9c34e97bc54c309df5b94bc27d77a9a110e49f0904cd8feb8a546607e961c68c9b615da2f74e0d8ffc99f66e07500a6315d12c8125c577c7a6d295
+EBUILD mpfr-3.0.1_p4.ebuild 1691 SHA256 273a3f471cae74920b783494379951de909891090ab9709b3b9ce3d5326e4e2d SHA512 80c6ca3139d2b0f65e6ae1f8f84f664aebf1f06224e66b22962c898bfacf1c03bd142d32b05ba1b5f96ff4f3b6f0e4a3f9485f3af85f8638d57f78a029ce2160 WHIRLPOOL ff96fe531f009f56a0db8821d326abcdc3ce2271393b46d9c7a2f7908f5d80fae7f44fcffb90baebbcc81f56036f7d19c82a905bd12500845efa135b5a1a6ff5
+EBUILD mpfr-3.1.0.ebuild 1950 SHA256 42fc55acc6041b9f79979203afe52f4b19ff153d1f1c5a13ab9e968958dbd9df SHA512 0d9adc8d9cd835073ef5ea0536816c37198da6c65bd6daee128006acc7655d289fcfbf97ef94cd60ec24385298534d163b561069639ed8c42415a6966c54b3a8 WHIRLPOOL 0342f255bda325cfb311a58106043eaaf3d6e7b81254e8c8bfe711fdabd20bd1124529f3483c608c183b81d455c5aa01b5ccee6662284fc336ec8005c59e4d1f
+EBUILD mpfr-3.1.0_p7.ebuild 1967 SHA256 4c7e7da8207970d54881151022f8df714e31489cd7898e187f7f29396af611c0 SHA512 d6ed440cbd68e497588de1ad8dc652486b426b43ef37bd148c2c7ee34be5f1b20bc97b31eef634e4aefbcc9341edc84ebcf7cb31231b59b7e1fdce2c0069e734 WHIRLPOOL 99f47197a66b964da5fdc29d470fc26edd633ab4015147a3068598d3d35ff4ca617823fe5e695b545d38e6644f75799c919bfc525dbbdb145df5074675b63f1b
+EBUILD mpfr-3.1.1.ebuild 1951 SHA256 321164e9f88fb4c8808a683a6d321bd61d73a699b3e7113bbbb78b49620e4c02 SHA512 66ce60ba6a6cd38279063ef20ed73d9cd18033d092dc7d5150628194f38c8a39959ff8f7d7dad656caaf944d9322ed1eb3ec2f6ca12601b7fef6a911b5a27ff2 WHIRLPOOL 49ee3a0abb5029bf8fd8ebdf748577fe27cc7151116b623dbb8ae848e7a6d520776762c62f73bbcf09a9e49ecb4462e0d9c0e0a14a26041816de6143c4b911a6
+EBUILD mpfr-3.1.1_p2.ebuild 2001 SHA256 8d6ac46fb831639463332927299ce3f9590aefade2cd6c073ce81add9e179835 SHA512 09dd693570a57debf2ceae007c22efd285691ae19757cfe64ed0bdfab116b3b208b95a612827b1bbfd0d2f980f653851172608fa0f75eae0bcc3a4cb20af0575 WHIRLPOOL 0396d497db15ff7d9044f945066ad8231cf7dd536d7dece981789f1140b6f2d6a0f2a12720bf25da7893a3c11859b914d9e6803a2f0063e01d71840c9e6eb4ff
+EBUILD mpfr-3.1.2-r1.ebuild 2353 SHA256 c9b6d6ded1a2d9a026ef10ce8261e4a4f3688aca6abc1236cd3b42360ffbd518 SHA512 302243e67e9b446fb2a54c1970de03365e6e3dd675036aa9c415f599099bcd547e34eec99d2f1e7e7629c597b115595ec98f144e4b2890f3b4a838417bb33be7 WHIRLPOOL b68334bfce7eb76f29ac7525c10129a59349b0023d7a5c7d5ffed1f49647584c37e2478be22711119a62bce058da3ee1e66bd6c5b00805ad0ab217599bba9a4d
+EBUILD mpfr-3.1.2.ebuild 2334 SHA256 b9d37880b9fe8bc8e08a16883c61228a78e1dfdd08d5123d99bfbe11104d6c14 SHA512 080f8a8227273cd1ba0136f4ba80bdaa6bfec0d837c61b80f6217bcf95b54ad7255713a0daa1452471491f51d4cfc6daba33c39a63aae218842d9493913c7c6f WHIRLPOOL fb39187b051ab6ba8ed59693911eec6abe97460fbd5a5bf9b9b398cad211c4b2b9fdfc3d92b760bbf1831e0fd7478fba695d0760491a55bc46d763fc6c4e1059
+MISC ChangeLog 21115 SHA256 ef017f248cf3b3a7f0ed67ab8e4269b57bf61bab086e4ed24c9f6e7ad83f96da SHA512 b24d05dc9d42eaf135eca86514f5de6bf0a2b711379132ee2e1282905652d7603ced576401e3f37decfcb5bceac0e9fa6073e9c41c6c6fec0467e09889e2e5ae WHIRLPOOL 0561216891477c5f997041ab7ddf525ca6278060a4f5febda66a73781817487fe1c9b76a3bf84a3a20eeae6631a8332862483d59329b35f635c27c9ec39f276f
+MISC metadata.xml 162 SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a SHA512 2a857e10b277827773a6c7967e070d7bfff23d75f44fa4d4fa8a7339df3225e6dba512a865d91c9c55bdb013dafdce85dface1b845acfbb5473e232666cdda45 WHIRLPOOL f7586c1570803b3e646f0be89ba6c767e82ec6889ef92d15f62a38f1410ed9d82c36892e5e83f694471959783d0d5ad667f1a39b7eb51f2080c269d5fa23d819

diff --git a/dev-libs/mpfr/files/2.4.2/patch01 b/dev-libs/mpfr/files/2.4.2/patch01
new file mode 100644
index 0000000..2721517
--- /dev/null
+++ b/dev-libs/mpfr/files/2.4.2/patch01
@@ -0,0 +1,184 @@
+diff -Naurd mpfr-2.4.2-a/PATCHES mpfr-2.4.2-b/PATCHES
+--- mpfr-2.4.2-a/PATCHES	2009-12-07 13:37:12.000000000 +0000
++++ mpfr-2.4.2-b/PATCHES	2009-12-07 13:37:12.000000000 +0000
+@@ -0,0 +1 @@
++sin_cos_underflow
+diff -Naurd mpfr-2.4.2-a/VERSION mpfr-2.4.2-b/VERSION
+--- mpfr-2.4.2-a/VERSION	2009-11-30 02:43:08.000000000 +0000
++++ mpfr-2.4.2-b/VERSION	2009-12-07 13:37:12.000000000 +0000
+@@ -1 +1 @@
+-2.4.2
++2.4.2-p1
+diff -Naurd mpfr-2.4.2-a/mpfr.h mpfr-2.4.2-b/mpfr.h
+--- mpfr-2.4.2-a/mpfr.h	2009-11-30 02:43:08.000000000 +0000
++++ mpfr-2.4.2-b/mpfr.h	2009-12-07 13:37:12.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 2
+ #define MPFR_VERSION_MINOR 4
+ #define MPFR_VERSION_PATCHLEVEL 2
+-#define MPFR_VERSION_STRING "2.4.2"
++#define MPFR_VERSION_STRING "2.4.2-p1"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-2.4.2-a/sin_cos.c mpfr-2.4.2-b/sin_cos.c
+--- mpfr-2.4.2-a/sin_cos.c	2009-11-30 02:43:09.000000000 +0000
++++ mpfr-2.4.2-b/sin_cos.c	2009-12-07 13:37:12.000000000 +0000
+@@ -82,17 +82,19 @@
+       if (y != x)
+         /* y and x differ, thus we can safely try to compute y first */
+         {
+-          MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, x, -2 * expx, 2, 0, rnd_mode,
+-                                            { inexy = _inexact;
+-                                              goto small_input; });
++          MPFR_FAST_COMPUTE_IF_SMALL_INPUT (
++            y, x, -2 * expx, 2, 0, rnd_mode,
++            { inexy = _inexact;
++              goto small_input; });
+           if (0)
+             {
+             small_input:
+               /* we can go here only if we can round sin(x) */
+-              MPFR_FAST_COMPUTE_IF_SMALL_INPUT (z, __gmpfr_one, -2 * expx,
+-                                                1, 0, rnd_mode,
+-                                                { inexz = _inexact;
+-                                                  goto end; });
++              MPFR_FAST_COMPUTE_IF_SMALL_INPUT (
++                z, __gmpfr_one, -2 * expx, 1, 0, rnd_mode,
++                { inexz = _inexact;
++                  MPFR_SAVE_EXPO_UPDATE_FLAGS (expo, __gmpfr_flags);
++                  goto end; });
+             }
+ 
+           /* if we go here, one of the two MPFR_FAST_COMPUTE_IF_SMALL_INPUT
+@@ -101,18 +103,19 @@
+       else /* y and x are the same variable: try to compute z first, which
+               necessarily differs */
+         {
+-          MPFR_FAST_COMPUTE_IF_SMALL_INPUT (z, __gmpfr_one, -2 * expx,
+-                                            1, 0, rnd_mode,
+-                                            { inexz = _inexact;
+-                                              goto small_input2; });
++          MPFR_FAST_COMPUTE_IF_SMALL_INPUT (
++            z, __gmpfr_one, -2 * expx, 1, 0, rnd_mode,
++            { inexz = _inexact;
++              goto small_input2; });
+           if (0)
+             {
+             small_input2:
+               /* we can go here only if we can round cos(x) */
+-              MPFR_FAST_COMPUTE_IF_SMALL_INPUT (y, x, -2 * expx, 2, 0,
+-                                                rnd_mode,
+-                                                { inexy = _inexact;
+-                                                  goto end; });
++              MPFR_FAST_COMPUTE_IF_SMALL_INPUT (
++                y, x, -2 * expx, 2, 0, rnd_mode,
++                { inexy = _inexact;
++                  MPFR_SAVE_EXPO_UPDATE_FLAGS (expo, __gmpfr_flags);
++                  goto end; });
+             }
+         }
+       m += 2 * (-expx);
+@@ -207,7 +210,6 @@
+   mpfr_clear (xr);
+ 
+  end:
+-  /* FIXME: update the underflow flag if need be. */
+   MPFR_SAVE_EXPO_FREE (expo);
+   mpfr_check_range (y, inexy, rnd_mode);
+   mpfr_check_range (z, inexz, rnd_mode);
+diff -Naurd mpfr-2.4.2-a/tests/tsin_cos.c mpfr-2.4.2-b/tests/tsin_cos.c
+--- mpfr-2.4.2-a/tests/tsin_cos.c	2009-11-30 02:43:08.000000000 +0000
++++ mpfr-2.4.2-b/tests/tsin_cos.c	2009-12-07 13:37:12.000000000 +0000
+@@ -382,23 +382,56 @@
+ consistency (void)
+ {
+   mpfr_t x, s1, s2, c1, c2;
++  mp_exp_t emin, emax;
+   mp_rnd_t rnd;
++  unsigned int flags_sin, flags_cos, flags, flags_before, flags_ref;
++  int inex_sin, inex_cos, inex, inex_ref;
+   int i;
+ 
++  emin = mpfr_get_emin ();
++  emax = mpfr_get_emax ();
++
+   for (i = 0; i <= 10000; i++)
+     {
+       mpfr_init2 (x, MPFR_PREC_MIN + (randlimb () % 8));
+       mpfr_inits2 (MPFR_PREC_MIN + (randlimb () % 8), s1, s2, c1, c2,
+                    (mpfr_ptr) 0);
+-      tests_default_random (x, 256, -5, 50);
+-      rnd = RND_RAND ();
+-      mpfr_sin (s1, x, rnd);
+-      mpfr_cos (c1, x, rnd);
+-      mpfr_sin_cos (s2, c2, x, rnd);
+-      if (!(mpfr_equal_p (s1, s2) && mpfr_equal_p (c1, c2)))
++      if (i < 8 * GMP_RND_MAX)
+         {
+-          printf ("mpfr_sin_cos and mpfr_sin/mpfr_cos disagree on %s,\nx = ",
+-                  mpfr_print_rnd_mode (rnd));
++          int j = i / GMP_RND_MAX;
++          if (j & 1)
++            mpfr_set_emin (MPFR_EMIN_MIN);
++          mpfr_set_si (x, (j & 2) ? 1 : -1, GMP_RNDN);
++          mpfr_set_exp (x, mpfr_get_emin ());
++          rnd = (mpfr_rnd_t) (i % GMP_RND_MAX);
++          flags_before = 0;
++          if (j & 4)
++            mpfr_set_emax (-17);
++        }
++      else
++        {
++          tests_default_random (x, 256, -5, 50);
++          rnd = RND_RAND ();
++          flags_before = (randlimb () & 1) ?
++            (unsigned int) (MPFR_FLAGS_ALL ^ MPFR_FLAGS_ERANGE) :
++            (unsigned int) 0;
++        }
++      __gmpfr_flags = flags_before;
++      inex_sin = mpfr_sin (s1, x, rnd);
++      flags_sin = __gmpfr_flags;
++      __gmpfr_flags = flags_before;
++      inex_cos = mpfr_cos (c1, x, rnd);
++      flags_cos = __gmpfr_flags;
++      __gmpfr_flags = flags_before;
++      inex = !!mpfr_sin_cos (s2, c2, x, rnd);
++      flags = __gmpfr_flags;
++      inex_ref = inex_sin || inex_cos;
++      flags_ref = flags_sin | flags_cos;
++      if (!(mpfr_equal_p (s1, s2) && mpfr_equal_p (c1, c2)) ||
++          inex != inex_ref || flags != flags_ref)
++        {
++          printf ("mpfr_sin_cos and mpfr_sin/mpfr_cos disagree on %s,"
++                  " i = %d\nx = ", mpfr_print_rnd_mode (rnd), i);
+           mpfr_dump (x);
+           printf ("s1 = ");
+           mpfr_dump (s1);
+@@ -408,9 +441,16 @@
+           mpfr_dump (c1);
+           printf ("c2 = ");
+           mpfr_dump (c2);
++          printf ("inex_sin = %d, inex_cos = %d, inex = %d (expected %d)\n",
++                  inex_sin, inex_cos, inex, inex_ref);
++          printf ("flags_sin = 0x%x, flags_cos = 0x%x, "
++                  "flags = 0x%x (expected 0x%x)\n",
++                  flags_sin, flags_cos, flags, flags_ref);
+           exit (1);
+         }
+       mpfr_clears (x, s1, s2, c1, c2, (mpfr_ptr) 0);
++      mpfr_set_emin (emin);
++      mpfr_set_emax (emax);
+     }
+ }
+ 
+diff -Naurd mpfr-2.4.2-a/version.c mpfr-2.4.2-b/version.c
+--- mpfr-2.4.2-a/version.c	2009-11-30 02:43:08.000000000 +0000
++++ mpfr-2.4.2-b/version.c	2009-12-07 13:37:12.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "2.4.2";
++  return "2.4.2-p1";
+ }

diff --git a/dev-libs/mpfr/files/2.4.2/patch02 b/dev-libs/mpfr/files/2.4.2/patch02
new file mode 100644
index 0000000..fa85d8e
--- /dev/null
+++ b/dev-libs/mpfr/files/2.4.2/patch02
@@ -0,0 +1,71 @@
+diff -Naurd mpfr-2.4.2-a/PATCHES mpfr-2.4.2-b/PATCHES
+--- mpfr-2.4.2-a/PATCHES	2009-12-18 12:03:30.000000000 +0000
++++ mpfr-2.4.2-b/PATCHES	2009-12-18 12:05:19.000000000 +0000
+@@ -0,0 +1 @@
++longlong.h
+diff -Naurd mpfr-2.4.2-a/VERSION mpfr-2.4.2-b/VERSION
+--- mpfr-2.4.2-a/VERSION	2009-12-07 13:37:12.000000000 +0000
++++ mpfr-2.4.2-b/VERSION	2009-12-18 12:05:09.000000000 +0000
+@@ -1 +1 @@
+-2.4.2-p1
++2.4.2-p2
+diff -Naurd mpfr-2.4.2-a/mpfr-longlong.h mpfr-2.4.2-b/mpfr-longlong.h
+--- mpfr-2.4.2-a/mpfr-longlong.h	2009-11-30 02:43:08.000000000 +0000
++++ mpfr-2.4.2-b/mpfr-longlong.h	2009-12-18 12:04:29.000000000 +0000
+@@ -1011,7 +1011,15 @@
+ #endif /* __m88000__ */
+ 
+ #if defined (__mips) && W_TYPE_SIZE == 32
+-#if __GNUC__ > 2 || __GNUC_MINOR__ >= 7
++#if (__GNUC__ >= 5) || (__GNUC__ >= 4 && __GNUC_MINOR__ >= 4)
++#define umul_ppmm(w1, w0, u, v) \
++  do {									\
++    UDItype _r;							\
++    _r = (UDItype) u * v;						\
++    (w1) = _r >> 32;							\
++    (w0) = (USItype) _r;						\
++  } while (0)
++#elif __GNUC__ > 2 || __GNUC_MINOR__ >= 7
+ #define umul_ppmm(w1, w0, u, v) \
+   __asm__ ("multu %2,%3" : "=l" (w0), "=h" (w1) : "d" (u), "d" (v))
+ #else
+@@ -1024,7 +1032,16 @@
+ #endif /* __mips */
+ 
+ #if (defined (__mips) && __mips >= 3) && W_TYPE_SIZE == 64
+-#if __GNUC__ > 2 || __GNUC_MINOR__ >= 7
++#if (__GNUC__ >= 5) || (__GNUC__ >= 4 && __GNUC_MINOR__ >= 4)
++typedef unsigned int UTItype __attribute__ ((mode (TI)));
++#define umul_ppmm(w1, w0, u, v) \
++  do {									\
++    UTItype _r;							\
++    _r = (UTItype) u * v;						\
++    (w1) = _r >> 64;							\
++    (w0) = (UDItype) _r;						\
++  } while (0)
++#elif __GNUC__ > 2 || __GNUC_MINOR__ >= 7
+ #define umul_ppmm(w1, w0, u, v) \
+   __asm__ ("dmultu %2,%3" : "=l" (w0), "=h" (w1) : "d" (u), "d" (v))
+ #else
+diff -Naurd mpfr-2.4.2-a/mpfr.h mpfr-2.4.2-b/mpfr.h
+--- mpfr-2.4.2-a/mpfr.h	2009-12-07 13:37:12.000000000 +0000
++++ mpfr-2.4.2-b/mpfr.h	2009-12-18 12:05:09.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 2
+ #define MPFR_VERSION_MINOR 4
+ #define MPFR_VERSION_PATCHLEVEL 2
+-#define MPFR_VERSION_STRING "2.4.2-p1"
++#define MPFR_VERSION_STRING "2.4.2-p2"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-2.4.2-a/version.c mpfr-2.4.2-b/version.c
+--- mpfr-2.4.2-a/version.c	2009-12-07 13:37:12.000000000 +0000
++++ mpfr-2.4.2-b/version.c	2009-12-18 12:05:09.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "2.4.2-p1";
++  return "2.4.2-p2";
+ }

diff --git a/dev-libs/mpfr/files/2.4.2/patch03 b/dev-libs/mpfr/files/2.4.2/patch03
new file mode 100644
index 0000000..3ce4952
--- /dev/null
+++ b/dev-libs/mpfr/files/2.4.2/patch03
@@ -0,0 +1,75 @@
+diff -Naurd mpfr-2.4.2-a/PATCHES mpfr-2.4.2-b/PATCHES
+--- mpfr-2.4.2-a/PATCHES	2010-01-11 15:27:18.000000000 +0000
++++ mpfr-2.4.2-b/PATCHES	2010-01-11 15:30:31.000000000 +0000
+@@ -0,0 +1 @@
++gmp5
+diff -Naurd mpfr-2.4.2-a/VERSION mpfr-2.4.2-b/VERSION
+--- mpfr-2.4.2-a/VERSION	2009-12-18 12:05:09.000000000 +0000
++++ mpfr-2.4.2-b/VERSION	2010-01-11 15:29:40.000000000 +0000
+@@ -1 +1 @@
+-2.4.2-p2
++2.4.2-p3
+diff -Naurd mpfr-2.4.2-a/configure mpfr-2.4.2-b/configure
+--- mpfr-2.4.2-a/configure	2009-11-30 02:44:35.000000000 +0000
++++ mpfr-2.4.2-b/configure	2010-01-11 15:28:56.000000000 +0000
+@@ -20449,6 +20449,9 @@
+ main ()
+ {
+ 
++#ifndef BITS_PER_MP_LIMB
++#define BITS_PER_MP_LIMB GMP_LIMB_BITS
++#endif
+   return BITS_PER_MP_LIMB == BYTES_PER_MP_LIMB * CHAR_BIT
+          && sizeof(mp_limb_t) == BYTES_PER_MP_LIMB ? 0 : 1;
+ 
+diff -Naurd mpfr-2.4.2-a/configure.in mpfr-2.4.2-b/configure.in
+--- mpfr-2.4.2-a/configure.in	2009-11-30 02:43:08.000000000 +0000
++++ mpfr-2.4.2-b/configure.in	2009-11-30 02:43:08.000000000 +0000
+@@ -424,6 +424,9 @@
+ #include "gmp.h"
+ #include "gmp-impl.h"
+ ]], [[
++#ifndef BITS_PER_MP_LIMB
++#define BITS_PER_MP_LIMB GMP_LIMB_BITS
++#endif
+   return BITS_PER_MP_LIMB == BYTES_PER_MP_LIMB * CHAR_BIT
+          && sizeof(mp_limb_t) == BYTES_PER_MP_LIMB ? 0 : 1;
+ ]])], [AC_MSG_RESULT(yes)], [
+diff -Naurd mpfr-2.4.2-a/mpfr-impl.h mpfr-2.4.2-b/mpfr-impl.h
+--- mpfr-2.4.2-a/mpfr-impl.h	2009-11-30 02:43:08.000000000 +0000
++++ mpfr-2.4.2-b/mpfr-impl.h	2010-01-11 15:28:01.000000000 +0000
+@@ -65,6 +65,12 @@
+ # ifndef __GMP_IMPL_H__
+ #  include "gmp-impl.h"
+ # endif
++# ifndef BITS_PER_MP_LIMB
++#  define BITS_PER_MP_LIMB GMP_LIMB_BITS
++# endif
++#ifndef mpn_sqr_n
++# define mpn_sqr_n mpn_sqr
++#endif
+ # ifdef MPFR_NEED_LONGLONG_H
+ #  include "longlong.h"
+ # endif
+diff -Naurd mpfr-2.4.2-a/mpfr.h mpfr-2.4.2-b/mpfr.h
+--- mpfr-2.4.2-a/mpfr.h	2009-12-18 12:05:09.000000000 +0000
++++ mpfr-2.4.2-b/mpfr.h	2010-01-11 15:29:40.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 2
+ #define MPFR_VERSION_MINOR 4
+ #define MPFR_VERSION_PATCHLEVEL 2
+-#define MPFR_VERSION_STRING "2.4.2-p2"
++#define MPFR_VERSION_STRING "2.4.2-p3"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-2.4.2-a/version.c mpfr-2.4.2-b/version.c
+--- mpfr-2.4.2-a/version.c	2009-12-18 12:05:09.000000000 +0000
++++ mpfr-2.4.2-b/version.c	2010-01-11 15:29:40.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "2.4.2-p2";
++  return "2.4.2-p3";
+ }

diff --git a/dev-libs/mpfr/files/3.0.0/patch01 b/dev-libs/mpfr/files/3.0.0/patch01
new file mode 100644
index 0000000..da98aab
--- /dev/null
+++ b/dev-libs/mpfr/files/3.0.0/patch01
@@ -0,0 +1,220 @@
+diff -Naurd mpfr-3.0.0-a/PATCHES mpfr-3.0.0-b/PATCHES
+--- mpfr-3.0.0-a/PATCHES	2010-06-23 11:02:49.000000000 +0000
++++ mpfr-3.0.0-b/PATCHES	2010-06-23 11:03:36.000000000 +0000
+@@ -0,0 +1 @@
++mpfr_out_str
+diff -Naurd mpfr-3.0.0-a/VERSION mpfr-3.0.0-b/VERSION
+--- mpfr-3.0.0-a/VERSION	2010-06-10 11:00:14.000000000 +0000
++++ mpfr-3.0.0-b/VERSION	2010-06-23 11:03:20.000000000 +0000
+@@ -1 +1 @@
+-3.0.0
++3.0.0-p1
+diff -Naurd mpfr-3.0.0-a/mpfr.h mpfr-3.0.0-b/mpfr.h
+--- mpfr-3.0.0-a/mpfr.h	2010-06-10 11:00:14.000000000 +0000
++++ mpfr-3.0.0-b/mpfr.h	2010-06-23 11:03:20.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 0
+ #define MPFR_VERSION_PATCHLEVEL 0
+-#define MPFR_VERSION_STRING "3.0.0"
++#define MPFR_VERSION_STRING "3.0.0-p1"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.0.0-a/mpfr.texi mpfr-3.0.0-b/mpfr.texi
+--- mpfr-3.0.0-a/mpfr.texi	2010-06-10 11:00:14.000000000 +0000
++++ mpfr-3.0.0-b/mpfr.texi	2010-06-23 11:03:12.000000000 +0000
+@@ -2050,7 +2050,7 @@
+ are printed. If @var{base} is greater than 10, @samp{@@} will be used
+ instead of @samp{e} as exponent delimiter.
+ 
+-Return the number of bytes written, or if an error occurred, return 0.
++Return the number of characters written, or if an error occurred, return 0.
+ @end deftypefun
+ 
+ @deftypefun size_t mpfr_inp_str (mpfr_t @var{rop}, FILE *@var{stream}, int @var{base}, mpfr_rnd_t @var{rnd})
+diff -Naurd mpfr-3.0.0-a/out_str.c mpfr-3.0.0-b/out_str.c
+--- mpfr-3.0.0-a/out_str.c	2010-06-10 11:00:14.000000000 +0000
++++ mpfr-3.0.0-b/out_str.c	2010-06-23 11:03:12.000000000 +0000
+@@ -22,6 +22,16 @@
+ 
+ #include "mpfr-impl.h"
+ 
++/* Warning! S should not contain "%". */
++#define OUT_STR_RET(S)                          \
++  do                                            \
++    {                                           \
++      int r;                                    \
++      r = fprintf (stream, (S));                \
++      return r < 0 ? 0 : r;                     \
++    }                                           \
++  while (0)
++
+ size_t
+ mpfr_out_str (FILE *stream, int base, size_t n_digits, mpfr_srcptr op,
+               mpfr_rnd_t rnd_mode)
+@@ -29,6 +39,7 @@
+   char *s, *s0;
+   size_t l;
+   mpfr_exp_t e;
++  int err;
+ 
+   MPFR_ASSERTN (base >= 2 && base <= 62);
+ 
+@@ -36,37 +47,16 @@
+   if (stream == NULL)
+     stream = stdout;
+ 
+-  if (MPFR_IS_NAN(op))
+-    {
+-      fprintf (stream, "@NaN@");
+-      return 3;
+-    }
+-
+-  if (MPFR_IS_INF(op))
+-    {
+-      if (MPFR_SIGN(op) > 0)
+-        {
+-          fprintf (stream, "@Inf@");
+-          return 3;
+-        }
+-      else
+-        {
+-          fprintf (stream, "-@Inf@");
+-          return 4;
+-        }
+-    }
+-
+-  if (MPFR_IS_ZERO(op))
++  if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (op)))
+     {
+-      if (MPFR_SIGN(op) > 0)
+-        {
+-          fprintf(stream, "0");
+-          return 1;
+-        }
++      if (MPFR_IS_NAN (op))
++        OUT_STR_RET ("@NaN@");
++      else if (MPFR_IS_INF (op))
++        OUT_STR_RET (MPFR_IS_POS (op) ? "@Inf@" : "-@Inf@");
+       else
+         {
+-          fprintf(stream, "-0");
+-          return 2;
++          MPFR_ASSERTD (MPFR_IS_ZERO (op));
++          OUT_STR_RET (MPFR_IS_POS (op) ? "0" : "-0");
+         }
+     }
+ 
+@@ -77,21 +67,31 @@
+ 
+   l = strlen (s) + 1; /* size of allocated block returned by mpfr_get_str
+                          - may be incorrect, as only an upper bound? */
+-  if (*s == '-')
+-    fputc (*s++, stream);
+ 
+-  /* outputs mantissa */
+-  fputc (*s++, stream); e--; /* leading digit */
+-  fputc ((unsigned char) MPFR_DECIMAL_POINT, stream);
+-  fputs (s, stream);         /* rest of mantissa */
++  /* outputs possible sign and significand */
++  err = (*s == '-' && fputc (*s++, stream) == EOF)
++    || fputc (*s++, stream) == EOF  /* leading digit */
++    || fputc ((unsigned char) MPFR_DECIMAL_POINT, stream) == EOF
++    || fputs (s, stream) == EOF;     /* trailing significand */
+   (*__gmp_free_func) (s0, l);
++  if (MPFR_UNLIKELY (err))
++    return 0;
++
++  e--;  /* due to the leading digit */
+ 
+   /* outputs exponent */
+   if (e)
+     {
++      int r;
++
+       MPFR_ASSERTN(e >= LONG_MIN);
+       MPFR_ASSERTN(e <= LONG_MAX);
+-      l += fprintf (stream, (base <= 10 ? "e%ld" : "@%ld"), (long) e);
++
++      r = fprintf (stream, (base <= 10 ? "e%ld" : "@%ld"), (long) e);
++      if (MPFR_UNLIKELY (r < 0))
++        return 0;
++
++      l += r;
+     }
+ 
+   return l;
+diff -Naurd mpfr-3.0.0-a/tests/tout_str.c mpfr-3.0.0-b/tests/tout_str.c
+--- mpfr-3.0.0-a/tests/tout_str.c	2010-06-10 11:00:13.000000000 +0000
++++ mpfr-3.0.0-b/tests/tout_str.c	2010-06-23 11:03:12.000000000 +0000
+@@ -46,22 +46,54 @@
+ special (void)
+ {
+   mpfr_t x;
++  unsigned int n;
+ 
+   mpfr_init (x);
+ 
+   mpfr_set_nan (x);
+-  mpfr_out_str (fout, 10, 0, x, MPFR_RNDN);
++  n = mpfr_out_str (fout, 10, 0, x, MPFR_RNDN);
++  if (n != 5)
++    {
++      printf ("Error: mpfr_out_str (file, 10, 0, NaN, MPFR_RNDN) wrote %u "
++              "characters instead of 5.\n", n);
++      exit (1);
++    }
+ 
+   mpfr_set_inf (x, 1);
+-  mpfr_out_str (fout, 10, 0, x, MPFR_RNDN);
++  n = mpfr_out_str (fout, 10, 0, x, MPFR_RNDN);
++  if (n != 5)
++    {
++      printf ("Error: mpfr_out_str (file, 10, 0, +Inf, MPFR_RNDN) wrote %u "
++               "characters instead of 5.\n", n);
++      exit (1);
++    }
+ 
+   mpfr_set_inf (x, -1);
+-  mpfr_out_str (fout, 10, 0, x, MPFR_RNDN);
++  n = mpfr_out_str (fout, 10, 0, x, MPFR_RNDN);
++  if (n != 6)
++    {
++      printf ("Error: mpfr_out_str (file, 10, 0, -Inf, MPFR_RNDN) wrote %u "
++               "characters instead of 6.\n", n);
++      exit (1);
++    }
+ 
+   mpfr_set_ui (x, 0, MPFR_RNDN);
+-  mpfr_out_str (fout, 10, 0, x, MPFR_RNDN);
++  n = mpfr_out_str (fout, 10, 0, x, MPFR_RNDN);
++  if (n != 1)
++    {
++      printf ("Error: mpfr_out_str (file, 10, 0, +0, MPFR_RNDN) wrote %u "
++               "characters instead of 1.\n", n);
++      exit (1);
++    }
++
+   mpfr_neg (x, x, MPFR_RNDN);
+-  mpfr_out_str (fout, 10, 0, x, MPFR_RNDN);
++  n = mpfr_out_str (fout, 10, 0, x, MPFR_RNDN);
++  if (n != 2)
++    {
++      printf ("Error: mpfr_out_str (file, 10, 0, -0, MPFR_RNDN) wrote %u "
++               "characters instead of 2.\n", n);
++      exit (1);
++    }
+ 
+   mpfr_clear (x);
+ }
+diff -Naurd mpfr-3.0.0-a/version.c mpfr-3.0.0-b/version.c
+--- mpfr-3.0.0-a/version.c	2010-06-10 11:00:14.000000000 +0000
++++ mpfr-3.0.0-b/version.c	2010-06-23 11:03:20.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.0.0";
++  return "3.0.0-p1";
+ }

diff --git a/dev-libs/mpfr/files/3.0.0/patch02 b/dev-libs/mpfr/files/3.0.0/patch02
new file mode 100644
index 0000000..af6dfb2
--- /dev/null
+++ b/dev-libs/mpfr/files/3.0.0/patch02
@@ -0,0 +1,377 @@
+diff -Naurd mpfr-3.0.0-a/Makefile.in mpfr-3.0.0-b/Makefile.in
+--- mpfr-3.0.0-a/Makefile.in	2010-06-10 11:00:52.000000000 +0000
++++ mpfr-3.0.0-b/Makefile.in	2010-06-10 11:00:52.000000000 +0000
+@@ -239,6 +239,7 @@
+ distuninstallcheck_listfiles = find . -type f -print
+ distcleancheck_listfiles = find . -type f -print
+ ACLOCAL = @ACLOCAL@
++ALLOCA = @ALLOCA@
+ AMTAR = @AMTAR@
+ AR = @AR@
+ AS = @AS@
+diff -Naurd mpfr-3.0.0-a/PATCHES mpfr-3.0.0-b/PATCHES
+--- mpfr-3.0.0-a/PATCHES	2010-06-23 11:03:36.000000000 +0000
++++ mpfr-3.0.0-b/PATCHES	2010-06-25 13:23:13.000000000 +0000
+@@ -0,0 +1 @@
++alloca
+diff -Naurd mpfr-3.0.0-a/VERSION mpfr-3.0.0-b/VERSION
+--- mpfr-3.0.0-a/VERSION	2010-06-23 11:03:20.000000000 +0000
++++ mpfr-3.0.0-b/VERSION	2010-06-25 13:23:13.000000000 +0000
+@@ -1 +1 @@
+-3.0.0-p1
++3.0.0-p2
+diff -Naurd mpfr-3.0.0-a/acinclude.m4 mpfr-3.0.0-b/acinclude.m4
+--- mpfr-3.0.0-a/acinclude.m4	2010-06-10 11:00:14.000000000 +0000
++++ mpfr-3.0.0-b/acinclude.m4	2010-06-10 11:00:14.000000000 +0000
+@@ -59,6 +59,9 @@
+ dnl sys/fpu.h - MIPS specific
+ AC_CHECK_HEADERS([sys/time.h sys/fpu.h])
+ 
++dnl Check how to get `alloca'
++AC_FUNC_ALLOCA
++
+ dnl SIZE_MAX macro
+ gl_SIZE_MAX
+ 
+diff -Naurd mpfr-3.0.0-a/configure mpfr-3.0.0-b/configure
+--- mpfr-3.0.0-a/configure	2010-06-10 11:00:51.000000000 +0000
++++ mpfr-3.0.0-b/configure	2010-06-25 13:23:05.000000000 +0000
+@@ -783,6 +783,7 @@
+ OBJDUMP
+ DLLTOOL
+ AS
++ALLOCA
+ MPFR_LIBM
+ ANSI2KNR
+ U
+@@ -5622,6 +5623,197 @@
+ done
+ 
+ 
++# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
++# for constant arguments.  Useless!
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
++$as_echo_n "checking for working alloca.h... " >&6; }
++if test "${ac_cv_working_alloca_h+set}" = set; then :
++  $as_echo_n "(cached) " >&6
++else
++  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h.  */
++#include <alloca.h>
++int
++main ()
++{
++char *p = (char *) alloca (2 * sizeof (int));
++			  if (p) return 0;
++  ;
++  return 0;
++}
++_ACEOF
++if ac_fn_c_try_link "$LINENO"; then :
++  ac_cv_working_alloca_h=yes
++else
++  ac_cv_working_alloca_h=no
++fi
++rm -f core conftest.err conftest.$ac_objext \
++    conftest$ac_exeext conftest.$ac_ext
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
++$as_echo "$ac_cv_working_alloca_h" >&6; }
++if test $ac_cv_working_alloca_h = yes; then
++
++$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
++
++fi
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
++$as_echo_n "checking for alloca... " >&6; }
++if test "${ac_cv_func_alloca_works+set}" = set; then :
++  $as_echo_n "(cached) " >&6
++else
++  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h.  */
++#ifdef __GNUC__
++# define alloca __builtin_alloca
++#else
++# ifdef _MSC_VER
++#  include <malloc.h>
++#  define alloca _alloca
++# else
++#  ifdef HAVE_ALLOCA_H
++#   include <alloca.h>
++#  else
++#   ifdef _AIX
++ #pragma alloca
++#   else
++#    ifndef alloca /* predefined by HP cc +Olibcalls */
++char *alloca ();
++#    endif
++#   endif
++#  endif
++# endif
++#endif
++
++int
++main ()
++{
++char *p = (char *) alloca (1);
++				    if (p) return 0;
++  ;
++  return 0;
++}
++_ACEOF
++if ac_fn_c_try_link "$LINENO"; then :
++  ac_cv_func_alloca_works=yes
++else
++  ac_cv_func_alloca_works=no
++fi
++rm -f core conftest.err conftest.$ac_objext \
++    conftest$ac_exeext conftest.$ac_ext
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
++$as_echo "$ac_cv_func_alloca_works" >&6; }
++
++if test $ac_cv_func_alloca_works = yes; then
++
++$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
++
++else
++  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
++# that cause trouble.  Some versions do not even contain alloca or
++# contain a buggy version.  If you still want to use their alloca,
++# use ar to extract alloca.o from them instead of compiling alloca.c.
++
++ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
++
++$as_echo "#define C_ALLOCA 1" >>confdefs.h
++
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
++$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
++if test "${ac_cv_os_cray+set}" = set; then :
++  $as_echo_n "(cached) " >&6
++else
++  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h.  */
++#if defined CRAY && ! defined CRAY2
++webecray
++#else
++wenotbecray
++#endif
++
++_ACEOF
++if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
++  $EGREP "webecray" >/dev/null 2>&1; then :
++  ac_cv_os_cray=yes
++else
++  ac_cv_os_cray=no
++fi
++rm -f conftest*
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
++$as_echo "$ac_cv_os_cray" >&6; }
++if test $ac_cv_os_cray = yes; then
++  for ac_func in _getb67 GETB67 getb67; do
++    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
++ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
++eval as_val=\$$as_ac_var
++   if test "x$as_val" = x""yes; then :
++
++cat >>confdefs.h <<_ACEOF
++#define CRAY_STACKSEG_END $ac_func
++_ACEOF
++
++    break
++fi
++
++  done
++fi
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
++$as_echo_n "checking stack direction for C alloca... " >&6; }
++if test "${ac_cv_c_stack_direction+set}" = set; then :
++  $as_echo_n "(cached) " >&6
++else
++  if test "$cross_compiling" = yes; then :
++  ac_cv_c_stack_direction=0
++else
++  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h.  */
++$ac_includes_default
++int
++find_stack_direction ()
++{
++  static char *addr = 0;
++  auto char dummy;
++  if (addr == 0)
++    {
++      addr = &dummy;
++      return find_stack_direction ();
++    }
++  else
++    return (&dummy > addr) ? 1 : -1;
++}
++
++int
++main ()
++{
++  return find_stack_direction () < 0;
++}
++_ACEOF
++if ac_fn_c_try_run "$LINENO"; then :
++  ac_cv_c_stack_direction=1
++else
++  ac_cv_c_stack_direction=-1
++fi
++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
++  conftest.$ac_objext conftest.beam conftest.$ac_ext
++fi
++
++fi
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
++$as_echo "$ac_cv_c_stack_direction" >&6; }
++cat >>confdefs.h <<_ACEOF
++#define STACK_DIRECTION $ac_cv_c_stack_direction
++_ACEOF
++
++
++fi
++
++
+ 
+   for ac_header in stdint.h
+ do :
+@@ -7564,13 +7756,13 @@
+ else
+   lt_cv_nm_interface="BSD nm"
+   echo "int some_variable = 0;" > conftest.$ac_ext
+-  (eval echo "\"\$as_me:7567: $ac_compile\"" >&5)
++  (eval echo "\"\$as_me:7759: $ac_compile\"" >&5)
+   (eval "$ac_compile" 2>conftest.err)
+   cat conftest.err >&5
+-  (eval echo "\"\$as_me:7570: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
++  (eval echo "\"\$as_me:7762: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
+   cat conftest.err >&5
+-  (eval echo "\"\$as_me:7573: output\"" >&5)
++  (eval echo "\"\$as_me:7765: output\"" >&5)
+   cat conftest.out >&5
+   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
+     lt_cv_nm_interface="MS dumpbin"
+@@ -8772,7 +8964,7 @@
+   ;;
+ *-*-irix6*)
+   # Find out which ABI we are using.
+-  echo '#line 8775 "configure"' > conftest.$ac_ext
++  echo '#line 8967 "configure"' > conftest.$ac_ext
+   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
+   (eval $ac_compile) 2>&5
+   ac_status=$?
+@@ -10032,11 +10224,11 @@
+    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:10035: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:10227: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:10039: \$? = $ac_status" >&5
++   echo "$as_me:10231: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings other than the usual output.
+@@ -10371,11 +10563,11 @@
+    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:10374: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:10566: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>conftest.err)
+    ac_status=$?
+    cat conftest.err >&5
+-   echo "$as_me:10378: \$? = $ac_status" >&5
++   echo "$as_me:10570: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s "$ac_outfile"; then
+      # The compiler can only warn and ignore the option if not recognized
+      # So say no if there are warnings other than the usual output.
+@@ -10476,11 +10668,11 @@
+    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:10479: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:10671: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>out/conftest.err)
+    ac_status=$?
+    cat out/conftest.err >&5
+-   echo "$as_me:10483: \$? = $ac_status" >&5
++   echo "$as_me:10675: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s out/conftest2.$ac_objext
+    then
+      # The compiler can only warn and ignore the option if not recognized
+@@ -10531,11 +10723,11 @@
+    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
+    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+    -e 's:$: $lt_compiler_flag:'`
+-   (eval echo "\"\$as_me:10534: $lt_compile\"" >&5)
++   (eval echo "\"\$as_me:10726: $lt_compile\"" >&5)
+    (eval "$lt_compile" 2>out/conftest.err)
+    ac_status=$?
+    cat out/conftest.err >&5
+-   echo "$as_me:10538: \$? = $ac_status" >&5
++   echo "$as_me:10730: \$? = $ac_status" >&5
+    if (exit $ac_status) && test -s out/conftest2.$ac_objext
+    then
+      # The compiler can only warn and ignore the option if not recognized
+@@ -12915,7 +13107,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<_LT_EOF
+-#line 12918 "configure"
++#line 13110 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -13011,7 +13203,7 @@
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<_LT_EOF
+-#line 13014 "configure"
++#line 13206 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+diff -Naurd mpfr-3.0.0-a/mpfr.h mpfr-3.0.0-b/mpfr.h
+--- mpfr-3.0.0-a/mpfr.h	2010-06-23 11:03:20.000000000 +0000
++++ mpfr-3.0.0-b/mpfr.h	2010-06-25 13:23:13.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 0
+ #define MPFR_VERSION_PATCHLEVEL 0
+-#define MPFR_VERSION_STRING "3.0.0-p1"
++#define MPFR_VERSION_STRING "3.0.0-p2"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.0.0-a/tests/Makefile.in mpfr-3.0.0-b/tests/Makefile.in
+--- mpfr-3.0.0-a/tests/Makefile.in	2010-06-10 11:00:52.000000000 +0000
++++ mpfr-3.0.0-b/tests/Makefile.in	2010-06-10 11:00:52.000000000 +0000
+@@ -960,6 +960,7 @@
+ red=; grn=; lgn=; blu=; std=
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ ACLOCAL = @ACLOCAL@
++ALLOCA = @ALLOCA@
+ AMTAR = @AMTAR@
+ AR = @AR@
+ AS = @AS@
+diff -Naurd mpfr-3.0.0-a/version.c mpfr-3.0.0-b/version.c
+--- mpfr-3.0.0-a/version.c	2010-06-23 11:03:20.000000000 +0000
++++ mpfr-3.0.0-b/version.c	2010-06-25 13:23:13.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.0.0-p1";
++  return "3.0.0-p2";
+ }

diff --git a/dev-libs/mpfr/files/3.0.0/patch03 b/dev-libs/mpfr/files/3.0.0/patch03
new file mode 100644
index 0000000..cf8a936
--- /dev/null
+++ b/dev-libs/mpfr/files/3.0.0/patch03
@@ -0,0 +1,88 @@
+diff -Naurd mpfr-3.0.0-a/PATCHES mpfr-3.0.0-b/PATCHES
+--- mpfr-3.0.0-a/PATCHES	2010-07-10 00:11:19.000000000 +0000
++++ mpfr-3.0.0-b/PATCHES	2010-07-10 00:12:50.000000000 +0000
+@@ -0,0 +1 @@
++gamma_underflow
+diff -Naurd mpfr-3.0.0-a/VERSION mpfr-3.0.0-b/VERSION
+--- mpfr-3.0.0-a/VERSION	2010-06-25 13:23:13.000000000 +0000
++++ mpfr-3.0.0-b/VERSION	2010-07-10 00:11:53.000000000 +0000
+@@ -1 +1 @@
+-3.0.0-p2
++3.0.0-p3
+diff -Naurd mpfr-3.0.0-a/gamma.c mpfr-3.0.0-b/gamma.c
+--- mpfr-3.0.0-a/gamma.c	2010-06-10 11:00:14.000000000 +0000
++++ mpfr-3.0.0-b/gamma.c	2010-07-10 00:11:46.000000000 +0000
+@@ -274,7 +274,7 @@
+       /* we want an upper bound for x * [log(2-x)-1].
+          since x < 0, we need a lower bound on log(2-x) */
+       mpfr_ui_sub (xp, 2, x, MPFR_RNDD);
+-      mpfr_log (xp, xp, MPFR_RNDD);
++      mpfr_log2 (xp, xp, MPFR_RNDD);
+       mpfr_sub_ui (xp, xp, 1, MPFR_RNDD);
+       mpfr_mul (xp, xp, x, MPFR_RNDU);
+ 
+@@ -303,8 +303,8 @@
+         {
+           mpfr_sub (tmp, tmp, tmp2, MPFR_RNDZ); /* low bnd on |sin(Pi*(2-x))| */
+           mpfr_ui_div (tmp, 12, tmp, MPFR_RNDU); /* upper bound */
+-          mpfr_log (tmp, tmp, MPFR_RNDU);
+-          mpfr_add (tmp, tmp, xp, MPFR_RNDU);
++          mpfr_log2 (tmp, tmp, MPFR_RNDU);
++          mpfr_add (xp, tmp, xp, MPFR_RNDU);
+           underflow = mpfr_cmp_si (xp, expo.saved_emin - 2) <= 0;
+         }
+ 
+diff -Naurd mpfr-3.0.0-a/mpfr.h mpfr-3.0.0-b/mpfr.h
+--- mpfr-3.0.0-a/mpfr.h	2010-06-25 13:23:13.000000000 +0000
++++ mpfr-3.0.0-b/mpfr.h	2010-07-10 00:11:53.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 0
+ #define MPFR_VERSION_PATCHLEVEL 0
+-#define MPFR_VERSION_STRING "3.0.0-p2"
++#define MPFR_VERSION_STRING "3.0.0-p3"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.0.0-a/tests/tgamma.c mpfr-3.0.0-b/tests/tgamma.c
+--- mpfr-3.0.0-a/tests/tgamma.c	2010-06-10 11:00:13.000000000 +0000
++++ mpfr-3.0.0-b/tests/tgamma.c	2010-07-10 00:11:46.000000000 +0000
+@@ -461,6 +461,20 @@
+   mpfr_clear (x);
+ }
+ 
++/* bug found by Stathis, only occurs on 32-bit machines */
++static void
++test20100709 (void)
++{
++  mpfr_t x;
++  int inex;
++
++  mpfr_init2 (x, 100);
++  mpfr_set_str (x, "-4.6308260837372266e+07", 10, MPFR_RNDN);
++  inex = mpfr_gamma (x, x, MPFR_RNDN);
++  MPFR_ASSERTN(MPFR_IS_ZERO(x) && MPFR_IS_NEG(x) && inex > 0);
++  mpfr_clear (x);
++}
++
+ int
+ main (int argc, char *argv[])
+ {
+@@ -471,6 +485,7 @@
+   test_generic (2, 100, 2);
+   gamma_integer ();
+   test20071231 ();
++  test20100709 ();
+ 
+   data_check ("data/gamma", mpfr_gamma, "mpfr_gamma");
+ 
+diff -Naurd mpfr-3.0.0-a/version.c mpfr-3.0.0-b/version.c
+--- mpfr-3.0.0-a/version.c	2010-06-25 13:23:13.000000000 +0000
++++ mpfr-3.0.0-b/version.c	2010-07-10 00:11:53.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.0.0-p2";
++  return "3.0.0-p3";
+ }

diff --git a/dev-libs/mpfr/files/3.0.1/patch01 b/dev-libs/mpfr/files/3.0.1/patch01
new file mode 100644
index 0000000..d79a6f9
--- /dev/null
+++ b/dev-libs/mpfr/files/3.0.1/patch01
@@ -0,0 +1,137 @@
+diff -Naurd mpfr-3.0.1-a/PATCHES mpfr-3.0.1-b/PATCHES
+--- mpfr-3.0.1-a/PATCHES	2011-04-12 10:50:02.000000000 +0000
++++ mpfr-3.0.1-b/PATCHES	2011-04-12 10:50:02.000000000 +0000
+@@ -0,0 +1 @@
++asin_exprange
+diff -Naurd mpfr-3.0.1-a/VERSION mpfr-3.0.1-b/VERSION
+--- mpfr-3.0.1-a/VERSION	2011-04-04 10:19:18.000000000 +0000
++++ mpfr-3.0.1-b/VERSION	2011-04-12 10:50:02.000000000 +0000
+@@ -1 +1 @@
+-3.0.1
++3.0.1-p1
+diff -Naurd mpfr-3.0.1-a/asin.c mpfr-3.0.1-b/asin.c
+--- mpfr-3.0.1-a/asin.c	2011-04-04 10:19:18.000000000 +0000
++++ mpfr-3.0.1-b/asin.c	2011-04-12 10:50:02.000000000 +0000
+@@ -63,11 +63,14 @@
+ 
+   compared = mpfr_cmp_ui (xp, 1);
+ 
++  MPFR_SAVE_EXPO_MARK (expo);
++
+   if (MPFR_UNLIKELY (compared >= 0))
+     {
+       mpfr_clear (xp);
+       if (compared > 0)                  /* asin(x) = NaN for |x| > 1 */
+         {
++          MPFR_SAVE_EXPO_FREE (expo);
+           MPFR_SET_NAN (asin);
+           MPFR_RET_NAN;
+         }
+@@ -80,13 +83,11 @@
+               inexact = -mpfr_const_pi (asin, MPFR_INVERT_RND(rnd_mode));
+               MPFR_CHANGE_SIGN (asin);
+             }
+-          mpfr_div_2ui (asin, asin, 1, rnd_mode); /* May underflow */
+-          return inexact;
++          mpfr_div_2ui (asin, asin, 1, rnd_mode);
+         }
+     }
+-
+-  MPFR_SAVE_EXPO_MARK (expo);
+-
++  else
++    {
+   /* Compute exponent of 1 - ABS(x) */
+   mpfr_ui_sub (xp, 1, xp, MPFR_RNDD);
+   MPFR_ASSERTD (MPFR_GET_EXP (xp) <= 0);
+@@ -115,6 +116,7 @@
+   inexact = mpfr_set (asin, xp, rnd_mode);
+ 
+   mpfr_clear (xp);
++    }
+ 
+   MPFR_SAVE_EXPO_FREE (expo);
+   return mpfr_check_range (asin, inexact, rnd_mode);
+diff -Naurd mpfr-3.0.1-a/mpfr.h mpfr-3.0.1-b/mpfr.h
+--- mpfr-3.0.1-a/mpfr.h	2011-04-04 10:19:18.000000000 +0000
++++ mpfr-3.0.1-b/mpfr.h	2011-04-12 10:50:02.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 0
+ #define MPFR_VERSION_PATCHLEVEL 1
+-#define MPFR_VERSION_STRING "3.0.1"
++#define MPFR_VERSION_STRING "3.0.1-p1"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.0.1-a/tests/tasin.c mpfr-3.0.1-b/tests/tasin.c
+--- mpfr-3.0.1-a/tests/tasin.c	2011-04-04 10:19:17.000000000 +0000
++++ mpfr-3.0.1-b/tests/tasin.c	2011-04-12 10:50:02.000000000 +0000
+@@ -219,6 +219,49 @@
+   mpfr_clear (y);
+ }
+ 
++static void
++reduced_expo_range (void)
++{
++  mpfr_exp_t emin, emax;
++  mpfr_t x, y, ex_y;
++  int inex, ex_inex;
++  unsigned int flags, ex_flags;
++
++  emin = mpfr_get_emin ();
++  emax = mpfr_get_emax ();
++
++  mpfr_inits2 (4, x, y, ex_y, (mpfr_ptr) 0);
++  mpfr_set_str (x, "-0.1e1", 2, MPFR_RNDN);
++
++  mpfr_set_emin (1);
++  mpfr_set_emax (1);
++  mpfr_clear_flags ();
++  inex = mpfr_asin (y, x, MPFR_RNDA);
++  flags = __gmpfr_flags;
++  mpfr_set_emin (emin);
++  mpfr_set_emax (emax);
++
++  mpfr_set_str (ex_y, "-0.1101e1", 2, MPFR_RNDN);
++  ex_inex = -1;
++  ex_flags = MPFR_FLAGS_INEXACT;
++
++  if (SIGN (inex) != ex_inex || flags != ex_flags ||
++      ! mpfr_equal_p (y, ex_y))
++    {
++      printf ("Error in reduced_expo_range\non x = ");
++      mpfr_dump (x);
++      printf ("Expected y = ");
++      mpfr_out_str (stdout, 2, 0, ex_y, MPFR_RNDN);
++      printf ("\n         inex = %d, flags = %u\n", ex_inex, ex_flags);
++      printf ("Got      y = ");
++      mpfr_out_str (stdout, 2, 0, y, MPFR_RNDN);
++      printf ("\n         inex = %d, flags = %u\n", SIGN (inex), flags);
++      exit (1);
++    }
++
++  mpfr_clears (x, y, ex_y, (mpfr_ptr) 0);
++}
++
+ int
+ main (void)
+ {
+@@ -226,6 +269,7 @@
+ 
+   special ();
+   special_overflow ();
++  reduced_expo_range ();
+ 
+   test_generic (2, 100, 15);
+ 
+diff -Naurd mpfr-3.0.1-a/version.c mpfr-3.0.1-b/version.c
+--- mpfr-3.0.1-a/version.c	2011-04-04 10:19:18.000000000 +0000
++++ mpfr-3.0.1-b/version.c	2011-04-12 10:50:02.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.0.1";
++  return "3.0.1-p1";
+ }

diff --git a/dev-libs/mpfr/files/3.0.1/patch02 b/dev-libs/mpfr/files/3.0.1/patch02
new file mode 100644
index 0000000..0367d84
--- /dev/null
+++ b/dev-libs/mpfr/files/3.0.1/patch02
@@ -0,0 +1,76 @@
+diff -Naurd mpfr-3.0.1-a/PATCHES mpfr-3.0.1-b/PATCHES
+--- mpfr-3.0.1-a/PATCHES	2011-05-04 11:18:33.000000000 +0000
++++ mpfr-3.0.1-b/PATCHES	2011-05-04 11:18:33.000000000 +0000
+@@ -0,0 +1 @@
++rec_sqrt-carry
+diff -Naurd mpfr-3.0.1-a/VERSION mpfr-3.0.1-b/VERSION
+--- mpfr-3.0.1-a/VERSION	2011-04-12 10:50:02.000000000 +0000
++++ mpfr-3.0.1-b/VERSION	2011-05-04 11:18:33.000000000 +0000
+@@ -1 +1 @@
+-3.0.1-p1
++3.0.1-p2
+diff -Naurd mpfr-3.0.1-a/mpfr.h mpfr-3.0.1-b/mpfr.h
+--- mpfr-3.0.1-a/mpfr.h	2011-04-12 10:50:02.000000000 +0000
++++ mpfr-3.0.1-b/mpfr.h	2011-05-04 11:18:33.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 0
+ #define MPFR_VERSION_PATCHLEVEL 1
+-#define MPFR_VERSION_STRING "3.0.1-p1"
++#define MPFR_VERSION_STRING "3.0.1-p2"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.0.1-a/rec_sqrt.c mpfr-3.0.1-b/rec_sqrt.c
+--- mpfr-3.0.1-a/rec_sqrt.c	2011-04-04 10:19:18.000000000 +0000
++++ mpfr-3.0.1-b/rec_sqrt.c	2011-05-04 11:18:33.000000000 +0000
+@@ -375,20 +375,37 @@
+       MPFR_ASSERTD(un == ln + 1 || un == ln + 2);
+       /* the high un-ln limbs of u will overlap the low part of {x+ln,xn},
+          we need to add or subtract the overlapping part {u + ln, un - ln} */
++      /* Warning! th may be 0, in which case the mpn_add_1 and mpn_sub_1
++         below (with size = th) mustn't be used. In such a case, the limb
++         (carry) will be 0, so that this is semantically a no-op, but if
++         mpn_add_1 and mpn_sub_1 are used, GMP (currently) still does a
++         non-atomic read/write in a place that is not always allocated,
++         with the possible consequences: a crash if the corresponding
++         address is not mapped, or (rather unlikely) memory corruption
++         if another process/thread writes at the same place; things may
++         be worse with future GMP versions. Hence the tests carry != 0. */
+       if (neg == 0)
+         {
+           if (ln > 0)
+             MPN_COPY (x, u, ln);
+           cy = mpn_add (x + ln, x + ln, xn, u + ln, un - ln);
+           /* add cu at x+un */
+-          cy += mpn_add_1 (x + un, x + un, th, cu);
++          if (cu != 0)
++            {
++              MPFR_ASSERTD (th != 0);
++              cy += mpn_add_1 (x + un, x + un, th, cu);
++            }
+         }
+       else /* negative case */
+         {
+           /* subtract {u+ln, un-ln} from {x+ln,un} */
+           cy = mpn_sub (x + ln, x + ln, xn, u + ln, un - ln);
+           /* carry cy is at x+un, like cu */
+-          cy = mpn_sub_1 (x + un, x + un, th, cy + cu); /* n - un = th */
++          if (cy + cu != 0)
++            {
++              MPFR_ASSERTD (th != 0);
++              cy = mpn_sub_1 (x + un, x + un, th, cy + cu); /* n - un = th */
++            }
+           /* cy cannot be zero, since the most significant bit of Xh is 1,
+              and the correction is bounded by 2^{-h+3} */
+           MPFR_ASSERTD(cy == 0);
+diff -Naurd mpfr-3.0.1-a/version.c mpfr-3.0.1-b/version.c
+--- mpfr-3.0.1-a/version.c	2011-04-12 10:50:02.000000000 +0000
++++ mpfr-3.0.1-b/version.c	2011-05-04 11:18:33.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.0.1-p1";
++  return "3.0.1-p2";
+ }

diff --git a/dev-libs/mpfr/files/3.0.1/patch03 b/dev-libs/mpfr/files/3.0.1/patch03
new file mode 100644
index 0000000..251b837
--- /dev/null
+++ b/dev-libs/mpfr/files/3.0.1/patch03
@@ -0,0 +1,107 @@
+diff -Naurd mpfr-3.0.1-a/PATCHES mpfr-3.0.1-b/PATCHES
+--- mpfr-3.0.1-a/PATCHES	2011-05-05 00:00:35.000000000 +0000
++++ mpfr-3.0.1-b/PATCHES	2011-05-05 00:00:35.000000000 +0000
+@@ -0,0 +1 @@
++atan-expo-range
+diff -Naurd mpfr-3.0.1-a/VERSION mpfr-3.0.1-b/VERSION
+--- mpfr-3.0.1-a/VERSION	2011-05-04 11:18:33.000000000 +0000
++++ mpfr-3.0.1-b/VERSION	2011-05-05 00:00:35.000000000 +0000
+@@ -1 +1 @@
+-3.0.1-p2
++3.0.1-p3
+diff -Naurd mpfr-3.0.1-a/atan.c mpfr-3.0.1-b/atan.c
+--- mpfr-3.0.1-a/atan.c	2011-04-04 10:19:18.000000000 +0000
++++ mpfr-3.0.1-b/atan.c	2011-05-05 00:00:35.000000000 +0000
+@@ -431,5 +431,5 @@
+   MPFR_GROUP_CLEAR (group);
+ 
+   MPFR_SAVE_EXPO_FREE (expo);
+-  return mpfr_check_range (arctgt, inexact, rnd_mode);
++  return mpfr_check_range (atan, inexact, rnd_mode);
+ }
+diff -Naurd mpfr-3.0.1-a/mpfr.h mpfr-3.0.1-b/mpfr.h
+--- mpfr-3.0.1-a/mpfr.h	2011-05-04 11:18:33.000000000 +0000
++++ mpfr-3.0.1-b/mpfr.h	2011-05-05 00:00:35.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 0
+ #define MPFR_VERSION_PATCHLEVEL 1
+-#define MPFR_VERSION_STRING "3.0.1-p2"
++#define MPFR_VERSION_STRING "3.0.1-p3"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.0.1-a/tests/tatan.c mpfr-3.0.1-b/tests/tatan.c
+--- mpfr-3.0.1-a/tests/tatan.c	2011-04-04 10:19:17.000000000 +0000
++++ mpfr-3.0.1-b/tests/tatan.c	2011-05-05 00:00:35.000000000 +0000
+@@ -535,6 +535,52 @@
+   mpfr_clears (a, x, y, (mpfr_ptr) 0);
+ }
+ 
++/* http://websympa.loria.fr/wwsympa/arc/mpfr/2011-05/msg00008.html
++ * Incorrect flags (in debug mode on a 32-bit machine, assertion failure).
++ */
++static void
++reduced_expo_range (void)
++{
++  mpfr_exp_t emin, emax;
++  mpfr_t x, y, ex_y;
++  int inex, ex_inex;
++  unsigned int flags, ex_flags;
++
++  emin = mpfr_get_emin ();
++  emax = mpfr_get_emax ();
++
++  mpfr_inits2 (12, x, y, ex_y, (mpfr_ptr) 0);
++  mpfr_set_str (x, "0.1e-5", 2, MPFR_RNDN);
++
++  mpfr_set_emin (-5);
++  mpfr_set_emax (-5);
++  mpfr_clear_flags ();
++  inex = mpfr_atan (y, x, MPFR_RNDN);
++  flags = __gmpfr_flags;
++  mpfr_set_emin (emin);
++  mpfr_set_emax (emax);
++
++  mpfr_set_str (ex_y, "0.1e-5", 2, MPFR_RNDN);
++  ex_inex = 1;
++  ex_flags = MPFR_FLAGS_INEXACT;
++
++  if (SIGN (inex) != ex_inex || flags != ex_flags ||
++      ! mpfr_equal_p (y, ex_y))
++    {
++      printf ("Error in reduced_expo_range\non x = ");
++      mpfr_dump (x);
++      printf ("Expected y = ");
++      mpfr_out_str (stdout, 2, 0, ex_y, MPFR_RNDN);
++      printf ("\n         inex = %d, flags = %u\n", ex_inex, ex_flags);
++      printf ("Got      y = ");
++      mpfr_out_str (stdout, 2, 0, y, MPFR_RNDN);
++      printf ("\n         inex = %d, flags = %u\n", SIGN (inex), flags);
++      exit (1);
++    }
++
++  mpfr_clears (x, y, ex_y, (mpfr_ptr) 0);
++}
++
+ int
+ main (int argc, char *argv[])
+ {
+@@ -546,6 +592,7 @@
+   smallvals_atan2 ();
+   atan2_bug_20071003 ();
+   atan2_different_prec ();
++  reduced_expo_range ();
+ 
+   test_generic_atan  (2, 200, 17);
+   test_generic_atan2 (2, 200, 17);
+diff -Naurd mpfr-3.0.1-a/version.c mpfr-3.0.1-b/version.c
+--- mpfr-3.0.1-a/version.c	2011-05-04 11:18:33.000000000 +0000
++++ mpfr-3.0.1-b/version.c	2011-05-05 00:00:35.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.0.1-p2";
++  return "3.0.1-p3";
+ }

diff --git a/dev-libs/mpfr/files/3.0.1/patch04 b/dev-libs/mpfr/files/3.0.1/patch04
new file mode 100644
index 0000000..fd74087
--- /dev/null
+++ b/dev-libs/mpfr/files/3.0.1/patch04
@@ -0,0 +1,47 @@
+diff -Naurd mpfr-3.0.1-a/PATCHES mpfr-3.0.1-b/PATCHES
+--- mpfr-3.0.1-a/PATCHES	2011-05-09 14:48:24.000000000 +0000
++++ mpfr-3.0.1-b/PATCHES	2011-05-09 14:48:24.000000000 +0000
+@@ -0,0 +1 @@
++texp-zero
+diff -Naurd mpfr-3.0.1-a/VERSION mpfr-3.0.1-b/VERSION
+--- mpfr-3.0.1-a/VERSION	2011-05-05 00:00:35.000000000 +0000
++++ mpfr-3.0.1-b/VERSION	2011-05-09 14:48:24.000000000 +0000
+@@ -1 +1 @@
+-3.0.1-p3
++3.0.1-p4
+diff -Naurd mpfr-3.0.1-a/mpfr.h mpfr-3.0.1-b/mpfr.h
+--- mpfr-3.0.1-a/mpfr.h	2011-05-05 00:00:35.000000000 +0000
++++ mpfr-3.0.1-b/mpfr.h	2011-05-09 14:48:24.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 0
+ #define MPFR_VERSION_PATCHLEVEL 1
+-#define MPFR_VERSION_STRING "3.0.1-p3"
++#define MPFR_VERSION_STRING "3.0.1-p4"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.0.1-a/tests/texp.c mpfr-3.0.1-b/tests/texp.c
+--- mpfr-3.0.1-a/tests/texp.c	2011-04-04 10:19:17.000000000 +0000
++++ mpfr-3.0.1-b/tests/texp.c	2011-05-09 14:48:24.000000000 +0000
+@@ -170,7 +170,9 @@
+       mpfr_set_prec (x, prec);
+       mpfr_set_prec (y, prec);
+       mpfr_set_prec (z, prec);
+-      mpfr_urandomb (x, RANDS);
++      do
++        mpfr_urandomb (x, RANDS);
++      while (MPFR_IS_ZERO (x));  /* 0 is handled by mpfr_exp only */
+       rnd = RND_RAND ();
+       mpfr_exp_2 (y, x, rnd);
+       mpfr_exp_3 (z, x, rnd);
+diff -Naurd mpfr-3.0.1-a/version.c mpfr-3.0.1-b/version.c
+--- mpfr-3.0.1-a/version.c	2011-05-05 00:00:35.000000000 +0000
++++ mpfr-3.0.1-b/version.c	2011-05-09 14:48:24.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.0.1-p3";
++  return "3.0.1-p4";
+ }

diff --git a/dev-libs/mpfr/files/3.1.0/patch01 b/dev-libs/mpfr/files/3.1.0/patch01
new file mode 100644
index 0000000..437b1a2
--- /dev/null
+++ b/dev-libs/mpfr/files/3.1.0/patch01
@@ -0,0 +1,50 @@
+diff -Naurd mpfr-3.1.0-a/PATCHES mpfr-3.1.0-b/PATCHES
+--- mpfr-3.1.0-a/PATCHES	2011-10-05 21:39:57.000000000 +0000
++++ mpfr-3.1.0-b/PATCHES	2011-10-05 21:39:57.000000000 +0000
+@@ -0,0 +1 @@
++mpfr_unlikely
+diff -Naurd mpfr-3.1.0-a/VERSION mpfr-3.1.0-b/VERSION
+--- mpfr-3.1.0-a/VERSION	2011-10-03 08:17:15.000000000 +0000
++++ mpfr-3.1.0-b/VERSION	2011-10-05 21:39:57.000000000 +0000
+@@ -1 +1 @@
+-3.1.0
++3.1.0-p1
+diff -Naurd mpfr-3.1.0-a/src/mpfr-impl.h mpfr-3.1.0-b/src/mpfr-impl.h
+--- mpfr-3.1.0-a/src/mpfr-impl.h	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/mpfr-impl.h	2011-10-05 21:39:57.000000000 +0000
+@@ -988,10 +988,11 @@
+  ******************************************************/
+ 
+ /* Theses macros help the compiler to determine if a test is
+- * likely or unlikely. */
++   likely or unlikely. The !! is necessary in case x is larger
++   than a long. */
+ #if __MPFR_GNUC(3,0) || __MPFR_ICC(8,1,0)
+ # define MPFR_LIKELY(x) (__builtin_expect(!!(x),1))
+-# define MPFR_UNLIKELY(x) (__builtin_expect((x),0))
++# define MPFR_UNLIKELY(x) (__builtin_expect(!!(x),0))
+ #else
+ # define MPFR_LIKELY(x) (x)
+ # define MPFR_UNLIKELY(x) (x)
+diff -Naurd mpfr-3.1.0-a/src/mpfr.h mpfr-3.1.0-b/src/mpfr.h
+--- mpfr-3.1.0-a/src/mpfr.h	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/mpfr.h	2011-10-05 21:39:57.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 1
+ #define MPFR_VERSION_PATCHLEVEL 0
+-#define MPFR_VERSION_STRING "3.1.0"
++#define MPFR_VERSION_STRING "3.1.0-p1"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.1.0-a/src/version.c mpfr-3.1.0-b/src/version.c
+--- mpfr-3.1.0-a/src/version.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/version.c	2011-10-05 21:39:57.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.1.0";
++  return "3.1.0-p1";
+ }

diff --git a/dev-libs/mpfr/files/3.1.0/patch02 b/dev-libs/mpfr/files/3.1.0/patch02
new file mode 100644
index 0000000..4714ac9
--- /dev/null
+++ b/dev-libs/mpfr/files/3.1.0/patch02
@@ -0,0 +1,96 @@
+diff -Naurd mpfr-3.1.0-a/PATCHES mpfr-3.1.0-b/PATCHES
+--- mpfr-3.1.0-a/PATCHES	2011-10-14 10:43:32.000000000 +0000
++++ mpfr-3.1.0-b/PATCHES	2011-10-14 10:43:32.000000000 +0000
+@@ -0,0 +1 @@
++lib-search-path
+diff -Naurd mpfr-3.1.0-a/VERSION mpfr-3.1.0-b/VERSION
+--- mpfr-3.1.0-a/VERSION	2011-10-05 21:39:57.000000000 +0000
++++ mpfr-3.1.0-b/VERSION	2011-10-14 10:43:32.000000000 +0000
+@@ -1 +1 @@
+-3.1.0-p1
++3.1.0-p2
+diff -Naurd mpfr-3.1.0-a/src/mpfr.h mpfr-3.1.0-b/src/mpfr.h
+--- mpfr-3.1.0-a/src/mpfr.h	2011-10-05 21:39:57.000000000 +0000
++++ mpfr-3.1.0-b/src/mpfr.h	2011-10-14 10:43:32.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 1
+ #define MPFR_VERSION_PATCHLEVEL 0
+-#define MPFR_VERSION_STRING "3.1.0-p1"
++#define MPFR_VERSION_STRING "3.1.0-p2"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.1.0-a/src/version.c mpfr-3.1.0-b/src/version.c
+--- mpfr-3.1.0-a/src/version.c	2011-10-05 21:39:57.000000000 +0000
++++ mpfr-3.1.0-b/src/version.c	2011-10-14 10:43:32.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.1.0-p1";
++  return "3.1.0-p2";
+ }
+diff -Naurd mpfr-3.1.0-a/tests/Makefile.am mpfr-3.1.0-b/tests/Makefile.am
+--- mpfr-3.1.0-a/tests/Makefile.am	2011-10-03 08:17:14.000000000 +0000
++++ mpfr-3.1.0-b/tests/Makefile.am	2011-10-03 08:17:14.000000000 +0000
+@@ -65,8 +65,24 @@
+ TESTS = $(check_PROGRAMS)
+ TESTS_ENVIRONMENT = MPFR_QUIET=1 $(VALGRIND)
+ 
+-# Option to prevent libtool from generating wrapper scripts for the tests.
++# The -no-install option prevents libtool from generating wrapper scripts
++# for the tests.
+ # This is useful to easily run the test scripts under valgrind or gdb.
+ # See discussion http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/28033
+ # http://article.gmane.org/gmane.comp.lib.gnulib.bugs/28140 in particular.
+-AM_LDFLAGS = -no-install
++#
++# The -L$(top_builddir)/src/.libs option is necessary for some platforms,
++# such as HP-UX, when --with-gmp or --with-gmp-lib is used and an old MPFR
++# library is already installed in the corresponding lib directory: its
++# purpose is to make sure that the local .libs comes first in the library
++# search path (otherwise the tests are linked against the old MPFR library
++# by the LINK command -- see the generated Makefile). See:
++#   http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00042.html
++#   http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00043.html
++#   http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00044.html
++#   http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00066.html
++#   http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00065.html
++# and
++#   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9728
++#
++AM_LDFLAGS = -no-install -L$(top_builddir)/src/.libs
+diff -Naurd mpfr-3.1.0-a/tests/Makefile.in mpfr-3.1.0-b/tests/Makefile.in
+--- mpfr-3.1.0-a/tests/Makefile.in	2011-10-03 08:17:35.000000000 +0000
++++ mpfr-3.1.0-b/tests/Makefile.in	2011-10-03 08:17:35.000000000 +0000
+@@ -1124,11 +1124,27 @@
+ TESTS = $(check_PROGRAMS)
+ TESTS_ENVIRONMENT = MPFR_QUIET=1 $(VALGRIND)
+ 
+-# Option to prevent libtool from generating wrapper scripts for the tests.
++# The -no-install option prevents libtool from generating wrapper scripts
++# for the tests.
+ # This is useful to easily run the test scripts under valgrind or gdb.
+ # See discussion http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/28033
+ # http://article.gmane.org/gmane.comp.lib.gnulib.bugs/28140 in particular.
+-AM_LDFLAGS = -no-install
++#
++# The -L$(top_builddir)/src/.libs option is necessary for some platforms,
++# such as HP-UX, when --with-gmp or --with-gmp-lib is used and an old MPFR
++# library is already installed in the corresponding lib directory: its
++# purpose is to make sure that the local .libs comes first in the library
++# search path (otherwise the tests are linked against the old MPFR library
++# by the LINK command -- see the generated Makefile). See:
++#   http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00042.html
++#   http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00043.html
++#   http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00044.html
++#   http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00066.html
++#   http://websympa.loria.fr/wwsympa/arc/mpfr/2011-10/msg00065.html
++# and
++#   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9728
++#
++AM_LDFLAGS = -no-install -L$(top_builddir)/src/.libs
+ all: all-am
+ 
+ .SUFFIXES:

diff --git a/dev-libs/mpfr/files/3.1.0/patch03 b/dev-libs/mpfr/files/3.1.0/patch03
new file mode 100644
index 0000000..aa1cfbc
--- /dev/null
+++ b/dev-libs/mpfr/files/3.1.0/patch03
@@ -0,0 +1,247 @@
+diff -Naurd mpfr-3.1.0-a/PATCHES mpfr-3.1.0-b/PATCHES
+--- mpfr-3.1.0-a/PATCHES	2011-11-03 15:15:11.000000000 +0000
++++ mpfr-3.1.0-b/PATCHES	2011-11-03 15:15:11.000000000 +0000
+@@ -0,0 +1 @@
++vasprintf
+diff -Naurd mpfr-3.1.0-a/VERSION mpfr-3.1.0-b/VERSION
+--- mpfr-3.1.0-a/VERSION	2011-10-14 10:43:32.000000000 +0000
++++ mpfr-3.1.0-b/VERSION	2011-11-03 15:15:11.000000000 +0000
+@@ -1 +1 @@
+-3.1.0-p2
++3.1.0-p3
+diff -Naurd mpfr-3.1.0-a/src/mpfr.h mpfr-3.1.0-b/src/mpfr.h
+--- mpfr-3.1.0-a/src/mpfr.h	2011-10-14 10:43:32.000000000 +0000
++++ mpfr-3.1.0-b/src/mpfr.h	2011-11-03 15:15:11.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 1
+ #define MPFR_VERSION_PATCHLEVEL 0
+-#define MPFR_VERSION_STRING "3.1.0-p2"
++#define MPFR_VERSION_STRING "3.1.0-p3"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.1.0-a/src/vasprintf.c mpfr-3.1.0-b/src/vasprintf.c
+--- mpfr-3.1.0-a/src/vasprintf.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/vasprintf.c	2011-11-03 15:15:11.000000000 +0000
+@@ -1178,7 +1178,7 @@
+   mpfr_exp_t exp;
+   char * str;
+   const int spec_g = (spec.spec == 'g' || spec.spec == 'G');
+-  const int keep_trailing_zeros = spec_g && spec.alt;
++  const int keep_trailing_zeros = !spec_g || spec.alt;
+ 
+   /* WARNING: an empty precision field is forbidden (it means precision = 6
+      and it should have been changed to 6 before the function call) */
+@@ -1356,7 +1356,7 @@
+   else
+     /* 1 <= |p| */
+     {
+-      size_t nsd;  /* Number of significant digits */
++      size_t str_len;
+ 
+       /* Determine the position of the most significant decimal digit. */
+       exp = floor_log10 (p);
+@@ -1365,12 +1365,10 @@
+         /* P is too large to print all its integral part digits */
+         return -1;
+ 
+-      np->ip_size = exp + 1;
+-
+-      nsd = spec.prec + np->ip_size;
+       if (dec_info == NULL)
+-        {
+-          str = mpfr_get_str (NULL, &exp, 10, nsd, p, spec.rnd_mode);
++        { /* this case occurs with mpfr_printf ("%.0RUf", x) with x=9.5 */
++          str =
++            mpfr_get_str (NULL, &exp, 10, spec.prec+exp+1, p, spec.rnd_mode);
+           register_string (np->sl, str);
+         }
+       else
+@@ -1379,81 +1377,60 @@
+           str = dec_info->str;
+         }
+       np->ip_ptr = MPFR_IS_NEG (p) ? ++str : str; /* skip sign */
++      str_len = strlen (str);
++
++      /* integral part */
++      if (exp > str_len)
++        /* mpfr_get_str gives no trailing zero when p is rounded up to the next
++           power of 10 (p integer, so no fractional part) */
++        {
++          np->ip_trailing_zeros = exp - str_len;
++          np->ip_size = str_len;
++        }
++      else
++        np->ip_size = exp;
+ 
+       if (spec.group)
+         /* thousands separator in integral part */
+         np->thousands_sep = MPFR_THOUSANDS_SEPARATOR;
+ 
+-      if (nsd == 0 || (spec_g && !spec.alt))
+-        /* compute how much non-zero digits in integral and fractional
+-           parts */
++      /* fractional part */
++      str += np->ip_size;
++      str_len -= np->ip_size;
++      if (!keep_trailing_zeros)
++        /* remove trailing zeros, if any */
+         {
+-          size_t str_len;
+-          str_len = strlen (str); /* note: the sign has been skipped */
+-
+-          if (exp > str_len)
+-            /* mpfr_get_str doesn't give the trailing zeros when p is a
+-               multiple of 10 (p integer, so no fractional part) */
+-            {
+-              np->ip_trailing_zeros = exp - str_len;
+-              np->ip_size = str_len;
+-              if (spec.alt)
+-                np->point = MPFR_DECIMAL_POINT;
+-            }
+-          else
+-            /* str may contain some digits which are in fractional part */
++          char *ptr = str + str_len - 1; /* pointer to the last digit of
++                                            str */
++          while ((*ptr == '0') && (str_len != 0))
+             {
+-              char *ptr;
+-
+-              ptr = str + str_len - 1; /* points to the end of str */
+-              str_len -= np->ip_size;  /* number of digits in fractional
+-                                          part */
+-
+-              if (!keep_trailing_zeros)
+-                /* remove trailing zeros, if any */
+-                {
+-                  while ((*ptr == '0') && (str_len != 0))
+-                    {
+-                      --ptr;
+-                      --str_len;
+-                    }
+-                }
+-
+-              if (str_len > INT_MAX)
+-                /* too many digits in fractional part */
+-                return -1;
+-
+-              if (str_len != 0)
+-                /* some digits in fractional part */
+-                {
+-                  np->point = MPFR_DECIMAL_POINT;
+-                  np->fp_ptr = str + np->ip_size;
+-                  np->fp_size = str_len;
+-                }
++              --ptr;
++              --str_len;
+             }
+         }
+-      else
+-        /* spec.prec digits in fractional part */
++
++      if (str_len > 0)
++        /* some nonzero digits in fractional part */
+         {
+-          if (np->ip_size == exp - 1)
+-            /* the absolute value of the number has been rounded up to a power
+-               of ten.
+-               Insert an additional zero in integral part and put the rest of
+-               them in fractional part. */
+-            np->ip_trailing_zeros = 1;
++          if (str_len > INT_MAX)
++            /* too many digits in fractional part */
++            return -1;
+ 
+-          if (spec.prec != 0)
+-            {
+-              MPFR_ASSERTD (np->ip_size + np->ip_trailing_zeros == exp);
+-              MPFR_ASSERTD (np->ip_size + spec.prec == nsd);
++          np->point = MPFR_DECIMAL_POINT;
++          np->fp_ptr = str;
++          np->fp_size = str_len;
++        }
+ 
+-              np->point = MPFR_DECIMAL_POINT;
+-              np->fp_ptr = str + np->ip_size;
+-              np->fp_size = spec.prec;
+-            }
+-          else if (spec.alt)
+-            np->point = MPFR_DECIMAL_POINT;
++      if (keep_trailing_zeros && str_len < spec.prec)
++        /* add missing trailing zeros */
++        {
++          np->point = MPFR_DECIMAL_POINT;
++          np->fp_trailing_zeros = spec.prec - np->fp_size;
+         }
++
++      if (spec.alt)
++        /* add decimal point even if no digits follow it */
++        np->point = MPFR_DECIMAL_POINT;
+     }
+ 
+   return 0;
+diff -Naurd mpfr-3.1.0-a/src/version.c mpfr-3.1.0-b/src/version.c
+--- mpfr-3.1.0-a/src/version.c	2011-10-14 10:43:32.000000000 +0000
++++ mpfr-3.1.0-b/src/version.c	2011-11-03 15:15:11.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.1.0-p2";
++  return "3.1.0-p3";
+ }
+diff -Naurd mpfr-3.1.0-a/tests/tsprintf.c mpfr-3.1.0-b/tests/tsprintf.c
+--- mpfr-3.1.0-a/tests/tsprintf.c	2011-10-03 08:17:14.000000000 +0000
++++ mpfr-3.1.0-b/tests/tsprintf.c	2011-11-03 15:15:11.000000000 +0000
+@@ -475,6 +475,18 @@
+   check_sprintf ("-1.", "%- #0.1RG", x);
+ 
+   /* precision zero */
++  mpfr_set_d (x, 9.5, MPFR_RNDN);
++  check_sprintf ("9",    "%.0RDf", x);
++  check_sprintf ("10",    "%.0RUf", x);
++
++  mpfr_set_d (x, 19.5, MPFR_RNDN);
++  check_sprintf ("19",    "%.0RDf", x);
++  check_sprintf ("20",    "%.0RUf", x);
++
++  mpfr_set_d (x, 99.5, MPFR_RNDN);
++  check_sprintf ("99",    "%.0RDf", x);
++  check_sprintf ("100",   "%.0RUf", x);
++
+   mpfr_set_d (x, -9.5, MPFR_RNDN);
+   check_sprintf ("-10",    "%.0RDf", x);
+   check_sprintf ("-10",    "%.0RYf", x);
+@@ -1078,6 +1090,23 @@
+   mpfr_clear (x);
+ }
+ 
++static void
++bug20111102 (void)
++{
++  mpfr_t t;
++  char s[100];
++
++  mpfr_init2 (t, 84);
++  mpfr_set_str (t, "999.99999999999999999999", 10, MPFR_RNDN);
++  mpfr_sprintf (s, "%.20RNg", t);
++  if (strcmp (s, "1000") != 0)
++    {
++      printf ("Error in bug20111102, expected 1000, got %s\n", s);
++      exit (1);
++    }
++  mpfr_clear (t);
++}
++
+ /* In particular, the following test makes sure that the rounding
+  * for %Ra and %Rb is not done on the MPFR number itself (as it
+  * would overflow). Note: it has been reported on comp.std.c that
+@@ -1161,6 +1190,7 @@
+   locale = setlocale (LC_ALL, "C");
+ #endif
+ 
++  bug20111102 ();
+   native_types ();
+   hexadecimal ();
+   binary ();

diff --git a/dev-libs/mpfr/files/3.1.0/patch04 b/dev-libs/mpfr/files/3.1.0/patch04
new file mode 100644
index 0000000..4b1ba08
--- /dev/null
+++ b/dev-libs/mpfr/files/3.1.0/patch04
@@ -0,0 +1,166 @@
+diff -Naurd mpfr-3.1.0-a/PATCHES mpfr-3.1.0-b/PATCHES
+--- mpfr-3.1.0-a/PATCHES	2011-11-28 12:22:52.000000000 +0000
++++ mpfr-3.1.0-b/PATCHES	2011-11-28 12:22:52.000000000 +0000
+@@ -0,0 +1 @@
++gmp41compat
+diff -Naurd mpfr-3.1.0-a/VERSION mpfr-3.1.0-b/VERSION
+--- mpfr-3.1.0-a/VERSION	2011-11-03 15:15:11.000000000 +0000
++++ mpfr-3.1.0-b/VERSION	2011-11-28 12:22:52.000000000 +0000
+@@ -1 +1 @@
+-3.1.0-p3
++3.1.0-p4
+diff -Naurd mpfr-3.1.0-a/doc/mpfr.info mpfr-3.1.0-b/doc/mpfr.info
+--- mpfr-3.1.0-a/doc/mpfr.info	2011-10-03 09:43:04.000000000 +0000
++++ mpfr-3.1.0-b/doc/mpfr.info	2011-11-28 12:22:52.000000000 +0000
+@@ -2994,11 +2994,12 @@
+ 
+    * `mpfr_urandom' and `mpfr_urandomb' changed in MPFR 3.1.  Their
+      behavior no longer depends on the platform (assuming this is also
+-     true for GMP's random generator).  As a consequence, the returned
+-     values can be different between MPFR 3.1 and previous MPFR
+-     versions.  Note: as the reproducibility of these functions was not
+-     specified before MPFR 3.1, the MPFR 3.1 behavior is _not_ regarded
+-     as backward incompatible with previous versions.
++     true for GMP's random generator, which is not the case between GMP
++     4.1 and 4.2 if `gmp_randinit_default' is used).  As a consequence,
++     the returned values can be different between MPFR 3.1 and previous
++     MPFR versions.  Note: as the reproducibility of these functions
++     was not specified before MPFR 3.1, the MPFR 3.1 behavior is _not_
++     regarded as backward incompatible with previous versions.
+ 
+ 
+ \x1f
+@@ -4239,13 +4240,13 @@
+ Node: Type and Macro Changes\x7f129308
+ Node: Added Functions\x7f132029
+ Node: Changed Functions\x7f134972
+-Node: Removed Functions\x7f139167
+-Node: Other Changes\x7f139579
+-Node: Contributors\x7f141108
+-Node: References\x7f143574
+-Node: GNU Free Documentation License\x7f145315
+-Node: Concept Index\x7f167758
+-Node: Function and Type Index\x7f173677
++Node: Removed Functions\x7f139253
++Node: Other Changes\x7f139665
++Node: Contributors\x7f141194
++Node: References\x7f143660
++Node: GNU Free Documentation License\x7f145401
++Node: Concept Index\x7f167844
++Node: Function and Type Index\x7f173763
+ \x1f
+ End Tag Table
+ 
+diff -Naurd mpfr-3.1.0-a/doc/mpfr.texi mpfr-3.1.0-b/doc/mpfr.texi
+--- mpfr-3.1.0-a/doc/mpfr.texi	2011-10-03 08:17:14.000000000 +0000
++++ mpfr-3.1.0-b/doc/mpfr.texi	2011-11-28 12:22:52.000000000 +0000
+@@ -3466,8 +3466,9 @@
+ a lack of specification.
+ 
+ @item @code{mpfr_urandom} and @code{mpfr_urandomb} changed in MPFR 3.1.
+-Their behavior no longer depends on the platform (assuming this is also
+-true for GMP's random generator).  As a consequence, the returned values
++Their behavior no longer depends on the platform (assuming this is also true
++for GMP's random generator, which is not the case between GMP 4.1 and 4.2 if
++@code{gmp_randinit_default} is used).  As a consequence, the returned values
+ can be different between MPFR 3.1 and previous MPFR versions.
+ Note: as the reproducibility of these functions was not specified
+ before MPFR 3.1, the MPFR 3.1 behavior is @emph{not} regarded as
+diff -Naurd mpfr-3.1.0-a/src/mpfr.h mpfr-3.1.0-b/src/mpfr.h
+--- mpfr-3.1.0-a/src/mpfr.h	2011-11-03 15:15:11.000000000 +0000
++++ mpfr-3.1.0-b/src/mpfr.h	2011-11-28 12:22:52.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 1
+ #define MPFR_VERSION_PATCHLEVEL 0
+-#define MPFR_VERSION_STRING "3.1.0-p3"
++#define MPFR_VERSION_STRING "3.1.0-p4"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.1.0-a/src/version.c mpfr-3.1.0-b/src/version.c
+--- mpfr-3.1.0-a/src/version.c	2011-11-03 15:15:11.000000000 +0000
++++ mpfr-3.1.0-b/src/version.c	2011-11-28 12:22:52.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.1.0-p3";
++  return "3.1.0-p4";
+ }
+diff -Naurd mpfr-3.1.0-a/tests/trandom.c mpfr-3.1.0-b/tests/trandom.c
+--- mpfr-3.1.0-a/tests/trandom.c	2011-10-03 08:17:14.000000000 +0000
++++ mpfr-3.1.0-b/tests/trandom.c	2011-11-28 12:22:52.000000000 +0000
+@@ -114,21 +114,29 @@
+   mpfr_t x;
+   gmp_randstate_t s;
+ 
++#if __MPFR_GMP(4,2,0)
++# define C1 "0.895943"
++# define C2 "0.848824"
++#else
++# define C1 "0.479652"
++# define C2 "0.648529"
++#endif
++
+   gmp_randinit_default (s);
+   gmp_randseed_ui (s, 42);
+   mpfr_init2 (x, 17);
+   mpfr_urandomb (x, s);
+-  if (mpfr_cmp_str1 (x, "0.895943") != 0)
++  if (mpfr_cmp_str1 (x, C1) != 0)
+     {
+-      printf ("Error in bug20100914, expected 0.895943, got ");
++      printf ("Error in bug20100914, expected " C1 ", got ");
+       mpfr_out_str (stdout, 10, 0, x, MPFR_RNDN);
+       printf ("\n");
+       exit (1);
+     }
+   mpfr_urandomb (x, s);
+-  if (mpfr_cmp_str1 (x, "0.848824") != 0)
++  if (mpfr_cmp_str1 (x, C2) != 0)
+     {
+-      printf ("Error in bug20100914, expected 0.848824, got ");
++      printf ("Error in bug20100914, expected " C2 ", got ");
+       mpfr_out_str (stdout, 10, 0, x, MPFR_RNDN);
+       printf ("\n");
+       exit (1);
+diff -Naurd mpfr-3.1.0-a/tests/turandom.c mpfr-3.1.0-b/tests/turandom.c
+--- mpfr-3.1.0-a/tests/turandom.c	2011-10-03 08:17:14.000000000 +0000
++++ mpfr-3.1.0-b/tests/turandom.c	2011-11-28 12:22:52.000000000 +0000
+@@ -160,23 +160,29 @@
+   mpfr_t x;
+   gmp_randstate_t s;
+ 
++#if __MPFR_GMP(4,2,0)
++# define C1 "0.8488312"
++# define C2 "0.8156509"
++#else
++# define C1 "0.6485367"
++# define C2 "0.9362717"
++#endif
++
+   gmp_randinit_default (s);
+   gmp_randseed_ui (s, 42);
+   mpfr_init2 (x, 17);
+   mpfr_urandom (x, s, MPFR_RNDN);
+-  /* the following values are obtained on a 32-bit computer, we should get
+-     the same values on a 64-bit computer */
+-  if (mpfr_cmp_str1 (x, "0.8488312") != 0)
++  if (mpfr_cmp_str1 (x, C1) != 0)
+     {
+-      printf ("Error in bug20100914, expected 0.8488312, got ");
++      printf ("Error in bug20100914, expected " C1 ", got ");
+       mpfr_out_str (stdout, 10, 0, x, MPFR_RNDN);
+       printf ("\n");
+       exit (1);
+     }
+   mpfr_urandom (x, s, MPFR_RNDN);
+-  if (mpfr_cmp_str1 (x, "0.8156509") != 0)
++  if (mpfr_cmp_str1 (x, C2) != 0)
+     {
+-      printf ("Error in bug20100914, expected 0.8156509, got ");
++      printf ("Error in bug20100914, expected " C2 ", got ");
+       mpfr_out_str (stdout, 10, 0, x, MPFR_RNDN);
+       printf ("\n");
+       exit (1);

diff --git a/dev-libs/mpfr/files/3.1.0/patch05 b/dev-libs/mpfr/files/3.1.0/patch05
new file mode 100644
index 0000000..c664cee
--- /dev/null
+++ b/dev-libs/mpfr/files/3.1.0/patch05
@@ -0,0 +1,69 @@
+diff -Naurd mpfr-3.1.0-a/PATCHES mpfr-3.1.0-b/PATCHES
+--- mpfr-3.1.0-a/PATCHES	2012-02-24 12:44:49.000000000 +0000
++++ mpfr-3.1.0-b/PATCHES	2012-02-24 12:44:49.000000000 +0000
+@@ -0,0 +1 @@
++logging-freeze
+diff -Naurd mpfr-3.1.0-a/VERSION mpfr-3.1.0-b/VERSION
+--- mpfr-3.1.0-a/VERSION	2011-11-28 12:22:52.000000000 +0000
++++ mpfr-3.1.0-b/VERSION	2012-02-24 12:44:49.000000000 +0000
+@@ -1 +1 @@
+-3.1.0-p4
++3.1.0-p5
+diff -Naurd mpfr-3.1.0-a/src/add_d.c mpfr-3.1.0-b/src/add_d.c
+--- mpfr-3.1.0-a/src/add_d.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/add_d.c	2012-02-24 12:44:49.000000000 +0000
+@@ -34,7 +34,7 @@
+     (("b[%Pu]=%.*Rg c=%.20g rnd=%d",
+       mpfr_get_prec(b), mpfr_log_prec, b, c, rnd_mode),
+      ("a[%Pu]=%.*Rg inexact=%d",
+-      mpfr_get_prec (a), mpfr_get_prec, a, inexact));
++      mpfr_get_prec (a), mpfr_log_prec, a, inexact));
+ 
+   MPFR_SAVE_EXPO_MARK (expo);
+ 
+diff -Naurd mpfr-3.1.0-a/src/add_ui.c mpfr-3.1.0-b/src/add_ui.c
+--- mpfr-3.1.0-a/src/add_ui.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/add_ui.c	2012-02-24 12:44:49.000000000 +0000
+@@ -29,7 +29,7 @@
+   MPFR_LOG_FUNC
+     (("x[%Pu]=%.*Rg u=%d rnd=%d",
+       mpfr_get_prec(x), mpfr_log_prec, x, u, rnd_mode),
+-     ("y[%Pu]=%.*Rg", mpfr_get_prec (y), mpfr_get_prec, y));
++     ("y[%Pu]=%.*Rg", mpfr_get_prec (y), mpfr_log_prec, y));
+ 
+   if (MPFR_LIKELY(u != 0) )  /* if u=0, do nothing */
+     {
+diff -Naurd mpfr-3.1.0-a/src/mpfr.h mpfr-3.1.0-b/src/mpfr.h
+--- mpfr-3.1.0-a/src/mpfr.h	2011-11-28 12:22:52.000000000 +0000
++++ mpfr-3.1.0-b/src/mpfr.h	2012-02-24 12:44:49.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 1
+ #define MPFR_VERSION_PATCHLEVEL 0
+-#define MPFR_VERSION_STRING "3.1.0-p4"
++#define MPFR_VERSION_STRING "3.1.0-p5"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.1.0-a/src/mul_d.c mpfr-3.1.0-b/src/mul_d.c
+--- mpfr-3.1.0-a/src/mul_d.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/mul_d.c	2012-02-24 12:44:49.000000000 +0000
+@@ -34,7 +34,7 @@
+     (("b[%Pu]=%.*Rg c=%.20g rnd=%d",
+       mpfr_get_prec(b), mpfr_log_prec, b, c, rnd_mode),
+      ("a[%Pu]=%.*Rg inexact=%d",
+-      mpfr_get_prec (a), mpfr_get_prec, a, inexact));
++      mpfr_get_prec (a), mpfr_log_prec, a, inexact));
+ 
+   MPFR_SAVE_EXPO_MARK (expo);
+ 
+diff -Naurd mpfr-3.1.0-a/src/version.c mpfr-3.1.0-b/src/version.c
+--- mpfr-3.1.0-a/src/version.c	2011-11-28 12:22:52.000000000 +0000
++++ mpfr-3.1.0-b/src/version.c	2012-02-24 12:44:49.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.1.0-p4";
++  return "3.1.0-p5";
+ }

diff --git a/dev-libs/mpfr/files/3.1.0/patch06 b/dev-libs/mpfr/files/3.1.0/patch06
new file mode 100644
index 0000000..0f4bfad
--- /dev/null
+++ b/dev-libs/mpfr/files/3.1.0/patch06
@@ -0,0 +1,45 @@
+diff -Naurd mpfr-3.1.0-a/PATCHES mpfr-3.1.0-b/PATCHES
+--- mpfr-3.1.0-a/PATCHES	2012-02-24 13:50:05.000000000 +0000
++++ mpfr-3.1.0-b/PATCHES	2012-02-24 13:50:05.000000000 +0000
+@@ -0,0 +1 @@
++logging-varfmt
+diff -Naurd mpfr-3.1.0-a/VERSION mpfr-3.1.0-b/VERSION
+--- mpfr-3.1.0-a/VERSION	2012-02-24 12:44:49.000000000 +0000
++++ mpfr-3.1.0-b/VERSION	2012-02-24 13:50:05.000000000 +0000
+@@ -1 +1 @@
+-3.1.0-p5
++3.1.0-p6
+diff -Naurd mpfr-3.1.0-a/src/mpfr-impl.h mpfr-3.1.0-b/src/mpfr-impl.h
+--- mpfr-3.1.0-a/src/mpfr-impl.h	2011-10-05 21:39:57.000000000 +0000
++++ mpfr-3.1.0-b/src/mpfr-impl.h	2012-02-24 13:50:05.000000000 +0000
+@@ -1592,7 +1592,7 @@
+   do                                                                    \
+     if ((MPFR_LOG_INTERNAL_F & mpfr_log_type) &&                        \
+         (mpfr_log_current <= mpfr_log_level))                           \
+-      LOG_PRINT ("%s.%d:%s[%#Pu]=%.*Rf\n", __func__, __LINE__,          \
++      LOG_PRINT ("%s.%d:%s[%#Pu]=%.*Rg\n", __func__, __LINE__,          \
+                  #x, mpfr_get_prec (x), mpfr_log_prec, x);              \
+   while (0)
+ 
+diff -Naurd mpfr-3.1.0-a/src/mpfr.h mpfr-3.1.0-b/src/mpfr.h
+--- mpfr-3.1.0-a/src/mpfr.h	2012-02-24 12:44:49.000000000 +0000
++++ mpfr-3.1.0-b/src/mpfr.h	2012-02-24 13:50:05.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 1
+ #define MPFR_VERSION_PATCHLEVEL 0
+-#define MPFR_VERSION_STRING "3.1.0-p5"
++#define MPFR_VERSION_STRING "3.1.0-p6"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.1.0-a/src/version.c mpfr-3.1.0-b/src/version.c
+--- mpfr-3.1.0-a/src/version.c	2012-02-24 12:44:49.000000000 +0000
++++ mpfr-3.1.0-b/src/version.c	2012-02-24 13:50:05.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.1.0-p5";
++  return "3.1.0-p6";
+ }

diff --git a/dev-libs/mpfr/files/3.1.0/patch07 b/dev-libs/mpfr/files/3.1.0/patch07
new file mode 100644
index 0000000..08e7b57
--- /dev/null
+++ b/dev-libs/mpfr/files/3.1.0/patch07
@@ -0,0 +1,591 @@
+diff -Naurd mpfr-3.1.0-a/PATCHES mpfr-3.1.0-b/PATCHES
+--- mpfr-3.1.0-a/PATCHES	2012-03-08 15:17:03.000000000 +0000
++++ mpfr-3.1.0-b/PATCHES	2012-03-08 15:17:03.000000000 +0000
+@@ -0,0 +1 @@
++large-prec
+diff -Naurd mpfr-3.1.0-a/VERSION mpfr-3.1.0-b/VERSION
+--- mpfr-3.1.0-a/VERSION	2012-02-24 13:50:05.000000000 +0000
++++ mpfr-3.1.0-b/VERSION	2012-03-08 15:17:03.000000000 +0000
+@@ -1 +1 @@
+-3.1.0-p6
++3.1.0-p7
+diff -Naurd mpfr-3.1.0-a/src/add1.c mpfr-3.1.0-b/src/add1.c
+--- mpfr-3.1.0-a/src/add1.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/add1.c	2012-03-08 15:17:03.000000000 +0000
+@@ -44,12 +44,12 @@
+   bq = MPFR_PREC(b);
+   cq = MPFR_PREC(c);
+ 
+-  an = (aq-1)/GMP_NUMB_BITS+1; /* number of limbs of a */
++  an = MPFR_PREC2LIMBS (aq); /* number of limbs of a */
+   aq2 = (mpfr_prec_t) an * GMP_NUMB_BITS;
+   sh = aq2 - aq;                  /* non-significant bits in low limb */
+ 
+-  bn = (bq-1)/GMP_NUMB_BITS+1; /* number of limbs of b */
+-  cn = (cq-1)/GMP_NUMB_BITS+1; /* number of limbs of c */
++  bn = MPFR_PREC2LIMBS (bq); /* number of limbs of b */
++  cn = MPFR_PREC2LIMBS (cq); /* number of limbs of c */
+ 
+   ap = MPFR_MANT(a);
+   bp = MPFR_MANT(b);
+@@ -124,7 +124,7 @@
+       dif = aq2 - diff_exp;
+       /* dif is the number of bits of c which overlap with a' */
+ 
+-      difn = (dif-1)/GMP_NUMB_BITS + 1;
++      difn = MPFR_PREC2LIMBS (dif);
+       /* only the highest difn limbs from c have to be considered */
+       if (MPFR_UNLIKELY(difn > cn))
+         {
+diff -Naurd mpfr-3.1.0-a/src/add1sp.c mpfr-3.1.0-b/src/add1sp.c
+--- mpfr-3.1.0-a/src/add1sp.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/add1sp.c	2012-03-08 15:17:03.000000000 +0000
+@@ -107,7 +107,7 @@
+ 
+   /* Read prec and num of limbs */
+   p = MPFR_PREC(b);
+-  n = (p+GMP_NUMB_BITS-1)/GMP_NUMB_BITS;
++  n = MPFR_PREC2LIMBS (p);
+   MPFR_UNSIGNED_MINUS_MODULO(sh, p);
+   bx = MPFR_GET_EXP(b);
+   d = (mpfr_uexp_t) (bx - MPFR_GET_EXP(c));
+diff -Naurd mpfr-3.1.0-a/src/agm.c mpfr-3.1.0-b/src/agm.c
+--- mpfr-3.1.0-a/src/agm.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/agm.c	2012-03-08 15:17:03.000000000 +0000
+@@ -91,7 +91,7 @@
+   q = MPFR_PREC(r);
+   p = q + MPFR_INT_CEIL_LOG2(q) + 15;
+   MPFR_ASSERTD (p >= 7); /* see algorithms.tex */
+-  s = (p - 1) / GMP_NUMB_BITS + 1;
++  s = MPFR_PREC2LIMBS (p);
+ 
+   /* b (op2) and a (op1) are the 2 operands but we want b >= a */
+   compare = mpfr_cmp (op1, op2);
+@@ -285,7 +285,7 @@
+ 
+       /* Next iteration */
+       MPFR_ZIV_NEXT (loop, p);
+-      s = (p - 1) / GMP_NUMB_BITS + 1;
++      s = MPFR_PREC2LIMBS (p);
+     }
+   MPFR_ZIV_FREE (loop);
+ 
+diff -Naurd mpfr-3.1.0-a/src/eq.c mpfr-3.1.0-b/src/eq.c
+--- mpfr-3.1.0-a/src/eq.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/eq.c	2012-03-08 15:17:03.000000000 +0000
+@@ -56,8 +56,8 @@
+   if (uexp != vexp)
+     return 0; /* no bit agree */
+ 
+-  usize = (MPFR_PREC(u) - 1) / GMP_NUMB_BITS + 1;
+-  vsize = (MPFR_PREC(v) - 1) / GMP_NUMB_BITS + 1;
++  usize = MPFR_LIMB_SIZE (u);
++  vsize = MPFR_LIMB_SIZE (v);
+ 
+   if (vsize > usize) /* exchange u and v */
+     {
+diff -Naurd mpfr-3.1.0-a/src/exp.c mpfr-3.1.0-b/src/exp.c
+--- mpfr-3.1.0-a/src/exp.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/exp.c	2012-03-08 15:17:03.000000000 +0000
+@@ -133,7 +133,7 @@
+               mp_size_t yn;
+               int sh;
+ 
+-              yn = 1 + (MPFR_PREC(y) - 1) / GMP_NUMB_BITS;
++              yn = MPFR_LIMB_SIZE (y);
+               sh = (mpfr_prec_t) yn * GMP_NUMB_BITS - MPFR_PREC(y);
+               MPFR_MANT(y)[0] += MPFR_LIMB_ONE << sh;
+               inexact = 1;
+diff -Naurd mpfr-3.1.0-a/src/get_d.c mpfr-3.1.0-b/src/get_d.c
+--- mpfr-3.1.0-a/src/get_d.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/get_d.c	2012-03-08 15:17:03.000000000 +0000
+@@ -100,7 +100,7 @@
+           nbits += (1021 + e);
+           MPFR_ASSERTD (nbits >= 1);
+         }
+-      np = (nbits + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS;
++      np = MPFR_PREC2LIMBS (nbits);
+       MPFR_ASSERTD ( np <= MPFR_LIMBS_PER_DOUBLE );
+       carry = mpfr_round_raw_4 (tp, MPFR_MANT(src), MPFR_PREC(src), negative,
+                                 nbits, rnd_mode);
+diff -Naurd mpfr-3.1.0-a/src/get_flt.c mpfr-3.1.0-b/src/get_flt.c
+--- mpfr-3.1.0-a/src/get_flt.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/get_flt.c	2012-03-08 15:17:03.000000000 +0000
+@@ -92,7 +92,7 @@
+           nbits += (125 + e);
+           MPFR_ASSERTD (nbits >= 1);
+         }
+-      np = (nbits + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS;
++      np = MPFR_PREC2LIMBS (nbits);
+       MPFR_ASSERTD(np <= MPFR_LIMBS_PER_FLT);
+       carry = mpfr_round_raw_4 (tp, MPFR_MANT(src), MPFR_PREC(src), negative,
+                                 nbits, rnd_mode);
+diff -Naurd mpfr-3.1.0-a/src/get_str.c mpfr-3.1.0-b/src/get_str.c
+--- mpfr-3.1.0-a/src/get_str.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/get_str.c	2012-03-08 15:17:03.000000000 +0000
+@@ -2351,7 +2351,7 @@
+ 
+       /* the first digit will contain only r bits */
+       prec = (m - 1) * pow2 + r; /* total number of bits */
+-      n = (prec - 1) / GMP_NUMB_BITS + 1;
++      n = MPFR_PREC2LIMBS (prec);
+ 
+       MPFR_TMP_MARK (marker);
+       x1 = MPFR_TMP_LIMBS_ALLOC (n + 1);
+@@ -2417,12 +2417,12 @@
+       exact = 1;
+ 
+       /* number of limbs */
+-      n = 1 + (prec - 1) / GMP_NUMB_BITS;
++      n = MPFR_PREC2LIMBS (prec);
+ 
+       /* a will contain the approximation of the mantissa */
+       a = MPFR_TMP_LIMBS_ALLOC (n);
+ 
+-      nx = 1 + (MPFR_PREC(x) - 1) / GMP_NUMB_BITS;
++      nx = MPFR_LIMB_SIZE (x);
+ 
+       if ((mpfr_exp_t) m == g) /* final exponent is 0, no multiplication or
+                                 division to perform */
+diff -Naurd mpfr-3.1.0-a/src/init2.c mpfr-3.1.0-b/src/init2.c
+--- mpfr-3.1.0-a/src/init2.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/init2.c	2012-03-08 15:17:03.000000000 +0000
+@@ -51,7 +51,7 @@
+      which both have an odd mantissa */
+   MPFR_ASSERTN(p >= MPFR_PREC_MIN && p <= MPFR_PREC_MAX);
+ 
+-  xsize = (mp_size_t) ((p - 1) / GMP_NUMB_BITS) + 1;
++  xsize = MPFR_PREC2LIMBS (p);
+   tmp   = (mpfr_limb_ptr) (*__gmp_allocate_func)(MPFR_MALLOC_SIZE(xsize));
+ 
+   MPFR_PREC(x) = p;                /* Set prec */
+diff -Naurd mpfr-3.1.0-a/src/lngamma.c mpfr-3.1.0-b/src/lngamma.c
+--- mpfr-3.1.0-a/src/lngamma.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/lngamma.c	2012-03-08 15:17:03.000000000 +0000
+@@ -67,7 +67,7 @@
+ 
+   /* Now, the unit bit is represented. */
+ 
+-  prec = ((prec - 1) / GMP_NUMB_BITS + 1) * GMP_NUMB_BITS - expo;
++  prec = MPFR_PREC2LIMBS (prec) * GMP_NUMB_BITS - expo;
+   /* number of represented fractional bits (including the trailing 0's) */
+ 
+   x0 = *(MPFR_MANT (x) + prec / GMP_NUMB_BITS);
+diff -Naurd mpfr-3.1.0-a/src/mpfr-impl.h mpfr-3.1.0-b/src/mpfr-impl.h
+--- mpfr-3.1.0-a/src/mpfr-impl.h	2012-02-24 13:50:05.000000000 +0000
++++ mpfr-3.1.0-b/src/mpfr-impl.h	2012-03-09 12:06:26.000000000 +0000
+@@ -646,10 +646,24 @@
+  **************** mpfr_t properties *******************
+  ******************************************************/
+ 
++/* In the following macro, p is usually a mpfr_prec_t, but this macro
++   works with other integer types (without integer overflow). Checking
++   that p >= 1 in debug mode is useful here because this macro can be
++   used on a computed precision (in particular, this formula does not
++   work for a degenerate case p = 0, and could give different results
++   on different platforms). But let us not use an assertion checking
++   in the MPFR_LAST_LIMB() and MPFR_LIMB_SIZE() macros below to avoid
++   too much expansion for assertions (in practice, this should be a
++   problem just when testing MPFR with the --enable-assert configure
++   option and the -ansi -pedantic-errors gcc compiler flags). */
++#define MPFR_PREC2LIMBS(p) \
++  (MPFR_ASSERTD ((p) >= 1), ((p) - 1) / GMP_NUMB_BITS + 1)
++
+ #define MPFR_PREC(x)      ((x)->_mpfr_prec)
+ #define MPFR_EXP(x)       ((x)->_mpfr_exp)
+ #define MPFR_MANT(x)      ((x)->_mpfr_d)
+-#define MPFR_LIMB_SIZE(x) ((MPFR_PREC((x))-1)/GMP_NUMB_BITS+1)
++#define MPFR_LAST_LIMB(x) ((MPFR_PREC (x) - 1) / GMP_NUMB_BITS)
++#define MPFR_LIMB_SIZE(x) (MPFR_LAST_LIMB (x) + 1)
+ 
+ 
+ /******************************************************
+@@ -749,7 +763,8 @@
+ #define MPFR_IS_FP(x)       (!MPFR_IS_NAN(x) && !MPFR_IS_INF(x))
+ #define MPFR_IS_SINGULAR(x) (MPFR_EXP(x) <= MPFR_EXP_INF)
+ #define MPFR_IS_PURE_FP(x)  (!MPFR_IS_SINGULAR(x) && \
+-  (MPFR_ASSERTD (MPFR_MANT(x)[MPFR_LIMB_SIZE(x)-1] & MPFR_LIMB_HIGHBIT), 1))
++  (MPFR_ASSERTD ((MPFR_MANT(x)[MPFR_LAST_LIMB(x)]  \
++                  & MPFR_LIMB_HIGHBIT) != 0), 1))
+ 
+ #define MPFR_ARE_SINGULAR(x,y) \
+   (MPFR_UNLIKELY(MPFR_IS_SINGULAR(x)) || MPFR_UNLIKELY(MPFR_IS_SINGULAR(y)))
+@@ -1061,7 +1076,7 @@
+ /* Set a number to 1 (Fast) - It doesn't check if 1 is in the exponent range */
+ #define MPFR_SET_ONE(x)                                               \
+ do {                                                                  \
+-  mp_size_t _size = MPFR_LIMB_SIZE(x) - 1;                            \
++  mp_size_t _size = MPFR_LAST_LIMB(x);                                \
+   MPFR_SET_POS(x);                                                    \
+   MPFR_EXP(x) = 1;                                                    \
+   MPN_ZERO ( MPFR_MANT(x), _size);                                    \
+@@ -1213,8 +1228,8 @@
+     _destp = MPFR_MANT (dest);                                              \
+     if (MPFR_UNLIKELY (_destprec >= _srcprec))                              \
+       {                                                                     \
+-        _srcs  = (_srcprec  + GMP_NUMB_BITS-1)/GMP_NUMB_BITS;               \
+-        _dests = (_destprec + GMP_NUMB_BITS-1)/GMP_NUMB_BITS - _srcs;       \
++        _srcs  = MPFR_PREC2LIMBS (_srcprec);                                \
++        _dests = MPFR_PREC2LIMBS (_destprec) - _srcs;                       \
+         MPN_COPY (_destp + _dests, srcp, _srcs);                            \
+         MPN_ZERO (_destp, _dests);                                          \
+         inexact = 0;                                                        \
+@@ -1227,8 +1242,8 @@
+         mp_limb_t _rb, _sb, _ulp;                                           \
+                                                                             \
+         /* Compute Position and shift */                                    \
+-        _srcs  = (_srcprec  + GMP_NUMB_BITS-1)/GMP_NUMB_BITS;               \
+-        _dests = (_destprec + GMP_NUMB_BITS-1)/GMP_NUMB_BITS;               \
++        _srcs  = MPFR_PREC2LIMBS (_srcprec);                                \
++        _dests = MPFR_PREC2LIMBS (_destprec);                               \
+         MPFR_UNSIGNED_MINUS_MODULO (_sh, _destprec);                        \
+         _sp = (srcp) + _srcs - _dests;                                      \
+                                                                             \
+@@ -1372,7 +1387,7 @@
+       if (MPFR_LIKELY (MPFR_PREC (dest) == MPFR_PREC (src)))            \
+         {                                                               \
+           MPN_COPY (MPFR_MANT (dest), MPFR_MANT (src),                  \
+-                    (MPFR_PREC (src) + GMP_NUMB_BITS-1)/GMP_NUMB_BITS); \
++                    MPFR_LIMB_SIZE (src));                              \
+           inexact = 0;                                                  \
+         }                                                               \
+       else                                                              \
+@@ -1682,7 +1697,7 @@
+  MPFR_ASSERTD (_prec >= MPFR_PREC_MIN);                                 \
+  if (MPFR_UNLIKELY (_prec > MPFR_PREC_MAX))                             \
+    mpfr_abort_prec_max ();                                              \
+- _size = (mpfr_prec_t) (_prec + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS;     \
++ _size = MPFR_PREC2LIMBS (_prec);                                       \
+  if (MPFR_UNLIKELY (_size * (num) > MPFR_GROUP_STATIC_SIZE))            \
+    {                                                                    \
+      (g).alloc = (num) * _size * sizeof (mp_limb_t);                    \
+@@ -1733,7 +1748,7 @@
+  MPFR_ASSERTD (_prec >= MPFR_PREC_MIN);                                 \
+  if (MPFR_UNLIKELY (_prec > MPFR_PREC_MAX))                             \
+    mpfr_abort_prec_max ();                                              \
+- _size = (mpfr_prec_t) (_prec + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS;     \
++ _size = MPFR_PREC2LIMBS (_prec);                                       \
+  (g).alloc = (num) * _size * sizeof (mp_limb_t);                        \
+  if (MPFR_LIKELY (_oalloc == 0))                                        \
+    (g).mant = (mp_limb_t *) (*__gmp_allocate_func) ((g).alloc);         \
+@@ -1886,7 +1901,7 @@
+        MPFR_NORETURN_ATTR;
+ 
+ __MPFR_DECLSPEC void mpfr_rand_raw _MPFR_PROTO((mpfr_limb_ptr, gmp_randstate_t,
+-                                                unsigned long));
++                                                mpfr_prec_t));
+ 
+ __MPFR_DECLSPEC mpz_t* mpfr_bernoulli_internal _MPFR_PROTO((mpz_t*,
+                                                             unsigned long));
+diff -Naurd mpfr-3.1.0-a/src/mpfr.h mpfr-3.1.0-b/src/mpfr.h
+--- mpfr-3.1.0-a/src/mpfr.h	2012-02-24 13:50:05.000000000 +0000
++++ mpfr-3.1.0-b/src/mpfr.h	2012-03-08 15:17:03.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 1
+ #define MPFR_VERSION_PATCHLEVEL 0
+-#define MPFR_VERSION_STRING "3.1.0-p6"
++#define MPFR_VERSION_STRING "3.1.0-p7"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.1.0-a/src/mul.c mpfr-3.1.0-b/src/mul.c
+--- mpfr-3.1.0-a/src/mul.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/mul.c	2012-03-08 15:17:03.000000000 +0000
+@@ -93,15 +93,15 @@
+ 
+   ax = MPFR_GET_EXP (b) + MPFR_GET_EXP (c);
+ 
+-  bq = MPFR_PREC(b);
+-  cq = MPFR_PREC(c);
++  bq = MPFR_PREC (b);
++  cq = MPFR_PREC (c);
+ 
+-  MPFR_ASSERTD(bq+cq > bq); /* PREC_MAX is /2 so no integer overflow */
++  MPFR_ASSERTN ((mpfr_uprec_t) bq + cq <= MPFR_PREC_MAX);
+ 
+-  bn = (bq+GMP_NUMB_BITS-1)/GMP_NUMB_BITS; /* number of limbs of b */
+-  cn = (cq+GMP_NUMB_BITS-1)/GMP_NUMB_BITS; /* number of limbs of c */
++  bn = MPFR_PREC2LIMBS (bq); /* number of limbs of b */
++  cn = MPFR_PREC2LIMBS (cq); /* number of limbs of c */
+   k = bn + cn; /* effective nb of limbs used by b*c (= tn or tn+1) below */
+-  tn = (bq + cq + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS;
++  tn = MPFR_PREC2LIMBS (bq + cq);
+   /* <= k, thus no int overflow */
+   MPFR_ASSERTD(tn <= k);
+ 
+@@ -292,12 +292,12 @@
+   bq = MPFR_PREC (b);
+   cq = MPFR_PREC (c);
+ 
+-  MPFR_ASSERTD (bq+cq > bq); /* PREC_MAX is /2 so no integer overflow */
++  MPFR_ASSERTN ((mpfr_uprec_t) bq + cq <= MPFR_PREC_MAX);
+ 
+-  bn = (bq+GMP_NUMB_BITS-1)/GMP_NUMB_BITS; /* number of limbs of b */
+-  cn = (cq+GMP_NUMB_BITS-1)/GMP_NUMB_BITS; /* number of limbs of c */
++  bn = MPFR_PREC2LIMBS (bq); /* number of limbs of b */
++  cn = MPFR_PREC2LIMBS (cq); /* number of limbs of c */
+   k = bn + cn; /* effective nb of limbs used by b*c (= tn or tn+1) below */
+-  tn = (bq + cq + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS;
++  tn = MPFR_PREC2LIMBS (bq + cq);
+   MPFR_ASSERTD (tn <= k); /* tn <= k, thus no int overflow */
+ 
+   /* Check for no size_t overflow*/
+diff -Naurd mpfr-3.1.0-a/src/pow.c mpfr-3.1.0-b/src/pow.c
+--- mpfr-3.1.0-a/src/pow.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/pow.c	2012-03-08 15:17:03.000000000 +0000
+@@ -136,7 +136,7 @@
+      (b) all the 'z' bits are zero
+   */
+ 
+-  prec = ((prec - 1) / GMP_NUMB_BITS + 1) * GMP_NUMB_BITS - expo;
++  prec = MPFR_PREC2LIMBS (prec) * GMP_NUMB_BITS - expo;
+   /* number of z+0 bits */
+ 
+   yn = prec / GMP_NUMB_BITS;
+diff -Naurd mpfr-3.1.0-a/src/print_raw.c mpfr-3.1.0-b/src/print_raw.c
+--- mpfr-3.1.0-a/src/print_raw.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/print_raw.c	2012-03-08 15:17:03.000000000 +0000
+@@ -84,7 +84,7 @@
+   int i;
+   mpfr_prec_t count = 0;
+   char c;
+-  mp_size_t n = (r - 1) / GMP_NUMB_BITS + 1;
++  mp_size_t n = MPFR_PREC2LIMBS (r);
+ 
+   printf("%s ", str);
+   for(n-- ; n>=0 ; n--)
+@@ -109,7 +109,7 @@
+   int i;
+   mpfr_prec_t count = 0;
+   char c;
+-  mp_size_t n = (r - 1) / GMP_NUMB_BITS + 1;
++  mp_size_t n = MPFR_PREC2LIMBS (r);
+ 
+   for(n-- ; n>=0 ; n--)
+     {
+diff -Naurd mpfr-3.1.0-a/src/round_prec.c mpfr-3.1.0-b/src/round_prec.c
+--- mpfr-3.1.0-a/src/round_prec.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/round_prec.c	2012-03-08 15:17:03.000000000 +0000
+@@ -55,12 +55,12 @@
+ 
+   MPFR_ASSERTN(prec >= MPFR_PREC_MIN && prec <= MPFR_PREC_MAX);
+ 
+-  nw = 1 + (prec - 1) / GMP_NUMB_BITS; /* needed allocated limbs */
++  nw = MPFR_PREC2LIMBS (prec); /* needed allocated limbs */
+ 
+   /* check if x has enough allocated space for the significand */
+   /* Get the number of limbs from the precision.
+      (Compatible with all allocation methods) */
+-  ow = (MPFR_PREC (x) + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS;
++  ow = MPFR_LIMB_SIZE (x);
+   if (nw > ow)
+     {
+       /* FIXME: Variable can't be created using custom allocation,
+diff -Naurd mpfr-3.1.0-a/src/round_raw_generic.c mpfr-3.1.0-b/src/round_raw_generic.c
+--- mpfr-3.1.0-a/src/round_raw_generic.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/round_raw_generic.c	2012-03-08 15:17:03.000000000 +0000
+@@ -80,7 +80,7 @@
+       (xprec <= yprec || MPFR_IS_LIKE_RNDZ (rnd_mode, neg)))
+     return 0;
+ 
+-  xsize = (xprec-1)/GMP_NUMB_BITS + 1;
++  xsize = MPFR_PREC2LIMBS (xprec);
+   nw = yprec / GMP_NUMB_BITS;
+   rw = yprec & (GMP_NUMB_BITS - 1);
+ 
+diff -Naurd mpfr-3.1.0-a/src/set.c mpfr-3.1.0-b/src/set.c
+--- mpfr-3.1.0-a/src/set.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/set.c	2012-03-08 15:17:03.000000000 +0000
+@@ -48,8 +48,7 @@
+       /* Same precision and b is not singular:
+        * just copy the mantissa, and set the exponent and the sign
+        * The result is exact. */
+-      MPN_COPY (MPFR_MANT (a), MPFR_MANT (b),
+-                (MPFR_PREC (b) + GMP_NUMB_BITS-1)/GMP_NUMB_BITS);
++      MPN_COPY (MPFR_MANT (a), MPFR_MANT (b), MPFR_LIMB_SIZE (b));
+       MPFR_RET (0);
+     }
+   else
+diff -Naurd mpfr-3.1.0-a/src/set_f.c mpfr-3.1.0-b/src/set_f.c
+--- mpfr-3.1.0-a/src/set_f.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/set_f.c	2012-03-08 15:17:03.000000000 +0000
+@@ -43,7 +43,7 @@
+   if (SIZ(x) * MPFR_FROM_SIGN_TO_INT(MPFR_SIGN(y)) < 0)
+     MPFR_CHANGE_SIGN (y);
+ 
+-  sy = 1 + (MPFR_PREC(y) - 1) / GMP_NUMB_BITS;
++  sy = MPFR_LIMB_SIZE (y);
+   my = MPFR_MANT(y);
+   mx = PTR(x);
+ 
+diff -Naurd mpfr-3.1.0-a/src/set_prec.c mpfr-3.1.0-b/src/set_prec.c
+--- mpfr-3.1.0-a/src/set_prec.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/set_prec.c	2012-03-08 15:17:03.000000000 +0000
+@@ -32,7 +32,7 @@
+   MPFR_ASSERTN (p >= MPFR_PREC_MIN && p <= MPFR_PREC_MAX);
+ 
+   /* Calculate the new number of limbs */
+-  xsize = (p - 1) / GMP_NUMB_BITS + 1;
++  xsize = MPFR_PREC2LIMBS (p);
+ 
+   /* Realloc only if the new size is greater than the old */
+   xoldsize = MPFR_GET_ALLOC_SIZE (x);
+diff -Naurd mpfr-3.1.0-a/src/setmax.c mpfr-3.1.0-b/src/setmax.c
+--- mpfr-3.1.0-a/src/setmax.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/setmax.c	2012-03-08 15:17:03.000000000 +0000
+@@ -32,7 +32,7 @@
+   mp_limb_t *xp;
+ 
+   MPFR_SET_EXP (x, e);
+-  xn = 1 + (MPFR_PREC(x) - 1) / GMP_NUMB_BITS;
++  xn = MPFR_LIMB_SIZE (x);
+   sh = (mpfr_prec_t) xn * GMP_NUMB_BITS - MPFR_PREC(x);
+   xp = MPFR_MANT(x);
+   xp[0] = MP_LIMB_T_MAX << sh;
+diff -Naurd mpfr-3.1.0-a/src/sqr.c mpfr-3.1.0-b/src/sqr.c
+--- mpfr-3.1.0-a/src/sqr.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/sqr.c	2012-03-08 15:17:03.000000000 +0000
+@@ -56,11 +56,11 @@
+   ax = 2 * MPFR_GET_EXP (b);
+   bq = MPFR_PREC(b);
+ 
+-  MPFR_ASSERTD (2 * bq > bq); /* PREC_MAX is /2 so no integer overflow */
++  MPFR_ASSERTN (2 * (mpfr_uprec_t) bq <= MPFR_PREC_MAX);
+ 
+-  bn = MPFR_LIMB_SIZE(b); /* number of limbs of b */
+-  tn = 1 + (2 * bq - 1) / GMP_NUMB_BITS; /* number of limbs of square,
+-                                               2*bn or 2*bn-1 */
++  bn = MPFR_LIMB_SIZE (b); /* number of limbs of b */
++  tn = MPFR_PREC2LIMBS (2 * bq); /* number of limbs of square,
++                                    2*bn or 2*bn-1 */
+ 
+   if (MPFR_UNLIKELY(bn > MPFR_SQR_THRESHOLD))
+     return mpfr_mul (a, b, b, rnd_mode);
+diff -Naurd mpfr-3.1.0-a/src/stack_interface.c mpfr-3.1.0-b/src/stack_interface.c
+--- mpfr-3.1.0-a/src/stack_interface.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/stack_interface.c	2012-03-08 15:17:03.000000000 +0000
+@@ -26,7 +26,7 @@
+ size_t
+ mpfr_custom_get_size (mpfr_prec_t prec)
+ {
+-  return (prec + GMP_NUMB_BITS -1) / GMP_NUMB_BITS * BYTES_PER_MP_LIMB;
++  return MPFR_PREC2LIMBS (prec) * BYTES_PER_MP_LIMB;
+ }
+ 
+ #undef mpfr_custom_init
+diff -Naurd mpfr-3.1.0-a/src/strtofr.c mpfr-3.1.0-b/src/strtofr.c
+--- mpfr-3.1.0-a/src/strtofr.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/strtofr.c	2012-03-08 15:17:03.000000000 +0000
+@@ -467,7 +467,7 @@
+       /* Set y to the value of the ~prec most significant bits of pstr->mant
+          (as long as we guarantee correct rounding, we don't need to get
+          exactly prec bits). */
+-      ysize = (prec - 1) / GMP_NUMB_BITS + 1;
++      ysize = MPFR_PREC2LIMBS (prec);
+       /* prec bits corresponds to ysize limbs */
+       ysize_bits = ysize * GMP_NUMB_BITS;
+       /* and to ysize_bits >= prec > MPFR_PREC (x) bits */
+diff -Naurd mpfr-3.1.0-a/src/sub1sp.c mpfr-3.1.0-b/src/sub1sp.c
+--- mpfr-3.1.0-a/src/sub1sp.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/sub1sp.c	2012-03-08 15:17:03.000000000 +0000
+@@ -155,8 +155,8 @@
+   MPFR_ASSERTD(MPFR_IS_PURE_FP(c));
+ 
+   /* Read prec and num of limbs */
+-  p = MPFR_PREC(b);
+-  n = (p-1)/GMP_NUMB_BITS+1;
++  p = MPFR_PREC (b);
++  n = MPFR_PREC2LIMBS (p);
+ 
+   /* Fast cmp of |b| and |c|*/
+   bx = MPFR_GET_EXP (b);
+diff -Naurd mpfr-3.1.0-a/src/urandomb.c mpfr-3.1.0-b/src/urandomb.c
+--- mpfr-3.1.0-a/src/urandomb.c	2011-10-03 08:17:09.000000000 +0000
++++ mpfr-3.1.0-b/src/urandomb.c	2012-03-08 15:17:03.000000000 +0000
+@@ -31,13 +31,20 @@
+    a sufficient number of limbs */
+ void
+ mpfr_rand_raw (mpfr_limb_ptr mp, gmp_randstate_t rstate,
+-               unsigned long int nbits)
++               mpfr_prec_t nbits)
+ {
+   mpz_t z;
+ 
++  MPFR_ASSERTN (nbits >= 1);
+   /* To be sure to avoid the potential allocation of mpz_urandomb */
+-  ALLOC(z) = SIZ(z) = ((nbits - 1) / GMP_NUMB_BITS) + 1;
++  ALLOC(z) = SIZ(z) = MPFR_PREC2LIMBS (nbits);
+   PTR(z)   = mp;
++#if __MPFR_GMP(5,0,0)
++  /* Check for integer overflow (unless mp_bitcnt_t is signed,
++     but according to the GMP manual, this shouldn't happen).
++     Note: mp_bitcnt_t has been introduced in GMP 5.0.0. */
++  MPFR_ASSERTN ((mp_bitcnt_t) -1 < 0 || nbits <= (mp_bitcnt_t) -1);
++#endif
+   mpz_urandomb (z, rstate, nbits);
+ }
+ 
+diff -Naurd mpfr-3.1.0-a/src/version.c mpfr-3.1.0-b/src/version.c
+--- mpfr-3.1.0-a/src/version.c	2012-02-24 13:50:05.000000000 +0000
++++ mpfr-3.1.0-b/src/version.c	2012-03-08 15:17:03.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.1.0-p6";
++  return "3.1.0-p7";
+ }
+diff -Naurd mpfr-3.1.0-a/tests/tinits.c mpfr-3.1.0-b/tests/tinits.c
+--- mpfr-3.1.0-a/tests/tinits.c	2011-10-03 08:17:14.000000000 +0000
++++ mpfr-3.1.0-b/tests/tinits.c	2012-03-08 15:17:03.000000000 +0000
+@@ -1,4 +1,4 @@
+-/* Test file for mpfr_inits, mpfr_inits2 and mpfr_clears.
++/* Test file for mpfr_init2, mpfr_inits, mpfr_inits2 and mpfr_clears.
+ 
+ Copyright 2003, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+ Contributed by the Arenaire and Caramel projects, INRIA.
+@@ -20,18 +20,43 @@
+ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
+ 
++#include <stdlib.h>
++
+ #include "mpfr-test.h"
+ 
+ int
+ main (void)
+ {
+   mpfr_t a, b, c;
++  long large_prec;
+ 
+   tests_start_mpfr ();
++
+   mpfr_inits (a, b, c, (mpfr_ptr) 0);
+   mpfr_clears (a, b, c, (mpfr_ptr) 0);
+   mpfr_inits2 (200, a, b, c, (mpfr_ptr) 0);
+   mpfr_clears (a, b, c, (mpfr_ptr) 0);
++
++  /* test for precision 2^31-1, see
++     https://gforge.inria.fr/tracker/index.php?func=detail&aid=13918 */
++  large_prec = 2147483647;
++  if (getenv ("MPFR_CHECK_LARGEMEM") != NULL)
++    {
++      /* We assume that the precision won't be increased internally. */
++      if (large_prec > MPFR_PREC_MAX)
++        large_prec = MPFR_PREC_MAX;
++      mpfr_inits2 (large_prec, a, b, (mpfr_ptr) 0);
++      mpfr_set_ui (a, 17, MPFR_RNDN);
++      mpfr_set (b, a, MPFR_RNDN);
++      if (mpfr_get_ui (a, MPFR_RNDN) != 17)
++        {
++          printf ("Error in mpfr_init2 with precision 2^31-1\n");
++          exit (1);
++        }
++      mpfr_clears (a, b, (mpfr_ptr) 0);
++    }
++
+   tests_end_mpfr ();
++
+   return 0;
+ }

diff --git a/dev-libs/mpfr/files/3.1.1/patch01 b/dev-libs/mpfr/files/3.1.1/patch01
new file mode 100644
index 0000000..d73a3d7
--- /dev/null
+++ b/dev-libs/mpfr/files/3.1.1/patch01
@@ -0,0 +1,235 @@
+diff -Naurd mpfr-3.1.1-a/PATCHES mpfr-3.1.1-b/PATCHES
+--- mpfr-3.1.1-a/PATCHES	2012-08-30 09:28:51.000000000 +0000
++++ mpfr-3.1.1-b/PATCHES	2012-08-30 09:28:51.000000000 +0000
+@@ -0,0 +1 @@
++get_decimal64
+diff -Naurd mpfr-3.1.1-a/VERSION mpfr-3.1.1-b/VERSION
+--- mpfr-3.1.1-a/VERSION	2012-07-03 15:01:13.000000000 +0000
++++ mpfr-3.1.1-b/VERSION	2012-08-30 09:28:51.000000000 +0000
+@@ -1 +1 @@
+-3.1.1
++3.1.1-p1
+diff -Naurd mpfr-3.1.1-a/src/get_d64.c mpfr-3.1.1-b/src/get_d64.c
+--- mpfr-3.1.1-a/src/get_d64.c	2012-07-03 15:01:18.000000000 +0000
++++ mpfr-3.1.1-b/src/get_d64.c	2012-08-30 09:28:51.000000000 +0000
+@@ -32,6 +32,10 @@
+ 
+ #ifdef MPFR_WANT_DECIMAL_FLOATS
+ 
++#ifndef DEC64_MAX
++# define DEC64_MAX 9.999999999999999E384dd
++#endif
++
+ #ifdef DPD_FORMAT
+ static int T[1000] = {
+   0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 32,
+@@ -142,26 +146,14 @@
+ static _Decimal64
+ get_decimal64_min (int negative)
+ {
+-  union ieee_double_extract x;
+-
+-  x.s.sig = (negative) ? 1 : 0;
+-  x.s.exp = 0;
+-  x.s.manh = 0;
+-  x.s.manl = 1;
+-  return x.d;
++  return negative ? - 1E-398dd : 1E-398dd;
+ }
+ 
+ /* construct the decimal64 largest finite number with given sign */
+ static _Decimal64
+ get_decimal64_max (int negative)
+ {
+-  union ieee_double_extract x;
+-
+-  x.s.sig = (negative) ? 1 : 0;
+-  x.s.exp = 1919;
+-  x.s.manh = 1048575; /* 2^20-1 */
+-  x.s.manl = ~0;
+-  return x.d;
++  return negative ? - DEC64_MAX : DEC64_MAX;
+ }
+ 
+ /* one-to-one conversion:
+@@ -334,7 +326,8 @@
+   /* the largest decimal64 number is just below 10^(385) < 2^1279 */
+   else if (MPFR_UNLIKELY (e > 1279)) /* then src >= 2^1279 */
+     {
+-      if (MPFR_RNDZ || (rnd_mode == MPFR_RNDU && negative != 0)
++      if (rnd_mode == MPFR_RNDZ
++          || (rnd_mode == MPFR_RNDU && negative != 0)
+           || (rnd_mode == MPFR_RNDD && negative == 0))
+         return get_decimal64_max (negative);
+       else
+@@ -354,6 +347,15 @@
+              which corresponds to s=[0.]1000...000 and e=-397 */
+           if (e < -397)
+             {
++              if (rnd_mode == MPFR_RNDN && e == -398)
++                {
++                  /* If 0.5E-398 < |src| < 1E-398 (smallest subnormal),
++                     src should round to +/- 1E-398 in MPFR_RNDN. */
++                  mpfr_get_str (s, &e, 10, 1, src, MPFR_RNDA);
++                  return e == -398 && s[negative] <= '5' ?
++                    get_decimal64_zero (negative) :
++                    get_decimal64_min (negative);
++                }
+               if (rnd_mode == MPFR_RNDZ || rnd_mode == MPFR_RNDN
+                   || (rnd_mode == MPFR_RNDD && negative == 0)
+                   || (rnd_mode == MPFR_RNDU && negative != 0))
+@@ -379,7 +381,8 @@
+          which corresponds to s=[0.]9999...999 and e=385 */
+       else if (e > 385)
+         {
+-          if (MPFR_RNDZ || (rnd_mode == MPFR_RNDU && negative != 0)
++          if (rnd_mode == MPFR_RNDZ
++              || (rnd_mode == MPFR_RNDU && negative != 0)
+               || (rnd_mode == MPFR_RNDD && negative == 0))
+             return get_decimal64_max (negative);
+           else
+diff -Naurd mpfr-3.1.1-a/src/mpfr.h mpfr-3.1.1-b/src/mpfr.h
+--- mpfr-3.1.1-a/src/mpfr.h	2012-07-03 15:01:19.000000000 +0000
++++ mpfr-3.1.1-b/src/mpfr.h	2012-08-30 09:28:51.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 1
+ #define MPFR_VERSION_PATCHLEVEL 1
+-#define MPFR_VERSION_STRING "3.1.1"
++#define MPFR_VERSION_STRING "3.1.1-p1"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.1.1-a/src/version.c mpfr-3.1.1-b/src/version.c
+--- mpfr-3.1.1-a/src/version.c	2012-07-03 15:01:18.000000000 +0000
++++ mpfr-3.1.1-b/src/version.c	2012-08-30 09:28:51.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.1.1";
++  return "3.1.1-p1";
+ }
+diff -Naurd mpfr-3.1.1-a/tests/tget_set_d64.c mpfr-3.1.1-b/tests/tget_set_d64.c
+--- mpfr-3.1.1-a/tests/tget_set_d64.c	2012-07-03 15:01:24.000000000 +0000
++++ mpfr-3.1.1-b/tests/tget_set_d64.c	2012-08-30 09:28:51.000000000 +0000
+@@ -25,6 +25,10 @@
+ #include <stdlib.h> /* for exit */
+ #include "mpfr-test.h"
+ 
++#ifndef DEC64_MAX
++# define DEC64_MAX 9.999999999999999E384dd
++#endif
++
+ /* #define DEBUG */
+ 
+ static void
+@@ -149,6 +153,15 @@
+   mpfr_set_str (x, "9.999999999999999E384", 10, MPFR_RNDZ);
+   mpfr_set (y, x, MPFR_RNDZ);
+   d = mpfr_get_decimal64 (x, MPFR_RNDU);
++  ASSERT_ALWAYS (d == DEC64_MAX);
++  mpfr_set_ui (x, 0, MPFR_RNDZ);
++  mpfr_set_decimal64 (x, d, MPFR_RNDZ);
++  ASSERT_ALWAYS (mpfr_cmp (x, y) == 0);
++
++  mpfr_set_str (x, "-9.999999999999999E384", 10, MPFR_RNDZ);
++  mpfr_set (y, x, MPFR_RNDZ);
++  d = mpfr_get_decimal64 (x, MPFR_RNDA);
++  ASSERT_ALWAYS (d == -DEC64_MAX);
+   mpfr_set_ui (x, 0, MPFR_RNDZ);
+   mpfr_set_decimal64 (x, d, MPFR_RNDZ);
+   ASSERT_ALWAYS (mpfr_cmp (x, y) == 0);
+@@ -225,6 +238,83 @@
+   mpfr_clear (x);
+ }
+ 
++static void
++check_overflow (void)
++{
++  mpfr_t x;
++  int err = 0, neg, rnd;
++
++  mpfr_init2 (x, 96);
++  for (neg = 0; neg < 2; neg++)
++    RND_LOOP (rnd)
++      {
++        _Decimal64 d, e;
++        mpfr_rnd_t r = (mpfr_rnd_t) rnd;
++        int sign = neg ? -1 : 1;
++
++        e = sign * (MPFR_IS_LIKE_RNDZ (r, neg) ? 1 : 2) * DEC64_MAX;
++        /* This tests the binary exponent e > 1279 case of get_d64.c */
++        mpfr_set_si_2exp (x, sign, 9999, MPFR_RNDN);
++        d = mpfr_get_decimal64 (x, r);
++        if (d != e)
++          {
++            printf ("Error 1 in check_overflow for %s, %s\n",
++                    neg ? "negative" : "positive",
++                    mpfr_print_rnd_mode (r));
++            err = 1;
++          }
++        /* This tests the decimal exponent e > 385 case of get_d64.c */
++        mpfr_set_si_2exp (x, sign * 31, 1274, MPFR_RNDN);
++        d = mpfr_get_decimal64 (x, r);
++        if (d != e)
++          {
++            printf ("Error 2 in check_overflow for %s, %s\n",
++                    neg ? "negative" : "positive",
++                    mpfr_print_rnd_mode (r));
++            err = 1;
++          }
++        /* This tests the last else (-382 <= e <= 385) of get_d64.c */
++        mpfr_set_decimal64 (x, e, MPFR_RNDA);
++        d = mpfr_get_decimal64 (x, r);
++        if (d != e)
++          {
++            printf ("Error 3 in check_overflow for %s, %s\n",
++                    neg ? "negative" : "positive",
++                    mpfr_print_rnd_mode (r));
++            err = 1;
++          }
++      }
++  mpfr_clear (x);
++  if (err)
++    exit (1);
++}
++
++static void
++check_tiny (void)
++{
++  mpfr_t x;
++  _Decimal64 d;
++
++  /* If 0.5E-398 < |x| < 1E-398 (smallest subnormal), x should round
++     to +/- 1E-398 in MPFR_RNDN. Note: the midpoint 0.5E-398 between
++     0 and 1E-398 is not a representable binary number, so that there
++     are no tests for it. */
++  mpfr_init2 (x, 128);
++  mpfr_set_str (x, "1E-398", 10, MPFR_RNDZ);
++  d = mpfr_get_decimal64 (x, MPFR_RNDN);
++  MPFR_ASSERTN (d == 1.0E-398dd);
++  mpfr_neg (x, x, MPFR_RNDN);
++  d = mpfr_get_decimal64 (x, MPFR_RNDN);
++  MPFR_ASSERTN (d == -1.0E-398dd);
++  mpfr_set_str (x, "0.5E-398", 10, MPFR_RNDU);
++  d = mpfr_get_decimal64 (x, MPFR_RNDN);
++  MPFR_ASSERTN (d == 1.0E-398dd);
++  mpfr_neg (x, x, MPFR_RNDN);
++  d = mpfr_get_decimal64 (x, MPFR_RNDN);
++  MPFR_ASSERTN (d == -1.0E-398dd);
++  mpfr_clear (x);
++}
++
+ int
+ main (void)
+ {
+@@ -241,6 +331,8 @@
+   check_inf_nan ();
+   check_random ();
+   check_native ();
++  check_overflow ();
++  check_tiny ();
+ 
+   tests_end_mpfr ();
+   return 0;

diff --git a/dev-libs/mpfr/files/3.1.1/patch02 b/dev-libs/mpfr/files/3.1.1/patch02
new file mode 100644
index 0000000..76dbc45
--- /dev/null
+++ b/dev-libs/mpfr/files/3.1.1/patch02
@@ -0,0 +1,170 @@
+diff -Naurd mpfr-3.1.1-a/PATCHES mpfr-3.1.1-b/PATCHES
+--- mpfr-3.1.1-a/PATCHES	2012-08-30 09:35:12.000000000 +0000
++++ mpfr-3.1.1-b/PATCHES	2012-08-30 09:35:12.000000000 +0000
+@@ -0,0 +1 @@
++strtofr-ternary-value
+diff -Naurd mpfr-3.1.1-a/VERSION mpfr-3.1.1-b/VERSION
+--- mpfr-3.1.1-a/VERSION	2012-08-30 09:28:51.000000000 +0000
++++ mpfr-3.1.1-b/VERSION	2012-08-30 09:35:12.000000000 +0000
+@@ -1 +1 @@
+-3.1.1-p1
++3.1.1-p2
+diff -Naurd mpfr-3.1.1-a/src/mpfr.h mpfr-3.1.1-b/src/mpfr.h
+--- mpfr-3.1.1-a/src/mpfr.h	2012-08-30 09:28:51.000000000 +0000
++++ mpfr-3.1.1-b/src/mpfr.h	2012-08-30 09:35:12.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 1
+ #define MPFR_VERSION_PATCHLEVEL 1
+-#define MPFR_VERSION_STRING "3.1.1-p1"
++#define MPFR_VERSION_STRING "3.1.1-p2"
+ 
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.1.1-a/src/strtofr.c mpfr-3.1.1-b/src/strtofr.c
+--- mpfr-3.1.1-a/src/strtofr.c	2012-07-03 15:01:16.000000000 +0000
++++ mpfr-3.1.1-b/src/strtofr.c	2012-08-30 09:35:12.000000000 +0000
+@@ -667,6 +667,20 @@
+           /* (z, exp_z) = base^(exp_base-pstr_size) */
+           z = result + 2*ysize + 1;
+           err = mpfr_mpn_exp (z, &exp_z, pstr->base, exp_z, ysize);
++          /* Since we want y/z rounded toward zero, we must get an upper
++             bound of z. If err >= 0, the error on z is bounded by 2^err. */
++          if (err >= 0)
++            {
++              mp_limb_t cy;
++              unsigned long h = err / GMP_NUMB_BITS;
++              unsigned long l = err - h * GMP_NUMB_BITS;
++
++              if (h >= ysize) /* not enough precision in z */
++                goto next_loop;
++              cy = mpn_add_1 (z, z, ysize - h, MPFR_LIMB_ONE << l);
++              if (cy != 0) /* the code below requires z on ysize limbs */
++                goto next_loop;
++            }
+           exact = exact && (err == -1);
+           if (err == -2)
+             goto underflow; /* FIXME: Sure? */
+@@ -730,6 +744,7 @@
+                                        MPFR_RNDN, rnd, MPFR_PREC(x)))
+         break;
+ 
++    next_loop:
+       /* update the prec for next loop */
+       MPFR_ZIV_NEXT (loop, prec);
+     } /* loop */
+diff -Naurd mpfr-3.1.1-a/src/version.c mpfr-3.1.1-b/src/version.c
+--- mpfr-3.1.1-a/src/version.c	2012-08-30 09:28:51.000000000 +0000
++++ mpfr-3.1.1-b/src/version.c	2012-08-30 09:35:12.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+-  return "3.1.1-p1";
++  return "3.1.1-p2";
+ }
+diff -Naurd mpfr-3.1.1-a/tests/tstrtofr.c mpfr-3.1.1-b/tests/tstrtofr.c
+--- mpfr-3.1.1-a/tests/tstrtofr.c	2012-07-03 15:01:24.000000000 +0000
++++ mpfr-3.1.1-b/tests/tstrtofr.c	2012-08-30 09:35:12.000000000 +0000
+@@ -1105,6 +1105,92 @@
+   mpfr_clear (y);
+ }
+ 
++/* From a bug reported by Joseph S. Myers
++   https://sympa.inria.fr/sympa/arc/mpfr/2012-08/msg00005.html */
++static void
++bug20120814 (void)
++{
++  mpfr_exp_t emin = -30, e;
++  mpfr_t x, y;
++  int r;
++  char s[64], *p;
++
++  mpfr_init2 (x, 2);
++  mpfr_set_ui_2exp (x, 3, emin - 2, MPFR_RNDN);
++  mpfr_get_str (s + 1, &e, 10, 19, x, MPFR_RNDD);
++  s[0] = s[1];
++  s[1] = '.';
++  for (p = s; *p != 0; p++) ;
++  *p = 'e';
++  sprintf (p + 1, "%d", (int) e - 1);
++
++  mpfr_init2 (y, 4);
++  r = mpfr_strtofr (y, s, NULL, 0, MPFR_RNDN);
++  if (r <= 0 || ! mpfr_equal_p (x, y))
++    {
++      printf ("Error in bug20120814\n");
++      printf ("mpfr_strtofr failed on string \"%s\"\n", s);
++      printf ("Expected inex > 0 and y = 0.1100E%d\n", (int) emin);
++      printf ("Got inex = %-6d and y = ", r);
++      mpfr_dump (y);
++      exit (1);
++    }
++
++  mpfr_clear (x);
++  mpfr_clear (y);
++}
++
++static void
++bug20120829 (void)
++{
++  mpfr_t x1, x2, e;
++  int inex1, inex2, i, r;
++  char s[48] = "1e-1";
++
++  mpfr_init2 (e, 128);
++  mpfr_inits2 (4, x1, x2, (mpfr_ptr) 0);
++
++  inex1 = mpfr_set_si (e, -1, MPFR_RNDN);
++  MPFR_ASSERTN (inex1 == 0);
++
++  for (i = 1; i <= sizeof(s) - 5; i++)
++    {
++      s[3+i] = '0';
++      s[4+i] = 0;
++      inex1 = mpfr_mul_ui (e, e, 10, MPFR_RNDN);
++      MPFR_ASSERTN (inex1 == 0);
++      RND_LOOP(r)
++        {
++          mpfr_rnd_t rnd = (mpfr_rnd_t) r;
++
++          inex1 = mpfr_exp10 (x1, e, rnd);
++          inex1 = SIGN (inex1);
++          inex2 = mpfr_strtofr (x2, s, NULL, 0, rnd);
++          inex2 = SIGN (inex2);
++          /* On 32-bit machines, for i = 7, r8389, r8391 and r8394 do:
++             strtofr.c:...: MPFR assertion failed: cy == 0
++             r8396 is OK.
++             On 64-bit machines, for i = 15,
++             r8389 does: strtofr.c:678: MPFR assertion failed: err < (64 - 0)
++             r8391 does: strtofr.c:680: MPFR assertion failed: h < ysize
++             r8394 and r8396 are OK.
++          */
++          if (! mpfr_equal_p (x1, x2) || inex1 != inex2)
++            {
++              printf ("Error in bug20120829 for i = %d, rnd = %s\n",
++                      i, mpfr_print_rnd_mode (rnd));
++              printf ("Expected inex = %d, x = ", inex1);
++              mpfr_dump (x1);
++              printf ("Got      inex = %d, x = ", inex2);
++              mpfr_dump (x2);
++              exit (1);
++            }
++        }
++    }
++
++  mpfr_clears (e, x1, x2, (mpfr_ptr) 0);
++}
++
+ int
+ main (int argc, char *argv[])
+ {
+@@ -1117,6 +1203,8 @@
+   check_retval ();
+   bug20081028 ();
+   test20100310 ();
++  bug20120814 ();
++  bug20120829 ();
+ 
+   tests_end_mpfr ();
+   return 0;

diff --git a/net-analyzer/ssldump/metadata.xml b/dev-libs/mpfr/metadata.xml
similarity index 56%
copy from net-analyzer/ssldump/metadata.xml
copy to dev-libs/mpfr/metadata.xml
index 7e6df48..fb4199e 100644
--- a/net-analyzer/ssldump/metadata.xml
+++ b/dev-libs/mpfr/metadata.xml
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>netmon</herd>
-<longdescription>A Tool for network monitoring and data acquisition</longdescription>
+<herd>toolchain</herd>
 </pkgmetadata>

diff --git a/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild b/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild
new file mode 100644
index 0000000..8043186
--- /dev/null
+++ b/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild,v 1.3 2013/08/25 02:37:43 vapier Exp $
+
+# this ebuild is only for the libmpfr.so.1 ABI SONAME
+
+EAPI="3"
+
+inherit eutils libtool
+
+MY_PV=${PV/_p*}
+MY_P=${PN}-${MY_PV}
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
+HOMEPAGE="http://www.mpfr.org/"
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=">=dev-libs/gmp-4.1.4-r2"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+	epatch "${FILESDIR}"/${MY_PV}/patch*
+	sed -i '/if test/s:==:=:' configure #261016
+	find . -type f -exec touch -r configure {} +
+	elibtoolize
+}
+
+src_configure() {
+	econf --disable-static
+}
+
+src_compile() {
+	emake libmpfr.la || die
+}
+
+src_install() {
+	emake install-libLTLIBRARIES DESTDIR="${D}" || die
+	rm "${ED}"/usr/*/libmpfr.{la,so,dylib,a} || die
+}

diff --git a/dev-libs/mpfr/mpfr-2.4.2_p3.ebuild b/dev-libs/mpfr/mpfr-2.4.2_p3.ebuild
new file mode 100644
index 0000000..c7b45c5
--- /dev/null
+++ b/dev-libs/mpfr/mpfr-2.4.2_p3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-2.4.2_p3.ebuild,v 1.10 2012/04/19 02:35:54 vapier Exp $
+
+# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
+inherit eutils
+
+MY_PV=${PV/_p*}
+MY_P=${PN}-${MY_PV}
+PLEVEL=${PV/*p}
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
+HOMEPAGE="http://www.mpfr.org/"
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-libs/gmp-4.1.4-r2"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+	unpack ${A}
+	cd "${S}"
+	[[ ${PLEVEL} == ${PV} ]] && return 0
+	for ((i=1; i<=PLEVEL; ++i)) ; do
+		patch=patch$(printf '%02d' ${i})
+		if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then
+			epatch "${FILESDIR}"/${MY_PV}/${patch}
+		elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then
+			epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i}
+		else
+			ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}"
+			die "patch ${i} missing - please report to bugs.gentoo.org"
+		fi
+	done
+	sed -i '/if test/s:==:=:' configure #261016
+	find . -type f -print0 | xargs -0 touch -r configure
+}
+
+src_install() {
+	emake install DESTDIR="${D}" || die
+	rm "${D}"/usr/share/doc/${PN}/*.html || die
+	mv "${D}"/usr/share/doc/{${PN},${PF}} || die
+	dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+	dohtml *.html
+	prepalldocs
+}

diff --git a/dev-libs/mpfr/mpfr-3.0.0_p3.ebuild b/dev-libs/mpfr/mpfr-3.0.0_p3.ebuild
new file mode 100644
index 0000000..661e9ce
--- /dev/null
+++ b/dev-libs/mpfr/mpfr-3.0.0_p3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.0.0_p3.ebuild,v 1.13 2012/06/06 03:41:44 zmedico Exp $
+
+# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
+inherit eutils multilib
+
+MY_PV=${PV/_p*}
+MY_P=${PN}-${MY_PV}
+PLEVEL=${PV/*p}
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
+HOMEPAGE="http://www.mpfr.org/"
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-libs/gmp-4.1.4-r2"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+	unpack ${A}
+	cd "${S}"
+	[[ ${PLEVEL} == ${PV} ]] && return 0
+	for ((i=1; i<=PLEVEL; ++i)) ; do
+		patch=patch$(printf '%02d' ${i})
+		if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then
+			epatch "${FILESDIR}"/${MY_PV}/${patch}
+		elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then
+			epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i}
+		else
+			ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}"
+			die "patch ${i} missing - please report to bugs.gentoo.org"
+		fi
+	done
+	sed -i '/if test/s:==:=:' configure #261016
+	find . -type f -print0 | xargs -0 touch -r configure
+}
+
+src_install() {
+	emake install DESTDIR="${D}" || die
+	rm "${D}"/usr/share/doc/${PN}/*.html || die
+	mv "${D}"/usr/share/doc/{${PN},${PF}} || die
+	dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+	dohtml *.html
+	prepalldocs
+}
+
+pkg_preinst() {
+	preserve_old_lib /usr/$(get_libdir)/libmpfr.so.1
+}
+
+pkg_postinst() {
+	preserve_old_lib_notify /usr/$(get_libdir)/libmpfr.so.1
+}

diff --git a/dev-libs/mpfr/mpfr-3.0.1.ebuild b/dev-libs/mpfr/mpfr-3.0.1.ebuild
new file mode 100644
index 0000000..588e09f
--- /dev/null
+++ b/dev-libs/mpfr/mpfr-3.0.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.0.1.ebuild,v 1.4 2012/06/06 03:41:44 zmedico Exp $
+
+# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
+inherit eutils multilib
+
+MY_PV=${PV/_p*}
+MY_P=${PN}-${MY_PV}
+PLEVEL=${PV/*p}
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
+HOMEPAGE="http://www.mpfr.org/"
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-libs/gmp-4.1.4-r2"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+	unpack ${A}
+	cd "${S}"
+	[[ ${PLEVEL} == ${PV} ]] && return 0
+	for ((i=1; i<=PLEVEL; ++i)) ; do
+		patch=patch$(printf '%02d' ${i})
+		if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then
+			epatch "${FILESDIR}"/${MY_PV}/${patch}
+		elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then
+			epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i}
+		else
+			ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}"
+			die "patch ${i} missing - please report to bugs.gentoo.org"
+		fi
+	done
+	sed -i '/if test/s:==:=:' configure #261016
+	find . -type f -print0 | xargs -0 touch -r configure
+}
+
+src_install() {
+	emake install DESTDIR="${D}" || die
+	rm "${D}"/usr/share/doc/${PN}/*.html || die
+	mv "${D}"/usr/share/doc/{${PN},${PF}} || die
+	dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+	dohtml *.html
+	prepalldocs
+}
+
+pkg_preinst() {
+	preserve_old_lib /usr/$(get_libdir)/libmpfr.so.1
+}
+
+pkg_postinst() {
+	preserve_old_lib_notify /usr/$(get_libdir)/libmpfr.so.1
+}

diff --git a/dev-libs/mpfr/mpfr-3.0.1_p4-r1.ebuild b/dev-libs/mpfr/mpfr-3.0.1_p4-r1.ebuild
new file mode 100644
index 0000000..6569009
--- /dev/null
+++ b/dev-libs/mpfr/mpfr-3.0.1_p4-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.0.1_p4-r1.ebuild,v 1.4 2012/04/26 14:02:23 aballier Exp $
+
+EAPI="3"
+
+# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
+inherit eutils multilib
+
+MY_PV=${PV/_p*}
+MY_P=${PN}-${MY_PV}
+PLEVEL=${PV/*p}
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
+HOMEPAGE="http://www.mpfr.org/"
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/gmp-4.1.4-r2[static-libs?]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+	[[ ${PLEVEL} == ${PV} ]] && return 0
+	for ((i=1; i<=PLEVEL; ++i)) ; do
+		patch=patch$(printf '%02d' ${i})
+		if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then
+			epatch "${FILESDIR}"/${MY_PV}/${patch}
+		elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then
+			epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i}
+		else
+			ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}"
+			die "patch ${i} missing - please report to bugs.gentoo.org"
+		fi
+	done
+	sed -i '/if test/s:==:=:' configure #261016
+	find . -type f -print0 | xargs -0 touch -r configure
+}
+
+src_configure() {
+	econf $(use_enable static-libs static)
+}
+
+src_install() {
+	emake install DESTDIR="${D}" || die
+	use static-libs || rm -f "${D}"/usr/$(get_libdir)/libmpfr.la
+	rm "${D}"/usr/share/doc/${PN}/*.html || die
+	mv "${D}"/usr/share/doc/{${PN},${PF}} || die
+	dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+	dohtml *.html
+	prepalldocs
+}
+
+pkg_preinst() {
+	preserve_old_lib /usr/$(get_libdir)/libmpfr.so.1
+}
+
+pkg_postinst() {
+	preserve_old_lib_notify /usr/$(get_libdir)/libmpfr.so.1
+}

diff --git a/dev-libs/mpfr/mpfr-3.0.1_p4.ebuild b/dev-libs/mpfr/mpfr-3.0.1_p4.ebuild
new file mode 100644
index 0000000..1f5eb57
--- /dev/null
+++ b/dev-libs/mpfr/mpfr-3.0.1_p4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.0.1_p4.ebuild,v 1.8 2012/06/06 03:41:44 zmedico Exp $
+
+# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
+inherit eutils multilib
+
+MY_PV=${PV/_p*}
+MY_P=${PN}-${MY_PV}
+PLEVEL=${PV/*p}
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
+HOMEPAGE="http://www.mpfr.org/"
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-libs/gmp-4.1.4-r2"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+	unpack ${A}
+	cd "${S}"
+	[[ ${PLEVEL} == ${PV} ]] && return 0
+	for ((i=1; i<=PLEVEL; ++i)) ; do
+		patch=patch$(printf '%02d' ${i})
+		if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then
+			epatch "${FILESDIR}"/${MY_PV}/${patch}
+		elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then
+			epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i}
+		else
+			ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}"
+			die "patch ${i} missing - please report to bugs.gentoo.org"
+		fi
+	done
+	sed -i '/if test/s:==:=:' configure #261016
+	find . -type f -print0 | xargs -0 touch -r configure
+}
+
+src_install() {
+	emake install DESTDIR="${D}" || die
+	rm "${D}"/usr/share/doc/${PN}/*.html || die
+	mv "${D}"/usr/share/doc/{${PN},${PF}} || die
+	dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+	dohtml *.html
+	prepalldocs
+}
+
+pkg_preinst() {
+	preserve_old_lib /usr/$(get_libdir)/libmpfr.so.1
+}
+
+pkg_postinst() {
+	preserve_old_lib_notify /usr/$(get_libdir)/libmpfr.so.1
+}

diff --git a/dev-libs/mpfr/mpfr-3.1.0.ebuild b/dev-libs/mpfr/mpfr-3.1.0.ebuild
new file mode 100644
index 0000000..4b776fb
--- /dev/null
+++ b/dev-libs/mpfr/mpfr-3.1.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.1.0.ebuild,v 1.4 2012/04/19 02:35:54 vapier Exp $
+
+EAPI="3"
+
+# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
+inherit eutils multilib
+
+MY_PV=${PV/_p*}
+MY_P=${PN}-${MY_PV}
+PLEVEL=${PV/*p}
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
+HOMEPAGE="http://www.mpfr.org/"
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -sparc-fbsd -x86-fbsd"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/gmp-4.1.4-r2[static-libs?]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+	[[ ${PLEVEL} == ${PV} ]] && return 0
+	for ((i=1; i<=PLEVEL; ++i)) ; do
+		patch=patch$(printf '%02d' ${i})
+		if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then
+			epatch "${FILESDIR}"/${MY_PV}/${patch}
+		elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then
+			epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i}
+		else
+			ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}"
+			die "patch ${i} missing - please report to bugs.gentoo.org"
+		fi
+	done
+	sed -i '/if test/s:==:=:' configure #261016
+	find . -type f -print0 | xargs -0 touch -r configure
+}
+
+src_configure() {
+	econf \
+		--docdir=/usr/share/doc/${PF} \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	emake install DESTDIR="${D}" || die
+	use static-libs || rm -f "${D}"/usr/$(get_libdir)/libmpfr.la
+
+	# clean up html/license install
+	pushd "${D}"/usr/share/doc/${PF} >/dev/null
+	dohtml *.html && rm COPYING* *.html || die
+	popd >/dev/null
+	# some, but not all, are already installed
+	dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+	prepalldocs
+}
+
+pkg_preinst() {
+	preserve_old_lib /usr/$(get_libdir)/libmpfr.so.1
+}
+
+pkg_postinst() {
+	preserve_old_lib_notify /usr/$(get_libdir)/libmpfr.so.1
+}

diff --git a/dev-libs/mpfr/mpfr-3.1.0_p7.ebuild b/dev-libs/mpfr/mpfr-3.1.0_p7.ebuild
new file mode 100644
index 0000000..be98819
--- /dev/null
+++ b/dev-libs/mpfr/mpfr-3.1.0_p7.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.1.0_p7.ebuild,v 1.3 2012/05/07 13:07:36 aballier Exp $
+
+EAPI="3"
+
+# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
+inherit eutils multilib
+
+MY_PV=${PV/_p*}
+MY_P=${PN}-${MY_PV}
+PLEVEL=${PV/*p}
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
+HOMEPAGE="http://www.mpfr.org/"
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/gmp-4.1.4-r2[static-libs?]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+	[[ ${PLEVEL} == ${PV} ]] && return 0
+	for ((i=1; i<=PLEVEL; ++i)) ; do
+		patch=patch$(printf '%02d' ${i})
+		if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then
+			epatch "${FILESDIR}"/${MY_PV}/${patch}
+		elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then
+			epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i}
+		else
+			ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}"
+			die "patch ${i} missing - please report to bugs.gentoo.org"
+		fi
+	done
+	sed -i '/if test/s:==:=:' configure #261016
+	find . -type f -print0 | xargs -0 touch -r configure
+}
+
+src_configure() {
+	econf \
+		--docdir=/usr/share/doc/${PF} \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	emake install DESTDIR="${D}" || die
+	use static-libs || rm -f "${D}"/usr/$(get_libdir)/libmpfr.la
+
+	# clean up html/license install
+	pushd "${D}"/usr/share/doc/${PF} >/dev/null
+	dohtml *.html && rm COPYING* *.html || die
+	popd >/dev/null
+	# some, but not all, are already installed
+	dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+	prepalldocs
+}
+
+pkg_preinst() {
+	preserve_old_lib /usr/$(get_libdir)/libmpfr.so.1
+}
+
+pkg_postinst() {
+	preserve_old_lib_notify /usr/$(get_libdir)/libmpfr.so.1
+}

diff --git a/dev-libs/mpfr/mpfr-3.1.1.ebuild b/dev-libs/mpfr/mpfr-3.1.1.ebuild
new file mode 100644
index 0000000..0da8618
--- /dev/null
+++ b/dev-libs/mpfr/mpfr-3.1.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.1.1.ebuild,v 1.11 2013/01/01 19:28:27 armin76 Exp $
+
+EAPI="3"
+
+# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
+inherit eutils multilib
+
+MY_PV=${PV/_p*}
+MY_P=${PN}-${MY_PV}
+PLEVEL=${PV/*p}
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
+HOMEPAGE="http://www.mpfr.org/"
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/gmp-4.1.4-r2[static-libs?]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+	[[ ${PLEVEL} == ${PV} ]] && return 0
+	for ((i=1; i<=PLEVEL; ++i)) ; do
+		patch=patch$(printf '%02d' ${i})
+		if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then
+			epatch "${FILESDIR}"/${MY_PV}/${patch}
+		elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then
+			epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i}
+		else
+			ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}"
+			die "patch ${i} missing - please report to bugs.gentoo.org"
+		fi
+	done
+	sed -i '/if test/s:==:=:' configure #261016
+	find . -type f -print0 | xargs -0 touch -r configure
+}
+
+src_configure() {
+	econf \
+		--docdir=/usr/share/doc/${PF} \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	emake install DESTDIR="${D}" || die
+	use static-libs || rm -f "${D}"/usr/$(get_libdir)/libmpfr.la
+
+	# clean up html/license install
+	pushd "${D}"/usr/share/doc/${PF} >/dev/null
+	dohtml *.html && rm COPYING* *.html || die
+	popd >/dev/null
+	# some, but not all, are already installed
+	dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+	prepalldocs
+}
+
+pkg_preinst() {
+	preserve_old_lib /usr/$(get_libdir)/libmpfr.so.1
+}
+
+pkg_postinst() {
+	preserve_old_lib_notify /usr/$(get_libdir)/libmpfr.so.1
+}

diff --git a/dev-libs/mpfr/mpfr-3.1.1_p2.ebuild b/dev-libs/mpfr/mpfr-3.1.1_p2.ebuild
new file mode 100644
index 0000000..54064ab
--- /dev/null
+++ b/dev-libs/mpfr/mpfr-3.1.1_p2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.1.1_p2.ebuild,v 1.2 2013/02/27 21:23:26 zmedico Exp $
+
+EAPI="3"
+
+# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
+inherit eutils multilib
+
+MY_PV=${PV/_p*}
+MY_P=${PN}-${MY_PV}
+PLEVEL=${PV/*p}
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
+HOMEPAGE="http://www.mpfr.org/"
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/gmp-4.1.4-r2[static-libs?]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+	[[ ${PLEVEL} == ${PV} ]] && return 0
+	for ((i=1; i<=PLEVEL; ++i)) ; do
+		patch=patch$(printf '%02d' ${i})
+		if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then
+			epatch "${FILESDIR}"/${MY_PV}/${patch}
+		elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then
+			epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i}
+		else
+			ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}"
+			die "patch ${i} missing - please report to bugs.gentoo.org"
+		fi
+	done
+	sed -i '/if test/s:==:=:' configure #261016
+	find . -type f -print0 | xargs -0 touch -r configure
+}
+
+src_configure() {
+	econf \
+		--docdir="${EPREFIX}"/usr/share/doc/${PF} \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	emake install DESTDIR="${D}" || die
+	use static-libs || rm -f "${ED}"/usr/$(get_libdir)/libmpfr.la
+
+	# clean up html/license install
+	pushd "${ED}"/usr/share/doc/${PF} >/dev/null
+	dohtml *.html && rm COPYING* *.html || die
+	popd >/dev/null
+	# some, but not all, are already installed
+	dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+	prepalldocs
+}
+
+pkg_preinst() {
+	preserve_old_lib /usr/$(get_libdir)/libmpfr.so.1
+}
+
+pkg_postinst() {
+	preserve_old_lib_notify /usr/$(get_libdir)/libmpfr.so.1
+}

diff --git a/dev-libs/mpfr/mpfr-3.1.2-r1.ebuild b/dev-libs/mpfr/mpfr-3.1.2-r1.ebuild
new file mode 100644
index 0000000..493b45e
--- /dev/null
+++ b/dev-libs/mpfr/mpfr-3.1.2-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.1.2-r1.ebuild,v 1.1 2013/09/13 18:32:04 grobian Exp $
+
+EAPI="3"
+
+# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
+inherit eutils libtool multilib
+
+MY_PV=${PV/_p*}
+MY_P=${PN}-${MY_PV}
+PLEVEL=${PV/*p}
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
+HOMEPAGE="http://www.mpfr.org/"
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~sparc-fbsd ~x86-fbsd ~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/gmp-4.1.4-r2[static-libs?]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+	if [[ ${PLEVEL} != ${PV} ]] ; then
+		for ((i=1; i<=PLEVEL; ++i)) ; do
+			patch=patch$(printf '%02d' ${i})
+			if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then
+				epatch "${FILESDIR}"/${MY_PV}/${patch}
+			elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then
+				epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i}
+			else
+				ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}"
+				die "patch ${i} missing - please report to bugs.gentoo.org"
+			fi
+		done
+	fi
+	sed -i '/if test/s:==:=:' configure #261016
+	find . -type f -exec touch -r configure {} +
+	elibtoolize
+}
+
+src_configure() {
+	econf \
+		--docdir="${EPREFIX}"/usr/share/doc/${PF} \
+		--with-gmp-lib="${EROOT}"/usr/$(get_libdir) \
+		--with-gmp-include="${EROOT}"/usr/include \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	emake install DESTDIR="${D}" || die
+	use static-libs || rm -f "${ED}"/usr/$(get_libdir)/libmpfr.la
+
+	# clean up html/license install
+	pushd "${ED}"/usr/share/doc/${PF} >/dev/null
+	dohtml *.html && rm COPYING* *.html || die
+	popd >/dev/null
+	# some, but not all, are already installed
+	dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+	prepalldocs
+}
+
+pkg_preinst() {
+	preserve_old_lib /usr/$(get_libdir)/libmpfr$(get_libname 1)
+}
+
+pkg_postinst() {
+	preserve_old_lib_notify /usr/$(get_libdir)/libmpfr$(get_libname 1)
+}

diff --git a/dev-libs/mpfr/mpfr-3.1.2.ebuild b/dev-libs/mpfr/mpfr-3.1.2.ebuild
new file mode 100644
index 0000000..26e3dea
--- /dev/null
+++ b/dev-libs/mpfr/mpfr-3.1.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-3.1.2.ebuild,v 1.4 2013/08/25 02:37:43 vapier Exp $
+
+EAPI="3"
+
+# NOTE: we cannot depend on autotools here starting with gcc-4.3.x
+inherit eutils libtool multilib
+
+MY_PV=${PV/_p*}
+MY_P=${PN}-${MY_PV}
+PLEVEL=${PV/*p}
+DESCRIPTION="library for multiple-precision floating-point computations with exact rounding"
+HOMEPAGE="http://www.mpfr.org/"
+SRC_URI="http://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~sparc-fbsd ~x86-fbsd ~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/gmp-4.1.4-r2[static-libs?]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+	[[ ${PLEVEL} == ${PV} ]] && return 0
+	for ((i=1; i<=PLEVEL; ++i)) ; do
+		patch=patch$(printf '%02d' ${i})
+		if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then
+			epatch "${FILESDIR}"/${MY_PV}/${patch}
+		elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then
+			epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i}
+		else
+			ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}"
+			die "patch ${i} missing - please report to bugs.gentoo.org"
+		fi
+	done
+	sed -i '/if test/s:==:=:' configure #261016
+	find . -type f -exec touch -r configure {} +
+	elibtoolize
+}
+
+src_configure() {
+	econf \
+		--docdir="${EPREFIX}"/usr/share/doc/${PF} \
+		--with-gmp-lib="${EROOT}"usr/$(get_libdir) \
+		--with-gmp-include="${EROOT}"usr/include \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	emake install DESTDIR="${D}" || die
+	use static-libs || rm -f "${ED}"/usr/$(get_libdir)/libmpfr.la
+
+	# clean up html/license install
+	pushd "${ED}"/usr/share/doc/${PF} >/dev/null
+	dohtml *.html && rm COPYING* *.html || die
+	popd >/dev/null
+	# some, but not all, are already installed
+	dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+	prepalldocs
+}
+
+pkg_preinst() {
+	preserve_old_lib /usr/$(get_libdir)/libmpfr$(get_libname 1)
+}
+
+pkg_postinst() {
+	preserve_old_lib_notify /usr/$(get_libdir)/libmpfr$(get_libname 1)
+}

diff --git a/eclass/R-packages.eclass b/eclass/R-packages.eclass
new file mode 100644
index 0000000..8544e70
--- /dev/null
+++ b/eclass/R-packages.eclass
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+EXPORT_FUNCTIONS src_unpack src_prepare src_compile src_install pkg_postinst
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="byte-compile"
+
+DEPEND="dev-lang/R"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+R-packages_src_unpack() {
+	unpack ${A}
+	mv ${PN//_/.} ${P}
+}
+
+R-packages_src_prepare() {
+	cd ${P}
+	epatch_user
+}
+
+R-packages_src_compile() {
+	MAKEFLAGS="CFLAGS=${CFLAGS// /\\ } CXXFLAGS=${CXXFLAGS// /\\ } FFLAGS=${FFLAGS// /\\ } FCFLAGS=${FCFLAGS// /\\ } LDFLAGS=${LDFLAGS// /\\ }" \
+		R CMD INSTALL ${S}/${P} -l . $(use byte-compile && echo "--byte-compile")
+}
+
+R-packages_src_install() {
+	insinto /usr/$(get_libdir)/R/site-library
+	doins -r ${PN//_/.}
+}
+
+R-packages_pkg_postinst() {
+	if [[ "${_UNRESOLVABLE_PACKAGES:-}" ]]; then
+		# _UNRESOLVABLE_PACKAGES is only set if it has more than zero items
+		local _max=${#_UNRESOLVABLE_PACKAGES[*]} i=
+
+		einfo "Dependency(-ies):"
+		for (( i=0; i<${_max}; i++ )); do
+			einfo "- ${_UNRESOLVABLE_PACKAGES[$i]}"
+		done
+		einfo 'are (is) suggested by upstream but could not be found.'
+		einfo 'Please install it manually from the R interpreter if you need it.'
+	fi
+}

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 77fa3e4..55d9890 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1228,6 +1228,10 @@ gcc_do_configure() {
 			# use sysroot of toolchain to get currect include and library at
 			# compile time
 			confgcc+=( --with-sysroot="${EPREFIX}" )
+
+			# when doing cross compiling native for target, the build sysroot
+			# should be pointed to SYSROOT of the cross compiler.
+			tc-is-cross-compiler && confgcc+=( --with-build-sysroot="${ROOT}" )
 		fi
 	fi
 	# __cxa_atexit is "essential for fully standards-compliant handling of

diff --git a/net-analyzer/ssldump/ChangeLog b/net-analyzer/ssldump/ChangeLog
deleted file mode 100644
index 2825a3c..0000000
--- a/net-analyzer/ssldump/ChangeLog
+++ /dev/null
@@ -1,78 +0,0 @@
-# ChangeLog for net-analyzer/ssldump
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ssldump/ChangeLog,v 1.23 2011/12/09 16:15:55 jer Exp $
-
-  09 Dec 2011; Jeroen Roovers <jer@gentoo.org> ssldump-0.9-r1.ebuild:
-  sed must die().
-
-  08 Dec 2011; Jeroen Roovers <jer@gentoo.org> ssldump-0.9-r1.ebuild:
-  Fix broken configure hack looking for libpcap.a by Benjamin Peterson (bug
-  #393645).
-
-  18 Jan 2011; Samuli Suominen <ssuominen@gentoo.org> ssldump-0.9-r1.ebuild:
-  Fix LICENSE from GPL-2 to openssl. Fix econf argument --without-crypto to
-  --without-openssl.
-
-  07 Nov 2008; Raúl Porcel <armin76@gentoo.org> ssldump-0.9-r1.ebuild:
-  sparc stable wrt #244232
-
-  25 Oct 2008; nixnut <nixnut@gentoo.org> ssldump-0.9-r1.ebuild:
-  Stable on ppc wrt bug 244232
-
-  25 Oct 2008; Markus Meier <maekke@gentoo.org> ssldump-0.9-r1.ebuild:
-  amd64/x86 stable, bug #244232
-
-*ssldump-0.9-r1 (16 Sep 2008)
-
-  16 Sep 2008; Peter Volkov <pva@gentoo.org>
-  +files/ssldump-0.9-DLT_LINUX_SLL.patch, +ssldump-0.9-r1.ebuild:
-  Added possibility to read data from DLT_LINUX_SLL link type, bug #198271,
-  thank Paul for this work.
-
-  06 Feb 2008; Fabian Groffen <grobian@gentoo.org> ssldump-0.9.ebuild:
-  Dropped ppc-macos keyword, see you in prefix
-
-  05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> ssldump-0.9.ebuild:
-  Remove gnuconfig_update usage, leave it to econf.
-
-  24 Sep 2006; Peter Volkov <pva@gentoo.org>
-  +files/ssldump-0.9-openssl-0.9.8.compile-fix.patch, ssldump-0.9.ebuild:
-  Compilation failure with openssl-0.9.8 reported by Nils Ohlmeier (bug
-  #147455) fixed.
-
-  15 Feb 2006; Markus Ullmann <jokey@gentoo.org> ssldump-0.9.ebuild:
-  Removing virtual/libpcap wrt bug #117898
-
-  31 Jan 2006; Fabian Groffen <grobian@gentoo.org>
-  +files/ssldump-0.9-configure-dylib.patch, ssldump-0.9.ebuild:
-  Added patch and marked ~ppc-macos (bug #118343)
-
-  19 Jul 2005; David Holm <dholm@gentoo.org> ssldump-0.9.ebuild:
-  Added to ~ppc.
-
-  21 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> ssldump-0.9.ebuild:
-  stable on amd64. fixes #82740
-
-  29 Jan 2005; Daniel Black <dragonheart@gentoo.org> ssldump-0.9.ebuild:
-  changed net-libs/libpcap depend to virtual/libcap
-
-  10 Oct 2004; Jason Wever <weeve@gentoo.org> ssldump-0.9.ebuild:
-  Stable on sparc.
-
-  19 Aug 2004; Jason Wever <weeve@gentoo.org> ssldump-0.9.ebuild:
-  Added ~sparc keyword.
-
-  13 Jul 2004; Eldad Zack <eldad@gentoo.org> +metadata.xml:
-  Added metadata
-
-  27 Apr 2004; Aron Griffis <agriffis@gentoo.org> ssldump-0.9.ebuild:
-  Add inherit eutils
-
-  06 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> ssldump-0.9.ebuild,
-  files/ssldump-0.9-libpcap-header.patch:
-  Added patch for new libpcap headers.
-
-*ssldump-0.9 (19 May 2003)
-
-  19 May 2003; Martin Holzer <mholzer@gentoo.org> ssldump-0.9.ebuild:
-  Initial ebuild submitted by Kris Verbeeck <airborne@advalvas.be> in #18387.

diff --git a/net-analyzer/ssldump/Manifest b/net-analyzer/ssldump/Manifest
deleted file mode 100644
index 04463ea..0000000
--- a/net-analyzer/ssldump/Manifest
+++ /dev/null
@@ -1,10 +0,0 @@
-AUX ssldump-0.9-DLT_LINUX_SLL.patch 328 RMD160 81ef38b8f68833be6d0f90885e71988f669afb25 SHA1 8b5912ebaa8370ee530ade6b2c0ffd66bb40b7b0 SHA256 d17547df10730424c4cfdb21ec2db94e63f685ac26223333c8cd452c22eeba06
-AUX ssldump-0.9-configure-dylib.patch 327 RMD160 c657a76dd4286256d65a7e3e649a3e422ec8d02b SHA1 700406b077539d33218094e497afaab15f8425e7 SHA256 3655ee69e445a299eac5286983cb2b8ccbe2bf69d6bc30a220b688c4c55d8ee8
-AUX ssldump-0.9-libpcap-header.patch 246 RMD160 0c38f12cd0fa23a10d3e4fc6a8d548a5ec352d05 SHA1 9440310b0f3435781f365c0394e11f3aa1e1c396 SHA256 942d1b1620ed49463d2b9359ae16d0083325408e40bb360c328dcce4ee50f1fd
-AUX ssldump-0.9-makefile-fix.patch 625 RMD160 23d202735d3159415a3d79a10b79023af956bfb0 SHA1 2c430aad64d9ac053ad97ff7a5cfc0baad25e9ac SHA256 7ed30d31b1c9559a6aa3634ded7cd38b5564c9f182cb4515caef7e5a645621cc
-AUX ssldump-0.9-openssl-0.9.8.compile-fix.patch 626 RMD160 88f375d073b951108c1cdf16e71ff4dde263d83e SHA1 330c45882729eea8628647d5ad603dcb8c95b672 SHA256 c0fa3dc3cea2872178e883d939c92d084a02458edfebeb4f2aaed0d32160ab63
-DIST ssldump-0.9b3.tar.gz 137435 RMD160 941cf8f2ef8459ec4f9ce65772e134505d46566f SHA1 a633a9a811a138eac5ed440d583473b644135ef5 SHA256 6422c16718d27c270bbcfcc1272c4f9bd3c0799c351f1d6dd54fdc162afdab1e
-EBUILD ssldump-0.9-r1.ebuild 1420 RMD160 93a026e43c516fc82596ebca3e024209441be10b SHA1 0d28d2b08eacffdd85e7e5c09dc872c24bc8d87f SHA256 a69aef1dd33963ab34287b5f8ea1366bc394c39adccfaeb73800df8e13f26725
-EBUILD ssldump-0.9.ebuild 977 RMD160 b5793ec815d1fa1a1fece621d68fe541a12f6ef3 SHA1 31aec2874d1d78a6434e05f15f33e8aead9bcc9f SHA256 81fac293b5706a79f6d33dc6a292d6ef1e59ac399ecf95a289de7c9b27847840
-MISC ChangeLog 2903 RMD160 821a48657e7603524a8db36dc9576334943e3587 SHA1 2a73bc68047290a2c00244e319c38a4311ba9748 SHA256 742ac5b3c0e767000c9fa8179d6732d9173517e27d468f836ec6a2453285c7c0
-MISC metadata.xml 245 RMD160 f1d049e617f898a986a683fe58eed04a95c743e6 SHA1 c65b7f2884eb28392358f234fd40d313a5112f18 SHA256 ad9d4f8a55c8a1eaadcfa8d2fff0ac3a302530ab91a80972c1e0b30666a719f6

diff --git a/net-analyzer/ssldump/files/ssldump-0.9-DLT_LINUX_SLL.patch b/net-analyzer/ssldump/files/ssldump-0.9-DLT_LINUX_SLL.patch
deleted file mode 100644
index 3c30c61..0000000
--- a/net-analyzer/ssldump/files/ssldump-0.9-DLT_LINUX_SLL.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- base/pcap-snoop.c	2007-11-06 14:22:53.000000000 +0100
-+++ base/pcap-snoop_new.c	2007-11-06 14:24:05.000000000 +0100
-@@ -157,6 +157,10 @@
-           return;
-         
-         break;
-+      case DLT_LINUX_SLL:
-+        data+=16;
-+        len-=16;
-+        break;
-     }
-     network_process_packet(n,&hdr->ts,data,len);
-   }

diff --git a/net-analyzer/ssldump/files/ssldump-0.9-configure-dylib.patch b/net-analyzer/ssldump/files/ssldump-0.9-configure-dylib.patch
deleted file mode 100644
index 1312855..0000000
--- a/net-analyzer/ssldump/files/ssldump-0.9-configure-dylib.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure
-+++ configure
-@@ -1103,7 +1103,7 @@
- echo "configure:1104: checking for PCAP library" >&5
- ac_found_pcap_lib_dir="no"
- for dir in $ac_pcap_lib_dir; do
--	if test -f $dir/libpcap.a; then
-+	if test -f $dir/libpcap.a -o -f $dir/libpcap.dylib; then
- 				save_LIBS=$LIBS
- 		save_LDFLAGS=$LDFLAGS
- 		LIBS="-lpcap $LIBS"

diff --git a/net-analyzer/ssldump/files/ssldump-0.9-libpcap-header.patch b/net-analyzer/ssldump/files/ssldump-0.9-libpcap-header.patch
deleted file mode 100644
index 95f9fda..0000000
--- a/net-analyzer/ssldump/files/ssldump-0.9-libpcap-header.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- base/pcap-snoop.c	2002-09-09 21:02:58.000000000 +0000
-+++ base/pcap-snoop.c	2004-02-06 14:59:37.278455352 +0000
-@@ -49,7 +49,6 @@
- 
- #include <pcap.h>
- #include <unistd.h>
--#include <net/bpf.h>
- #ifndef _WIN32
- #include <sys/param.h>
- #endif

diff --git a/net-analyzer/ssldump/files/ssldump-0.9-makefile-fix.patch b/net-analyzer/ssldump/files/ssldump-0.9-makefile-fix.patch
deleted file mode 100644
index 4d665da..0000000
--- a/net-analyzer/ssldump/files/ssldump-0.9-makefile-fix.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-eliminates unused variable ROOT, which disturbs ld from Prefix. Bug #414335
---- Makefile.in	2001-11-27 07:38:13.000000000 +0900
-+++ Makefile.in.new	2012-05-02 16:13:10.000000000 +0900
-@@ -46,13 +46,12 @@ BINDIR=@sbindir@
- MANDIR=@mandir@
- RM=rm -f
- 
--ROOT=./
--ANALYZE_SRCDIR=$(ROOT)base/
-+ANALYZE_SRCDIR=base/
- COMMONDIR=common/
- COMMON_LIB_SRCDIR=$(COMMONDIR)lib/
--ANALYZE_NULL_SRCDIR=$(ROOT)null/
--ANALYZE_SSL_SRCDIR=$(ROOT)ssl/
--ANALYZE_RECORD_SRCDIR=$(ROOT)@RECORD_MOD@/
-+ANALYZE_NULL_SRCDIR=null/
-+ANALYZE_SSL_SRCDIR=ssl/
-+ANALYZE_RECORD_SRCDIR=@RECORD_MOD@/
- include rules.mk
- 
- include $(COMMON_LIB_SRCDIR)/targets.mk

diff --git a/net-analyzer/ssldump/files/ssldump-0.9-openssl-0.9.8.compile-fix.patch b/net-analyzer/ssldump/files/ssldump-0.9-openssl-0.9.8.compile-fix.patch
deleted file mode 100644
index 56b1187..0000000
--- a/net-analyzer/ssldump/files/ssldump-0.9-openssl-0.9.8.compile-fix.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Naur ssldump-0.9b3.orig/ssl/ssldecode.c ssldump-0.9b3/ssl/ssldecode.c
---- ssldump-0.9b3.orig/ssl/ssldecode.c	2002-08-17 05:33:17.000000000 +0400
-+++ ssldump-0.9b3/ssl/ssldecode.c	2006-09-24 11:30:58.000000000 +0400
-@@ -51,6 +51,7 @@
- #include <openssl/ssl.h>
- #include <openssl/hmac.h>
- #include <openssl/evp.h>
-+#include <openssl/md5.h>
- #include <openssl/x509v3.h>
- #endif
- #include "ssldecode.h"
-@@ -131,6 +132,7 @@
-     ssl_decode_ctx *d=0;
-     int r,_status;
-     
-+    SSL_library_init();
-     SSLeay_add_all_algorithms();
-     if(!(d=(ssl_decode_ctx *)malloc(sizeof(ssl_decode_ctx))))
-       ABORT(R_NO_MEMORY);

diff --git a/net-analyzer/ssldump/ssldump-0.9-r1.ebuild b/net-analyzer/ssldump/ssldump-0.9-r1.ebuild
deleted file mode 100644
index f47156b..0000000
--- a/net-analyzer/ssldump/ssldump-0.9-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ssldump/ssldump-0.9-r1.ebuild,v 1.7 2011/12/09 16:15:55 jer Exp $
-
-EAPI=4
-inherit autotools eutils
-
-MY_P=${PN}-0.9b3
-
-DESCRIPTION="A Tool for network monitoring and data acquisition"
-HOMEPAGE="http://www.rtfm.com/ssldump/"
-SRC_URI="http://www.rtfm.com/ssldump/${MY_P}.tar.gz"
-
-LICENSE="openssl"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="ssl"
-
-RDEPEND="net-libs/libpcap
-	ssl? ( >=dev-libs/openssl-1 )"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-libpcap-header.patch \
-		"${FILESDIR}"/${P}-configure-dylib.patch \
-		"${FILESDIR}"/${P}-openssl-0.9.8.compile-fix.patch \
-		"${FILESDIR}"/${P}-DLT_LINUX_SLL.patch \
-		"${FILESDIR}"/${P}-makefile-fix.patch
-
-	sed -i configure.in -e 's|libpcap.a|libpcap.so|g' || die
-
-	eautoreconf
-}
-
-src_configure() {
-	local myconf
-	myconf="${myconf} \
-		--with-pcap-inc=${EPREFIX}/usr/include \
-		--with-pcap-lib=${EPREFIX}/usr/$(get_libdir)"
-
-	if use ssl; then
-		myconf="${myconf} \
-			--with-openssl-inc=${EPREFIX}/usr/include \
-			--with-openssl-lib=${EPREFIX}/usr/$(get_libdir)"
-	else
-		myconf="${myconf} --without-openssl"
-	fi
-
-	econf ${myconf}
-}
-
-src_install() {
-	dosbin ssldump || die
-	doman ssldump.1 || die
-	dodoc ChangeLog CREDITS README
-}

diff --git a/net-analyzer/ssldump/ssldump-0.9.ebuild b/net-analyzer/ssldump/ssldump-0.9.ebuild
deleted file mode 100644
index 35cf525..0000000
--- a/net-analyzer/ssldump/ssldump-0.9.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ssldump/ssldump-0.9.ebuild,v 1.16 2008/02/06 21:12:19 grobian Exp $
-
-inherit eutils
-
-IUSE="ssl"
-
-MY_P=${PN}-0.9b3
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="A Tool for network monitoring and data acquisition"
-SRC_URI="http://www.rtfm.com/ssldump/${MY_P}.tar.gz"
-HOMEPAGE="http://www.rtfm.com/ssldump/"
-
-SLOT="0"
-KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos"
-LICENSE="GPL-2"
-
-DEPEND="net-libs/libpcap
-	ssl? ( >=dev-libs/openssl-0.6.9 )"
-
-src_unpack() {
-	unpack ${A} ; cd ${S}
-
-	epatch "${FILESDIR}/${P}"-libpcap-header.patch
-	epatch "${FILESDIR}/${P}"-configure-dylib.patch
-	epatch "${FILESDIR}/${P}"-openssl-0.9.8.compile-fix.patch
-}
-
-src_compile() {
-
-	econf `use_with ssl crypto` || die
-	emake || die
-}
-
-src_install() {
-	into /usr
-	dosbin ssldump
-	doman ssldump.1
-	dodoc COPYRIGHT CREDITS README FILES VERSION INSTALL ChangeLog
-}

diff --git a/profiles/bootstrap/gcc/make.defaults.in b/profiles/bootstrap/gcc/make.defaults.in
deleted file mode 100644
index c876c60..0000000
--- a/profiles/bootstrap/gcc/make.defaults.in
+++ /dev/null
@@ -1,3 +0,0 @@
-# libraries built in stage1 needs explicitly specified path
-LDFLAGS="-L@GENTOO_PORTAGE_EPREFIX@/tmp/usr/lib -Wl,-rpath=@GENTOO_PORTAGE_EPREFIX@/tmp/usr/lib"
-CPPFLAGS="-I@GENTOO_PORTAGE_EPREFIX@/tmp/usr/include"

diff --git a/profiles/bootstrap/gcc/package.use b/profiles/bootstrap/gcc/package.use
deleted file mode 100644
index 2c4aae9..0000000
--- a/profiles/bootstrap/gcc/package.use
+++ /dev/null
@@ -1,12 +0,0 @@
-# first pass of gcc uses host libc
-sys-devel/gcc -rap
-
-# Most binary Linux distributions seem to fancy toolchains that do not
-# do c++ support (need to install a separate package).  Since we don't
-# check for g++, just make sure binutils won't try to build gold
-# (needs c++), it will get there once we built our own GCC with c++
-# support.  For that reason we cannot globally mask cxx, because then
-# GCC will be built without c++ support too.
-
-sys-devel/binutils -cxx
-dev-libs/gmp -cxx

diff --git a/profiles/bootstrap/gcc/parent b/profiles/bootstrap/gcc/parent
deleted file mode 100644
index f3229c5..0000000
--- a/profiles/bootstrap/gcc/parent
+++ /dev/null
@@ -1 +0,0 @@
-..

diff --git a/profiles/bootstrap/gcc/profile.bashrc b/profiles/bootstrap/gcc/profile.bashrc
deleted file mode 100644
index 1d59b66..0000000
--- a/profiles/bootstrap/gcc/profile.bashrc
+++ /dev/null
@@ -1,2 +0,0 @@
-# disable gcc bootstrap which cleans out LDFLAGS essential for this phase.
-[[ ${PN} == "gcc" ]] && { EXTRA_ECONF='--disable-bootstrap'; GCC_MAKE_TARGET='all'; }

diff --git a/profiles/bootstrap/gcc/use.force b/profiles/bootstrap/gcc/use.force
deleted file mode 100644
index 1609d29..0000000
--- a/profiles/bootstrap/gcc/use.force
+++ /dev/null
@@ -1 +0,0 @@
--rap

diff --git a/profiles/bootstrap/parent b/profiles/bootstrap/parent
deleted file mode 100644
index 291864c..0000000
--- a/profiles/bootstrap/parent
+++ /dev/null
@@ -1 +0,0 @@
-../default/linux/amd64/13.0/rap

diff --git a/profiles/default/linux/amd64/13.0/eapi b/profiles/default/linux/amd64/13.0/eapi
deleted file mode 100644
index 7ed6ff8..0000000
--- a/profiles/default/linux/amd64/13.0/eapi
+++ /dev/null
@@ -1 +0,0 @@
-5

diff --git a/profiles/default/linux/amd64/13.0/rap/make.defaults b/profiles/default/linux/amd64/13.0/rap/make.defaults
deleted file mode 100644
index fc2914e..0000000
--- a/profiles/default/linux/amd64/13.0/rap/make.defaults
+++ /dev/null
@@ -1,3 +0,0 @@
-# accept unstable keyword before RAP matures
-# accept Prefix keyword to use Prefix overlay for transition
-ACCEPT_KEYWORDS="~amd64 ~amd64-linux"

diff --git a/profiles/default/linux/amd64/13.0/rap/parent b/profiles/default/linux/amd64/13.0/rap/parent
deleted file mode 100644
index e87bf03..0000000
--- a/profiles/default/linux/amd64/13.0/rap/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-gentoo_prefix:default/linux/amd64/13.0/no-multilib
-../../../../../features/rap

diff --git a/profiles/default/linux/arm/10.0/armv4/deprecated b/profiles/default/linux/arm/10.0/armv4/deprecated
deleted file mode 100644
index 977c931..0000000
--- a/profiles/default/linux/arm/10.0/armv4/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv4

diff --git a/profiles/default/linux/arm/10.0/armv4/desktop/deprecated b/profiles/default/linux/arm/10.0/armv4/desktop/deprecated
deleted file mode 100644
index 775c79f..0000000
--- a/profiles/default/linux/arm/10.0/armv4/desktop/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv4/desktop

diff --git a/profiles/default/linux/arm/10.0/armv4/desktop/eapi b/profiles/default/linux/arm/10.0/armv4/desktop/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv4/desktop/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv4/desktop/gnome/deprecated b/profiles/default/linux/arm/10.0/armv4/desktop/gnome/deprecated
deleted file mode 100644
index 9656139..0000000
--- a/profiles/default/linux/arm/10.0/armv4/desktop/gnome/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-linux/arm/13.0/armv4/desktop/gnome

diff --git a/profiles/default/linux/arm/10.0/armv4/desktop/gnome/eapi b/profiles/default/linux/arm/10.0/armv4/desktop/gnome/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv4/desktop/gnome/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv4/desktop/gnome/parent b/profiles/default/linux/arm/10.0/armv4/desktop/gnome/parent
deleted file mode 100644
index 9e06c45..0000000
--- a/profiles/default/linux/arm/10.0/armv4/desktop/gnome/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/gnome

diff --git a/profiles/default/linux/arm/10.0/armv4/desktop/kde/deprecated b/profiles/default/linux/arm/10.0/armv4/desktop/kde/deprecated
deleted file mode 100644
index 1d55cdc..0000000
--- a/profiles/default/linux/arm/10.0/armv4/desktop/kde/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv4/desktop/kde

diff --git a/profiles/default/linux/arm/10.0/armv4/desktop/kde/eapi b/profiles/default/linux/arm/10.0/armv4/desktop/kde/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv4/desktop/kde/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv4/desktop/kde/parent b/profiles/default/linux/arm/10.0/armv4/desktop/kde/parent
deleted file mode 100644
index f8a0399..0000000
--- a/profiles/default/linux/arm/10.0/armv4/desktop/kde/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/kde

diff --git a/profiles/default/linux/arm/10.0/armv4/desktop/parent b/profiles/default/linux/arm/10.0/armv4/desktop/parent
deleted file mode 100644
index db8ce08..0000000
--- a/profiles/default/linux/arm/10.0/armv4/desktop/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/desktop

diff --git a/profiles/default/linux/arm/10.0/armv4/developer/deprecated b/profiles/default/linux/arm/10.0/armv4/developer/deprecated
deleted file mode 100644
index ceee398..0000000
--- a/profiles/default/linux/arm/10.0/armv4/developer/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv4/developer

diff --git a/profiles/default/linux/arm/10.0/armv4/developer/eapi b/profiles/default/linux/arm/10.0/armv4/developer/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv4/developer/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv4/developer/parent b/profiles/default/linux/arm/10.0/armv4/developer/parent
deleted file mode 100644
index 5c8258a..0000000
--- a/profiles/default/linux/arm/10.0/armv4/developer/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/developer

diff --git a/profiles/default/linux/arm/10.0/armv4/eapi b/profiles/default/linux/arm/10.0/armv4/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv4/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv4/parent b/profiles/default/linux/arm/10.0/armv4/parent
deleted file mode 100644
index b614216..0000000
--- a/profiles/default/linux/arm/10.0/armv4/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../arch/arm/armv4/

diff --git a/profiles/default/linux/arm/10.0/armv4/server/deprecated b/profiles/default/linux/arm/10.0/armv4/server/deprecated
deleted file mode 100644
index 977c931..0000000
--- a/profiles/default/linux/arm/10.0/armv4/server/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv4

diff --git a/profiles/default/linux/arm/10.0/armv4/server/eapi b/profiles/default/linux/arm/10.0/armv4/server/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv4/server/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv4/server/parent b/profiles/default/linux/arm/10.0/armv4/server/parent
deleted file mode 100644
index 2e085a6..0000000
--- a/profiles/default/linux/arm/10.0/armv4/server/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/server

diff --git a/profiles/default/linux/arm/10.0/armv4t/deprecated b/profiles/default/linux/arm/10.0/armv4t/deprecated
deleted file mode 100644
index 14964d3..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv4t

diff --git a/profiles/default/linux/arm/10.0/armv4t/desktop/deprecated b/profiles/default/linux/arm/10.0/armv4t/desktop/deprecated
deleted file mode 100644
index ade5e03..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/desktop/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv4t/desktop

diff --git a/profiles/default/linux/arm/10.0/armv4t/desktop/eapi b/profiles/default/linux/arm/10.0/armv4t/desktop/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/desktop/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv4t/desktop/gnome/deprecated b/profiles/default/linux/arm/10.0/armv4t/desktop/gnome/deprecated
deleted file mode 100644
index cd57033..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/desktop/gnome/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv4t/desktop/gnome

diff --git a/profiles/default/linux/arm/10.0/armv4t/desktop/gnome/eapi b/profiles/default/linux/arm/10.0/armv4t/desktop/gnome/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/desktop/gnome/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv4t/desktop/gnome/parent b/profiles/default/linux/arm/10.0/armv4t/desktop/gnome/parent
deleted file mode 100644
index 9e06c45..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/desktop/gnome/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/gnome

diff --git a/profiles/default/linux/arm/10.0/armv4t/desktop/kde/deprecated b/profiles/default/linux/arm/10.0/armv4t/desktop/kde/deprecated
deleted file mode 100644
index 12cf5d8..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/desktop/kde/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv4t/desktop/kde

diff --git a/profiles/default/linux/arm/10.0/armv4t/desktop/kde/eapi b/profiles/default/linux/arm/10.0/armv4t/desktop/kde/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/desktop/kde/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv4t/desktop/kde/parent b/profiles/default/linux/arm/10.0/armv4t/desktop/kde/parent
deleted file mode 100644
index f8a0399..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/desktop/kde/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/kde

diff --git a/profiles/default/linux/arm/10.0/armv4t/desktop/parent b/profiles/default/linux/arm/10.0/armv4t/desktop/parent
deleted file mode 100644
index db8ce08..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/desktop/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/desktop

diff --git a/profiles/default/linux/arm/10.0/armv4t/developer/deprecated b/profiles/default/linux/arm/10.0/armv4t/developer/deprecated
deleted file mode 100644
index 28fe8c2..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/developer/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv4t/developer

diff --git a/profiles/default/linux/arm/10.0/armv4t/developer/eapi b/profiles/default/linux/arm/10.0/armv4t/developer/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/developer/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv4t/developer/parent b/profiles/default/linux/arm/10.0/armv4t/developer/parent
deleted file mode 100644
index 5c8258a..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/developer/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/developer

diff --git a/profiles/default/linux/arm/10.0/armv4t/eapi b/profiles/default/linux/arm/10.0/armv4t/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv4t/parent b/profiles/default/linux/arm/10.0/armv4t/parent
deleted file mode 100644
index 94db639..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../arch/arm/armv4t/

diff --git a/profiles/default/linux/arm/10.0/armv4t/server/deprecated b/profiles/default/linux/arm/10.0/armv4t/server/deprecated
deleted file mode 100644
index 14964d3..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/server/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv4t

diff --git a/profiles/default/linux/arm/10.0/armv4t/server/eapi b/profiles/default/linux/arm/10.0/armv4t/server/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/server/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv4t/server/parent b/profiles/default/linux/arm/10.0/armv4t/server/parent
deleted file mode 100644
index 2e085a6..0000000
--- a/profiles/default/linux/arm/10.0/armv4t/server/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/server

diff --git a/profiles/default/linux/arm/10.0/armv5te/deprecated b/profiles/default/linux/arm/10.0/armv5te/deprecated
deleted file mode 100644
index 311dc47..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv5te

diff --git a/profiles/default/linux/arm/10.0/armv5te/desktop/deprecated b/profiles/default/linux/arm/10.0/armv5te/desktop/deprecated
deleted file mode 100644
index 376d70f..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/desktop/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv5te/desktop

diff --git a/profiles/default/linux/arm/10.0/armv5te/desktop/eapi b/profiles/default/linux/arm/10.0/armv5te/desktop/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/desktop/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv5te/desktop/gnome/deprecated b/profiles/default/linux/arm/10.0/armv5te/desktop/gnome/deprecated
deleted file mode 100644
index 1e4d377..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/desktop/gnome/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv5te/desktop/gnome

diff --git a/profiles/default/linux/arm/10.0/armv5te/desktop/gnome/eapi b/profiles/default/linux/arm/10.0/armv5te/desktop/gnome/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/desktop/gnome/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv5te/desktop/gnome/parent b/profiles/default/linux/arm/10.0/armv5te/desktop/gnome/parent
deleted file mode 100644
index 9e06c45..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/desktop/gnome/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/gnome

diff --git a/profiles/default/linux/arm/10.0/armv5te/desktop/kde/deprecated b/profiles/default/linux/arm/10.0/armv5te/desktop/kde/deprecated
deleted file mode 100644
index 8dab21b..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/desktop/kde/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv5te/desktop/kde

diff --git a/profiles/default/linux/arm/10.0/armv5te/desktop/kde/eapi b/profiles/default/linux/arm/10.0/armv5te/desktop/kde/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/desktop/kde/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv5te/desktop/kde/parent b/profiles/default/linux/arm/10.0/armv5te/desktop/kde/parent
deleted file mode 100644
index f8a0399..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/desktop/kde/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/kde

diff --git a/profiles/default/linux/arm/10.0/armv5te/desktop/parent b/profiles/default/linux/arm/10.0/armv5te/desktop/parent
deleted file mode 100644
index db8ce08..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/desktop/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/desktop

diff --git a/profiles/default/linux/arm/10.0/armv5te/developer/deprecated b/profiles/default/linux/arm/10.0/armv5te/developer/deprecated
deleted file mode 100644
index ebf78d8..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/developer/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv5te/developer

diff --git a/profiles/default/linux/arm/10.0/armv5te/developer/eapi b/profiles/default/linux/arm/10.0/armv5te/developer/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/developer/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv5te/developer/parent b/profiles/default/linux/arm/10.0/armv5te/developer/parent
deleted file mode 100644
index 5c8258a..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/developer/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/developer

diff --git a/profiles/default/linux/arm/10.0/armv5te/eapi b/profiles/default/linux/arm/10.0/armv5te/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv5te/parent b/profiles/default/linux/arm/10.0/armv5te/parent
deleted file mode 100644
index c7af285..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../arch/arm/armv5te/

diff --git a/profiles/default/linux/arm/10.0/armv5te/server/deprecated b/profiles/default/linux/arm/10.0/armv5te/server/deprecated
deleted file mode 100644
index 311dc47..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/server/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv5te

diff --git a/profiles/default/linux/arm/10.0/armv5te/server/eapi b/profiles/default/linux/arm/10.0/armv5te/server/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/server/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv5te/server/parent b/profiles/default/linux/arm/10.0/armv5te/server/parent
deleted file mode 100644
index 2e085a6..0000000
--- a/profiles/default/linux/arm/10.0/armv5te/server/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/server

diff --git a/profiles/default/linux/arm/10.0/armv6j/deprecated b/profiles/default/linux/arm/10.0/armv6j/deprecated
deleted file mode 100644
index 9ec63f8..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv6j

diff --git a/profiles/default/linux/arm/10.0/armv6j/desktop/deprecated b/profiles/default/linux/arm/10.0/armv6j/desktop/deprecated
deleted file mode 100644
index fc5a542..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/desktop/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv6j/desktop

diff --git a/profiles/default/linux/arm/10.0/armv6j/desktop/eapi b/profiles/default/linux/arm/10.0/armv6j/desktop/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/desktop/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv6j/desktop/gnome/deprecated b/profiles/default/linux/arm/10.0/armv6j/desktop/gnome/deprecated
deleted file mode 100644
index ab6403e..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/desktop/gnome/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv6j/desktop/gnome

diff --git a/profiles/default/linux/arm/10.0/armv6j/desktop/gnome/eapi b/profiles/default/linux/arm/10.0/armv6j/desktop/gnome/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/desktop/gnome/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv6j/desktop/gnome/parent b/profiles/default/linux/arm/10.0/armv6j/desktop/gnome/parent
deleted file mode 100644
index 9e06c45..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/desktop/gnome/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/gnome

diff --git a/profiles/default/linux/arm/10.0/armv6j/desktop/kde/deprecated b/profiles/default/linux/arm/10.0/armv6j/desktop/kde/deprecated
deleted file mode 100644
index 4afba63..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/desktop/kde/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv6j/desktop/kde

diff --git a/profiles/default/linux/arm/10.0/armv6j/desktop/kde/eapi b/profiles/default/linux/arm/10.0/armv6j/desktop/kde/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/desktop/kde/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv6j/desktop/kde/parent b/profiles/default/linux/arm/10.0/armv6j/desktop/kde/parent
deleted file mode 100644
index f8a0399..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/desktop/kde/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/kde

diff --git a/profiles/default/linux/arm/10.0/armv6j/desktop/parent b/profiles/default/linux/arm/10.0/armv6j/desktop/parent
deleted file mode 100644
index db8ce08..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/desktop/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/desktop

diff --git a/profiles/default/linux/arm/10.0/armv6j/developer/deprecated b/profiles/default/linux/arm/10.0/armv6j/developer/deprecated
deleted file mode 100644
index d886992..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/developer/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv6j/developer

diff --git a/profiles/default/linux/arm/10.0/armv6j/developer/eapi b/profiles/default/linux/arm/10.0/armv6j/developer/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/developer/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv6j/developer/parent b/profiles/default/linux/arm/10.0/armv6j/developer/parent
deleted file mode 100644
index 5c8258a..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/developer/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/developer

diff --git a/profiles/default/linux/arm/10.0/armv6j/eapi b/profiles/default/linux/arm/10.0/armv6j/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv6j/parent b/profiles/default/linux/arm/10.0/armv6j/parent
deleted file mode 100644
index c0ffd32..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../arch/arm/armv6j/

diff --git a/profiles/default/linux/arm/10.0/armv6j/server/deprecated b/profiles/default/linux/arm/10.0/armv6j/server/deprecated
deleted file mode 100644
index 9ec63f8..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/server/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv6j

diff --git a/profiles/default/linux/arm/10.0/armv6j/server/eapi b/profiles/default/linux/arm/10.0/armv6j/server/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/server/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv6j/server/parent b/profiles/default/linux/arm/10.0/armv6j/server/parent
deleted file mode 100644
index 2e085a6..0000000
--- a/profiles/default/linux/arm/10.0/armv6j/server/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/server

diff --git a/profiles/default/linux/arm/10.0/armv7a/deprecated b/profiles/default/linux/arm/10.0/armv7a/deprecated
deleted file mode 100644
index c11c04d..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv7a

diff --git a/profiles/default/linux/arm/10.0/armv7a/desktop/deprecated b/profiles/default/linux/arm/10.0/armv7a/desktop/deprecated
deleted file mode 100644
index 795e84d..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/desktop/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv7a/desktop

diff --git a/profiles/default/linux/arm/10.0/armv7a/desktop/eapi b/profiles/default/linux/arm/10.0/armv7a/desktop/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/desktop/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv7a/desktop/gnome/deprecated b/profiles/default/linux/arm/10.0/armv7a/desktop/gnome/deprecated
deleted file mode 100644
index 3491897..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/desktop/gnome/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv7a/desktop/gnome

diff --git a/profiles/default/linux/arm/10.0/armv7a/desktop/gnome/eapi b/profiles/default/linux/arm/10.0/armv7a/desktop/gnome/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/desktop/gnome/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv7a/desktop/gnome/parent b/profiles/default/linux/arm/10.0/armv7a/desktop/gnome/parent
deleted file mode 100644
index 9e06c45..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/desktop/gnome/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/gnome

diff --git a/profiles/default/linux/arm/10.0/armv7a/desktop/kde/deprecated b/profiles/default/linux/arm/10.0/armv7a/desktop/kde/deprecated
deleted file mode 100644
index 6be7875..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/desktop/kde/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv7a/desktop/kde

diff --git a/profiles/default/linux/arm/10.0/armv7a/desktop/kde/eapi b/profiles/default/linux/arm/10.0/armv7a/desktop/kde/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/desktop/kde/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv7a/desktop/kde/parent b/profiles/default/linux/arm/10.0/armv7a/desktop/kde/parent
deleted file mode 100644
index f8a0399..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/desktop/kde/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/kde

diff --git a/profiles/default/linux/arm/10.0/armv7a/desktop/parent b/profiles/default/linux/arm/10.0/armv7a/desktop/parent
deleted file mode 100644
index db8ce08..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/desktop/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/desktop

diff --git a/profiles/default/linux/arm/10.0/armv7a/developer/deprecated b/profiles/default/linux/arm/10.0/armv7a/developer/deprecated
deleted file mode 100644
index a1dcc23..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/developer/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv7a/developer

diff --git a/profiles/default/linux/arm/10.0/armv7a/developer/eapi b/profiles/default/linux/arm/10.0/armv7a/developer/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/developer/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv7a/developer/parent b/profiles/default/linux/arm/10.0/armv7a/developer/parent
deleted file mode 100644
index 5c8258a..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/developer/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/developer

diff --git a/profiles/default/linux/arm/10.0/armv7a/eapi b/profiles/default/linux/arm/10.0/armv7a/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv7a/parent b/profiles/default/linux/arm/10.0/armv7a/parent
deleted file mode 100644
index 39d8921..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../arch/arm/armv7a/

diff --git a/profiles/default/linux/arm/10.0/armv7a/server/deprecated b/profiles/default/linux/arm/10.0/armv7a/server/deprecated
deleted file mode 100644
index c11c04d..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/server/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/armv7a

diff --git a/profiles/default/linux/arm/10.0/armv7a/server/eapi b/profiles/default/linux/arm/10.0/armv7a/server/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/server/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/armv7a/server/parent b/profiles/default/linux/arm/10.0/armv7a/server/parent
deleted file mode 100644
index 2e085a6..0000000
--- a/profiles/default/linux/arm/10.0/armv7a/server/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/server

diff --git a/profiles/default/linux/arm/10.0/deprecated b/profiles/default/linux/arm/10.0/deprecated
deleted file mode 100644
index 74de624..0000000
--- a/profiles/default/linux/arm/10.0/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0

diff --git a/profiles/default/linux/arm/10.0/desktop/deprecated b/profiles/default/linux/arm/10.0/desktop/deprecated
deleted file mode 100644
index 4a4f617..0000000
--- a/profiles/default/linux/arm/10.0/desktop/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/desktop

diff --git a/profiles/default/linux/arm/10.0/desktop/eapi b/profiles/default/linux/arm/10.0/desktop/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/desktop/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/desktop/gnome/deprecated b/profiles/default/linux/arm/10.0/desktop/gnome/deprecated
deleted file mode 100644
index 1a7b5cc..0000000
--- a/profiles/default/linux/arm/10.0/desktop/gnome/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/desktop/gnome

diff --git a/profiles/default/linux/arm/10.0/desktop/gnome/eapi b/profiles/default/linux/arm/10.0/desktop/gnome/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/desktop/gnome/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/desktop/gnome/parent b/profiles/default/linux/arm/10.0/desktop/gnome/parent
deleted file mode 100644
index 6589a0e..0000000
--- a/profiles/default/linux/arm/10.0/desktop/gnome/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/desktop/gnome

diff --git a/profiles/default/linux/arm/10.0/desktop/kde/deprecated b/profiles/default/linux/arm/10.0/desktop/kde/deprecated
deleted file mode 100644
index 60b5139..0000000
--- a/profiles/default/linux/arm/10.0/desktop/kde/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/desktop/kde

diff --git a/profiles/default/linux/arm/10.0/desktop/kde/eapi b/profiles/default/linux/arm/10.0/desktop/kde/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/desktop/kde/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/desktop/kde/parent b/profiles/default/linux/arm/10.0/desktop/kde/parent
deleted file mode 100644
index b4d42bb..0000000
--- a/profiles/default/linux/arm/10.0/desktop/kde/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/desktop/kde

diff --git a/profiles/default/linux/arm/10.0/desktop/parent b/profiles/default/linux/arm/10.0/desktop/parent
deleted file mode 100644
index ad6c5e1..0000000
--- a/profiles/default/linux/arm/10.0/desktop/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../targets/desktop

diff --git a/profiles/default/linux/arm/10.0/developer/deprecated b/profiles/default/linux/arm/10.0/developer/deprecated
deleted file mode 100644
index 4ee81f0..0000000
--- a/profiles/default/linux/arm/10.0/developer/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0/developer

diff --git a/profiles/default/linux/arm/10.0/developer/eapi b/profiles/default/linux/arm/10.0/developer/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/developer/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/developer/parent b/profiles/default/linux/arm/10.0/developer/parent
deleted file mode 100644
index 4c89374..0000000
--- a/profiles/default/linux/arm/10.0/developer/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../targets/developer

diff --git a/profiles/default/linux/arm/10.0/eapi b/profiles/default/linux/arm/10.0/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/parent b/profiles/default/linux/arm/10.0/parent
deleted file mode 100644
index 605d043..0000000
--- a/profiles/default/linux/arm/10.0/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../releases/10.0

diff --git a/profiles/default/linux/arm/10.0/server/deprecated b/profiles/default/linux/arm/10.0/server/deprecated
deleted file mode 100644
index 74de624..0000000
--- a/profiles/default/linux/arm/10.0/server/deprecated
+++ /dev/null
@@ -1 +0,0 @@
-default/linux/arm/13.0

diff --git a/profiles/default/linux/arm/10.0/server/eapi b/profiles/default/linux/arm/10.0/server/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/10.0/server/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/10.0/server/parent b/profiles/default/linux/arm/10.0/server/parent
deleted file mode 100644
index c399016..0000000
--- a/profiles/default/linux/arm/10.0/server/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../targets/server

diff --git a/profiles/default/linux/arm/13.0/armv4/desktop/eapi b/profiles/default/linux/arm/13.0/armv4/desktop/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv4/desktop/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv4/desktop/gnome/eapi b/profiles/default/linux/arm/13.0/armv4/desktop/gnome/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv4/desktop/gnome/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv4/desktop/gnome/parent b/profiles/default/linux/arm/13.0/armv4/desktop/gnome/parent
deleted file mode 100644
index 9e06c45..0000000
--- a/profiles/default/linux/arm/13.0/armv4/desktop/gnome/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/gnome

diff --git a/profiles/default/linux/arm/13.0/armv4/desktop/kde/eapi b/profiles/default/linux/arm/13.0/armv4/desktop/kde/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv4/desktop/kde/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv4/desktop/kde/parent b/profiles/default/linux/arm/13.0/armv4/desktop/kde/parent
deleted file mode 100644
index f8a0399..0000000
--- a/profiles/default/linux/arm/13.0/armv4/desktop/kde/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/kde

diff --git a/profiles/default/linux/arm/13.0/armv4/desktop/parent b/profiles/default/linux/arm/13.0/armv4/desktop/parent
deleted file mode 100644
index db8ce08..0000000
--- a/profiles/default/linux/arm/13.0/armv4/desktop/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/desktop

diff --git a/profiles/default/linux/arm/13.0/armv4/developer/eapi b/profiles/default/linux/arm/13.0/armv4/developer/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv4/developer/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv4/developer/parent b/profiles/default/linux/arm/13.0/armv4/developer/parent
deleted file mode 100644
index 5c8258a..0000000
--- a/profiles/default/linux/arm/13.0/armv4/developer/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/developer

diff --git a/profiles/default/linux/arm/13.0/armv4/eapi b/profiles/default/linux/arm/13.0/armv4/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv4/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv4/parent b/profiles/default/linux/arm/13.0/armv4/parent
deleted file mode 100644
index b614216..0000000
--- a/profiles/default/linux/arm/13.0/armv4/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../arch/arm/armv4/

diff --git a/profiles/default/linux/arm/13.0/armv4t/desktop/eapi b/profiles/default/linux/arm/13.0/armv4t/desktop/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv4t/desktop/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv4t/desktop/gnome/eapi b/profiles/default/linux/arm/13.0/armv4t/desktop/gnome/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv4t/desktop/gnome/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv4t/desktop/gnome/parent b/profiles/default/linux/arm/13.0/armv4t/desktop/gnome/parent
deleted file mode 100644
index 9e06c45..0000000
--- a/profiles/default/linux/arm/13.0/armv4t/desktop/gnome/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/gnome

diff --git a/profiles/default/linux/arm/13.0/armv4t/desktop/kde/eapi b/profiles/default/linux/arm/13.0/armv4t/desktop/kde/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv4t/desktop/kde/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv4t/desktop/kde/parent b/profiles/default/linux/arm/13.0/armv4t/desktop/kde/parent
deleted file mode 100644
index f8a0399..0000000
--- a/profiles/default/linux/arm/13.0/armv4t/desktop/kde/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/kde

diff --git a/profiles/default/linux/arm/13.0/armv4t/desktop/parent b/profiles/default/linux/arm/13.0/armv4t/desktop/parent
deleted file mode 100644
index db8ce08..0000000
--- a/profiles/default/linux/arm/13.0/armv4t/desktop/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/desktop

diff --git a/profiles/default/linux/arm/13.0/armv4t/developer/eapi b/profiles/default/linux/arm/13.0/armv4t/developer/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv4t/developer/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv4t/developer/parent b/profiles/default/linux/arm/13.0/armv4t/developer/parent
deleted file mode 100644
index 5c8258a..0000000
--- a/profiles/default/linux/arm/13.0/armv4t/developer/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/developer

diff --git a/profiles/default/linux/arm/13.0/armv4t/eapi b/profiles/default/linux/arm/13.0/armv4t/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv4t/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv4t/parent b/profiles/default/linux/arm/13.0/armv4t/parent
deleted file mode 100644
index 94db639..0000000
--- a/profiles/default/linux/arm/13.0/armv4t/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../arch/arm/armv4t/

diff --git a/profiles/default/linux/arm/13.0/armv5te/desktop/eapi b/profiles/default/linux/arm/13.0/armv5te/desktop/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv5te/desktop/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv5te/desktop/gnome/eapi b/profiles/default/linux/arm/13.0/armv5te/desktop/gnome/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv5te/desktop/gnome/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv5te/desktop/gnome/parent b/profiles/default/linux/arm/13.0/armv5te/desktop/gnome/parent
deleted file mode 100644
index 9e06c45..0000000
--- a/profiles/default/linux/arm/13.0/armv5te/desktop/gnome/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/gnome

diff --git a/profiles/default/linux/arm/13.0/armv5te/desktop/kde/eapi b/profiles/default/linux/arm/13.0/armv5te/desktop/kde/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv5te/desktop/kde/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv5te/desktop/kde/parent b/profiles/default/linux/arm/13.0/armv5te/desktop/kde/parent
deleted file mode 100644
index f8a0399..0000000
--- a/profiles/default/linux/arm/13.0/armv5te/desktop/kde/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/kde

diff --git a/profiles/default/linux/arm/13.0/armv5te/desktop/parent b/profiles/default/linux/arm/13.0/armv5te/desktop/parent
deleted file mode 100644
index db8ce08..0000000
--- a/profiles/default/linux/arm/13.0/armv5te/desktop/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/desktop

diff --git a/profiles/default/linux/arm/13.0/armv5te/developer/eapi b/profiles/default/linux/arm/13.0/armv5te/developer/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv5te/developer/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv5te/developer/parent b/profiles/default/linux/arm/13.0/armv5te/developer/parent
deleted file mode 100644
index 5c8258a..0000000
--- a/profiles/default/linux/arm/13.0/armv5te/developer/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/developer

diff --git a/profiles/default/linux/arm/13.0/armv5te/eapi b/profiles/default/linux/arm/13.0/armv5te/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv5te/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv5te/parent b/profiles/default/linux/arm/13.0/armv5te/parent
deleted file mode 100644
index c7af285..0000000
--- a/profiles/default/linux/arm/13.0/armv5te/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../arch/arm/armv5te/

diff --git a/profiles/default/linux/arm/13.0/armv6j/desktop/eapi b/profiles/default/linux/arm/13.0/armv6j/desktop/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv6j/desktop/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv6j/desktop/gnome/eapi b/profiles/default/linux/arm/13.0/armv6j/desktop/gnome/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv6j/desktop/gnome/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv6j/desktop/gnome/parent b/profiles/default/linux/arm/13.0/armv6j/desktop/gnome/parent
deleted file mode 100644
index 9e06c45..0000000
--- a/profiles/default/linux/arm/13.0/armv6j/desktop/gnome/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/gnome

diff --git a/profiles/default/linux/arm/13.0/armv6j/desktop/kde/eapi b/profiles/default/linux/arm/13.0/armv6j/desktop/kde/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv6j/desktop/kde/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv6j/desktop/kde/parent b/profiles/default/linux/arm/13.0/armv6j/desktop/kde/parent
deleted file mode 100644
index f8a0399..0000000
--- a/profiles/default/linux/arm/13.0/armv6j/desktop/kde/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/kde

diff --git a/profiles/default/linux/arm/13.0/armv6j/desktop/parent b/profiles/default/linux/arm/13.0/armv6j/desktop/parent
deleted file mode 100644
index db8ce08..0000000
--- a/profiles/default/linux/arm/13.0/armv6j/desktop/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/desktop

diff --git a/profiles/default/linux/arm/13.0/armv6j/developer/eapi b/profiles/default/linux/arm/13.0/armv6j/developer/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv6j/developer/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv6j/developer/parent b/profiles/default/linux/arm/13.0/armv6j/developer/parent
deleted file mode 100644
index 5c8258a..0000000
--- a/profiles/default/linux/arm/13.0/armv6j/developer/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/developer

diff --git a/profiles/default/linux/arm/13.0/armv6j/eapi b/profiles/default/linux/arm/13.0/armv6j/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv6j/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv6j/parent b/profiles/default/linux/arm/13.0/armv6j/parent
deleted file mode 100644
index c0ffd32..0000000
--- a/profiles/default/linux/arm/13.0/armv6j/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../arch/arm/armv6j/

diff --git a/profiles/default/linux/arm/13.0/armv7a/desktop/eapi b/profiles/default/linux/arm/13.0/armv7a/desktop/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv7a/desktop/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv7a/desktop/gnome/eapi b/profiles/default/linux/arm/13.0/armv7a/desktop/gnome/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv7a/desktop/gnome/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv7a/desktop/gnome/parent b/profiles/default/linux/arm/13.0/armv7a/desktop/gnome/parent
deleted file mode 100644
index 9e06c45..0000000
--- a/profiles/default/linux/arm/13.0/armv7a/desktop/gnome/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/gnome

diff --git a/profiles/default/linux/arm/13.0/armv7a/desktop/kde/eapi b/profiles/default/linux/arm/13.0/armv7a/desktop/kde/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv7a/desktop/kde/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv7a/desktop/kde/parent b/profiles/default/linux/arm/13.0/armv7a/desktop/kde/parent
deleted file mode 100644
index f8a0399..0000000
--- a/profiles/default/linux/arm/13.0/armv7a/desktop/kde/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../../targets/desktop/kde

diff --git a/profiles/default/linux/arm/13.0/armv7a/desktop/parent b/profiles/default/linux/arm/13.0/armv7a/desktop/parent
deleted file mode 100644
index db8ce08..0000000
--- a/profiles/default/linux/arm/13.0/armv7a/desktop/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/desktop

diff --git a/profiles/default/linux/arm/13.0/armv7a/developer/eapi b/profiles/default/linux/arm/13.0/armv7a/developer/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv7a/developer/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv7a/developer/parent b/profiles/default/linux/arm/13.0/armv7a/developer/parent
deleted file mode 100644
index 5c8258a..0000000
--- a/profiles/default/linux/arm/13.0/armv7a/developer/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/developer

diff --git a/profiles/default/linux/arm/13.0/armv7a/eapi b/profiles/default/linux/arm/13.0/armv7a/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/armv7a/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/armv7a/parent b/profiles/default/linux/arm/13.0/armv7a/parent
deleted file mode 100644
index 39d8921..0000000
--- a/profiles/default/linux/arm/13.0/armv7a/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../arch/arm/armv7a/

diff --git a/profiles/default/linux/arm/13.0/armv7a/rap/make.defaults b/profiles/default/linux/arm/13.0/armv7a/rap/make.defaults
deleted file mode 100644
index 61ca581..0000000
--- a/profiles/default/linux/arm/13.0/armv7a/rap/make.defaults
+++ /dev/null
@@ -1,3 +0,0 @@
-# accept unstable keyword before RAP matures
-# accept Prefix keyword to use Prefix overlay for transition
-ACCEPT_KEYWORDS="~arm ~arm-linux"

diff --git a/profiles/default/linux/arm/13.0/armv7a/rap/parent b/profiles/default/linux/arm/13.0/armv7a/rap/parent
deleted file mode 100644
index 8a04a12..0000000
--- a/profiles/default/linux/arm/13.0/armv7a/rap/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../features/rap

diff --git a/profiles/default/linux/arm/13.0/desktop/eapi b/profiles/default/linux/arm/13.0/desktop/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/desktop/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/desktop/gnome/eapi b/profiles/default/linux/arm/13.0/desktop/gnome/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/desktop/gnome/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/desktop/gnome/parent b/profiles/default/linux/arm/13.0/desktop/gnome/parent
deleted file mode 100644
index 6589a0e..0000000
--- a/profiles/default/linux/arm/13.0/desktop/gnome/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/desktop/gnome

diff --git a/profiles/default/linux/arm/13.0/desktop/kde/eapi b/profiles/default/linux/arm/13.0/desktop/kde/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/desktop/kde/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/desktop/kde/parent b/profiles/default/linux/arm/13.0/desktop/kde/parent
deleted file mode 100644
index b4d42bb..0000000
--- a/profiles/default/linux/arm/13.0/desktop/kde/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../targets/desktop/kde

diff --git a/profiles/default/linux/arm/13.0/desktop/parent b/profiles/default/linux/arm/13.0/desktop/parent
deleted file mode 100644
index ad6c5e1..0000000
--- a/profiles/default/linux/arm/13.0/desktop/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../targets/desktop

diff --git a/profiles/default/linux/arm/13.0/developer/eapi b/profiles/default/linux/arm/13.0/developer/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/developer/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/developer/parent b/profiles/default/linux/arm/13.0/developer/parent
deleted file mode 100644
index 4c89374..0000000
--- a/profiles/default/linux/arm/13.0/developer/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../targets/developer

diff --git a/profiles/default/linux/arm/13.0/eapi b/profiles/default/linux/arm/13.0/eapi
deleted file mode 100644
index 0cfbf08..0000000
--- a/profiles/default/linux/arm/13.0/eapi
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/profiles/default/linux/arm/13.0/parent b/profiles/default/linux/arm/13.0/parent
deleted file mode 100644
index 7c03775..0000000
--- a/profiles/default/linux/arm/13.0/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../releases/13.0

diff --git a/profiles/default/linux/arm/ChangeLog b/profiles/default/linux/arm/ChangeLog
deleted file mode 100644
index 8d45096..0000000
--- a/profiles/default/linux/arm/ChangeLog
+++ /dev/null
@@ -1,70 +0,0 @@
-# ChangeLog for the default/linux/arm profile directory
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/default/linux/arm/ChangeLog,v 1.4 2013/02/09 11:43:13 dilfridge Exp $
-
-  09 Feb 2013; Andreas K. Huettel <dilfridge@gentoo.org>
-  +10.0/armv4/deprecated, +10.0/armv4/desktop/deprecated,
-  +10.0/armv4/desktop/gnome/deprecated, +10.0/armv4/desktop/kde/deprecated,
-  +10.0/armv4/developer/deprecated, +10.0/armv4/server/deprecated,
-  +10.0/armv4t/deprecated, +10.0/armv4t/desktop/deprecated,
-  +10.0/armv4t/desktop/gnome/deprecated, +10.0/armv4t/desktop/kde/deprecated,
-  +10.0/armv4t/developer/deprecated, +10.0/armv4t/server/deprecated,
-  +10.0/armv5te/deprecated, +10.0/armv5te/desktop/deprecated,
-  +10.0/armv5te/desktop/gnome/deprecated, +10.0/armv5te/desktop/kde/deprecated,
-  +10.0/armv5te/developer/deprecated, +10.0/armv5te/server/deprecated,
-  +10.0/armv6j/deprecated, +10.0/armv6j/desktop/deprecated,
-  +10.0/armv6j/desktop/gnome/deprecated, +10.0/armv6j/desktop/kde/deprecated,
-  +10.0/armv6j/developer/deprecated, +10.0/armv6j/server/deprecated,
-  +10.0/armv7a/deprecated, +10.0/armv7a/desktop/deprecated,
-  +10.0/armv7a/desktop/gnome/deprecated, +10.0/armv7a/desktop/kde/deprecated,
-  +10.0/armv7a/developer/deprecated, +10.0/armv7a/server/deprecated,
-  +10.0/deprecated, +10.0/desktop/deprecated, +10.0/desktop/gnome/deprecated,
-  +10.0/desktop/kde/deprecated, +10.0/developer/deprecated,
-  +10.0/server/deprecated:
-  Deprecate 10.0 profiles
-
-  18 Jan 2013; Andreas K. Huettel <dilfridge@gentoo.org> ChangeLog:
-  Fix ChangeLog header
-
-  16 Jan 2013; Andreas K. Huettel <dilfridge@gentoo.org>
-  -13.0/armv4/server/eapi, -13.0/armv4/server/parent, -13.0/armv4t/server/eapi,
-  -13.0/armv4t/server/parent, -13.0/armv5te/server/eapi,
-  -13.0/armv5te/server/parent, -13.0/armv6j/server/eapi,
-  -13.0/armv6j/server/parent, -13.0/armv7a/server/eapi,
-  -13.0/armv7a/server/parent, -13.0/server/eapi, -13.0/server/parent:
-  Remove 13.0 server profiles as per mailing list discussion
-
-  15 Jan 2013; Andreas K. Huettel <dilfridge@gentoo.org>
-  +13.0/armv4/desktop/eapi, +13.0/armv4/desktop/gnome/eapi,
-  +13.0/armv4/desktop/gnome/parent, +13.0/armv4/desktop/kde/eapi,
-  +13.0/armv4/desktop/kde/parent, +13.0/armv4/desktop/parent,
-  +13.0/armv4/developer/eapi, +13.0/armv4/developer/parent, +13.0/armv4/eapi,
-  +13.0/armv4/parent, +13.0/armv4/server/eapi, +13.0/armv4/server/parent,
-  +13.0/armv4t/desktop/eapi, +13.0/armv4t/desktop/gnome/eapi,
-  +13.0/armv4t/desktop/gnome/parent, +13.0/armv4t/desktop/kde/eapi,
-  +13.0/armv4t/desktop/kde/parent, +13.0/armv4t/desktop/parent,
-  +13.0/armv4t/developer/eapi, +13.0/armv4t/developer/parent,
-  +13.0/armv4t/eapi, +13.0/armv4t/parent, +13.0/armv4t/server/eapi,
-  +13.0/armv4t/server/parent, +13.0/armv5te/desktop/eapi,
-  +13.0/armv5te/desktop/gnome/eapi, +13.0/armv5te/desktop/gnome/parent,
-  +13.0/armv5te/desktop/kde/eapi, +13.0/armv5te/desktop/kde/parent,
-  +13.0/armv5te/desktop/parent, +13.0/armv5te/developer/eapi,
-  +13.0/armv5te/developer/parent, +13.0/armv5te/eapi, +13.0/armv5te/parent,
-  +13.0/armv5te/server/eapi, +13.0/armv5te/server/parent,
-  +13.0/armv6j/desktop/eapi, +13.0/armv6j/desktop/gnome/eapi,
-  +13.0/armv6j/desktop/gnome/parent, +13.0/armv6j/desktop/kde/eapi,
-  +13.0/armv6j/desktop/kde/parent, +13.0/armv6j/desktop/parent,
-  +13.0/armv6j/developer/eapi, +13.0/armv6j/developer/parent,
-  +13.0/armv6j/eapi, +13.0/armv6j/parent, +13.0/armv6j/server/eapi,
-  +13.0/armv6j/server/parent, +13.0/armv7a/desktop/eapi,
-  +13.0/armv7a/desktop/gnome/eapi, +13.0/armv7a/desktop/gnome/parent,
-  +13.0/armv7a/desktop/kde/eapi, +13.0/armv7a/desktop/kde/parent,
-  +13.0/armv7a/desktop/parent, +13.0/armv7a/developer/eapi,
-  +13.0/armv7a/developer/parent, +13.0/armv7a/eapi, +13.0/armv7a/parent,
-  +13.0/armv7a/server/eapi, +13.0/armv7a/server/parent, +13.0/desktop/eapi,
-  +13.0/desktop/gnome/eapi, +13.0/desktop/gnome/parent, +13.0/desktop/kde/eapi,
-  +13.0/desktop/kde/parent, +13.0/desktop/parent, +13.0/developer/eapi,
-  +13.0/developer/parent, +13.0/eapi, +13.0/parent, +13.0/server/eapi,
-  +13.0/server/parent:
-  Copy profile tree 10.0 to 13.0 and adapt inheritance
-

diff --git a/profiles/default/linux/arm/parent b/profiles/default/linux/arm/parent
deleted file mode 100644
index cf8b79e..0000000
--- a/profiles/default/linux/arm/parent
+++ /dev/null
@@ -1,3 +0,0 @@
-../../../base
-..
-../../../arch/arm

diff --git a/profiles/default/linux/x86/13.0/rap/make.defaults b/profiles/default/linux/x86/13.0/rap/make.defaults
deleted file mode 100644
index 5682e93..0000000
--- a/profiles/default/linux/x86/13.0/rap/make.defaults
+++ /dev/null
@@ -1,3 +0,0 @@
-# accept unstable keyword before RAP matures
-# accept Prefix keyword to use Prefix overlay for transition
-ACCEPT_KEYWORDS="~x86 ~x86-linux"

diff --git a/profiles/default/linux/x86/13.0/rap/parent b/profiles/default/linux/x86/13.0/rap/parent
deleted file mode 100644
index 5288c1b..0000000
--- a/profiles/default/linux/x86/13.0/rap/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-gentoo:default/linux/x86/13.0
-../../../../../features/rap

diff --git a/profiles/eapi b/profiles/eapi
deleted file mode 100644
index 7ed6ff8..0000000
--- a/profiles/eapi
+++ /dev/null
@@ -1 +0,0 @@
-5

diff --git a/profiles/features/rap/make.defaults b/profiles/features/rap/make.defaults
deleted file mode 100644
index ed808e9..0000000
--- a/profiles/features/rap/make.defaults
+++ /dev/null
@@ -1,2 +0,0 @@
-# sandbox not prefixified yet.
-FEATURES="-sandbox"

diff --git a/profiles/features/rap/packages b/profiles/features/rap/packages
deleted file mode 100644
index c574b8e..0000000
--- a/profiles/features/rap/packages
+++ /dev/null
@@ -1,11 +0,0 @@
-# kmod has not been prefixified
--*virtual/modutils
-
-# shadow has not been prefixified
--*virtual/shadow
-
-# don't need in rap
--*virtual/dev-manager
-
-# permission is not handled by portage for normal users
--*net-misc/iputils

diff --git a/profiles/features/rap/profile.bashrc b/profiles/features/rap/profile.bashrc
deleted file mode 100644
index 5f7a4a4..0000000
--- a/profiles/features/rap/profile.bashrc
+++ /dev/null
@@ -1,9 +0,0 @@
-# use sysroot of toolchain to get include and library at compile time work
-# Benda Xu <heroxbd@gentoo.org> (17 Jun, 2013)
-
-if [[ ${CATEGORY} == sys-devel ]] && [[ ${PN} == binutils || ${PN} == libtool ]] \
-	&& [[ ${EBUILD_PHASE} == unpack ]]; then
-	elog "append --with-sysroot=${EPREFIX} to configure for Prefix libc"
-	EXTRA_ECONF+="--with-sysroot=${EPREFIX}"
-fi
-

diff --git a/profiles/features/rap/use.force b/profiles/features/rap/use.force
deleted file mode 100644
index 193e6d8..0000000
--- a/profiles/features/rap/use.force
+++ /dev/null
@@ -1,5 +0,0 @@
-# force Prefix
-prefix
-
-# force rap (Prefix with libc)
-rap

diff --git a/profiles/features/rap/use.mask b/profiles/features/rap/use.mask
deleted file mode 100644
index 4c45f2d..0000000
--- a/profiles/features/rap/use.mask
+++ /dev/null
@@ -1,8 +0,0 @@
-# unmask prefix
--prefix
-
-# sys-libs/gpm has not been prefixified
-gpm
-
-# sys-libs/pam has not been prefixified
-pam

diff --git a/profiles/profiles.desc b/profiles/profiles.desc
deleted file mode 100644
index a7d42e7..0000000
--- a/profiles/profiles.desc
+++ /dev/null
@@ -1 +0,0 @@
-x86           default/linux/x86/13.0/rap	stable

diff --git a/profiles/repo_name b/profiles/repo_name
deleted file mode 100644
index f857e77..0000000
--- a/profiles/repo_name
+++ /dev/null
@@ -1 +0,0 @@
-rap

diff --git a/sys-apps/coreutils/ChangeLog b/sys-apps/coreutils/ChangeLog
new file mode 100644
index 0000000..ae6eb75
--- /dev/null
+++ b/sys-apps/coreutils/ChangeLog
@@ -0,0 +1,1410 @@
+# ChangeLog for sys-apps/coreutils
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/ChangeLog,v 1.373 2013/06/05 00:35:14 vapier Exp $
+
+  05 Jun 2013; Mike Frysinger <vapier@gentoo.org> metadata.xml:
+  Add upstream CPE tag (security info) from ChromiumOS.
+
+  28 Apr 2013; Mike Frysinger <vapier@gentoo.org> coreutils-8.21.ebuild:
+  Use virtual/libintl for runtime nls dependency #398983 by Maxim Kammerer.
+
+  20 Feb 2013; Zac Medico <zmedico@gentoo.org> coreutils-8.21.ebuild:
+  Fix for prefix and add ~arm-linux + ~x86-linux keywords.
+
+*coreutils-8.21 (18 Feb 2013)
+
+  18 Feb 2013; Mike Frysinger <vapier@gentoo.org> +coreutils-8.21.ebuild:
+  Version bump.
+
+  22 Jan 2013; Guy Martin <gmsoft@gentoo.org> coreutils-8.20-r2.ebuild:
+  Marked stable on hppa to fix #452570.
+
+  17 Jan 2013; Mike Frysinger <vapier@gentoo.org> coreutils-8.20-r2.ebuild:
+  Fix building on hppa-1.1 systems #452570 by Jeroen Roovers.
+
+  11 Jan 2013; Lars Wendler <polynomial-c@gentoo.org> coreutils-8.20-r2.ebuild:
+  non-maintainer commit: Fixed download location of patchset.
+
+*coreutils-8.20-r2 (11 Jan 2013)
+
+  11 Jan 2013; Mike Frysinger <vapier@gentoo.org> +coreutils-8.20-r2.ebuild:
+  Add fix from upstream for `seq -s` misbehavior #448716 by Homer.  Fix parallel
+  recursive cp errors w/mkdir #449838 by Michał Górny.
+
+  01 Jan 2013; Raúl Porcel <armin76@gentoo.org> coreutils-8.20.ebuild:
+  m68k/s390/sh stable wrt #443536
+
+  30 Dec 2012; Agostino Sarubbo <ago@gentoo.org> coreutils-8.20.ebuild:
+  Stable for alpha, wrt bug #443536
+
+  29 Dec 2012; Agostino Sarubbo <ago@gentoo.org> coreutils-8.20.ebuild:
+  Stable for sparc, wrt bug #443536
+
+*coreutils-8.20-r1 (19 Dec 2012)
+
+  19 Dec 2012; Mike Frysinger <vapier@gentoo.org> +coreutils-8.20-r1.ebuild:
+  Add fix from upstream for `cp --no-preserve=mode` always exiting w/status of 1
+  as noticed in ChromiumOS.
+
+  17 Dec 2012; Agostino Sarubbo <ago@gentoo.org> coreutils-8.20.ebuild:
+  Stable for ia64, wrt bug #443536
+
+  08 Dec 2012; Mike Frysinger <vapier@gentoo.org> coreutils-8.20.ebuild:
+  Disable man generation for native compiles too #446438 by Mario Kicherer.
+
+  07 Dec 2012; Mike Frysinger <vapier@gentoo.org> coreutils-8.20.ebuild:
+  Fix cross-compiling #446104 and x32 building.
+
+  04 Dec 2012; <ago@gentoo.org> coreutils-8.20.ebuild:
+  Stable for x86, wrt bug #443536
+
+  02 Dec 2012; Anthony G. Basile <blueness@gentoo.org> coreutils-8.20.ebuild:
+  stable ppc ppc64, bug #443536
+
+  02 Dec 2012; Markus Meier <maekke@gentoo.org> coreutils-8.20.ebuild:
+  arm stable, bug #443536
+
+  30 Nov 2012; Sergey Popov <pinkbyte@gentoo.org> coreutils-8.20.ebuild:
+  Stable on amd64, wrt bug #443536
+
+  29 Nov 2012; Jeroen Roovers <jer@gentoo.org> coreutils-8.20.ebuild:
+  Stable for HPPA (bug #443536).
+
+*coreutils-8.20 (23 Oct 2012)
+
+  23 Oct 2012; Mike Frysinger <vapier@gentoo.org> +coreutils-8.20.ebuild:
+  Version bump.
+
+  03 Oct 2012; Brent Baude <ranger@gentoo.org> coreutils-8.16.ebuild:
+  Marking coreutils-8.16 ppc for bug 431722
+
+  30 Sep 2012; Raúl Porcel <armin76@gentoo.org> coreutils-8.16.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #431722
+
+  27 Sep 2012; Anthony G. Basile <blueness@gentoo.org> coreutils-8.16.ebuild:
+  stable ppc ppc64, bug #431722
+
+  23 Sep 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> coreutils-8.16.ebuild:
+  x86 stable wrt bug #431722
+
+  06 Sep 2012; Mike Frysinger <vapier@gentoo.org> coreutils-8.16.ebuild:
+  Hack the glibc-2.16/gets issue to current stable (already fixed in newer
+  versions).
+
+  23 Aug 2012; Markus Meier <maekke@gentoo.org> coreutils-8.16.ebuild:
+  arm stable, bug #431722
+
+*coreutils-8.19 (20 Aug 2012)
+
+  20 Aug 2012; Mike Frysinger <vapier@gentoo.org> +coreutils-8.19.ebuild:
+  Version bump.
+
+  20 Aug 2012; Jeroen Roovers <jer@gentoo.org> coreutils-8.16.ebuild:
+  Stable for HPPA (bug #431722).
+
+  18 Aug 2012; Mike Frysinger <vapier@gentoo.org> coreutils-8.18.ebuild:
+  Depend on USE=static-libs for lib packages when USE=static #425732 by
+  Christian Ruppert.
+
+  18 Aug 2012; Mike Frysinger <vapier@gentoo.org> coreutils-8.18.ebuild:
+  Fix static linking #425730 by Christian Ruppert.
+
+  18 Aug 2012; Agostino Sarubbo <ago@gentoo.org> coreutils-8.16.ebuild:
+  Stable for amd64, wrt bug #431722
+
+*coreutils-8.18 (12 Aug 2012)
+
+  12 Aug 2012; Mike Frysinger <vapier@gentoo.org> +coreutils-8.18.ebuild:
+  Version bump.
+
+  11 Jul 2012; Richard Yao <ryao@gentoo.org> coreutils-8.17.ebuild:
+  Support Gentoo FreeBSD, bug #424856, discussed with ssuominen in IRC
+
+  24 May 2012; Mike Frysinger <vapier@gentoo.org> coreutils-8.17.ebuild:
+  Set gl_cv_func_realpath_works when cross-compiling #416629 by Robin Bankhead.
+
+*coreutils-8.17 (10 May 2012)
+
+  10 May 2012; Mike Frysinger <vapier@gentoo.org> +coreutils-8.17.ebuild:
+  Version bump.
+
+  28 Mar 2012; Mike Frysinger <vapier@gentoo.org> coreutils-8.16.ebuild:
+  Force mknod test to avoid dying when running as root #409919 by Paweł
+  Rumian.
+
+  27 Mar 2012; Mike Frysinger <vapier@gentoo.org> coreutils-8.5.ebuild,
+  coreutils-8.5-r1.ebuild, coreutils-8.7.ebuild, coreutils-8.8.ebuild,
+  coreutils-8.9.ebuild, coreutils-8.10.ebuild, coreutils-8.11.ebuild,
+  coreutils-8.12.ebuild, coreutils-8.13.ebuild, coreutils-8.14.ebuild,
+  coreutils-8.15.ebuild, coreutils-8.16.ebuild:
+  Migrate to gnu-alpha mirror.
+
+*coreutils-8.16 (27 Mar 2012)
+
+  27 Mar 2012; Mike Frysinger <vapier@gentoo.org> +coreutils-8.16.ebuild:
+  Version bump.
+
+  19 Feb 2012; Raúl Porcel <armin76@gentoo.org> coreutils-8.14.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #397929
+
+  02 Feb 2012; Samuli Suominen <ssuominen@gentoo.org> coreutils-8.14.ebuild:
+  ppc64 stable wrt #397929
+
+  01 Feb 2012; Brent Baude <ranger@gentoo.org> coreutils-8.14.ebuild:
+  Marking coreutils-8.14 ppc for bug 397929
+
+  21 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> coreutils-8.14.ebuild:
+  x86 stable wrt bug #397929
+
+  18 Jan 2012; Markus Meier <maekke@gentoo.org> coreutils-8.14.ebuild:
+  arm stable, bug #397929
+
+  17 Jan 2012; Jeroen Roovers <jer@gentoo.org> coreutils-8.14.ebuild:
+  Stable for HPPA (bug #397929).
+
+  07 Jan 2012; Agostino Sarubbo <ago@gentoo.org> coreutils-8.14.ebuild:
+  Stable for AMD64, wrt bug #397929
+
+*coreutils-8.15 (06 Jan 2012)
+
+  06 Jan 2012; Mike Frysinger <vapier@gentoo.org> +coreutils-8.15.ebuild:
+  Version bump.
+
+  18 Oct 2011; Mike Frysinger <vapier@gentoo.org> coreutils-8.14.ebuild:
+  Extend man page hack to missing perl #387091 by nzqr.
+
+*coreutils-8.14 (13 Oct 2011)
+
+  13 Oct 2011; Mike Frysinger <vapier@gentoo.org> +coreutils-8.14.ebuild:
+  Version bump.
+
+*coreutils-8.13 (09 Sep 2011)
+
+  09 Sep 2011; Mike Frysinger <vapier@gentoo.org> +coreutils-8.13.ebuild:
+  Version bump.
+
+*coreutils-8.12 (26 Apr 2011)
+
+  26 Apr 2011; Mike Frysinger <vapier@gentoo.org> +coreutils-8.12.ebuild:
+  Version bump.
+
+*coreutils-8.11 (14 Apr 2011)
+
+  14 Apr 2011; Mike Frysinger <vapier@gentoo.org> +coreutils-8.11.ebuild:
+  Version bump.
+
+  17 Mar 2011; Mike Frysinger <vapier@gentoo.org> coreutils-8.10.ebuild:
+  Add warning for users with buggy btrfs setups #353907 by Zac Medico.
+
+  19 Feb 2011; Mike Frysinger <vapier@gentoo.org> coreutils-8.10.ebuild:
+  Add patch from upstream for sandbox/git misbehavior #355045 by Kyle Milz.
+
+*coreutils-8.10 (05 Feb 2011)
+
+  05 Feb 2011; Mike Frysinger <vapier@gentoo.org> +coreutils-8.10.ebuild:
+  Version bump.
+
+*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)
+
+  30 Dec 2010; Mike Frysinger <vapier@gentoo.org> coreutils-8.7.ebuild:
+  Mark alpha/ia64/s390/sh stable #348471.
+
+  30 Dec 2010; Mike Frysinger <vapier@gentoo.org> coreutils-8.7.ebuild,
+  coreutils-8.8.ebuild:
+  No longer need ncurses #350126 by Jonathan Callen.
+
+*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
+
+  21 Dec 2010; Markus Meier <maekke@gentoo.org> coreutils-8.7.ebuild:
+  arm stable, bug #348471
+
+  14 Dec 2010; Mike Frysinger <vapier@gentoo.org> coreutils-8.7.ebuild:
+  Avoid perl dep for compiled in dircolors default #348642.
+
+  13 Dec 2010; Brent Baude <ranger@gentoo.org> coreutils-8.7.ebuild:
+  Marking coreutils-8.7 ppc64 for bug 348471
+
+  13 Dec 2010; Brent Baude <ranger@gentoo.org> coreutils-8.7.ebuild:
+  Marking coreutils-8.7 ppc for bug 348471
+
+  13 Dec 2010; Jeroen Roovers <jer@gentoo.org> coreutils-8.7.ebuild:
+  Stable for HPPA (bug #348471).
+
+  12 Dec 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> coreutils-8.7.ebuild:
+  x86 stable wrt bug #348471
+
+*coreutils-8.7 (13 Nov 2010)
+
+  13 Nov 2010; Mike Frysinger <vapier@gentoo.org> +coreutils-8.7.ebuild:
+  Version bump.
+
+*coreutils-8.6 (26 Oct 2010)
+
+  26 Oct 2010; Mike Frysinger <vapier@gentoo.org> +coreutils-8.6.ebuild:
+  Version bump #342583.
+
+  18 Sep 2010; Raúl Porcel <armin76@gentoo.org> coreutils-8.5.ebuild:
+  sparc stable wrt #327147
+
+  13 Aug 2010; Joseph Jezak <josejx@gentoo.org> coreutils-8.5.ebuild:
+  Marked ppc stable for bug #327147.
+
+*coreutils-8.5-r1 (19 Jul 2010)
+
+  19 Jul 2010; Mike Frysinger <vapier@gentoo.org> +coreutils-8.5-r1.ebuild:
+  Include i18n patch from Fedora #328827 by Arago.
+
+  19 Jul 2010; Mike Frysinger <vapier@gentoo.org> coreutils-8.5.ebuild:
+  Stabilize for alpha/arm/ia64/s390/sh #327147.
+
+  19 Jul 2010; Mike Frysinger <vapier@gentoo.org> coreutils-8.5.ebuild:
+  Workaround stdbuf build failure when USE=static #321821 by Igor
+  Novgorodov.
+
+  14 Jul 2010; Markos Chandras <hwoarang@gentoo.org> coreutils-8.5.ebuild:
+  Stable on amd64 wrt bug #327147
+
+  11 Jul 2010; Christian Faulhammer <fauli@gentoo.org> coreutils-8.5.ebuild:
+  stable x86, bug 327147
+
+  10 Jul 2010; Brent Baude <ranger@gentoo.org> coreutils-8.5.ebuild:
+  Marking coreutils-8.5 ppc64 for bug 327147
+
+  10 Jul 2010; Jeroen Roovers <jer@gentoo.org> coreutils-8.5.ebuild:
+  Stable for HPPA (bug #327147).
+
+  24 May 2010; <nixnut@gentoo.org> coreutils-8.4.ebuild:
+  ppc stable #311827
+
+  22 May 2010; Raúl Porcel <armin76@gentoo.org> coreutils-8.4.ebuild:
+  sparc stable wrt #311827
+
+  20 May 2010; Mike Frysinger <vapier@gentoo.org> coreutils-8.4.ebuild:
+  Mark alpha/arm/ia64/s390/sh stable #311827.
+
+  11 May 2010; Brent Baude <ranger@gentoo.org> coreutils-8.4.ebuild:
+  Marking coreutils-8.4 ppc64 for bug 311827
+
+  08 May 2010; Mike Frysinger <vapier@gentoo.org> coreutils-8.4.ebuild:
+  Tweak tests in i18n patch #317565 by T Chan.
+
+*coreutils-8.5 (24 Apr 2010)
+
+  24 Apr 2010; Mike Frysinger <vapier@gentoo.org> +coreutils-8.5.ebuild:
+  Version bump.
+
+  08 Apr 2010; Christian Faulhammer <fauli@gentoo.org> coreutils-8.4.ebuild:
+  stable x86, bug 311827
+
+  05 Apr 2010; Markos Chandras <hwoarang@gentoo.org> coreutils-8.4.ebuild:
+  Stable on amd64 wrt bug #311827
+
+  29 Mar 2010; Jeroen Roovers <jer@gentoo.org> coreutils-8.4.ebuild:
+  Stable for HPPA (bug #311827).
+
+  28 Mar 2010; Mike Frysinger <vapier@gentoo.org> coreutils-8.4.ebuild:
+  Force statfs tests when cross-compiling #311569 by Stephen Lewis.
+
+  24 Jan 2010; Mike Frysinger <vapier@gentoo.org> coreutils-8.4.ebuild:
+  Disable selinux tests when USE=-selinux #301782 by Philipp Riegger.
+
+*coreutils-8.4 (13 Jan 2010)
+
+  13 Jan 2010; Mike Frysinger <vapier@gentoo.org> +coreutils-8.4.ebuild:
+  Version bump.
+
+*coreutils-8.3 (08 Jan 2010)
+
+  08 Jan 2010; Mike Frysinger <vapier@gentoo.org> +coreutils-8.3.ebuild:
+  Version bump.
+
+  05 Jan 2010; Mike Frysinger <vapier@gentoo.org> coreutils-8.2.ebuild:
+  Add tac/-lrt build fix from upstream #298581 by Yuri Vasilevski. Include
+  unicode patch from Fedora via USE=unicode #266866 by Glenn Sommer.
+
+*coreutils-8.2 (11 Dec 2009)
+
+  11 Dec 2009; Mike Frysinger <vapier@gentoo.org> +coreutils-8.2.ebuild:
+  Version bump.
+
+  02 Dec 2009; Mike Frysinger <vapier@gentoo.org> coreutils-8.1.ebuild:
+  Force people to start migrating to xz-utils.
+
+*coreutils-8.1 (19 Nov 2009)
+
+  19 Nov 2009; Mike Frysinger <vapier@gentoo.org> +coreutils-8.1.ebuild:
+  Version bump #288253 by Rafał Mużyło.
+
+  09 Nov 2009; Mike Frysinger <vapier@gentoo.org> coreutils-7.6.ebuild:
+  Use new packager flags to tag binaries with Gentoo info.
+
+  31 Oct 2009; Brent Baude <ranger@gentoo.org> coreutils-7.5-r1.ebuild:
+  Marking coreutils-7.5 ppc64 for bug 287219
+
+  21 Oct 2009; Jeroen Roovers <jer@gentoo.org> coreutils-7.5-r1.ebuild:
+  Stable for HPPA (bug #287219).
+
+*coreutils-7.5-r1 (18 Oct 2009)
+
+  18 Oct 2009; Mike Frysinger <vapier@gentoo.org> +coreutils-7.5-r1.ebuild:
+  Add fix from newer versions for cp/mv problems on older kernels #289134 by
+  Allen Brooker.
+
+  12 Oct 2009; Mike Frysinger <vapier@gentoo.org> coreutils-7.5.ebuild,
+  coreutils-7.6.ebuild:
+  Inform people to reload their LS_COLOR env settings #288693 by Dirkjan
+  Ochtman.
+
+  10 Oct 2009; Raúl Porcel <armin76@gentoo.org> coreutils-7.5.ebuild:
+  alpha/ia64/m68k/s390/sh/sparc stable wrt #287219
+
+  09 Oct 2009; Mike Frysinger <vapier@gentoo.org> coreutils-7.6.ebuild:
+  Add patch from upstream for mktemp build failures on some systems #288183
+  by Alexey Charkov.
+
+  07 Oct 2009; nixnut <nixnut@gentoo.org> coreutils-7.5.ebuild:
+  ppc stable #287219
+
+  05 Oct 2009; Markus Meier <maekke@gentoo.org> coreutils-7.5.ebuild:
+  amd64/arm/x86 stable, bug #287219
+
+  03 Oct 2009; Raúl Porcel <armin76@gentoo.org> coreutils-7.4.ebuild:
+  ia64/m68k/s390/sh/sparc stable wrt #281699
+
+*coreutils-7.6 (23 Sep 2009)
+
+  23 Sep 2009; Mike Frysinger <vapier@gentoo.org> +coreutils-7.6.ebuild:
+  Version bump #284727 by Arfrever Frehtes Taifersar Arahesis.
+
+  13 Sep 2009; Markus Meier <maekke@gentoo.org> coreutils-7.4.ebuild:
+  arm stable, bug #281699
+
+  03 Sep 2009; Mike Frysinger <vapier@gentoo.org> coreutils-7.1.ebuild,
+  coreutils-7.2.ebuild, coreutils-7.4.ebuild, coreutils-7.5.ebuild:
+  Workaround broken --enable-libcap handling #283589 by Alberto.
+
+  31 Aug 2009; Brent Baude <ranger@gentoo.org> coreutils-7.4.ebuild:
+  stable ppc64, bug 281699
+
+  29 Aug 2009; Tobias Klausmann <klausman@gentoo.org> coreutils-7.4.ebuild:
+  Stable on alpha, bug #281699
+
+  29 Aug 2009; nixnut <nixnut@gentoo.org> coreutils-7.4.ebuild:
+  ppc stable #281699
+
+*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).
+
+  19 Aug 2009; Jeremy Olexa <darkside@gentoo.org> coreutils-7.4.ebuild:
+  amd64 stable, all tests passed. bug 281699
+
+  18 Aug 2009; Christian Faulhammer <fauli@gentoo.org> coreutils-7.4.ebuild:
+  stable x86, bug 281699
+
+  16 Aug 2009; Mike Frysinger <vapier@gentoo.org> coreutils-7.1.ebuild,
+  coreutils-7.2.ebuild, coreutils-7.4.ebuild:
+  Depend on xz-utils or lzma-utils.
+
+  06 Jul 2009; Mike Frysinger <vapier@gentoo.org> coreutils-7.4.ebuild:
+  Auto delete /bin/dircolors if it is from early coreutils #224823 by Stefan
+  de Konink.
+
+  16 May 2009; Mike Frysinger <vapier@gentoo.org> coreutils-7.1.ebuild,
+  coreutils-7.2.ebuild, coreutils-7.4.ebuild:
+  Allow /dev/loop when running mount #269758 by Nick Fortino.
+
+*coreutils-7.4 (07 May 2009)
+
+  07 May 2009; Mike Frysinger <vapier@gentoo.org> +coreutils-7.4.ebuild:
+  Version bump.
+
+  27 Apr 2009; Mike Frysinger <vapier@gentoo.org> coreutils-7.1,
+  coreutils-7.2:
+  Control gmp support via USE=gmp #267226 by Raúl Porcel.
+
+  18 Apr 2009; Raúl Porcel <armin76@gentoo.org> coreutils-7.1.ebuild:
+  arm/ia64/sh/sparc stable wrt #265614
+
+  18 Apr 2009; Markus Meier <maekke@gentoo.org> coreutils-7.1:
+  amd64/x86 stable, bug #265614
+
+  12 Apr 2009; Brent Baude <ranger@gentoo.org> coreutils-7.1.ebuild:
+  stable ppc64, bug 265614
+
+  12 Apr 2009; Jeroen Roovers <jer@gentoo.org> coreutils-7.1.ebuild:
+  Stable for HPPA (bug #265614).
+
+  12 Apr 2009; Tobias Klausmann <klausman@gentoo.org> coreutils-7.1.ebuild:
+  Stable on alpha, bug #265614
+
+  12 Apr 2009; Mike Frysinger <vapier@gentoo.org> coreutils-7.1.ebuild,
+  coreutils-7.2.ebuild:
+  Allow mtab to be writable when running tests with mount #265725 by Nick
+  Fortino.
+
+  11 Apr 2009; nixnut <nixnut@gentoo.org> coreutils-7.1.ebuild:
+  ppc stable #265614
+
+  02 Apr 2009; Mike Frysinger <vapier@gentoo.org> coreutils-7.2.ebuild:
+  Add fix from upstream for mv/i-3 test failure #264455 by Ryan Hill.
+
+*coreutils-7.2 (31 Mar 2009)
+
+  31 Mar 2009; Mike Frysinger <vapier@gentoo.org> +coreutils-7.2.ebuild:
+  Version bump.
+
+  12 Mar 2009; Mike Frysinger <vapier@gentoo.org> coreutils-7.1.ebuild:
+  Fix some test failures #259876 by Ryan Hill.
+
+  11 Mar 2009; Mike Frysinger <vapier@gentoo.org> coreutils-7.1.ebuild:
+  Control libcap via USE=caps #260813 by Espen Hustad.
+
+  11 Mar 2009; Mike Frysinger <vapier@gentoo.org> coreutils-7.1.ebuild:
+  Block tct/netatalk due to timeout collision #259870, and block ccp4 due to
+  truncate collision #260533.
+
+*coreutils-7.1 (22 Feb 2009)
+
+  22 Feb 2009; Mike Frysinger <vapier@gentoo.org> +coreutils-7.1.ebuild:
+  Version bump #242566.
+
+  27 Nov 2008; Mike Frysinger <vapier@gentoo.org> coreutils-6.12-r2.ebuild:
+  Block sys-apps/stat #248312 by Diego E. Pettenò.
+
+*coreutils-6.12-r2 (16 Oct 2008)
+*coreutils-6.10-r3 (16 Oct 2008)
+
+  16 Oct 2008; Robin H. Johnson <robbat2@gentoo.org>
+  +files/coreutils-6.10-selinux-opt.patch, +coreutils-6.10-r3.ebuild,
+  +coreutils-6.12-r2.ebuild:
+  Fix automagical linking against libselinux per bug #230073.
+
+*coreutils-6.12-r1 (27 Jul 2008)
+
+  27 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/gnulib-utimens-update.patch, -coreutils-6.12.ebuild,
+  +coreutils-6.12-r1.ebuild:
+  Fix for bug #224483. People with old kernels can use this once more.
+
+*coreutils-6.12 (01 Jun 2008)
+
+  01 Jun 2008; Mike Frysinger <vapier@gentoo.org> +coreutils-6.12.ebuild:
+  Version bump.
+
+  29 Apr 2008; Brent Baude <ranger@gentoo.org> coreutils-6.10-r2.ebuild:
+  stable ppc, bug 218927
+
+  24 Apr 2008; Jeroen Roovers <jer@gentoo.org> coreutils-6.10-r2.ebuild:
+  Stable for HPPA (bug #218927).
+
+  24 Apr 2008; Markus Rothe <corsair@gentoo.org> coreutils-6.10-r2.ebuild:
+  Stable on ppc64; bug #218927
+
+  24 Apr 2008; <welp@gentoo.org> coreutils-6.10-r2.ebuild:
+  Stable on amd64; bug 218927
+
+  24 Apr 2008; Raúl Porcel <armin76@gentoo.org> coreutils-6.10-r2.ebuild:
+  alpha/ia64/sparc/x86 stable wrt #218927
+
+*coreutils-6.11 (19 Apr 2008)
+
+  19 Apr 2008; Mike Frysinger <vapier@gentoo.org> +coreutils-6.11.ebuild:
+  Version bump.
+
+  17 Apr 2008; nixnut <nixnut@gentoo.org> coreutils-6.10-r1.ebuild:
+  Stable on ppc wrt bug 217239
+
+  14 Apr 2008; Jeroen Roovers <jer@gentoo.org> coreutils-6.10-r1.ebuild:
+  Stable for HPPA (bug #217239).
+
+  14 Apr 2008; Markus Rothe <corsair@gentoo.org> coreutils-6.10-r1.ebuild:
+  Stable on ppc64; bug #217239
+
+  14 Apr 2008; Raúl Porcel <armin76@gentoo.org> coreutils-6.10-r1.ebuild:
+  alpha/ia64/sparc stable wrt #217239
+
+  13 Apr 2008; Mike Frysinger <vapier@gentoo.org> coreutils-6.10-r1.ebuild,
+  coreutils-6.10-r2.ebuild:
+  Add support for USE=vanilla.
+
+  13 Apr 2008; Mike Frysinger <vapier@gentoo.org> coreutils-6.10-r1.ebuild,
+  coreutils-6.10-r2.ebuild:
+  Drop unneeded selinux configure options.
+
+  13 Apr 2008; Mike Frysinger <vapier@gentoo.org> coreutils-6.10-r1.ebuild,
+  coreutils-6.10-r2.ebuild:
+  Block older versions of util-linux for the lazy who havent updated in a
+  while #217482.
+
+  13 Apr 2008; Benedikt Böhm <hollow@gentoo.org> coreutils-6.10-r1.ebuild:
+  amd64 stable wrt #217239
+
+  12 Apr 2008; Dawid Węgliński <cla@gentoo.org> coreutils-6.10-r1.ebuild:
+  Stable on x86 (bug #217239)
+
+*coreutils-6.10-r2 (12 Apr 2008)
+
+  12 Apr 2008; Mike Frysinger <vapier@gentoo.org> +coreutils-6.10-r2.ebuild:
+  Add i18n patch from Fedora and some fixes from upstream for #210133.
+
+  23 Feb 2008; Mike Frysinger <vapier@gentoo.org> coreutils-6.9-r1.ebuild:
+  Fix build error on some systems #206841 by Markus Duft.
+
+*coreutils-6.10-r1 (23 Jan 2008)
+
+  23 Jan 2008; Mike Frysinger <vapier@gentoo.org> +coreutils-6.10-r1.ebuild:
+  As Cardoe points out, mktemp has been integrated into this version, so we
+  need to block the mktemp package and put the binary in the right place.
+
+*coreutils-6.10 (23 Jan 2008)
+
+  23 Jan 2008; Mike Frysinger <vapier@gentoo.org> +coreutils-6.10.ebuild:
+  Version bump.
+
+  15 Sep 2007; Mike Frysinger <vapier@gentoo.org> coreutils-6.9-r1.ebuild:
+  Break sys-apps/attr out of USE=acl and into USE=xattr #192023.
+
+  24 Jul 2007; Mike Frysinger <vapier@gentoo.org> coreutils-6.9-r1.ebuild:
+  Punt forced man-pages depend as most people should have seen a smooth
+  upgrade cycle by now.
+
+  07 Jul 2007; Mike Frysinger <vapier@gentoo.org>
+  +files/gnulib-futimens-rename.patch, coreutils-6.9-r1.ebuild:
+  Fix from upstream gnulib for futimens handling with newer glibc #180764.
+
+  02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org> coreutils-6.4.ebuild,
+  coreutils-6.7.ebuild, coreutils-6.7-r1.ebuild, coreutils-6.9.ebuild,
+  coreutils-6.9-r1.ebuild:
+  (QA) RESTRICT clean up.
+
+  13 Jun 2007; Christoph Mende <angelos@gentoo.org> coreutils-6.9-r1.ebuild:
+  Stable on amd64 wrt bug 181624
+
+  13 Jun 2007; Mike Frysinger <vapier@gentoo.org> coreutils-6.9-r1.ebuild:
+  Add /usr/bin/uname symlink for autotools.
+
+  12 Jun 2007; Raúl Porcel <armin76@gentoo.org> coreutils-6.9-r1.ebuild:
+  ia64 stable wrt #181624
+
+  11 Jun 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+  coreutils-6.9-r1.ebuild:
+  Stable on sparc wrt #181624
+
+  11 Jun 2007; Markus Rothe <corsair@gentoo.org> coreutils-6.9-r1.ebuild:
+  Stable on ppc64; bug #181624
+
+  11 Jun 2007; Raúl Porcel <armin76@gentoo.org> coreutils-6.9-r1.ebuild:
+  alpha/x86 stable wrt #181624
+
+  11 Jun 2007; nixnut <nixnut@gentoo.org> coreutils-6.9-r1.ebuild:
+  Stable on ppc wrt bug 181624
+
+  11 Jun 2007; Jeroen Roovers <jer@gentoo.org> coreutils-6.9-r1.ebuild:
+  Fixed permissions for tests/ls/x-option. Stable for HPPA (bug #181624).
+
+  11 Jun 2007; Joshua Kinard <kumba@gentoo.org> coreutils-6.9-r1.ebuild:
+  Stable on mips, per #181624.
+
+*coreutils-6.9-r1 (30 Apr 2007)
+
+  30 Apr 2007; Mike Frysinger <vapier@gentoo.org> +coreutils-6.9-r1.ebuild:
+  Fix ls -x error #173032 and install man pages #105188.
+
+  24 Apr 2007; Bryan Østergaard <kloeri@gentoo.org>
+  coreutils-6.7-r1.ebuild:
+  Stable on Mips, bug 172003.
+
+  06 Apr 2007; Christian Faulhammer <opfer@gentoo.org>
+  coreutils-6.7-r1.ebuild:
+  stable amd64, bug 172003
+
+  04 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+  coreutils-6.7-r1.ebuild:
+  Stable on sparc wrt #172003
+
+  29 Mar 2007; Chris PeBenito <pebenito@gentoo.org> coreutils-6.9.ebuild:
+  Re-add SELinux support.
+
+  26 Mar 2007; Jeroen Roovers <jer@gentoo.org> coreutils-6.7-r1.ebuild:
+  Stable for HPPA (bug #172003).
+
+  25 Mar 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+  coreutils-6.7-r1.ebuild:
+  Stable on ppc wrt bug #172003.
+
+  25 Mar 2007; Markus Rothe <corsair@gentoo.org> coreutils-6.7-r1.ebuild:
+  Stable on ppc64 - now really.. /bin/install missing is no regression.
+
+  24 Mar 2007; Seemant Kulleen <seemant@gentoo.org>
+  files/digest-coreutils-6.9, Manifest:
+  upload the patchball, but I had to generate it myself, hence the need to
+  redigest
+
+  24 Mar 2007; Andrej Kacian <ticho@gentoo.org> coreutils-6.7-r1.ebuild:
+  Stable on x86, bug #172003.
+
+  24 Mar 2007; Markus Rothe <corsair@gentoo.org> coreutils-6.7-r1.ebuild:
+  Back to ~ppc64
+
+  24 Mar 2007; Markus Rothe <corsair@gentoo.org> coreutils-6.7-r1.ebuild:
+  Stable on ppc64; bug #172003
+
+*coreutils-6.9 (24 Mar 2007)
+
+  24 Mar 2007; Mike Frysinger <vapier@gentoo.org> +coreutils-6.9.ebuild:
+  Version bump.
+
+  13 Feb 2007; Bryan Østergaard <kloeri@gentoo.org>
+  coreutils-6.7-r1.ebuild:
+  Stable on Alpha.
+
+  22 Jan 2007; Bryan Østergaard <kloeri@gentoo.org>
+  coreutils-6.7-r1.ebuild:
+  Stable on IA64.
+
+*coreutils-6.7-r1 (02 Jan 2007)
+
+  02 Jan 2007; Mike Frysinger <vapier@gentoo.org> +coreutils-6.7-r1.ebuild:
+  Move binaries not really needed into /usr.
+
+*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:
+  ppc stable, bug #144467
+
+*coreutils-6.6 (26 Nov 2006)
+
+  26 Nov 2006; Mike Frysinger <vapier@gentoo.org> +coreutils-6.6.ebuild:
+  Version bump.
+
+  24 Nov 2006; Markus Rothe <corsair@gentoo.org> coreutils-6.4.ebuild:
+  Stable on ppc64; bug #144467
+
+  07 Nov 2006; Gustavo Zacarias <gustavoz@gentoo.org> coreutils-6.4.ebuild:
+  Stable on sparc wrt #144467
+
+  04 Nov 2006; Jeroen Roovers <jer@gentoo.org> coreutils-6.4.ebuild:
+  Stable for HPPA (bug #144467).
+
+  01 Nov 2006; Chris Gianelloni <wolf31o2@gentoo.org> coreutils-6.4.ebuild:
+  Stable on amd64/x86 wrt bug #144467.
+
+*coreutils-6.4 (23 Oct 2006)
+
+  23 Oct 2006; Mike Frysinger <vapier@gentoo.org> +coreutils-6.4.ebuild:
+  Version bump.
+
+*coreutils-6.3 (30 Sep 2006)
+
+  30 Sep 2006; Mike Frysinger <vapier@gentoo.org> +coreutils-6.3.ebuild:
+  Version bump.
+
+*coreutils-6.2 (18 Sep 2006)
+
+  18 Sep 2006; Mike Frysinger <vapier@gentoo.org> +coreutils-6.2.ebuild:
+  Version bump.
+
+  04 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> coreutils-5.97.ebuild,
+  coreutils-6.1.ebuild:
+  Backport the kernel_linux fix to 5.97 and drop keyword from 6.1 as it
+  doesn't build right now.
+
+  04 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> coreutils-6.1.ebuild:
+  Remove kernel_linux conditional for acl and attr, acl can be use.masked for
+  this package on non-linux profiles now.
+
+*coreutils-6.1 (20 Aug 2006)
+
+  20 Aug 2006; Mike Frysinger <vapier@gentoo.org> +coreutils-6.1.ebuild:
+  Version bump.
+
+  06 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> coreutils-5.96.ebuild,
+  coreutils-5.97.ebuild:
+  Drop keyword from old version, and make acl deps being actual dep only on
+  Linux. *BSD does not require those deps although acl works fine.
+
+*coreutils-5.97 (25 Jun 2006)
+
+  25 Jun 2006; Mike Frysinger <vapier@gentoo.org> +coreutils-5.97.ebuild:
+  Version bump.
+
+  01 Jun 2006; Diego Pettenò <flameeyes@gentoo.org> coreutils-5.96.ebuild:
+  Restrict confcache as per bug #134459.
+
+  23 May 2006; Diego Pettenò <flameeyes@gentoo.org> coreutils-5.96.ebuild:
+  Add ~x86-fbsd keyword. Change strategy for non-GNU userlands, instead of
+  prefixing with 'g' (that might collide with other binaries as in FreeBSD),
+  install in /usr/libexec/gnu. Don't force external regex on
+  non-glibc/non-uclibc systems. Remove man pages when on non-GNU userland as
+  they would collide with system's manpages.
+
+*coreutils-5.96 (22 May 2006)
+
+  22 May 2006; Mike Frysinger <vapier@gentoo.org> +coreutils-5.96.ebuild:
+  Version bump.
+
+*coreutils-5.95 (13 May 2006)
+
+  13 May 2006; Mike Frysinger <vapier@gentoo.org> +coreutils-5.95.ebuild:
+  Version bump.
+
+*coreutils-5.94-r3 (07 May 2006)
+
+  07 May 2006; Mike Frysinger <vapier@gentoo.org> +coreutils-5.94-r3.ebuild:
+  Cleanup the progress bar patch, fix the cs.po date translation, and add fix
+  from upstream for `pwd` bugs in bind mounts.
+
+  02 May 2006; Mike Doty <kingtaco@gentoo.org> coreutils-5.94-r2.ebuild:
+  mirroring coreutils-5.94-patches-1.4.tar.bz2 at
+  http://dev.gentoo.org/~kingtaco/mirror/ bug 131808
+
+  29 Apr 2006; Joshua Kinard <kumba@gentoo.org> coreutils-5.94-r1.ebuild:
+  Marked stable on mips.
+
+  17 Apr 2006; Markus Rothe <corsair@gentoo.org> coreutils-5.94-r1.ebuild:
+  Stable on ppc64; bug #129546
+
+  12 Apr 2006; Joseph Jezak <josejx@gentoo.org> coreutils-5.94-r1.ebuild:
+  Marked ppc stable for bug #129546.
+
+  12 Apr 2006; Bryan Østergaard <kloeri@gentoo.org
+  coreutils-5.94-r1.ebuild:
+  Stable on alpha, bug 129546.
+
+  11 Apr 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+  coreutils-5.94-r1.ebuild:
+  Stable on sparc wrt #129546
+
+  11 Apr 2006; Daniel Gryniewicz <dang@gentoo.org> coreutils-5.94-r1.ebuild:
+  Marked stable on amd64 Per bug# 129546
+
+  11 Apr 2006; Andrej Kacian <ticho@gentoo.org> coreutils-5.94-r1.ebuild:
+  Stable on x86, bug #129546.
+
+*coreutils-5.94-r2 (11 Apr 2006)
+
+  11 Apr 2006; Mike Frysinger <vapier@gentoo.org> +coreutils-5.94-r2.ebuild:
+  Re-enable support for system regex #128040 by Emanuele Giaquinta.
+
+  04 Mar 2006; Luca Barbato <lu_zero@gentoo.org> coreutils-5.94-r1.ebuild:
+  Missing acl logic
+
+*coreutils-5.94-r1 (20 Feb 2006)
+
+  20 Feb 2006; Mike Frysinger <vapier@gentoo.org> +coreutils-5.94-r1.ebuild:
+  Drop the --without-included-regex since it just makes things crash atm #123342.
+
+  17 Feb 2006; Mike Frysinger <vapier@gentoo.org> coreutils-5.2.1-r6.ebuild,
+  coreutils-5.2.1-r7.ebuild, coreutils-5.3.0-r1.ebuild,
+  coreutils-5.3.0-r2.ebuild, coreutils-5.93.ebuild, coreutils-5.94.ebuild:
+  Make sure $WORKDIR is go-w before giving everyone read access #122951 by
+  Joshua Pettett.
+
+  17 Feb 2006; Chris PeBenito <pebenito@gentoo.org> coreutils-5.94.ebuild:
+  Fix up SELinux patch.
+
+*coreutils-5.94 (15 Feb 2006)
+
+  15 Feb 2006; Mike Frysinger <vapier@gentoo.org> +coreutils-5.94.ebuild:
+  Version bump.
+
+  09 Feb 2006; Joshua Kinard <kumba@gentoo.org> coreutils-5.2.1-r7.ebuild:
+  Marked stable on mips for Bug #120125.
+
+  29 Jan 2006; Chris PeBenito <pebenito@gentoo.org> coreutils-5.93.ebuild:
+  Update SELinux patch for 5.93, fixes bug #120254.
+
+  27 Jan 2006; Simon Stelling <blubb@gentoo.org> coreutils-5.2.1-r7.ebuild:
+  stable on amd64
+
+*coreutils-5.93 (25 Jan 2006)
+
+  25 Jan 2006; Mike Frysinger <vapier@gentoo.org> +coreutils-5.93.ebuild:
+  Version bump #119794 by Daniel Drake.
+
+  25 Jan 2006; Jose Luis Rivero <yoswink@gentoo.org>
+  coreutils-5.2.1-r7.ebuild:
+  Stable on alpha wrt #120125
+
+  24 Jan 2006; Joseph Jezak <josejx@gentoo.org> coreutils-5.2.1-r7.ebuild:
+  Marked ppc stable for bug #120125.
+
+  24 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+  coreutils-5.2.1-r7.ebuild:
+  Stable on sparc wrt #120125
+
+  24 Jan 2006; Chris White <chriswhite@gentoo.org>
+  coreutils-5.2.1-r7.ebuild:
+  x86 stable per bug #120125.
+
+  24 Jan 2006; Markus Rothe <corsair@gentoo.org> coreutils-5.2.1-r7.ebuild:
+  Stable on ppc64; bug #120125
+
+*coreutils-5.3.0-r2 (05 Oct 2005)
+
+  05 Oct 2005; Mike Frysinger <vapier@gentoo.org>
+  +coreutils-5.3.0-r2.ebuild:
+  Fix uname parsing of cpuinfo on alpha/ia64 and use timestyle patch from
+  upstream.
+
+  13 Sep 2005; Mike Frysinger <vapier@gentoo.org> coreutils-5.3.0-r1.ebuild:
+  Fix off-by-one issue #105639 by Michal Januszewski.
+
+*coreutils-5.3.0-r1 (30 Aug 2005)
+
+  30 Aug 2005; Mike Frysinger <vapier@gentoo.org>
+  +coreutils-5.3.0-r1.ebuild:
+  Update the i18n patch to fix cut again as well as expand #104286 by peteru.
+
+  30 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> coreutils-5.3.0.ebuild:
+  Remove charset.alias if it's present, only libiconv should install it.
+
+*coreutils-5.3.0 (30 Aug 2005)
+
+  30 Aug 2005; Mike Frysinger <vapier@gentoo.org> files/DIR_COLORS,
+  +coreutils-5.3.0.ebuild:
+  Version bump.
+
+*coreutils-5.2.1-r7 (30 Aug 2005)
+
+  30 Aug 2005; Mike Frysinger <vapier@gentoo.org> files/DIR_COLORS,
+  +coreutils-5.2.1-r7.ebuild:
+  Fix memleak in chmod #87490 and update DIR_COLORS with stuff from Fedora and
+  #104087.
+
+  18 Aug 2005; Mike Frysinger <vapier@gentoo.org> coreutils-5.2.1-r6.ebuild:
+  Merge support for using coreutils on non-GNU systems by Diego Pettenò
+  #101218.
+
+  28 Jun 2005; Joshua Kinard <kumba@gentoo.org> coreutils-5.2.1-r6.ebuild:
+  Marked stable on mips.
+
+  06 Jun 2005; Markus Rothe <corsair@gentoo.org> coreutils-5.2.1-r6.ebuild:
+  Stable on ppc64
+
+  30 May 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+  coreutils-5.2.1-r6.ebuild:
+  Stable on sparc
+
+  29 May 2005; <solar@gentoo.org> coreutils-5.2.1-r2.ebuild,
+  coreutils-5.2.1-r5.ebuild, coreutils-5.2.1-r6.ebuild:
+  - update coreutils to use libc expanded variable elibc_uclibc vs uclibc so
+  USE=-* works
+
+  29 May 2005; Joseph Jezak <josejx@gentoo.org> coreutils-5.2.1-r6.ebuild:
+  Marked ppc stable.
+
+*coreutils-5.2.1-r6 (02 Apr 2005)
+
+  02 Apr 2005; Mike Frysinger <vapier@gentoo.org>
+  +coreutils-5.2.1-r6.ebuild:
+  Update i18n patch to the redhat version #87429 and include the tty utf8 fix
+  #77633.
+
+*coreutils-5.2.1-r5 (14 Mar 2005)
+
+  14 Mar 2005; Martin Schlemmer <azarah@gentoo.org>
+  +coreutils-5.2.1-r5.ebuild:
+  Add fix for bug #84564.
+
+  03 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org>
+  coreutils-5.2.1-r3.ebuild, coreutils-5.2.1-r4.ebuild:
+  Dependency update: sys-apps/at -> sys-process/at.
+
+*coreutils-5.2.1-r4 (09 Jan 2005)
+
+  09 Jan 2005; Mike Frysinger <vapier@gentoo.org>
+  +coreutils-5.2.1-r4.ebuild:
+  Fix tail -f behavior #57477 by rob holland. Have the progress bar use normal
+  spaces #76903 by Nikolai Weibull. Fix chown --dereference #53750 by Georgi
+  Georgiev. Fix test running #75932 / #76089.
+
+*coreutils-5.2.1-r3 (21 Dec 2004)
+
+  21 Dec 2004; Mike Frysinger <vapier@gentoo.org>
+  +coreutils-5.2.1-r3.ebuild:
+  Remove i686-specific asm code on i486 systems #32429. Fix tail +# syntax
+  #66713. Move [ to same place as test #65296. Fix man-page tests #69216. Fix
+  autotool code #74210. Fix @echo in man/Makefile #53881. Use DESTDIR instead
+  of einstall. Make symlinks absolute #55620.
+
+  03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+  coreutils-5.2.1-r1.ebuild, coreutils-5.2.1-r2.ebuild,
+  coreutils-5.2.1.ebuild:
+  Masked coreutils-5.2.1.ebuild stable for ppc
+
+  03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+  coreutils-5.2.1-r1.ebuild, coreutils-5.2.1-r2.ebuild:
+  Masked coreutils-5.2.1-r2.ebuild stable for ppc
+
+  03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+  coreutils-5.2.1-r1.ebuild:
+  Masked coreutils-5.2.1-r1.ebuild stable for ppc
+
+  26 Aug 2004; Ciaran McCreesh <ciaranm@gentoo.org> files/DIR_COLORS:
+  Added rxvt-unicode to the DIR_COLORS supported terminal list
+
+  26 Aug 2004; Tom Gall <tgall@gentoo.org> coreutils-5.2.1.ebuild:
+  fix ppc64 and s390, bug #61735
+
+*coreutils-5.2.1-r2 (25 Aug 2004)
+
+  25 Aug 2004; Seemant Kulleen <seemant@gentoo.org>
+  +coreutils-5.2.1-r2.ebuild:
+  Version bump to incorporate two fixes. First, the uname patch is made to work
+  on amd64 architecture (fixing bug #59774 by Danny van Dyk
+  <kugelfang@gentoo.org>), and the second is a fix to sort on large files
+  reported by: qube99@hotmail.com in bug #39515, and fixed by: Sven Wegener
+  <swegener@gentoo.org>
+
+  15 Aug 2004; Travis Tilley <lv@gentoo.org>
+  +files/003_all_coreutils-gentoo-uname.patch, coreutils-5.2.1-r1.ebuild,
+  coreutils-5.2.1.ebuild:
+  fixed uname -p on amd64
+
+  23 Jul 2004; Seemant Kulleen <seemant@gentoo.org> coreutils-5.2.0-r2.ebuild,
+  coreutils-5.2.1-r1.ebuild:
+  put a hacky fix for bug #46593 while the sparc team figures out what the
+  actual fix is
+
+  13 Jul 2004; Seemant Kulleen <seemant@gentoo.org> coreutils-5.2.1-r1.ebuild:
+  fix b0rked uname patch, closes bug #56866 by Doug Goldstein <cardoe@cardoe.com>
+
+*coreutils-5.2.1-r1 (12 Jul 2004)
+
+  12 Jul 2004; Seemant Kulleen <seemant@gentoo.org>
+  -coreutils-5.0.91-r3.ebuild, +coreutils-5.2.1-r1.ebuild:
+  Fix the sort -M deal, thanks to Sven Wegener <swegener@gentoo.org> in
+  #gentoo-bugs and also bartron@gmx.dein bug #54765 by
+  Thomas Petersen <mendocino@mendo.dk>. Also, fix the s390 stuff as reported in
+  bug #52581 by jochen <jochen.eisinger@gmx.de>. Added the ppc64 stuff into the
+  regular uname patch. Finally, fix the selinux-noacl patch, thanks to Chris
+  PeBenito <pebenito@gentoo.org> via e-mail.
+
+  25 Jun 2004; Aron Griffis <agriffis@gentoo.org> coreutils-5.0-r6.ebuild,
+  coreutils-5.0.91-r3.ebuild, coreutils-5.0.91-r4.ebuild:
+  QA - fix use invocation
+
+  16 Jun 2004; Daniel Black <dragonheart@gentoo.org> coreutils-5.0-r6.ebuild,
+  coreutils-5.0.91-r3.ebuild, coreutils-5.0.91-r4.ebuild,
+  coreutils-5.2.0-r2.ebuild, coreutils-5.2.1.ebuild:
+  uclibc not dependant on sys-apps/help2man thanks to Peter S. Mazinger
+  <ps.m@gmx.net>. Changed dev.gentoo.org SRC_URI to mirror://gentoo/.
+
+  31 May 2004; Tom Gall <tgall@gentoo.org> coreutils-5.0.91-r4.ebuild:
+  added coreutils-5.0.91-ppc64-1.patch which fixes bug #52617
+
+  17 May 2004; Mike Frysinger <vapier@gentoo.org> coreutils-5.2.1.ebuild:
+  Fixes for uname: no more segfaults for unknown archs #36190, integrate the
+  broken out s390 patch, and add support arm support.
+
+  16 May 2004; Seemant Kulleen <seemant@gentoo.org> coreutils-5.2.1.ebuild:
+  fixed the progress bar patch for acl enabled coreutils. Thanks to: Aaron
+  Peterson <alpeterson@wsu.edu> in bug #51244 for pointing it out.
+
+*coreutils-5.2.1 (16 May 2004)
+
+  16 May 2004; Seemant Kulleen <seemant@gentoo.org> -coreutils-5.0-r5.ebuild,
+  -coreutils-5.0.91-r2.ebuild, -coreutils-5.2.0-r1.ebuild,
+  -coreutils-5.2.0.ebuild, +coreutils-5.2.1.ebuild:
+  version bump to latest upstream. This one adds a patch from Sunil
+  <funtoos@yahoo.com> in bug #44403 which allows compilation if MBRTOWC is *not*
+  set.
+
+  16 May 2004; Seemant Kulleen <seemant@gentoo.org> coreutils-5.2.0-r2.ebuild:
+  Change dependency to autoconf-2.58 or above. This finally fixes the reconf bug
+  #49137
+
+  12 May 2004; Seemant Kulleen <seemant@gentoo.org> coreutils-5.2.0-r2.ebuild:
+  set autoconf explicitly to 2.5. Should solve bug #49137 by Matt Davis
+  <mdavis2173@comporium.net>
+
+  11 May 2004; Gustavo Zacarias <gustavoz@gentoo.org>
+  coreutils-5.2.0-r2.ebuild:
+  Stable on sparc wrt #50400
+
+*coreutils-5.2.0-r2 (07 May 2004)
+
+  07 May 2004; Seemant Kulleen <seemant@gentoo.org>
+  +coreutils-5.2.0-r2.ebuild:
+  version bump, to install /etc/DIR_COLORS. Thanks to Weeve for noticing on
+  sparc, and to SPANKY for being SPANKY.
+
+  22 Apr 2004; Martin Holzer <mholzer@gentoo.org> coreutils-5.2.0-r1.ebuild,
+  coreutils-5.2.0.ebuild:
+  changing src_uri.
+
+*coreutils-5.2.0-r1 (18 Apr 2004)
+
+  18 Apr 2004; Michael McCabe <randy@gentoo.org> +coreutils-5.2.0-r1.ebuild:
+  Adding s390 specific fixes to close bug 47965
+
+  05 Mar 2004; Seemant Kulleen <seemant@gentoo.org> coreutils-5.2.0.ebuild:
+  added a don't worry blurb to the reconf section
+
+*coreutils-5.2.0 (05 Mar 2004)
+
+  05 Mar 2004; Seemant Kulleen <seemant@gentoo.org> coreutils-5.0-r5.ebuild,
+  coreutils-5.0-r6.ebuild, coreutils-5.0.91-r2.ebuild,
+  coreutils-5.0.91-r3.ebuild, coreutils-5.0.91-r4.ebuild,
+  coreutils-5.2.0.ebuild:
+  version bump, should close bug #39632 by SpanKY <vapier@gentoo.org>, who came
+  up with the fixes anyway, and that bug is related to bug #36337 by Robin
+  Johnson <robbat2@gentoo.org>. Also, added attr to the explicit deps, per bug
+  #41641 by toon <toon@hout.vanvergehaald.nl>. Just in case, we're affected by:
+  bug #43655 by Rajiv Manglani <rajiv@gentoo.org>, this release should fix it.
+
+  17 Feb 2004; Tom Gall <tgall@gentoo.org> 
+  coreutils-5.0.91-r4.ebuild:
+  Added ppc64 stable keyword
+
+  03 Feb 2004; Daniel Robbins <drobbins@gentoo.org> coreutils-5.0.91*.ebuild:
+  removed unnecessary append-flags -fPIC from ebuilds.
+  
+  17 Jan 2004; Christian Birchinger <joker@gentoo.org>
+  coreutils-5.0.91-r4.ebuild:
+  Added sparc stable keyword
+
+  15 Jan 2004; Seemant Kulleen <seemant@gentoo.org>
+  coreutils-5.0.91-r4.ebuild :
+  symlink bin/install to usr/bin/install for Brad House
+
+  14 Jan 2004; Guy Martin <gmsoft@gentoo.org> coreutils-5.0.91-r4.ebuild :
+  Marked stable on hppa to have a working g++ again.
+
+  11 Jan 2004; Seemant Kulleen <seemant@gentoo.org>
+  coreutils-5.0.91-r4.ebuild:
+  Applied the 64 bit fixes from MDK's newest src.rpm, which seems to solve the
+  segfaults. In my defense, I did do some preliminary testing on -r4 with the
+  previous patchset, and it didn't segfault -- this time, I checked an ls -R /
+  output on both ia64 and amd64 boxes, so this should be sorted finally (bug
+  #37891 by E. Papegaaij <e.papegaaij@student.utwente.nl>). Also, it now links
+  against ncurses-5.3-r5 and greater for building and running. So, we finally
+  get rid of the termcap cruft, thanks to Azarah for that (bug #37026).
+
+  11 Jan 2004; Brad House <brad_mssw@gentoo.org> coreutils-5.0.91-r4.ebuild:
+  coreutils -r4 is not stable on amd64. or at least ls is not. seemant broke it
+  again :/
+
+  09 Jan 2004; Seemant Kulleen <seemant@gentoo.org>
+  coreutils-5.0.91-r4.ebuild:
+  uniq and split are moved back to /bin because they are needed by the
+  bootscripts (checkroot and functions.sh respectively). Thanks to Norberto
+  Bensa <nbensa@gmx.net> in bug #36453
+
+  09 Jan 2004; Seemant Kulleen <seemant@gentoo.org>
+  coreutils-5.0.91-r4.ebuild:
+  The ACL patches failed with nls in USE because it was still linking to
+  termcap. Thanks to: Paul Giordano <giordano@covad.net> in bug #37682 opened
+  by: Paul de Vrieze <pauldv@gentoo.org>
+
+*coreutils-5.0.91-r4 (09 Jan 2004)
+
+  09 Jan 2004; Seemant Kulleen <seemant@gentoo.org>
+  coreutils-5.0.91-r4.ebuild:
+  the patches link against ncurses rather than libtermcap, closing bug #37026 by
+  Martin Flugeldufel <martin_flugeldufel@yahoo.com>. Additionally, some of the
+  non-critical binaries (those not needed for bootup) have been moved to
+  /usr/bin, which partially sorts out bug #36453, also by Martin Flugedufel
+
+  31 Dec 2003; Seemant Kulleen <seemant@gentoo.org>
+  coreutils-5.0.91-r3.ebuild:
+  make sure to depend on the newest libtermcap stuff
+
+  30 Dec 2003; Seemant Kulleen <seemant@gentoo.org>
+  coreutils-5.0.91-r2.ebuild, coreutils-5.0.91-r3.ebuild:
+  Added acl, gettext and libtermcap-compat to RDEPEND as well, otherwise that
+  leads to b0rked tbz2's. Thanks to Donny Davies <woodchip@gentoo.org> :)
+
+  30 Dec 2003; Seemant Kulleen <seemant@gentoo.org>
+  coreutils-5.0.91-r3.ebuild:
+  the lsw patch from mandrake has issues for us on amd64 and ia64, so we don't
+  use it. Thanks to Brad House <brad_mssw@gentoo.org> for noticing
+
+  30 Dec 2003; Brad House <brad_mssw@gentoo.org> coreutils-5.0.91-r3.ebuild:
+  coreutils -r3 is broken bad! See note above KEYWORDS=, marking -*
+
+  29 Dec 2003; Seemant Kulleen <seemant@gentoo.org>
+  coreutils-5.0.91-r3.ebuild:
+  Added libtermcap-compat to DEPEND string, thanks to rommel in #gentoo-ppc
+
+*coreutils-5.0.91-r3 (29 Dec 2003)
+
+  29 Dec 2003; Seemant Kulleen <seemant@gentoo.org>
+  coreutils-5.0.91-r3.ebuild:
+  several changes to this. First, we're using most of Mandrake's patchset with
+  fixes, which adds some option to touch -- to make the timestamp move forwards
+  or backwards. I need some input on whether we should keep this. Additionally,
+  there is a patch to restore chown's behaviour to the old way. And another
+  patch to allow old options for several of the utilities here. Additionally,
+  we're using openi18n.org's patches for coreutils, which should sort (no pun
+  intended) out bug #29136 by Sven Sternberger <sven.sternberger@desy.de>
+
+  27 Dec 2003; Seemant Kulleen <seemant@gentoo.org> :
+  fix uname output for hppa and ppc. Patch by Guy Martin <gmsoft@gentoo.org>.
+  Closes bug #36190
+
+  14 Dec 2003; Lars Weiler <pylon@gentoo.org> coreutils-5.0.91-r2.ebuild:
+  Added dependency ppc? ( >=sys-devel/m4-1.4-r1 ).  See bug #35759
+
+  10 Dec 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-5.0-r5.ebuild,
+  coreutils-5.0-r6.ebuild, coreutils-5.0.91-r2.ebuild:
+  Bartron pointed out the dangers of filtering the flag in the same bug report.
+  So yanking that. USe dangerous flags at your risk, not mine :P
+
+  10 Dec 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-5.0-r5.ebuild,
+  coreutils-5.0-r6.ebuild, coreutils-5.0.91-r2.ebuild:
+  filter out the malign-double flag, closing bug #35411
+
+  09 Dec 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-5.0-r5.ebuild,
+  coreutils-5.0-r6.ebuild, coreutils-5.0.91-r2.ebuild:
+  patch added to prevent the installation of the following inferior man pages:
+  chgrp, chmod, chown, cp, dd, df, dir, dircolors, du, install, ln, ls, mkdir,
+  mkfifo, mknod, mv, rm, rmdir, touch and vdir. Those man pages will be supplied
+  by the man-pages package instead.  This should close most of bug #32096
+  by Radek Podgorny <radek@podgorny.cz>
+
+  09 Dec 2003; Seemant Kulleen <seemant@gentoo.org>
+  coreutils-5.0.91-r2.ebuild:
+  make sure it uses automake-1.7 -- closing bug #35425 by Marc Bevand
+  <bevand_m@epita.fr>
+
+*coreutils-5.0-r6 (08 Dec 2003)
+*coreutils-5.0-r5 (08 Dec 2003)
+*coreutils-5.0.91-r2 (08 Dec 2003)
+
+  08 Dec 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-5.0-r3.ebuild,
+  coreutils-5.0-r4.ebuild, coreutils-5.0-r5.ebuild, coreutils-5.0-r6.ebuild,
+  coreutils-5.0.91-r1.ebuild, coreutils-5.0.91-r2.ebuild,
+  coreutils-5.0.91.ebuild:
+  coreutils will now not compile the following: su, groups (both from shadow),
+  uptime, kill (both from procps), and hostname (from net-tools). This
+  closes bug #18181 by Jon Portnoy <avenj@gentoo.org>. Also, the groups
+  thing was bug in #27071 by Marcin Wisnicki <wisnia21@freeshell.org>
+
+  06 Dec 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-5.0-r1.ebuild,
+  coreutils-5.0-r2.ebuild, coreutils-5.0-r3.ebuild:
+  moved -r3 to stable mips and removed crufty older ebuilds
+
+  19 Nov 2003; Martin Holzer <mholzer@gentoo.org> coreutils-5.0.91-r1.ebuild,
+  coreutils-5.0.91.ebuild:
+  adding version number to automake. Closes #33836.
+
+*coreutils-5.0.91-r1 (18 Nov 2003)
+
+  23 Nov 2003; Guy Martin <gmsoft@gentoo.org> coreutils-5.0.91-r1.ebuild :
+  The uname patch now works on hppa.
+
+  18 Nov 2003; Chris PeBenito <pebenito@gentoo.org>
+  coreutils-5.0.91-r1.ebuild:
+  Bump to update SELinux patch. The old patch had a rare segfault/hang problem
+  in ls. Otherwise, same as -r0.
+
+  03 Nov 2003; Daniel Robbins <drobbins@gentoo.org> all of 'em: added missing
+  RDEPEND so they don't default to DEPEND.
+  
+  02 Nov 2003; Chris PeBenito <pebenito@gentoo.org> coreutils-5.0-r4.ebuild:
+  Missed removing SELinux patch from 5.0-r4
+
+  28 Oct 2003; Chris PeBenito <pebenito@gentoo.org> coreutils-5.0-r1.ebuild,
+  coreutils-5.0-r2.ebuild, coreutils-5.0-r3.ebuild, coreutils-5.0.91.ebuild:
+  Switch SELinux patch from old API to new API.
+
+  01 Oct 2003; Tavis Ormandy <taviso@gentoo.org> coreutils-5.0.91.ebuild:
+  missing help2man dependency
+
+  28 Sep 2003; Chris PeBenito <pebenito@gentoo.org> coreutils-5.0.91.ebuild:
+  Fix selinux patch for 5.0.91.
+
+*coreutils-5.0.91 (28 Sep 2003)
+
+  28 Sep 2003; Martin Schlemmer <azarah@gentoo.org> coreutils-5.0.91.ebuild:
+  Update version. I ported the ACL patches, except for the i18n one, as it gets
+  messy, and there are a lot of Makefile breakage, and also what might be
+  upstream fixes for the same thing. I thus rather think somebody that know a
+  bit more about locale and such that can test it should do this. Same thing for
+  the SELINUX patch - its a lot of small breakages and is tedious - I thought
+  getting this in so far should motivate somebody with more time than me :)
+
+  26 Sep 2003; Bartosch Pixa <darkspecter@gentoo.org> coreutils-5.0-r4.ebuild:
+  set ppc in keywords
+
+*coreutils-4.5.11-r1 (24 Sep 2003)
+
+  24 Sep 2003; Seemant Kulleen <seemant@gentoo.org>
+  coreutils-4.5.11-r1.ebuild, coreutils-5.0-r1.ebuild,
+  coreutils-5.0-r2.ebuild, coreutils-5.0-r3.ebuild, coreutils-5.0-r4.ebuild:
+  added static to IUSE, closing bug #29186 by Sascha Silbe
+  <sascha-gentoo-bugzilla@silbe.org>
+
+  24 Sep 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-5.0-r1.ebuild,
+  coreutils-5.0-r2.ebuild, coreutils-5.0-r3.ebuild, coreutils-5.0-r4.ebuild:
+  add automake to depends, because it provides aclocal, which is needed to build
+  coreutils. Thanks to Jared Hudso <jhhudso@gentoo.org>
+
+  22 Sep 2003; Martin Schlemmer <azarah@gentoo.org> coreutils-5.0-r4.ebuild:
+  Ok, was on crack there for a moment - the test for cvs was inverted, should be
+  fixed now.
+
+  22 Sep 2003; Martin Schlemmer <azarah@gentoo.org> coreutils-5.0-r4.ebuild:
+  Fix issues with gettext's autopoint if cvs is not installed (bug #28920).
+
+  19 Sep 2003; Christian Birchinger <joker@gentoo.org>
+  coreutils-5.0-r3.ebuild:
+  Added sparc stable keyword
+
+  17 Sep 2003; Jon Portnoy <avenj@gentoo.org> coreutils-5.0-r4.ebuild :
+  IA64 keywords. And don't believe Seemant - he really isn't an idiot. :)
+
+  14 Sep 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-5.0-r4.ebuild:
+  I'm an idiot sometimes. The progress bar patch was being moved out of the way.
+  Thanks pebenito, and sorry :(
+
+  13 Sep 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-5.0-r4.ebuild:
+  Luca Barbato <lu_zero@gentoo.org> fixed the acl patch to compile with NLS
+  disabled. This should close the NULL not found errors, as reported in bug
+  #18151 by shadow.
+
+  12 Sep 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-5.0-r3.ebuild:
+  Added message about removing fileutils, textutils and sh-utils in
+  pkg_postinst. Closes bug #25019 by Chuck Brewer <cbrewer@stealthaccess.net>
+
+*coreutils-5.0-r4 (12 Sep 2003)
+
+  12 Sep 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-5.0-r4.ebuild:
+  ACL patches _finally_ added into coreutils.  A note about this.  If "acl"
+  and "selinux" are both in USE, then "selinux" will be preferred and "acl"
+  discarded.  Also, the progress-bar patch has been modified to work with
+  the acl stuff.  This modification was done by: Marcin Wisnicki
+  <wisnia21@freeshell.org> in bug #18151.  What I have done is put the acl
+  patches into the gentoo patch tarball and changed the layout.  Patches are
+  numbered to work with epatch's directory patching functionality, and if
+  acl is used, then the original progresspatch is discarded.  Marked -r3
+  stable on x86.  Bug #18151 by: shadow@ines.ro is now closed.
+
+*coreutils-5.0-r3 (26 Aug 2003)
+
+  26 Aug 2003; Martin Schlemmer <azarah@gentoo.org> Manifest,
+  coreutils-5.0-r3.ebuild:
+  Fix issues with gcc-2.95.3, bug #27329, thanks to patch from TGL
+  <degrenier@easyconnect.fr>.
+
+  25 Aug 2003; Chris PeBenito <pebenito@gentoo.org> coreutils-5.0-r2.ebuild:
+  Fix selinux patch, as the old patch fails to apply when the progress bar patch
+  is applied.
+
+*coreutils-5.0-r2 (24 Aug 2003)
+
+  24 Aug 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-5.0-r2.ebuild:
+  adds a patch to display a progress bar for mv and cp (when invoked with the -g
+  option). Thanks to Haukkari in #gentoo for passing this on to us. The patch
+  was authored by: Miika Pekkarinen <miipekk@ihme.org>
+
+  03 Aug 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-5.0-r1.ebuild,
+  coreutils-5.0.ebuild, files/coreutils-5.0-confdir3.patch:
+  gentoo patch updated to query mips properly for the uname info -- thanks to
+  Kumba
+
+  02 Aug 2003; Martin Schlemmer <azarah@gentoo.org> coreutils-5.0-r1.ebuild:
+  Remove confdir3 patch for now.
+
+  02 Aug 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-5.0-r1.ebuild,
+  coreutils-5.0.ebuild:
+  Azarah's brilliance again :) sandbox is disabled for coreutils while
+  portage-2.0.49 has not come out
+
+  01 Aug 2003; Aron Griffis <agriffis@gentoo.org> coreutils-5.0-r1.ebuild,
+  files/coreutils-5.0-confdir3.patch:
+  Fix bug 25702 by refraining from cleaning up PATH_MAX test
+
+*coreutils-5.0-r1 (28 Jul 2003)
+
+  28 Jul 2003; Martin Schlemmer <azarah@gentoo.org> coreutils-5.0-r1.ebuild:
+  Do not include su infopage, as it is not valid for the su from sys-apps/shadow
+  that we are using (bug #23711).
+
+*coreutils-5.0 (04 Apr 2003)
+
+  04 Apr 2003; Joshua Brindle <method@gentoo.org> coreutils-5.0.ebuild:
+  bumped to upstream stable release version
+
+*coreutils-4.5.11 (20 Mar 2003)
+
+  20 Mar 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-4.5.10.ebuild,
+  coreutils-4.5.11.ebuild, files/coreutils-4.5.10-gentoo-rms.diff,
+  files/coreutils-4.5.10-gentoo-uname.diff,
+  files/coreutils-4.5.9-gentoo-rms.diff,
+  files/coreutils-4.5.9-gentoo-uname.diff:
+  version bump, and moved patches to mirrors
+
+*coreutils-4.5.10 (14 Mar 2003)
+
+  20 Mar 2003; Joshua Brindle <method@gentoo.org> coreutils-4.5.10.ebuild:
+  fixed selinux dependancy
+
+  20 Mar 2003; Seemant Kulleen <seemant@gentoo.org>
+  coreutils-4.5.10.ebuild :
+
+  Patched to add selinux, thanks to sindian. Note, I removed the -r1
+  revision bump as it was unnecessary.
+
+  14 Mar 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-4.5.10.ebuild:
+  version bump thanks to drobbins on -core
+
+*coreutils-4.5.9-r1 (11 Mar 2003)
+
+  11 Mar 2003; Martin Schlemmer <azarah@gentoo.org> coreutils-4.5.9-r1.ebuild :
+  Fix overwriting /bin/hostname, and causing /bin/domainname (symlink to
+  /bin/hostname) to set the hostname instead of the domainname.  We use
+  hostname from net-tools after all.  Ditto for /bin/uptime.
+
+  11 Mar 2003; Martin Schlemmer <azarah@gentoo.org> coreutils-4.5.9.ebuild :
+  OK, I am dense.  Seems when I did previous fix, I changed the:
+
+    rm ${D}/usr/share/man/man1/su
+
+  to:
+
+    rm ${D}/usr/share/man/man1/su*
+
+  Fixed this to fix the sum problem.
+
+  11 Mar 2003; Martin Schlemmer <azarah@gentoo.org> coreutils-4.5.9.ebuild :
+  Move symlink stuff till after we remove stuff we do not use, else we have
+  invalid symlinks.  Change einstall to 'make DESTDIR=$D install', else it
+  do not install all the manpages.
+
+  Fix manpages again by manually installing.
+
+*coreutils-4.5.9 (06 Mar 2003)
+
+  11 Mar 2003; Zach Welch <zwelch@gentoo.org> coreutils-4.5.9-r1.ebuild,
+  coreutils-4.5.9.ebuild:
+  add arm keyword
+
+  06 Mar 2003; Seemant Kulleen <seemant@gentoo.org> coreutils-4.5.9.ebuild
+  ChangeLog files/digest-coreutils-4.5.9 :
+
+  New package -- this will replace fileutils text-utils and sh-utils, when
+  it gets unmasked.

diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest
new file mode 100644
index 0000000..1279ac4
--- /dev/null
+++ b/sys-apps/coreutils/Manifest
@@ -0,0 +1,77 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST coreutils-8.10-patches-2.tar.xz 5436 SHA256 91e49b864042a644900cf9373d7a762679bd188daf28d4a1edb0a332ac2af4f7 SHA512 a8faa75ccf42291407aa0e47f77eccc546d408b930fff81e4892f46d618e7a8ceba3a8e588a475e47487f20b90bd7cd8993d068a825a06dc7f1fddeeaf9f1f28 WHIRLPOOL b77a6bd595f6262b9dacc17ad973e987eaed5b9723cddc4b70aceb13d88db7068c7d7f80ad3c608fe59f9530e41846f38dea37121df6df4c68a3f5d3acd2ed24
+DIST coreutils-8.10.tar.xz 4753304 SHA256 8258785cbab6580f2e0376769a7b98ab3e1ddfca2d6f48e5490a51688d0bee83 SHA512 7d1c6253d56d2f11a8d87b422ecd51adc5cc87c5540c504d5699e91b7559726b4b17da167b378b62ef1db12d0f2b763b0fe1a24ae242b08b8ef5c23ab7061f70 WHIRLPOOL 6da303d275a0361c3dac052c3f2368670d904af4b16c11982d291b53e4333a65f5af5acb947bf1ad882a82b0ad1512bccb04bb662647bacdda10e9ac4cb7b266
+DIST coreutils-8.11-patches-1.tar.xz 4492 SHA256 f9f8708830e235dcb748bf01e975a928d6ce7b4f82b51aa88c44ce9f93517332 SHA512 13add1505049631130c68e31258489482a21290cb0fc6801800ca6781c1d0de4a58d8e58c143c44526a4093dcd04596770f96a17d087097b050458c375e7de65 WHIRLPOOL e79080eb34602142b2064fade79a2b1d79b41a7fd09f9467786af7baef8395859106f7fb2bd3a4d26a101da6f47412bd767679f8c80c01bea894d80d77300f90
+DIST coreutils-8.11.tar.xz 4841952 SHA256 9c03e0de95ac6ec65129eaf0b3605982a77d8fedaeca5b665ad44fe901695b3b SHA512 039984d196621c0022ee95e5d7f0239dacee634addf15f2557eab4d9c596387c225f34aa57322b5e44064b0a9733f79316cb0ad3133fdd6f3e28d48006ff36d9 WHIRLPOOL 13588c602e7474ac2f4f69c9edf22a545d77fc5547be6b415cc30b82bb180e48599de63a8e4a158a902ea8a55558fd62bd2b6f81d441b292787dbdd22faf99e8
+DIST coreutils-8.12-patches-1.tar.xz 4496 SHA256 c3b9ba86277d46505c1d01734f00728725173af0ff87ecb746830cbf5691a964 SHA512 ff8b7b550f1239237605d1c5c6dbd651affdbb9d56c02902128bc7aea3434c3d8956621e50d0a48432bd2ebbf25a7d7c53dbb826078b8081407a667b7d70598b WHIRLPOOL 7c1f271c3533b114dab61e058e747aaee1d6a58541f8c5dd25a8a9e9b9930c235969825bd59060a366bb6b8ca85479ac35ca510e4a563456690625e202e16c15
+DIST coreutils-8.12.tar.xz 4842776 SHA256 1e3c0182cdd0042871741d694ae1166dd90eb9f03a16c0aac0a9072a7aa92faf SHA512 0f8771546d1f109a2328d7573897fbc27579155542ad67cf4a0c35ee98036629f9c8dfbc71b2c7f9b87210d2a1b52e406fca4873d3f5fb788b928efcc4410ef1 WHIRLPOOL 88bb90870c8514340f367c911694de1e352555e553913e7fd57789400ad7c318283b221a26619050b6d37bf02512574a5572e388d57cdb83b9149307b7dac309
+DIST coreutils-8.13-patches-1.tar.xz 4500 SHA256 1848233e87f24de18c85908409c4deccebf61acc91b72a5eba1e424801dcebfd SHA512 9458c992189b2d1f7c595f0104b286ba187fac92b30d8cf21438c5d2b7fc125595d85cdb980d1de79c973194c8d91e63ab5fb877cc12183fb30b4f9b1c2ec945 WHIRLPOOL 049303f042c7293acb6233f02546ef8946e642e11d4567b8737e52ec2c7557a4b5f9b86510264f6210b83b9cf3a7176476a84403d85f3c1e1aa15e93a25f4442
+DIST coreutils-8.13.tar.xz 4913572 SHA256 0bfdbe3ae0cf06bf26bf5bb2bd3983acb8ab60649604cc0dbb08963c9d24ac1b SHA512 0474fbb390ec7b2a5c6fa2d6824b3acd2c21ee540b377c771acb4c80f5ca80a2899a7ad48e0937b10eafbe98e26ab5100a3ff2fe947fe8eac0a5e7c6909b1e8b WHIRLPOOL 82dd76a61f405617581196a77cc12d829a3dd01dd3dd3bb7a85e5708271abcfe58a8aca48b434d2065e3235a120f05217ad972bbece3fb19529583fc2af4a26b
+DIST coreutils-8.14-patches-1.tar.xz 4496 SHA256 26407cd1ab0e6e36196986d394014a8c9532246bdceaca99ee95b147dc7ab2a5 SHA512 a9c25f130c0a39a3b4bd693b0d39baa4bc4b5be99435e7526683e4c75bf3b1deaf3984de421d8ebdc202cce77c9467bf89ebeae3a80438f39398f19be01c4b5e WHIRLPOOL 58fb5423e02d6e932bcfec5a70d6d84af0727987786e087eeaaeb45c19b6239079505465ddae54746f5e67f262e48b6af42e4d1dc83d6bc18fc1a4492abc726d
+DIST coreutils-8.14.tar.xz 4957464 SHA256 0d120817c19292edb19e92ae6b8eac9020e03d51e0af9cb116cf82b65d18b02d SHA512 fb9e76829e1e9a336e34302b5bfc9275b525dce617ded9ec851b9bc29b24454e47012aa58b651a04f50187a7b91f20471378164663908309513cbefa0b38b489 WHIRLPOOL 96e05abc1ea012874ee1378a7fe0fd992cecba9691e969104301897cedce3a7f9e9771ff8ca334a92ca16c6c147ca78180375b0801d29c773e753a22c4de1aff
+DIST coreutils-8.15-patches-1.tar.xz 4496 SHA256 b5902f6e4f27c263bb5686f68e5b05ed9c671a72e47d2f68bd27def2a356a4d1 SHA512 3116a69bd455e0f4db145b1a510cca3aef8e0d0f216c1f9b4ba01d3eadb8d1e6383ae94d9084937c053de04882a54d340f0e0d0f8ddeb7024727bc59d0d58a7d WHIRLPOOL 8d4500f4678858a9e0675bf409a5ae0350addd6a70ac3b7ccaf145bd47d6a3f08ca079ad980adb1c016a69f641253f22cc4b005db1536104058db68962a8fb3f
+DIST coreutils-8.15.tar.xz 4943172 SHA256 837eb377414eae463fee17d0f77e6d76bed79b87bc97ef0c23887710107fd49c SHA512 5f146910ac96bdccea51cb019e45597fb8c9981ceaf1c3727f86600b436637009e25e87c4bcbf4f02f3236ffe56087ffe204749af6bb7b6b399bd3aa04c3b683 WHIRLPOOL 1c03cd2c69297b55146f2274c1f67f45ffb6d54f96bab4874251338f2c68b068847bc5d24d2adf77eb5e2d036180074ed638e6fc3e25f3390893672b4f0dc428
+DIST coreutils-8.16-patches-1.tar.xz 4496 SHA256 2912855202866b0ee8fd30063859f50a8ee6bcbb5b8f252f8f994f78b80099b2 SHA512 dbe10ffd771170faeeb67d7ac0629601679a6af4a5b921a13b821a68c7b9c81e97eb89af07c90c2b371d02a5e92363a8158e5407db3e3f0d79be5d0e27ac0788 WHIRLPOOL 1a60e5da1bab7ff98cfa70c57911615253873c99f744889d20ba175315ee3d13f3f1dfe4884c9f371dea671aa41f6cdee2c9a8d61352fd3308a14ca80f7290cc
+DIST coreutils-8.16.tar.xz 5042844 SHA256 2a458fead15d9336f46bb4304cc3eaa6ed9407b9130e7ee2ec533909881d2067 SHA512 f659032d84c6a873ee5a4be1a7ebdf20fd2b5e5a71fdbc77f320319966f8cbc723d591e03dd28ef2d92747bbae31971447c567a085ae84407a41b99e9a8a3ac1 WHIRLPOOL 9543d9d9984cdbb9aa16b9e067d484cd93f36fbb6f2eca8926bd974a03bb3bdfefbce52c8d221eb943b39a2a3a81991f542831dab432dc475914b79a793be442
+DIST coreutils-8.17-patches-1.1.tar.xz 5244 SHA256 1cfa92fd968f31b2ff3f723294efa2cd25ebe96f775a83b464c00928d0fb17dd SHA512 fd3f74c701c2b70cb38d9683f377f6aaac84efca30bb11fcf3ccc41ac31336482177ae4e77409de048014ab679f5addfba34bcdcbc14fc6798912ece1528d2b9 WHIRLPOOL c95bd0754092812f27ad002ef6efa774c2eccb062923cc400ab65dd84d1b0ff6f5c8c4e603ef1e5f106009998654e19ae2f7358343493530d9ce05a14ec2112f
+DIST coreutils-8.17.tar.xz 5077388 SHA256 4e075a0d238072a5bd079046e1f024dc5e0d9133d43a39c73d0b86b0d1e2c5e5 SHA512 1b8b8b8cc8641dbbea2fa922ed34af4c05a2fad657b7ac15f9b4493190ed21297639f9f25fd446126131f5b4dbd4ed7b5351880fda9079a5bd779186512be843 WHIRLPOOL c4a4c375091c401f9f19adb7fd68a9d1038602d67f925e5e089ad5b113b7aef4195e1970d1995d2ba440068f9cdd0205f23f69e14ad25ed0faf90f67e6613577
+DIST coreutils-8.18-patches-1.2.tar.xz 4984 SHA256 4f6718e4d119818b96ae67de356e85500096f261cb98a4ae3236f34e5f74fab3 SHA512 1ad68966d9959c6987cec01fd7e6247ef156a1a540439395ec968ff3ec2f5558fcac1dc67e67420f613f3cd81e73d962d4e81289a4782729fa1ac6f43d994d65 WHIRLPOOL 8fd907ca1244b7b51375355ac6f2f47a52e8808a0ecb8e7863bf07907a307773576a4641197992680c8e12b99cd01f8721862aa7329d4ed1730ec837c39048cb
+DIST coreutils-8.18.tar.xz 5184936 SHA256 11dc114374100ac6f56d4b66f588e51d3fe972855466a35a27de7ec67eb2143f SHA512 2bbea708141be4d6485b2a67806a7a1d2b819c71b8d2a0264af76fe43eb6588a858e16b790649d143c5bd3b7ce6c264d8bd05369052de74b62ff23f957fbb7f1 WHIRLPOOL 4cf61877d435523015f1c9e613593caff8d281d80fb7515893737afac3dee458984532805011d6f3527bea37c14dd2d1c65cf21af33c0f72680b4af6f79a0ce3
+DIST coreutils-8.19-patches-1.1.tar.xz 4972 SHA256 05d8f750d2116ee34614fb1b35369d4c80bd78099a608c22e822461d3e47fce2 SHA512 d7ebde053591279eb6fdf8db04e98413c045d343f55974670f1f0e1d045073a7ce4ed9b2e3736727de487c37162635576ebbf99196db2358e48119e8a1a8a33e WHIRLPOOL f649fcdeccca1b6c0cff97dec7d993182898c3914f16605ac9fdcd0ec754c19e6dd427fb50ce06d4af26dfe89affa4ece69b3e8b4f3c3a292af79a07125af440
+DIST coreutils-8.19.tar.xz 5097392 SHA256 ad3873183fd8cfc7672b3ba54644672e59352f9b2dc7e3ad251c1174dde8a9e7 SHA512 3b8fd55c707f840534eba6dfdffe76d2169b6c6747027a30a6e7600bb031a9ec5792b53f961611b8189409811d2f1f906f7e5e4bc25525fca8791b893eb67fe6 WHIRLPOOL c3e7117871459b9f2d03638c622d5025a3f7afe3be7f9082f8968f4ae226883e12c4bab7c9d126e64282fcd05c1c2e0d205719661c840deee95d32542d8f5386
+DIST coreutils-8.20-patches-1.1.tar.xz 19504 SHA256 0a1a3cc578e8872ebc93113edd76d1f1d88fb4d6596a047cfbb6c5fd4e82c22d SHA512 258116ff52d1d28acbedd2383c8d0f488c272b297c4f146231ea45fb76902bb56c9fad2d74d50c22371e67a4178dcff7b65950fcc034f56fc02c3c2ff290224f WHIRLPOOL ae4436a6ae655affbc02ee2d3d6a87345dc7b63b67aaecf01e034d2e40237c6e76b00a909d852f6ea96e348ef43e8e3f6f4c5bdb01aaf6d30a1b51036cbfe31b
+DIST coreutils-8.20-patches-1.2.tar.xz 20864 SHA256 a969b9178b12a9e4e82529d8e1d056b2e3eb1dd299e29e36f43961aa204c208c SHA512 e851eb79028aa6cd52f033df1a9897f053bfe860f5bd710e93f5b4e38026a717bcf85c4ccb8f7a1fd5898733cd4d16ae8180eff3359c886c901b2c65e2975a9e WHIRLPOOL 3369f67cc15d332605af1cc74919495a076c3563653d3c085e5df5aac4142920d8e956ae93abf05b1ee012b76fec843a0841924ad4580ddd79889a01ca76846b
+DIST coreutils-8.20-patches-1.4.tar.xz 23776 SHA256 ae41d878c9b1e7be54cd9f707294584010d671bfbec4274d7e2b014c8be5f16a SHA512 4031c9cffd2cbc64c96379e849999f0e6c2dc3401f8aa121a736a55c9cf0986ec6a54b7610e5e429edcb208dfe5d74000d06761ad9742dd833b8530dcf603ab2 WHIRLPOOL b746ec6a37a50cbd3910aa6f32a492dd389547871cb9f5afb49f1560d74368fd705e0866d49801ed7c14426bcfcdd6679d67264de387f846acfdb29082cfb4cc
+DIST coreutils-8.20.tar.xz 5273788 SHA256 dbcb798764827a0f74be738662ecb516705cf520330cd3d7b2640fdffa499eb2 SHA512 adbeab5af780ae70d2a98a81e96ad2cdfbcbc20153372b0085f6ac75ae9fadff82bd09b460400820057692b4145d7f2d276630b76b0ed509303587972ed175cd WHIRLPOOL 3cf911cf785c6e6acab4f37bc75805687f91fe74d5727782903d242669ee6b7ad444b18395d6808b1f2569703cca1992983d3bfef41f65ea461f6d0aa25908e2
+DIST coreutils-8.21-man.tar.xz 42464 SHA256 0ab87b22a715505051ffb6d94ff01fb45988ba353f0a7c248e7a1c9d79e69815 SHA512 846a995f4ddc2bd20a1a9970fc476db3d3f0f4584fbde981940b81f0c3f4065c0ced7cae71c8518bed9e880143ce734bc98bae5b84da8600e26c32b194176013 WHIRLPOOL a5c424b24223d26a90ddf9b03839fb4311e4e89a408ff982d7b493ea3962dd88e305ecd08c799b554dfe74c19eb37f1f97307a94a4f7c79c84ae8b5f5bd26b12
+DIST coreutils-8.21-patches-1.0.tar.xz 6480 SHA256 3a10abca6e41e654837583b582a831c220a02ad9a6dc2bec66e60f7038a2f632 SHA512 4f19712c2c50cbe3f3abd1c48decd063df250d72344c02796f24a43eac9d6f543be64cb7f48e3716e92db964d93b8cfc08e860f7f79726ccada796fefbe7ddd8 WHIRLPOOL 72fb7908728ffc33d9f6bd360e1bc0d990573c01c2974de5ed842ba15224e9ad137ec24d727659748350886b53ee6da71f3773cf6a5c36bd091919090200294a
+DIST coreutils-8.21.tar.xz 5357988 SHA256 adaa44bdab3fa5eb352e80d8a31fdbf957b78653d0c2cd30d63e161444288e18 SHA512 cf0e5a393b486dd7fd46600dc2928bd2303250f3bce7b2f0de1bb3bf7b0cc3f6e29001b23fda5bbabe7686bf78917cfabe1f81abb602ab41cd406b45021fd229 WHIRLPOOL 4aa93529fc41f52841d82169fc5d8b10095462d24b46a97bff78c1abda865af5cb248cfbb67495c2618b338dd05e33fecf68a677c9ca268abf97eb5d0f1f05ef
+DIST coreutils-8.5-patches-1.tar.lzma 4456 SHA256 5c805201cd08a3a9f8989c77239606d5266a037aeb7c00ec1d2224219af9a1a7 SHA512 b86564ab74a89d4a46553bbf43636cf5a896a7f9b32319d180758ae598a6bb92a2f78ae4d3604bed1789c16f73a1cee2046e9d5446484f1e96224f5542805853 WHIRLPOOL f81c343d0ebed82ea8d1e9bc0826842898eba5e839e6e4a3ffcc19a226dcba17e1a58704358ebbef364682b68f2ea0ba91b3ff9648c5c28e2f7727be8d8806df
+DIST coreutils-8.5-patches-2.tar.lzma 25979 SHA256 3fe98017886f0c97e15552caf4b38ba6085f15209c30ea9e5a2b65bee324f105 SHA512 a07f3e5c2d9abbcb639b9bfa928213ca84dddbdeee8f84a4ec127adce6290319fde584e3bb264c224278fb158d37799cc0833b3cf71fc60391232b8de57da7d6 WHIRLPOOL 5e8fbb4136460817a32c011724b2a72655e1917aa151ab18592c2cddee156d7276934ec7b2e49620b970aec9d20a0df315b6e45974baa4fb957fae50055d8079
+DIST coreutils-8.5.tar.gz 10740866 SHA256 dd243e2ac7d0ed203b170ecfb8299643779e7501fec2b45ae1cea8a450fa8ca0 SHA512 9b982ffd4f241e9c0159fb477dcd18214b3b14da3a06ff06ca43233474f3204a0753149692b53cf5f2b8a23aace2867bbbd9351cd12b3941460d386037c4617e WHIRLPOOL cb1e1b71f93bff019d8fe7849f3bdd0bbadf488439ddbc285dbca51810c9ce85f9c8d5f1a7db7369e8632ecc3141e50d76e2665f9cf0ca6b1d15d4c31c15ba63
+DIST coreutils-8.7-patches-1.tar.xz 4496 SHA256 4d428712bf911ec01d12a64c65335b30a4a60cabeb24ece503c2ff8208129277 SHA512 32f13cbcd0b07ccd05fff2a2ab7d29fc08318b0620763f4fa946a71ab338c962f5e760666d1064fd01090c1fd11dcb3e9e8ddf556afacf62c94a6b3ef338d6f9 WHIRLPOOL 1542cc9af1ce18ca60d39dc5d142781bb76c415b311da3c9de13fadf6e8fa9395f766ca5d5a803c87be0fc38207efd623504e78b7753ccf183ca50c41a4da4e9
+DIST coreutils-8.7.tar.xz 4709556 SHA256 6701979aeccbca0b197718c00754aaf4a801f9ee7419edf14b829d20b9f8076b SHA512 382ed8c6bb13f25d06ce830f90810c032a1e3eea7d05752db8603b591f05db316d14d4ffd2d5aa54f0227072adc97b0b22a828d95cd7a9de3539e942d697d7c4 WHIRLPOOL f0641996089017dbbe84dd2ccdadc1aa10be0555bfc89e7133ce1bfbc7fb555b27310a8f392bad60da8ea84e3d4ded68c5522fc063e42345402be1b18319babf
+DIST coreutils-8.8-patches-1.tar.xz 4500 SHA256 6969f31ce6eb3d76516def06f59b9efbd791f045d55ad375abccc72a8624bf11 SHA512 2f3e73b800ef3bfb2489227ebc966c0cebdb267d410b86215e0205f9b5c0d60f8435f1e41e97f4d5a9f6159999b1fe7892677c3ec852a6d21de66b3282c4edc6 WHIRLPOOL 712a0040eeac86077ab4ed0f83f3dd39ffe63ccc9082c1eb9262d278778cae0cec736dac49ae573d9636808ea9cf5f6e215d34aa5e8798069eb7019905be89a1
+DIST coreutils-8.8.tar.xz 4729080 SHA256 a92ed61ae68408a7f5eaa09db54333014a87295d05ab5a96ce2d55e3144b6336 SHA512 3e04d45c1fe57749b4e41318f1c0256d105f48df14837425fcc802bec5f5ef68bc58cc26a1d037ad041ed6399852d7dd0051254123993e9546939f430fb0c37d WHIRLPOOL 664753406665a66a6dd1a81b086d943f4374e92baaef94c658772125c4a5fc2f1e95e6b854e26cba1ccd4ca8771abb870dbdbcd83503782c4e8e4ef0f61378b1
+DIST coreutils-8.9-patches-1.tar.xz 4496 SHA256 d4949932ee5b582d3802d11afaccdea7a6f29c97f0204c1b66b7b54b72509ae4 SHA512 018e819106cce22ae30c7b08060b0ae28b41fcb5007bb000a726847f3d8107f46b6e8e90b9d16cd2826b22d1c48af44aea49cf6a3989bd2abf0bba6b83b0f088 WHIRLPOOL 3a7e637e581f19fecdc9e57f956fd0f0461079b0548a7125fc2a7593acfa39f6e5dde1ab4117b0ae5ed27bc531e7974de164823ea0db3ad212b023077d8ffe6e
+DIST coreutils-8.9.tar.xz 4726864 SHA256 ca22d06effd0c8bc506a7c57932d0ed08d7dbc75629a92264d67d34982f2b5b7 SHA512 444e197cb546aa101300b18347ec92fffddd0bedf1926eb1b810dfc1b33a8865c07ee37334e13016e3f12faa152401699bbc8b6d9f6135205f272eab40f7d98f WHIRLPOOL a879548203354fe87360bb4fe91499b8afaeb16a86f6e8ce4e037866deb96f4e77a1474b6176d7fa28cd48ce0a46ed51e7ce3d789582e4ed293b5519bf77a1d0
+EBUILD coreutils-8.10.ebuild 5467 SHA256 e07a28ddc97b65f827e918a8be4eda0041faf24a0701bf857f663a9771b3b67a SHA512 44ffafbbe00538fc308a8493724ae60c642c4fc443aa1552a8681e5c15850173d1ea019fadd813c267dde53da1d6554559d06ee0ebed2f797bfcc3ab7b610f2e WHIRLPOOL 44586eebe50d89b8ecff7c24822474b7871ecbcb827ba29c607e492bec5d3d5987cf2a451631c2bb1bf8cdf0b872dd7fe19f08f17487b4a03b78c5f9e1820882
+EBUILD coreutils-8.11.ebuild 5467 SHA256 eaa720d752549485f494f0f2f5c0c4b4b2e7d46336b141d79f733bec9cffff05 SHA512 bd66cb264b43b4c85a254cb5e1e99eb07457f36f3213bab7fbe4ab2f44c1b7124e128f8dbf45065e2698d149c64bb67901b646fab3b106597788d182c83a3825 WHIRLPOOL 66a8aa47374763a1a4131a33f9cbefa8b686ac21c55115699739db096702b742d65c5d3ffc5ac102ccbf1788db563cba2e6abc6b0d63b782926a6afc0fa8c9ee
+EBUILD coreutils-8.12.ebuild 5467 SHA256 e59a5c43e95a5e7bd1210c865f45f0afff6586d5ac46f333009ba13c9d4f7b60 SHA512 3281598cb7ebf691334c06d4a2fadaf7f5dd50900f88dac899e8ba37e11afe4c8848612b70f8298022d0460c238555205adcf9c37bcdfe7102ffda97d7daf889 WHIRLPOOL 424fd081bde9ced7e00facbb45027aaa2cc03573f7776439efa1d02b5688c5ebbd99c9d533ec12197e8b71f5b5363a7254cd05d3860d8835b5f5f5aa9004d943
+EBUILD coreutils-8.13.ebuild 5467 SHA256 5dcba81395b639faa29887b1e7b5e21a9c293e4aa611bda1e83fd4901bdf37be SHA512 d14ce6db5731102a16f088f59489733e58df8b08b8803dcfcf000070c9a3f5fb85be0d2cf57038f9d6232cf1b06bd0380642a3b31d9df2c886888f3ac089fbe6 WHIRLPOOL d40186f732406201506480d5c36686ab58e793d7b617362c14912e6330cfb0b95454aab5a7fd0cabb9989aacd864a8bd4638d9187e828a2dd4c860196070e96a
+EBUILD coreutils-8.14.ebuild 5489 SHA256 43a7d0e57e1719f0e29c4f53826b1262c709429614420deffadd5ec3d1dfaeba SHA512 7ba6288f9a45c0d400f9fc5da8e87062685b34ea01884910b4e15d85ba4fc39efcd5e22914e0755efeba14b3a7034d118885f5fd1b7f484b61dfd447090b4782 WHIRLPOOL 277db64661612eb890120977b5519c57a74d0f88cd9bf16992b45d58156d5164ab2ffd0555c478c17785ec613c0e479e2c4e6dd061d972b32ccda5e5637b51f7
+EBUILD coreutils-8.15.ebuild 5520 SHA256 a7e8f2ab975bbd87d2c5d5179ed406a5a2e327dd9a556288c53ab330d5dbb255 SHA512 645604aeaedd73d33561ec1eacf843c823c67b412ad888e775b30214163d126f613fb943b91cbd95634efe1d6a007dc13dee35a7e0d38986ab10d9e24ae32331 WHIRLPOOL 3edebd56fd45ab8d0341dc3d9067c1b4edbe69cda1499ef6a001daeef7ba1664ea2fb70505f5e7d798ccce1704cc842d880c9000b27fbd4983bfaa43429f7c9d
+EBUILD coreutils-8.16.ebuild 5677 SHA256 7c68ac8b459af6b0b8c8ad564016cea2c1e537c3973121b52ae187ca214a1e61 SHA512 22f129bceccbfb6fd8d54c90f639d42e2d11c513d7fe1936d74ef591081f6deec7c642bb9494a134f37753b6bae9e41827942add9db0991981c78adb71e3a409 WHIRLPOOL 7329a48316a91e591fe89f90b78e670bdabd179eaba2573757a4beb4785592918ea1b4401d77cb8c176252af3b7fcf83964c26e3bd1c243238dab60de11fc7c0
+EBUILD coreutils-8.17.ebuild 5794 SHA256 defa9e0128abe52213d47becf108dad9a9ae6beebc231b63bfcba3dda1fb1f9a SHA512 3de1dce7447f311324eef09dcf2406100213f86736b52b79937b9f24af0f048c4cbe91354a884746f5903a30cd22a74b4d9d0084b92b778f4106229eb903d27b WHIRLPOOL 4486d05a56b22a44cee12f2014373d880d1dfaecdf8264543ef1a0c8cb08ccb2f3b4ab1e65318fcd4d976a593600ac2f5ea09fb5585da447d5de2e754a9e40cc
+EBUILD coreutils-8.18.ebuild 5918 SHA256 de55dd817de93a78ac465addf6dc6708a95fc8343ad9104cec682543ba77e44f SHA512 ec18fda8c5b5b0ce2bd2c663306105d5b26666056793b0b82a694a71f384274b5d597b7ebfb4a79b5321c567886c04ee26929ec96f73d8d77267ea13ca9c92d8 WHIRLPOOL 07434157b6ef42cced7581db2ebdea50f019685cdeb57dbbd3db1b259fbd115fe81372f344de9e5385e3a121a86860029864784b3a83da3da4ce8db2137167f3
+EBUILD coreutils-8.19.ebuild 5918 SHA256 083a3ea51ecaa34cfa1c5a8fd993816f9d75d0087c8a149ae692bfb521200a88 SHA512 06bdfa2bed6fec721d1e50c3f26787f74957a03840f01e0652b91d87a1fcb5bddca57c02a52fc1b6c9c6c29ee9ffafee7ddc7d851775b43ba7fa367febf8bcd6 WHIRLPOOL e977bb83e82b62f36aae85522d842baae2c069895101ec0675d8be516ef4cc76e078ff8d01b28d5cec51f3cfebd596e7398b4b7063617d98280cfbc6b0df6365
+EBUILD coreutils-8.20-r1.ebuild 5897 SHA256 d0572def430a0b9043092140bee811a13c5b401441292be638b6cf225279505e SHA512 8f3293a2e5243c5be9e4001594376aa0c0c28aefa6009c0d93e81f8e42cff8fdc074f07af6a77ef74872e41dcf269999504b2221d82cd6a9b2bff8f176b904c7 WHIRLPOOL 65626c11373d257d84370f2cbb96a7ed1c0e38578bd92940124074491a3c39c9d2ce6dc56829c07e309bf0b5fcd16fb76b06b49eb95b24ef6c8cc01f6136567e
+EBUILD coreutils-8.20-r2.ebuild 5898 SHA256 06b6b7bf2e8b43af7a693fccfb36167f3a3019d90b72afd23982f08bf6148150 SHA512 775fb9e79fe0b66fa7d321d3d38b0936098f5758f6af206b3a107df4eebb9f794a5aa780a0762d35f434f00fd7859759261d5a61b0b1ca98595730e8ad87431c WHIRLPOOL e42378dac5da99e6d09e1325e9325d519b90f18b5bd854e4799f02311ff5bb4310d1729bb767c4b7ad1390bdaa2af8a50af39b62cff4d8780ae3e30a0fed2777
+EBUILD coreutils-8.20.ebuild 5884 SHA256 b4513676d9e4479a80b891d5586a66200c845e1be0537f5a3e554cebc4efc780 SHA512 889a107a2ceb85877749ed911e33e5ab47b31a7d2a952493b1e2a44395e18758f8f7d4e59708b7b5168957a89f5da3a2887125ffb6a61a8fb0c1c6326ecb819e WHIRLPOOL 65b636b8fe4f3d35cb26698d6f9e468ceea538f197ed08b3b27ef049037291f7d786c2a161b7a53bbc0828f75fdd43d40bd3461bcd5f6a23786cd901d4a1c0b9
+EBUILD coreutils-8.21.ebuild 6012 SHA256 2d5a2752397edf78dbc78b6a0335f720c5b0d9dd34351d462a0dd63821cb31e0 SHA512 483bc7d85fe391b1d9010a930451d8656827cd9a7956887fdda506a1c1918f15286e0892f9680b2429576aff2a25e7b080a31f93f8dcc77fdc16064c5f03e64a WHIRLPOOL fe4f6ac50e25f4f2dd81555654e6e718ea86f950ccf5d6018ae086009e5df71576ca922347888f9b266e866e2bbe410d487092068c1f1e89bfa153b50d47ee8c
+EBUILD coreutils-8.5-r1.ebuild 5087 SHA256 7a99ca3814451fbb86457c279ecf3f5aa54b603756a9f58745a7b33b988f9f8f SHA512 89b35cbe9eb72e248b875dc3a1c397b3253f337d7415a60ae352981a2a493521ba19a788da261ab33b2d1129de04ed84b59a3394cda2e5f09309e935d36f8698 WHIRLPOOL 595905b181dec822cdfc358fc9ca2f0aebc3a406d0778aab42c68d9bcb34b7a9fb7a4c5ff038a003b8a01d2644e409b25c8e3ba6be22333c84852cae378e93e0
+EBUILD coreutils-8.5.ebuild 5073 SHA256 99940239d3f2efe17ce491bf23ba811598c955952cd60f1d2b4e2d157400d3e3 SHA512 ad6d1bf4adfc60a37623ecb03b7925bda99680d2c369d4000bf95b7d1d01dee5cac96d933c86b951a5697df1c580e2dec873df5b7d4ac3ea0ccf39edca5cb4f9 WHIRLPOOL 6d700af9e9800893c4714974cb1d83f08b15521e5efce7fc32214b5e53705ed0af3030d116ec2e8129121475e990377e22a7edf536d8905b14794497250cc052
+EBUILD coreutils-8.7.ebuild 5102 SHA256 8d2f466643f82ec762b6f46c266eba2b0bc37f51e17764704b4893322ddba68f SHA512 7c34cba2ba0b768ebac34d13a2e169f1bce43776d8aecfab4cd8ee3db0ca82ed7cc035a4887adf19b7e67dc3cbb28ed71f026842037d03e4adff1ae4e07a7b39 WHIRLPOOL cc337e855dd92e0a51f30596b531cee38b0c5ca8805854532789d69c3f3abc3c8a0fc9e494aff201a27dc66d83fe391308c5abf7a7372662286ef3a640702a43
+EBUILD coreutils-8.8.ebuild 5113 SHA256 98dba1fcb86b41d1753bc305db5344d02075909314d1d4275ccbf5f31cbf59ab SHA512 d6a30a3bc92a1a45f4118dbae1df6aa563b8445a257b56e728dd9241d22eb357de8216716306e9ac1adbbb5f459b7678a595e2d9534be3f827692d0427cf2040 WHIRLPOOL c67fd65731cb297d8309cc39b98667c06ca22e2295d61f23daaf52b3a2fa87ea0e5be3269e7afa132241d752a1b84fe7e3b7803561a7425798194beef47f343f
+EBUILD coreutils-8.9.ebuild 5113 SHA256 94a3521bc5493f9ae4487a6190fab0c699eea9870fa91d7ca30917833b59e7e8 SHA512 2ab782551af8174a9f5cd70e17e65af5c04e0bbf582b17fd72403c039bf8771ee97ca40daac3aa5c562e48582e5a343545bd91e3d290e9697b96284599dfacd7 WHIRLPOOL 9ffa1243a4fdd9fe3ee508fa517a2c2fc61f84ae9362787b3e7aced799ae1a05d4ae22a18115d888c5bc41640047c8b7a3b62de0d9a0743632e819fb7fbfff6e
+MISC ChangeLog 53019 SHA256 b38ef12ec7740336f8d2e399c7602d8492265f66e2fd356e85a9bc982912912e SHA512 cac87131ad0681596001bd9981f1d2a53900932d71bc3d0915e406473e010ae09734790c5b0c4ee18e33bf5e5fcbe453523e5d121a05f18794ee5878b43db07b WHIRLPOOL bcf5250903600478c2d2b76cf1517e7af4e76e75dcf2230458580340ca1a35931014e219b714244a9847c82ab3a1959b7efe8572e6154aaa0ab0cfa5aba6f994
+MISC metadata.xml 244 SHA256 dd89355bb7a4485592e15da6c3829bfbdd6c87d6d1e3782c69e3beb948f244d8 SHA512 02efd3c89a02921efb74129d5c82bed1bad0b2c9f338b0ef87feb831c888fb212b5e609ecf0a602e1b628dc341528910e2f6261f91c1670602d73aad8a54b0d9 WHIRLPOOL aa9bb37b68838172196163bc310b12d0e57be1a1d4d7a80fc25eb96d163c6249751a1871cdf35e66e0d3e50eb3c596c1916e7c3649ba1daf0a0926ab2646fa63
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCAAGBQJRrofJAAoJELEHsLL7fEFWCVsQAJEC09HL7rX269N/fBRGzGPI
+LziRUvkjMKx/kRUv1UsIGjavJR17EhQZxLhYmx94+xbv//JNTWHlAd96RAfe8WrS
+c6iy+f0ARlt22WzZwkuHpRrbCzKGveCn6iDEftEFztmBkYXT3cQMD2DRz/UX0g6d
+/vkdOY80/XkZZQiui6w5c8QMa2M/PUHTePAjQfusXLu1F88sACv6LaDTRinSfcVo
+pmERzmIRdy+ItMEIdiXXmxh7OIKtZhEWDLwnn+8+4Ivbn55DMHo5BEm4ehBDm5A/
+NhNP5+bw+t/6E8Yo8/k+wH0I8F60H3MLcPbRtyz2mzoSBA0UmOmsUeuQ+GCgBM+c
+bupdaH9UQKFuxPrx/vE2dqkzglMtFOizilZ8syQWXxzAd2y+i/Je5v1ue2/9h/J3
+QD3Xmp7mFj2zemrvaSwQQdnXiWTC8Jxq4IVr5vtzd7u9r4HNi5E8FzrteCIwAT/N
+PFLWkUwpcFfDSjddQXHkpiDAbPrzNlxm4y6EDsmLEsPeFn0tKQYoDajnnI3YYSTm
+529U0eFMxmcx/NY8zotDJR67fg+TKsJtTb6waD/f2r1Y/ZKo5IYtDJLIivckpZbH
++L7yDe3Ee8WjUcwQOL64OF7SAnZEAg5+IzxoKypyKwy62Jfuf1GD86/9T/U7qamz
+/sWP/330LZYmLFke7lb0
+=dgJg
+-----END PGP SIGNATURE-----

diff --git a/sys-apps/coreutils/coreutils-8.10.ebuild b/sys-apps/coreutils/coreutils-8.10.ebuild
new file mode 100644
index 0000000..831ac38
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.10.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.10.ebuild,v 1.4 2012/03/27 17:49:13 vapier Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+PATCH_VER="2"
+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="mirror://gnu-alpha/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
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${ROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/coreutils-8.11.ebuild b/sys-apps/coreutils/coreutils-8.11.ebuild
new file mode 100644
index 0000000..52743c6
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.11.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.11.ebuild,v 1.2 2012/03/27 17:49:13 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="mirror://gnu-alpha/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
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${ROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/coreutils-8.12.ebuild b/sys-apps/coreutils/coreutils-8.12.ebuild
new file mode 100644
index 0000000..03ff2ee
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.12.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.12.ebuild,v 1.2 2012/03/27 17:49:13 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="mirror://gnu-alpha/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
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${ROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/coreutils-8.13.ebuild b/sys-apps/coreutils/coreutils-8.13.ebuild
new file mode 100644
index 0000000..52ce8d9
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.13.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.13.ebuild,v 1.2 2012/03/27 17:49:13 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="mirror://gnu-alpha/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
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${ROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/coreutils-8.14.ebuild b/sys-apps/coreutils/coreutils-8.14.ebuild
new file mode 100644
index 0000000..fdfd06c
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.14.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.14.ebuild,v 1.10 2012/03/27 17:49:13 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="mirror://gnu-alpha/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
+
+	# 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}
+
+	# Avoid perl dep for compiled in dircolors default #348642
+	if ! has_version dev-lang/perl ; then
+		touch src/dircolors.h
+		touch ${@/%x/1}
+	fi
+}
+
+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
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${ROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/coreutils-8.15.ebuild b/sys-apps/coreutils/coreutils-8.15.ebuild
new file mode 100644
index 0000000..cfb8345
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.15.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.15.ebuild,v 1.2 2012/03/27 17:49:13 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="mirror://gnu-alpha/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 )
+	!app-misc/realpath
+	!<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
+
+	# 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}
+
+	# Avoid perl dep for compiled in dircolors default #348642
+	if ! has_version dev-lang/perl ; then
+		touch src/dircolors.h
+		touch ${@/%x/1}
+	fi
+}
+
+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
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${ROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/coreutils-8.16.ebuild b/sys-apps/coreutils/coreutils-8.16.ebuild
new file mode 100644
index 0000000..7426352
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.16.ebuild
@@ -0,0 +1,172 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.16.ebuild,v 1.10 2012/09/30 17:53:12 armin76 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="mirror://gnu-alpha/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 )
+	!app-misc/realpath
+	!<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
+
+		# This is fixed in newer versions -- this hack is for stable.
+		sed -i '/_GL_WARN_ON_USE.*gets,/d' lib/stdio.in.h || die
+	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}
+
+	# Avoid perl dep for compiled in dircolors default #348642
+	if ! has_version dev-lang/perl ; then
+		touch src/dircolors.h
+		touch ${@/%x/1}
+	fi
+}
+
+src_configure() {
+	tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] && export fu_cv_sys_stat_statfs2_bsize=yes #311569
+
+	export gl_cv_func_mknod_works=yes #409919
+	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
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${ROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/coreutils-8.17.ebuild b/sys-apps/coreutils/coreutils-8.17.ebuild
new file mode 100644
index 0000000..8a4a751
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.17.ebuild
@@ -0,0 +1,175 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.17.ebuild,v 1.3 2012/07/11 14:33:02 ryao Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+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="mirror://gnu-alpha/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/~ryao/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 ~amd64-fbsd"
+IUSE="acl caps gmp nls selinux static unicode userland_BSD vanilla xattr"
+
+RDEPEND="caps? ( sys-libs/libcap )
+	gmp? ( dev-libs/gmp )
+	selinux? ( sys-libs/libselinux )
+	acl? ( sys-apps/acl )
+	xattr? ( !userland_BSD? ( sys-apps/attr ) )
+	nls? ( >=sys-devel/gettext-0.15 )
+	!app-misc/realpath
+	!<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
+
+	# 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}
+
+	# Avoid perl dep for compiled in dircolors default #348642
+	if ! has_version dev-lang/perl ; then
+		touch src/dircolors.h
+		touch ${@/%x/1}
+	fi
+}
+
+src_configure() {
+	local myconf=''
+	if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
+		export fu_cv_sys_stat_statfs2_bsize=yes #311569
+		export gl_cv_func_realpath_works=yes #416629
+	fi
+
+	export gl_cv_func_mknod_works=yes #409919
+	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
+	use userland_BSD && myconf="${myconf} -program-prefix=g --program-transform-name=s/stat/nustat/"
+	# 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) \
+		${myconf}
+}
+
+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
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${ROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/coreutils-8.18.ebuild b/sys-apps/coreutils/coreutils-8.18.ebuild
new file mode 100644
index 0000000..9e0e8be
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.18.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.18.ebuild,v 1.3 2012/08/18 22:14:00 vapier Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+PATCH_VER="1.2"
+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="mirror://gnu-alpha/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/~ryao/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 ~amd64-fbsd"
+IUSE="acl caps gmp nls selinux static userland_BSD vanilla xattr"
+
+LIB_DEPEND="acl? ( sys-apps/acl[static-libs] )
+	caps? ( sys-libs/libcap )
+	gmp? ( dev-libs/gmp[static-libs] )
+	xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
+	selinux? ( sys-libs/libselinux )
+	nls? ( >=sys-devel/gettext-0.15 )
+	!app-misc/realpath
+	!<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}
+	static? ( ${LIB_DEPEND} )
+	app-arch/xz-utils"
+
+src_prepare() {
+	if ! use vanilla ; then
+		use_if_iuse 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
+
+	# 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}
+
+	# Avoid perl dep for compiled in dircolors default #348642
+	if ! has_version dev-lang/perl ; then
+		touch src/dircolors.h
+		touch ${@/%x/1}
+	fi
+}
+
+src_configure() {
+	local myconf=''
+	if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
+		export fu_cv_sys_stat_statfs2_bsize=yes #311569
+		export gl_cv_func_realpath_works=yes #416629
+	fi
+
+	export gl_cv_func_mknod_works=yes #409919
+	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
+	use userland_BSD && myconf="${myconf} -program-prefix=g --program-transform-name=s/stat/nustat/"
+	# 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) \
+		${myconf}
+}
+
+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
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${ROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/coreutils-8.19.ebuild b/sys-apps/coreutils/coreutils-8.19.ebuild
new file mode 100644
index 0000000..a837bc5
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.19.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.19.ebuild,v 1.1 2012/08/20 17:57:39 vapier Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+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="mirror://gnu-alpha/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/~ryao/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 ~amd64-fbsd"
+IUSE="acl caps gmp nls selinux static userland_BSD vanilla xattr"
+
+LIB_DEPEND="acl? ( sys-apps/acl[static-libs] )
+	caps? ( sys-libs/libcap )
+	gmp? ( dev-libs/gmp[static-libs] )
+	xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
+	selinux? ( sys-libs/libselinux )
+	nls? ( >=sys-devel/gettext-0.15 )
+	!app-misc/realpath
+	!<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}
+	static? ( ${LIB_DEPEND} )
+	app-arch/xz-utils"
+
+src_prepare() {
+	if ! use vanilla ; then
+		use_if_iuse 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
+
+	# 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}
+
+	# Avoid perl dep for compiled in dircolors default #348642
+	if ! has_version dev-lang/perl ; then
+		touch src/dircolors.h
+		touch ${@/%x/1}
+	fi
+}
+
+src_configure() {
+	local myconf=''
+	if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
+		export fu_cv_sys_stat_statfs2_bsize=yes #311569
+		export gl_cv_func_realpath_works=yes #416629
+	fi
+
+	export gl_cv_func_mknod_works=yes #409919
+	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
+	use userland_BSD && myconf="${myconf} -program-prefix=g --program-transform-name=s/stat/nustat/"
+	# 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) \
+		${myconf}
+}
+
+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
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${ROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/coreutils-8.20-r1.ebuild b/sys-apps/coreutils/coreutils-8.20-r1.ebuild
new file mode 100644
index 0000000..9d8ed55
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.20-r1.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.20-r1.ebuild,v 1.1 2012/12/19 19:17:01 vapier Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+PATCH_VER="1.2"
+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="mirror://gnu-alpha/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/~ryao/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 ~amd64-fbsd"
+IUSE="acl caps gmp nls selinux static userland_BSD vanilla xattr"
+
+LIB_DEPEND="acl? ( sys-apps/acl[static-libs] )
+	caps? ( sys-libs/libcap )
+	gmp? ( dev-libs/gmp[static-libs] )
+	xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
+	selinux? ( sys-libs/libselinux )
+	nls? ( >=sys-devel/gettext-0.15 )
+	!app-misc/realpath
+	!<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}
+	static? ( ${LIB_DEPEND} )
+	app-arch/xz-utils"
+
+src_prepare() {
+	if ! use vanilla ; then
+		use_if_iuse 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
+
+	# 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
+	touch ${@/%x/1}
+
+	# Avoid perl dep for compiled in dircolors default #348642
+	if ! has_version dev-lang/perl ; then
+		touch src/dircolors.h
+		touch ${@/%x/1}
+	fi
+}
+
+src_configure() {
+	local myconf=''
+	if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
+		export fu_cv_sys_stat_statfs2_bsize=yes #311569
+		export gl_cv_func_realpath_works=yes #416629
+	fi
+
+	export gl_cv_func_mknod_works=yes #409919
+	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
+	use userland_BSD && myconf="${myconf} -program-prefix=g --program-transform-name=s/stat/nustat/"
+	# 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) \
+		${myconf}
+}
+
+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
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${ROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/coreutils-8.20-r2.ebuild b/sys-apps/coreutils/coreutils-8.20-r2.ebuild
new file mode 100644
index 0000000..274109f
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.20-r2.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.20-r2.ebuild,v 1.4 2013/01/22 15:53:27 gmsoft Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+PATCH_VER="1.4"
+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="mirror://gnu-alpha/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 ~amd64-fbsd"
+IUSE="acl caps gmp nls selinux static userland_BSD vanilla xattr"
+
+LIB_DEPEND="acl? ( sys-apps/acl[static-libs] )
+	caps? ( sys-libs/libcap )
+	gmp? ( dev-libs/gmp[static-libs] )
+	xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
+	selinux? ( sys-libs/libselinux )
+	nls? ( >=sys-devel/gettext-0.15 )
+	!app-misc/realpath
+	!<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}
+	static? ( ${LIB_DEPEND} )
+	app-arch/xz-utils"
+
+src_prepare() {
+	if ! use vanilla ; then
+		use_if_iuse 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
+
+	# 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
+	touch ${@/%x/1}
+
+	# Avoid perl dep for compiled in dircolors default #348642
+	if ! has_version dev-lang/perl ; then
+		touch src/dircolors.h
+		touch ${@/%x/1}
+	fi
+}
+
+src_configure() {
+	local myconf=''
+	if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
+		export fu_cv_sys_stat_statfs2_bsize=yes #311569
+		export gl_cv_func_realpath_works=yes #416629
+	fi
+
+	export gl_cv_func_mknod_works=yes #409919
+	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
+	use userland_BSD && myconf="${myconf} -program-prefix=g --program-transform-name=s/stat/nustat/"
+	# 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) \
+		${myconf}
+}
+
+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
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${ROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/coreutils-8.20.ebuild b/sys-apps/coreutils/coreutils-8.20.ebuild
new file mode 100644
index 0000000..5a0e904
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.20.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.20.ebuild,v 1.12 2013/01/01 18:55:02 armin76 Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+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="mirror://gnu-alpha/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/~ryao/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 ~amd64-fbsd"
+IUSE="acl caps gmp nls selinux static userland_BSD vanilla xattr"
+
+LIB_DEPEND="acl? ( sys-apps/acl[static-libs] )
+	caps? ( sys-libs/libcap )
+	gmp? ( dev-libs/gmp[static-libs] )
+	xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
+	selinux? ( sys-libs/libselinux )
+	nls? ( >=sys-devel/gettext-0.15 )
+	!app-misc/realpath
+	!<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}
+	static? ( ${LIB_DEPEND} )
+	app-arch/xz-utils"
+
+src_prepare() {
+	if ! use vanilla ; then
+		use_if_iuse 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
+
+	# 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
+	touch ${@/%x/1}
+
+	# Avoid perl dep for compiled in dircolors default #348642
+	if ! has_version dev-lang/perl ; then
+		touch src/dircolors.h
+		touch ${@/%x/1}
+	fi
+}
+
+src_configure() {
+	local myconf=''
+	if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
+		export fu_cv_sys_stat_statfs2_bsize=yes #311569
+		export gl_cv_func_realpath_works=yes #416629
+	fi
+
+	export gl_cv_func_mknod_works=yes #409919
+	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
+	use userland_BSD && myconf="${myconf} -program-prefix=g --program-transform-name=s/stat/nustat/"
+	# 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) \
+		${myconf}
+}
+
+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
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${ROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/coreutils-8.21.ebuild b/sys-apps/coreutils/coreutils-8.21.ebuild
new file mode 100644
index 0000000..9d7c4ff
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.21.ebuild
@@ -0,0 +1,180 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.21.ebuild,v 1.3 2013/04/28 01:07:58 vapier Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+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="mirror://gnu-alpha/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
+	mirror://gentoo/${P}-man.tar.xz
+	http://dev.gentoo.org/~vapier/dist/${P}-man.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~arm-linux ~x86-linux"
+IUSE="acl caps gmp nls selinux static userland_BSD vanilla xattr"
+
+LIB_DEPEND="acl? ( sys-apps/acl[static-libs] )
+	caps? ( sys-libs/libcap )
+	gmp? ( dev-libs/gmp[static-libs] )
+	xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
+	selinux? ( sys-libs/libselinux )
+	nls? ( virtual/libintl )
+	!app-misc/realpath
+	!<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}
+	static? ( ${LIB_DEPEND} )
+	app-arch/xz-utils"
+
+src_prepare() {
+	if ! use vanilla ; then
+		use_if_iuse 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
+
+	# 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
+	touch ${@/%x/1}
+
+	# Avoid perl dep for compiled in dircolors default #348642
+	if ! has_version dev-lang/perl ; then
+		touch src/dircolors.h
+		touch ${@/%x/1}
+	fi
+}
+
+src_configure() {
+	local myconf=''
+	if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then
+		export fu_cv_sys_stat_statfs2_bsize=yes #311569
+		export gl_cv_func_realpath_works=yes #416629
+	fi
+
+	export gl_cv_func_mknod_works=yes #409919
+	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
+	use userland_BSD && myconf="${myconf} -program-prefix=g --program-transform-name=s/stat/nustat/"
+	# 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) \
+		${myconf}
+}
+
+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}"
+				#!${EPREFIX}/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 "${ED}"/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 "${ED}"/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 "${EROOT}/usr/bin/dircolors" ] && [ -e "${EROOT}/bin/dircolors" ] ; then
+		if strings "${EROOT}/bin/dircolors" | grep -qs "GNU coreutils" ; then
+			einfo "Deleting orphaned GNU /bin/dircolors for you"
+			rm -f "${EROOT}/bin/dircolors"
+		fi
+	fi
+
+	# Help out users using experimental filesystems
+	if grep -qs btrfs "${EROOT}"/etc/fstab /proc/mounts ; then
+		case $(uname -r) in
+		2.6.[12][0-9]|2.6.3[0-7]*)
+			ewarn "You are running a system with a buggy btrfs driver."
+			ewarn "Please upgrade your kernel to avoid silent corruption."
+			ewarn "See: https://bugs.gentoo.org/353907"
+			;;
+		esac
+	fi
+}

diff --git a/sys-apps/coreutils/coreutils-8.5-r1.ebuild b/sys-apps/coreutils/coreutils-8.5-r1.ebuild
new file mode 100644
index 0000000..7933aed
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.5-r1.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.5-r1.ebuild,v 1.2 2012/03/27 17:49:13 vapier Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+PATCH_VER="2"
+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="mirror://gnu-alpha/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 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_unpack() {
+	unpack ${A}
+	cd "${S}"
+
+	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
+
+	# 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() {
+	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) \
+		|| 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."
+	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
+}

diff --git a/sys-apps/coreutils/coreutils-8.5.ebuild b/sys-apps/coreutils/coreutils-8.5.ebuild
new file mode 100644
index 0000000..55156ce
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.5.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.5.ebuild,v 1.10 2012/03/27 17:49:13 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="mirror://gnu-alpha/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 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_unpack() {
+	unpack ${A}
+	cd "${S}"
+
+	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
+
+	# 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() {
+	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) \
+		|| 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."
+	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
+}

diff --git a/sys-apps/coreutils/coreutils-8.7.ebuild b/sys-apps/coreutils/coreutils-8.7.ebuild
new file mode 100644
index 0000000..7332389
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.7.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.7.ebuild,v 1.12 2012/03/27 17:49:13 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="mirror://gnu-alpha/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
+}

diff --git a/sys-apps/coreutils/coreutils-8.8.ebuild b/sys-apps/coreutils/coreutils-8.8.ebuild
new file mode 100644
index 0000000..a852f80
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.8.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2012 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.3 2012/03/27 17:49:13 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="mirror://gnu-alpha/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
+}

diff --git a/sys-apps/coreutils/coreutils-8.9.ebuild b/sys-apps/coreutils/coreutils-8.9.ebuild
new file mode 100644
index 0000000..ae1c317
--- /dev/null
+++ b/sys-apps/coreutils/coreutils-8.9.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2012 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.2 2012/03/27 17:49:13 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="mirror://gnu-alpha/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
+}

diff --git a/net-analyzer/ssldump/metadata.xml b/sys-apps/coreutils/metadata.xml
similarity index 56%
copy from net-analyzer/ssldump/metadata.xml
copy to sys-apps/coreutils/metadata.xml
index 7e6df48..009184e 100644
--- a/net-analyzer/ssldump/metadata.xml
+++ b/sys-apps/coreutils/metadata.xml
@@ -1,6 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>netmon</herd>
-<longdescription>A Tool for network monitoring and data acquisition</longdescription>
+<herd>base-system</herd>
+<upstream>
+  <remote-id type="cpe">cpe:/a:gnu:coreutils</remote-id>
+</upstream>
 </pkgmetadata>

diff --git a/sys-apps/portage/ChangeLog b/sys-apps/portage/ChangeLog
deleted file mode 100644
index 5f00dae..0000000
--- a/sys-apps/portage/ChangeLog
+++ /dev/null
@@ -1,2673 +0,0 @@
-# ChangeLog for sys-apps/portage
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Id: ChangeLog 61638 2013-07-13 07:43:55Z grobian $
-
-*portage-2.2.01.22124-r1 (13 Jul 2013)
-
-  13 Jul 2013; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.22124-r1.ebuild:
-  Bring ebuild in line with gentoo-x86 version
-
-*portage-2.2.01.22124 (10 Jul 2013)
-
-  10 Jul 2013; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.22124.ebuild,
-  -portage-2.2.01.22120.ebuild:
-  Version bump, matches 2.2.0_alpha188
-
-*portage-2.2.01.22120 (08 Jul 2013)
-
-  08 Jul 2013; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.22120.ebuild,
-  -portage-2.2.01.22007.ebuild:
-  Version bump, matches 2.2.0_alpha187
-
-*portage-2.2.01.22097 (29 Jun 2013)
-
-  29 Jun 2013; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.22097.ebuild,
-  -portage-2.2.01.21938.ebuild:
-  Version bump, matches v2.2.0_alpha186
-
-*portage-2.2.01.22013 (12 Jun 2013)
-
-  12 Jun 2013; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.22013.ebuild,
-  -portage-2.2.01.21890.ebuild:
-  bump for fix for bug #472984
-
-*portage-2.2.01.22007 (09 Jun 2013)
-
-  09 Jun 2013; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.22007.ebuild,
-  -portage-2.2.01.21882.ebuild:
-  Version bump, matches 2.2.0_alpha179
-
-*portage-2.2.01.21938 (05 May 2013)
-
-  05 May 2013; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21938.ebuild,
-  -portage-2.2.01.21933.ebuild:
-  Bump for Darwin preserve-libs fix
-
-*portage-2.2.01.21933 (05 May 2013)
-
-  05 May 2013; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21933.ebuild,
-  -portage-2.2.01.21864.ebuild:
-  Version bump, matches 2.2.0_alpha174
-
-*portage-2.2.01.21890 (02 Apr 2013)
-
-  02 Apr 2013; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21890.ebuild,
-  -portage-2.2.01.21476.ebuild:
-  Version bump, matches v2.2.0_alpha171, fixes bug #460382
-
-*portage-2.2.01.21882 (31 Mar 2013)
-
-  31 Mar 2013; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21882.ebuild,
-  -portage-2.2.01.21418.ebuild:
-  Version bump, matches 2.2.0_alpha170+
-
-*portage-2.2.01.21864 (24 Mar 2013)
-
-  24 Mar 2013; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21864.ebuild,
-  -portage-2.2.01.21863.ebuild:
-  Apply patch for MacOSX sandbox by Michael Weiser, bug #462054
-
-*portage-2.2.01.21863 (24 Mar 2013)
-
-  24 Mar 2013; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21863.ebuild,
-  -portage-2.2.01.21858.ebuild:
-  Version bump, more silent during bootstraps
-
-*portage-2.2.01.21858 (23 Mar 2013)
-
-  23 Mar 2013; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21858.ebuild,
-  -portage-2.2.01.21688.ebuild:
-  Version bump, matches 2.2.0_alpha169+, fixes Error 35 on Darwin, bug #456296
-
-*portage-2.2.01.21688 (27 Jan 2013)
-
-  27 Jan 2013; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21688.ebuild,
-  -portage-2.2.01.21580.ebuild:
-  Version bump, matches portage-2.2.0_alpha160+
-
-*portage-2.2.01.21580 (13 Jan 2013)
-
-  13 Jan 2013; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21580.ebuild,
-  -portage-2.2.01.21313.ebuild:
-  Version bump, matches portage-2.2.0_alpha151.
-
-*portage-2.2.01.21476 (26 Dec 2012)
-
-  26 Dec 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21476.ebuild,
-  -portage-2.2.01.21165.ebuild:
-  Version bump, matches 2.2.0_alpha149+, fixes bugs #439488 and #442348
-
-*portage-2.2.01.21418 (02 Dec 2012)
-
-  02 Dec 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21418.ebuild,
-  -portage-2.2.01.21143.ebuild:
-  Version bump, matches 2.2.0_alpha144+, support for Python 3
-
-*portage-2.2.01.21313 (22 Oct 2012)
-
-  22 Oct 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21313.ebuild,
-  -portage-2.2.01.21003.ebuild:
-  Version bump, matches 2.2.0_alpha141+, has EAPI5 support
-
-*portage-2.2.01.21165 (30 Sep 2012)
-
-  30 Sep 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21165.ebuild,
-  -portage-2.2.01.20972.ebuild:
-  Version bump, matches 2.2.0_alpha134+, includes updated seatbelt/macosx
-  sandbox support
-
-*portage-2.2.01.21143 (26 Sep 2012)
-
-  26 Sep 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21143.ebuild,
-  -portage-2.2.01.20894.ebuild:
-  Version bump, matches v2.2.0_alpha133
-
-*portage-2.2.01.21003 (12 Sep 2012)
-
-  12 Sep 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.21003.ebuild,
-  -portage-2.2.01.20837.ebuild:
-  Version bump, matches 2.2.0_alpha127
-
-*portage-2.2.01.20972 (09 Sep 2012)
-
-  09 Sep 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.20972.ebuild,
-  -portage-2.2.01.20796.ebuild:
-  Version bump, matches 2.2.0_alpha125+
-
-*portage-2.2.01.20894 (27 Aug 2012)
-
-  27 Aug 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.20894.ebuild,
-  -portage-2.2.01.20757.ebuild:
-  Version bump, matches 2.2.0_alpha123
-
-  20 Aug 2012; Fabian Groffen <grobian@gentoo.org> portage-2.2.01.20837.ebuild:
-  Up the requirement for bash to 4.1, since redirect_alloc_fd better relies on
-  bash' built-in to find a free filedescriptor than a rather Linux-specific way
-  to figure one out.
-
-  12 Aug 2012; Fabian Groffen <grobian@gentoo.org> portage-2.2.01.20837.ebuild:
-  Add sys-devel/patch to DEPEND for bug #429746
-
-  12 Aug 2012; Fabian Groffen <grobian@gentoo.org> portage-2.2.01.20837.ebuild:
-  Remove /etc/make.globals symlink code (bug #427862)
-
-*portage-2.2.01.20837 (12 Aug 2012)
-
-  12 Aug 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.20837.ebuild,
-  -portage-2.2.01.20430.ebuild:
-  Version bump, matches 2.2.0_alpha121
-
-*portage-2.2.01.20796 (19 Jul 2012)
-
-  19 Jul 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.20796.ebuild,
-  -portage-2.2.01.20389.ebuild:
-  Version bump, matches v2.2.0_alpha120
-
-*portage-2.2.01.20757 (08 Jul 2012)
-
-  08 Jul 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.20757.ebuild:
-  Version bump, matches portage-2.2.0_alpha116+
-
-*portage-2.2.01.20430 (23 Apr 2012)
-
-  23 Apr 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.20430.ebuild,
-  -portage-2.2.01.20271.ebuild, portage-2.2.01.20366.ebuild,
-  portage-2.2.01.20389.ebuild:
-  Version bump, matches 2.2.0_alpha101
-
-*portage-2.2.01.20389 (03 Apr 2012)
-
-  03 Apr 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.20389.ebuild,
-  -portage-2.2.01.20239.ebuild:
-  Version bump, matches v2.2.0_alpha99+
-
-*portage-2.2.01.20366 (31 Mar 2012)
-
-  31 Mar 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.20366.ebuild,
-  -portage-2.2.01.20153.ebuild:
-  Version bump, matches 2.2.0_alpha96+
-
-*portage-2.2.01.20271 (01 Mar 2012)
-
-  01 Mar 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.20271.ebuild,
-  -portage-2.2.01.20062.ebuild, files/portage-2.2.01.20239-ebuildshell.patch:
-  Version bump, matches portage-2.2.0_alpha89+
-
-  29 Feb 2012; Michael Haubenwallner <haubi@gentoo.org>
-  portage-2.2.01.20239.ebuild, +files/portage-2.2.01.20239-ebuildshell.patch:
-  handle 'ebuildshell' feature like the 'interactive' property in
-  stdio-redirection
-
-*portage-2.2.01.20239 (19 Feb 2012)
-
-  19 Feb 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.20239.ebuild,
-  -portage-2.2.01.20048.ebuild:
-  Version bump, matches portage-2.2.0_alpha87
-
-*portage-2.2.01.20153 (09 Feb 2012)
-
-  09 Feb 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.20153.ebuild,
-  -portage-2.2.01.19572.ebuild:
-  Version bump, potential fixes for bugs #402413 and #398805.
-
-*portage-2.2.01.20062 (10 Jan 2012)
-
-  10 Jan 2012; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.20062.ebuild,
-  -portage-2.2.01.19981.ebuild:
-  Version bump to fix bug #397613
-
-*portage-2.2.01.20048 (31 Dec 2011)
-
-  31 Dec 2011; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.20048.ebuild,
-  -portage-2.2.01.20043.ebuild:
-  Version bump, matches 2.2.0_alpha84, fixes #396577
-
-*portage-2.2.01.20043 (26 Dec 2011)
-
-  26 Dec 2011; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.20043.ebuild,
-  -portage-2.2.01.20023.ebuild:
-  Version bump, matches portage-2.2.0_alpha83+, fix for Prefix bug #395911
-
-*portage-2.2.01.20023 (23 Dec 2011)
-
-  23 Dec 2011; Fabian Groffen <grobian@gentoo.org>
-  +files/portage-2.2.01.20020-ebuildshell.patch, +portage-2.2.01.20023.ebuild,
-  -portage-2.2.01.19941.ebuild:
-  Version bump
-
-*portage-2.2.01.19981 (19 Dec 2011)
-
-  19 Dec 2011; Fabian Groffen <grobian@gentoo.org>
-  +files/portage-2.2.01.19981-ebuildshell.patch, +portage-2.2.01.19981.ebuild,
-  -portage-2.2.01.19893.ebuild:
-  Version bump, matches portage-2.1.10.41+, fixes bug #395241
-  (FEATURES=installsources installing sources to incorrect path)
-
-*portage-2.2.01.19941 (14 Dec 2011)
-
-  14 Dec 2011; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.19941.ebuild,
-  -portage-2.2.01.19295.ebuild, -portage-2.2.01.19478.ebuild:
-  Version bump, quite some commits after portage-2.2.0_alpha80.  Contains
-  lockfile fixes.
-
-*portage-2.2.01.19893 (10 Dec 2011)
-
-  10 Dec 2011; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.19893.ebuild,
-  -portage-2.2.01.19833.ebuild:
-  Bump, replace previous faulty snapshot, ebuilds could cause out-of-prefix
-  installations with funcs like doman.
-
-*portage-2.2.01.19833 (08 Dec 2011)
-
-  08 Dec 2011; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.19833.ebuild:
-  Version bump, matches portage-2.2.0_alpha79+
-
-*portage-2.2.01.19572 (21 Oct 2011)
-
-  21 Oct 2011; Fabian Groffen <grobian@gentoo.org> +portage-2.2.01.19572.ebuild,
-  -portage-2.2.01.19247.ebuild:
-  Version bump, matches portage-2.2.0_alpha70
-
-*portage-2.2.01.19478 (15 Oct 2011)
-
-  15 Oct 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.19120.ebuild, +portage-2.2.01.19478.ebuild:
-  Version bump, matches portage-2.2.0_alpha67
-
-*portage-2.2.01.19295 (20 Sep 2011)
-
-  20 Sep 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.19074.ebuild, +portage-2.2.01.19295.ebuild:
-  Version bump, matches portage-2.2.0_alpha59+, fixes preserve-libs on AIX and
-  Darwin, bug #383691
-
-  16 Sep 2011; Michael Haubenwallner <haubi@gentoo.org>
-  portage-2.2.01.19247.ebuild,
-  +files/portage-2.2.01.19247-aix-preserve-libs.patch,
-  +files/portage-2.2.01.19247-ebuildshell.patch:
-  Fix preserve-libs for AIX. Fix ebuildshell patch for portage-2.2.01.19247.
-
-*portage-2.2.01.19247 (14 Sep 2011)
-
-  14 Sep 2011; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.19247.ebuild:
-  Version bump, portage-2.2.0_alpha56+ including repoman fixes for repodirs
-
-*portage-2.2.01.19235 (13 Sep 2011)
-
-  13 Sep 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.19234.ebuild, +portage-2.2.01.19235.ebuild:
-  Replace faulty snapshot that had a broken enough repoman to die on committing
-  the Manifest
-
-*portage-2.2.01.19234 (13 Sep 2011)
-
-  13 Sep 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.19062.ebuild, +portage-2.2.01.19234.ebuild:
-  Version bump, matches portage-2.2.0_alpha55+, ebuildshell patch
-  disabled due to failure to apply
-
-*portage-2.2.01.19120 (30 Aug 2011)
-
-  30 Aug 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.18890.ebuild, -portage-2.2.01.18980.ebuild,
-  +portage-2.2.01.19120.ebuild:
-  New snapshot with patches for bugs #378625, #381125 and another
-  unicode_decode bug reported on -alt ML
-
-*portage-2.2.01.19074 (25 Aug 2011)
-
-  25 Aug 2011; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.19074.ebuild:
-  Version bump, fix for bug #379469
-
-*portage-2.2.01.19062 (20 Aug 2011)
-
-  20 Aug 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.19011.ebuild, +portage-2.2.01.19062.ebuild:
-  Version bump, matches portage-2.2.0_alpha51+, fixes bug #378515
-
-*portage-2.2.01.19011 (26 Jul 2011)
-
-  26 Jul 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.18826.ebuild, +portage-2.2.01.19011.ebuild:
-  Version bump, matches portage-2.2.0_alpha47+
-
-*portage-2.2.01.18980 (17 Jul 2011)
-
-  17 Jul 2011; Fabian Groffen <grobian@gentoo.org>
-  -files/portage-2.2.00.13849-ebuildshell.patch,
-  -files/portage-2.2.00.15842-configshell.patch,
-  -files/portage-2.2.00.15842-shebangcheck.patch, -portage-2.2.01.18761.ebuild,
-  +portage-2.2.01.18980.ebuild, +files/portage-2.2.01.18980-ebuildshell.patch:
-  Version bump, matches portage-2.2.0_alpha45+, cleanup
-
-*portage-2.2.01.18890 (01 Jul 2011)
-
-  01 Jul 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.18706.ebuild, +portage-2.2.01.18890.ebuild:
-  Version bump, matches portage-2.2.0_alpha43
-
-  17 Jun 2011; Michael Haubenwallner <haubi@gentoo.org>
-  portage-2.2.01.18826.ebuild,
-  +files/portage-2.2.01.18826-aix-preservelibs.patch:
-  fix the preserve-libs feature for AIX once more
-
-*portage-2.2.01.18826 (14 Jun 2011)
-
-  14 Jun 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15842-r1.ebuild, -portage-2.2.01.15553.ebuild,
-  +portage-2.2.01.18826.ebuild:
-  Version bump, matches portage-2.2.0_alpha40
-
-*portage-2.2.01.18761 (07 Jun 2011)
-
-  07 Jun 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.18252.ebuild, +portage-2.2.01.18761.ebuild:
-  Version bump, matches portage-2.2.0_alpha38
-
-*portage-2.2.01.18706 (29 May 2011)
-
-  29 May 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.18703.ebuild, +portage-2.2.01.18706.ebuild:
-  Fix for find error with e.g. virtual packages, bug #368839, changed fowners
-  not to operate in Prefix for non-privileged users
-
-*portage-2.2.01.18703 (28 May 2011)
-
-  28 May 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.18213.ebuild, +portage-2.2.01.18703.ebuild:
-  Version bump, matches portage-2.2.0_alpha37
-
-*portage-2.2.01.18252 (17 Apr 2011)
-
-  17 Apr 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.18125.ebuild, +portage-2.2.01.18252.ebuild:
-  Version bump, matches portage-2.2.0_alpha30
-
-  10 Apr 2011; Fabian Groffen <grobian@gentoo.org>
-  portage-2.2.00.15842-r1.ebuild, portage-2.2.01.15553.ebuild,
-  portage-2.2.01.18125.ebuild, portage-2.2.01.18213.ebuild:
-  Remove PROVIDE=virtual/portage, bug #358847
-
-  01 Apr 2011; Michael Haubenwallner <haubi@gentoo.org>
-  portage-2.2.01.18213.ebuild, +files/portage-2.2.01.18213-ebuildshell.patch:
-  update ebuildshell patch (#155161)
-
-*portage-2.2.01.18213 (28 Mar 2011)
-
-  28 Mar 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.18091.ebuild, +portage-2.2.01.18213.ebuild:
-  Version bump, matches portage-2.2.0_alpha29
-
-*portage-2.2.01.18125 (17 Mar 2011)
-
-  17 Mar 2011; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.18125.ebuild:
-  Version bump
-
-*portage-2.2.01.18091 (13 Mar 2011)
-
-  13 Mar 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17901.ebuild, +portage-2.2.01.18091.ebuild:
-  Version bump, matches portage-2.2.0_alpha26, includes loadavg patch for AIX
-  and HP-UX
-
-*portage-2.2.01.18036 (27 Feb 2011)
-
-  27 Feb 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17865.ebuild, +portage-2.2.01.18036.ebuild:
-  Version bump, matches portage-2.2.0_alpha25
-
-*portage-2.2.01.17901 (10 Feb 2011)
-
-  10 Feb 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17757.ebuild, +portage-2.2.01.17901.ebuild:
-  Version bump, matches portage-2.2.0_alpha23
-
-*portage-2.2.01.17865 (06 Feb 2011)
-
-  06 Feb 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17693.ebuild, +portage-2.2.01.17865.ebuild:
-  Version bump, FreeMiNT fixes
-
-*portage-2.2.01.17757 (02 Feb 2011)
-
-  02 Feb 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17721.ebuild, +portage-2.2.01.17757.ebuild:
-  Bump, hopefully with fixes for backtraces like bug #353395
-
-*portage-2.2.01.17721 (30 Jan 2011)
-
-  30 Jan 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17680.ebuild, +portage-2.2.01.17721.ebuild:
-  Bump, updated 'no offset with helpers' check
-
-  27 Jan 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17649.ebuild:
-  Drop old
-
-  26 Jan 2011; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.17693.ebuild:
-  Bump, repoman now has prefix.usedwithhelpers check added
-
-*portage-2.2.01.17693 (26 Jan 2011)
-
-  26 Jan 2011; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.17693.ebuild:
-  Bump, repoman now has prefix.usedwithhelpers check added
-
-*portage-2.2.01.17680 (22 Jan 2011)
-
-  22 Jan 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17583.ebuild, +portage-2.2.01.17680.ebuild:
-  Version bump, matches portage-2.2.0_alpha19
-
-*portage-2.2.01.17649 (18 Jan 2011)
-
-  18 Jan 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17555.ebuild, +portage-2.2.01.17649.ebuild:
-  Version bump, matches portage-2.2.0_alpha17
-
-*portage-2.2.01.17583 (07 Jan 2011)
-
-  07 Jan 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17422.ebuild, +portage-2.2.01.17583.ebuild:
-  Version bump, matches portage-2.2.0_alpha14
-
-*portage-2.2.01.17555 (03 Jan 2011)
-
-  03 Jan 2011; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17409.ebuild, +portage-2.2.01.17555.ebuild:
-  Version bump, matches portage-2.2.0_alpha12
-
-*portage-2.2.01.17422 (21 Dec 2010)
-
-  21 Dec 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17304.ebuild, +portage-2.2.01.17422.ebuild:
-  Version bump, matches portage-2.2.0_alpha10
-
-*portage-2.2.01.17409 (20 Dec 2010)
-
-  20 Dec 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17390.ebuild, +portage-2.2.01.17409.ebuild:
-  Version bump, matches portage-2.2_alpha9
-
-*portage-2.2.01.17390 (15 Dec 2010)
-
-  15 Dec 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17380.ebuild, +portage-2.2.01.17390.ebuild:
-  Bump for fix for bug #348790, fixup fix for detection of python.
-
-*portage-2.2.01.17380 (13 Dec 2010)
-
-  13 Dec 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17377.ebuild, +portage-2.2.01.17380.ebuild:
-  Fix detection of python, leading to bugs like #348369
-
-*portage-2.2.01.17377 (13 Dec 2010)
-
-  13 Dec 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17133.ebuild, -portage-2.2.01.17168.ebuild,
-  +portage-2.2.01.17377.ebuild:
-  Version bump, matches portage-2.2_alpha8
-
-*portage-2.2.01.17304 (30 Nov 2010)
-
-  30 Nov 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17294.ebuild, +portage-2.2.01.17304.ebuild:
-  Bump, fixes for bugs #344307 (numeric group ids), #345633 (unmerge out of
-  prefix) and permission denied errors during merging on directories before
-  the prefix
-
-*portage-2.2.01.17294 (29 Nov 2010)
-
-  29 Nov 2010; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.17294.ebuild:
-  Version bump, matches portage-2.2.0_alpha6
-
-*portage-2.2.01.17168 (07 Nov 2010)
-
-  07 Nov 2010; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.17168.ebuild:
-  Version bump, matches portage-2.2.0_alpha4
-
-  04 Nov 2010; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.17133.ebuild, -portage-2.2.01.17146.ebuild:
-  Undo latest version bump, it has a broken shebang check
-
-*portage-2.2.01.17146 (03 Nov 2010)
-
-  03 Nov 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.17086.ebuild, -portage-2.2.01.17133.ebuild,
-  +portage-2.2.01.17146.ebuild:
-  Version bump, matches portage-2.2.0_alpha3
-
-*portage-2.2.01.17133 (28 Oct 2010)
-
-  28 Oct 2010; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.17133.ebuild:
-  Version bump, this version matches portage-2.2.0_alpha2
-
-  26 Oct 2010; Fabian Groffen <grobian@gentoo.org>
-  portage-2.2.01.17086.ebuild:
-  Drop no longer existing bsd-chflags installation, bug #342711
-
-*portage-2.2.01.17086 (24 Oct 2010)
-
-  24 Oct 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.16711.ebuild, -portage-2.2.01.17063.ebuild,
-  +portage-2.2.01.17086.ebuild:
-  Version bump, improved install_name check for Darwin users, fixes many
-  bugs since 2.2.01.16711, hence, supersedes that version, matches
-  portage-2.2.0_alpha1
-
-*portage-2.2.01.17063 (23 Oct 2010)
-
-  23 Oct 2010; Fabian Groffen <grobian@gentoo.org>
-  portage-2.2.01.16711.ebuild, +portage-2.2.01.17063.ebuild:
-  Drop EAPI=2 from 2.2.01.16711, add testing version up-to-date with master
-
-  23 Oct 2010; Fabian Groffen <grobian@gentoo.org>
-  portage-2.2.01.16711.ebuild:
-  Sync ipc enabling/disabling code from portage-2.2.0_alpha1
-
-*portage-2.2.01.16711 (29 Sep 2010)
-
-  29 Sep 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.16706.ebuild, +portage-2.2.01.16711.ebuild:
-  Bump for preserved-libs on ELF-system fixes
-
-*portage-2.2.01.16706 (29 Sep 2010)
-
-  29 Sep 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.16626.ebuild, -portage-2.2.01.16692.ebuild,
-  +portage-2.2.01.16706.ebuild:
-  Drop broken versions wrt preserve-libs, add fixed one
-
-*portage-2.2.01.16692 (28 Sep 2010)
-
-  28 Sep 2010; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.16692.ebuild:
-  Bump, add macossandbox support by Michael Weiser
-
-*portage-2.2.01.16626 (25 Sep 2010)
-
-  25 Sep 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.16616.ebuild, +portage-2.2.01.16626.ebuild, metadata.xml:
-  Replace snapshot, disable ipc by default as it is causing too many
-  problems
-
-*portage-2.2.01.16616 (23 Sep 2010)
-
-  23 Sep 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.16610.ebuild, +portage-2.2.01.16616.ebuild:
-  Replace snapshot for bug #338441
-
-  22 Sep 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15838.ebuild, -portage-2.2.01.15417.ebuild:
-  Drop some versions now we know that at least 15553 was stable enough (off
-  git)
-
-*portage-2.2.01.16610 (22 Sep 2010)
-
-  22 Sep 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.16365.ebuild, +portage-2.2.01.16610.ebuild:
-  Drop masked version (bug #337945), new snapshot for a new try
-
-*portage-2.2.01.16365 (17 Sep 2010)
-
-  17 Sep 2010; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.16365.ebuild:
-  Bump, this release has patched up EROOT support from master
-
-  05 Sep 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.16270.ebuild:
-  Drop totally faulty version
-
-  05 Sep 2010; Fabian Groffen <grobian@gentoo.org>
-  portage-2.2.01.16270.ebuild:
-  dekeyword 2.2.01.16270 as it seems to have weird issues with merging
-  packages
-
-*portage-2.2.01.16270 (05 Sep 2010)
-
-  05 Sep 2010; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.16270.ebuild:
-  Bump, many main-stream EROOT support changes, includes fix for bug #334271
-
-*portage-2.2.01.15553 (09 Aug 2010)
-
-  09 Aug 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.15478.ebuild, +portage-2.2.01.15553.ebuild:
-  Replace last snapshot by one that is tested better
-
-*portage-2.2.01.15478 (07 Aug 2010)
-
-  07 Aug 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.01.15354-r1.ebuild, +portage-2.2.01.15478.ebuild:
-  Bump snapshot
-
-*portage-2.2.01.15417 (23 Jul 2010)
-
-  23 Jul 2010; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.15417.ebuild:
-  Version bump, includes darkside's redundant mirror patch
-
-*portage-2.2.01.15354-r1 (22 Jul 2010)
-
-  22 Jul 2010; Jeremy Olexa <darkside@gentoo.org>
-  +files/0001-emerge-webrsync-Redundant-Mirroring.patch,
-  +portage-2.2.01.15354-r1.ebuild:
-  Add emerge-webrsync patch to use a redundant mirror
-
-*portage-2.2.01.15354 (07 Jul 2010)
-
-  07 Jul 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15819.ebuild, -portage-2.2.01.15352.ebuild,
-  +portage-2.2.01.15354.ebuild:
-  Bump, shebang fixing now also considers scripts that are symlinked from
-  inside path but reside outside path
-
-*portage-2.2.01.15352 (02 Jul 2010)
-
-  02 Jul 2010; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.01.15352.ebuild:
-  New snapshot, first one off git/hg
-
-*portage-2.2.00.15842-r1 (24 Apr 2010)
-
-  24 Apr 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15842.ebuild, +portage-2.2.00.15842-r1.ebuild,
-  +files/portage-2.2.00.15842-shebangcheck.patch:
-  Add patch to fix shebang check being overaggressive, bug #313731
-
-  16 Apr 2010; Michael Haubenwallner <haubi@gentoo.org>
-  portage-2.2.00.15842.ebuild,
-  +files/portage-2.2.00.15842-configshell.patch:
-  add patch for bug#308835, need to use CONFIG_SHELL on AIX
-
-*portage-2.2.00.15842 (23 Mar 2010)
-
-  23 Mar 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15801.ebuild, +portage-2.2.00.15842.ebuild:
-  Bump, fix AIX hooks.  This is the last SVN-based version.
-
-*portage-2.2.00.15838 (21 Mar 2010)
-
-  21 Mar 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15754.ebuild, +portage-2.2.00.15838.ebuild:
-  Bump, shebang check got more strict by checking existence of already
-  prefixed shebangs as well now
-
-*portage-2.2.00.15819 (11 Mar 2010)
-
-  11 Mar 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15817.ebuild, +portage-2.2.00.15819.ebuild:
-  Replace snapshot, added fix for summary.log misplacement when
-  EPREFIX='', and fix for chpathtool to better detect textfiles.
-
-*portage-2.2.00.15817 (11 Mar 2010)
-
-  11 Mar 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15444.ebuild, +portage-2.2.00.15817.ebuild:
-  Bump, matches 2.2_rc67
-
-  11 Mar 2010; Markus Duft <mduft@gentoo.org> portage-2.2.00.15801.ebuild,
-  +files/portage-2.2.00.15801-prefix-chaining.patch:
-  updated prefix-chaining patch once more.
-
-*portage-2.2.00.15801 (09 Mar 2010)
-
-  09 Mar 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15431.ebuild, +portage-2.2.00.15801.ebuild:
-  Bump, matches 2.2_rc66+, includes fix for shebang check regarding files
-  with DOS line endings
-
-*portage-2.2.00.15754 (06 Mar 2010)
-
-  06 Mar 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15742.ebuild, -files/portage-2.2.00.15742-aix-imp.patch,
-  +portage-2.2.00.15754.ebuild:
-  Replace faulty snapshot with fixed one (unknown variable EPREFIX_LSTRIP),
-  matches 2.2_rc65
-
-*portage-2.2.00.15742 (03 Mar 2010)
-
-  03 Mar 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15335.ebuild, +portage-2.2.00.15742.ebuild:
-  Bump, matches 2.2_rc64+. This version has a changed chpathtool to overcome
-  problems with certain binary files.
-
-*portage-2.2.00.15444 (23 Feb 2010)
-
-  23 Feb 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15443.ebuild, +portage-2.2.00.15444.ebuild:
-  Fix shebang code even more, so it doesn't prevent most merges
-
-*portage-2.2.00.15443 (23 Feb 2010)
-
-  23 Feb 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15320.ebuild, +portage-2.2.00.15443.ebuild:
-  New snapshot, including fixes to the auto-shebang-fix-and-detect-problems
-  code.
-
-*portage-2.2.00.15431 (22 Feb 2010)
-
-  22 Feb 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15274.ebuild, +portage-2.2.00.15431.ebuild:
-  New version, this revision matches 2.2_rc63
-
-*portage-2.2.00.15335 (10 Feb 2010)
-
-  10 Feb 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15210.ebuild, +portage-2.2.00.15335.ebuild:
-  New snapshot
-
-*portage-2.2.00.15320 (04 Feb 2010)
-
-  04 Feb 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15200.ebuild, +portage-2.2.00.15320.ebuild:
-  New snapshot, fix version comparisons with -r0, bug #303145
-
-*portage-2.2.00.15274 (29 Jan 2010)
-
-  29 Jan 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15187.ebuild, +portage-2.2.00.15274.ebuild:
-  New snapshot, this version supports EAPI=3
-
-*portage-2.2.00.15210 (26 Jan 2010)
-
-  26 Jan 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15171.ebuild, +portage-2.2.00.15210.ebuild:
-  New snapshot, adds repoman Mercurial (hg) support
-
-*portage-2.2.00.15200 (14 Jan 2010)
-
-  14 Jan 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15134.ebuild, +portage-2.2.00.15200.ebuild:
-  Bump, small fix in repoman's bzr support
-
-*portage-2.2.00.15187 (10 Jan 2010)
-
-  10 Jan 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15184.ebuild, +portage-2.2.00.15187.ebuild:
-  New snapshot, repoman now has Bazaar (bzr) support
-
-*portage-2.2.00.15184 (09 Jan 2010)
-
-  09 Jan 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15178.ebuild, +portage-2.2.00.15184.ebuild:
-  Replace previous snapshot, fix spurious ValueError and NameErrors, added
-  back setting of EPREFIX in the internal environment.
-
-*portage-2.2.00.15178 (08 Jan 2010)
-
-  08 Jan 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15176.ebuild, +portage-2.2.00.15178.ebuild:
-  Replace previous snapshot. Include possible fix for installation problems
-  on AIX (bug #299163) and fix Portage behaviour for EPREFIX=''
-
-*portage-2.2.00.15176 (08 Jan 2010)
-
-  08 Jan 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15123.ebuild, +portage-2.2.00.15176.ebuild:
-  New snapshot, whitelists UNIXMODE for MiNT platforms. Perhaps the last
-  snapshot from the original SVN repository
-
-*portage-2.2.00.15171 (05 Jan 2010)
-
-  05 Jan 2010; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15027.ebuild, +portage-2.2.00.15171.ebuild:
-  New snapshot
-
-*portage-2.2.00.15134 (22 Dec 2009)
-
-  22 Dec 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14964.ebuild, +portage-2.2.00.15134.ebuild:
-  Bump, brings back the binpkg functionality of Prefix Portage that got
-  broken somehow.
-
-*portage-2.2.00.15123 (20 Dec 2009)
-
-  20 Dec 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.15118.ebuild, +portage-2.2.00.15123.ebuild:
-  Replace latest snapshot, it doesn't properly set the full path during
-  merges.
-
-*portage-2.2.00.15118 (18 Dec 2009)
-
-  18 Dec 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14896.ebuild, +portage-2.2.00.15118.ebuild:
-  Bump, resembles version 2.2_rc60
-
-*portage-2.2.00.15027 (10 Dec 2009)
-
-  10 Dec 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14994.ebuild, +portage-2.2.00.15027.ebuild:
-  Replace faulty snapshot (SRC_URI fetch weirdness) with version which
-  resembles 2.2_rc58+
-
-*portage-2.2.00.14994 (09 Dec 2009)
-
-  09 Dec 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14813.ebuild, +portage-2.2.00.14994.ebuild:
-  Version bump, one step closer to the same behaviour as trunk with
-  EPREFIX=''
-
-  07 Dec 2009; Fabian Groffen <grobian@gentoo.org>
-  -files/portage-2.2.00.14487-brokentty-more-platforms.patch,
-  -files/portage-2.2.00.14487-prefix-chaining.patch,
-  -files/portage-2.2.00.14555-prefix-chaining.patch:
-  Drop stale patches
-
-*portage-2.2.00.14964 (07 Dec 2009)
-
-  07 Dec 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14555.ebuild, -portage-2.2.00.14771.ebuild,
-  +portage-2.2.00.14964.ebuild:
-  Bump, this version resembles 2.2_rc56
-
-*portage-2.2.00.14896 (26 Nov 2009)
-
-  26 Nov 2009; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.00.14896.ebuild:
-  New revision, this one is equal to portage-2.2_rc52 feature wise.
-
-*portage-2.2.00.14813 (13 Nov 2009)
-
-  13 Nov 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14487.ebuild, +portage-2.2.00.14813.ebuild:
-  Bump, restore bash-3 compatability, no longer provide ld.so.conf file for
-  offset installs
-
-*portage-2.2.00.14771 (01 Nov 2009)
-
-  01 Nov 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14748-r1.ebuild,
-  -files/portage-2.2.00.14748-fix-crash-on-new-cat-install.patch,
-  +portage-2.2.00.14771.ebuild:
-  Bump, including proper fix replacing the new category crash hack. This
-  version resembles portage-2.2_rc48.
-
-*portage-2.2.00.14748-r1 (31 Oct 2009)
-
-  31 Oct 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14748.ebuild, +portage-2.2.00.14748-r1.ebuild,
-  +files/portage-2.2.00.14748-fix-crash-on-new-cat-install.patch:
-  Add fix for bug #291271, Portage crashing on installing new categories,
-  separate patch because I expect this not going to be the final patch, so
-  at least fix the problem for now
-
-*portage-2.2.00.14748 (30 Oct 2009)
-
-  30 Oct 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14746.ebuild,
-  -files/portage-2.2.00.14746-aix-finetuning.patch,
-  +portage-2.2.00.14748.ebuild:
-  Replace 2.2.00.14746 with 2.2.00.14748 that includes the additional fixes
-  for AIX, and fixes accidential aix QA code being run on ELF platforms
-
-  30 Oct 2009; Michael Haubenwallner <haubi@gentoo.org>
-  -portage-2.2.00.14724.ebuild,
-  -files/portage-2.2.00.14724-aix-preservelibs.patch,
-  -files/portage-2.2.00.14724-aix-qa.patch:
-  dropped
-
-  30 Oct 2009; Michael Haubenwallner <haubi@gentoo.org>
-  portage-2.2.00.14724.ebuild,
-  -files/portage-2.2.00.14724-aix-finetuning.patch,
-  portage-2.2.00.14746.ebuild,
-  +files/portage-2.2.00.14746-aix-finetuning.patch:
-  added fine tuning/fixes for preserve-libs feature for AIX for 14746,
-  dropped from 14724
-
-*portage-2.2.00.14746 (30 Oct 2009)
-
-  30 Oct 2009; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.00.14746.ebuild:
-  Bump, include AIX preserve-libs patches
-
-*portage-2.2.00.14724 (24 Oct 2009)
-
-  24 Oct 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14701.ebuild, +portage-2.2.00.14724.ebuild:
-  Bump, fix emerge hangs on Solaris and wrong path for CONFIG_MEMORY_FILE,
-  bug #290254
-
-*portage-2.2.00.14701 (21 Oct 2009)
-
-  21 Oct 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14700.ebuild, +portage-2.2.00.14701.ebuild:
-  Replace last snapshot, fixed a bug in dohtml complaining about missing
-  dohtml.py
-
-*portage-2.2.00.14700 (20 Oct 2009)
-
-  20 Oct 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14200.ebuild, +portage-2.2.00.14700.ebuild:
-  Bump, fixes hang on FreeBSD, fixes emaint double prefix error, bug #289835
-
-  15 Oct 2009; Fabian Groffen <grobian@gentoo.org>
-  portage-2.2.00.14555.ebuild:
-  We need python-2.6 for exception syntax
-
-*portage-2.2.00.14555 (10 Oct 2009)
-
-  10 Oct 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14183.ebuild, +portage-2.2.00.14555.ebuild, metadata.xml:
-  Bump, openpty is now only tried on FreeBSD and Linux, possible fix for bug
-  #285720 (backslashes in groupname), fix for bug #288025 (unconditional
-  statvfs usage)
-
-*portage-2.2.00.14487 (04 Oct 2009)
-
-  04 Oct 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14277.ebuild, +portage-2.2.00.14487.ebuild:
-  Bump, this version equals the code from 2.2_rc43 with Prefix patches.
-  Shebang check is now restricted to only abort when the offending file
-  is in $PATH.
-
-*portage-2.2.00.14277 (21 Sep 2009)
-
-  21 Sep 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14160.ebuild, +portage-2.2.00.14277.ebuild:
-  Bump, add QA check for shebangs, bug #282539. You may see messages about
-  fixed shebangs from now on.
-
-*portage-2.2.00.14200 (14 Sep 2009)
-
-  14 Sep 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13878.ebuild, +portage-2.2.00.14200.ebuild:
-  Simple bump
-
-*portage-2.2.00.14183 (04 Sep 2009)
-
-  04 Sep 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14179.ebuild, +portage-2.2.00.14183.ebuild:
-  Bump for Interix users, fixing an unicode problem
-
-*portage-2.2.00.14179 (02 Sep 2009)
-
-  02 Sep 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.14178.ebuild, +portage-2.2.00.14179.ebuild:
-  Bump to fix bug #283541, dispatch-conf backtracing on config-archive
-
-*portage-2.2.00.14178 (01 Sep 2009)
-
-  01 Sep 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13849.ebuild, +portage-2.2.00.14178.ebuild:
-  Bump, small unicode fixes
-
-  27 Aug 2009; Fabian Groffen <grobian@gentoo.org>
-  portage-2.2.00.14160.ebuild:
-  Add back old style way to retrieve rootuser, for those who don't have an
-  up-to-date Portage yet
-
-*portage-2.2.00.14160 (26 Aug 2009)
-
-  26 Aug 2009; Fabian Groffen <grobian@gentoo.org>
-  -files/portage-2.2.00.13683-prefix-chaining.patch,
-  -portage-2.2.00.14153-r1.ebuild,
-  -files/portage-2.2.00.14153-imports.patch, +portage-2.2.00.14160.ebuild:
-  Version bump with appropriate fixes for dispatch-conf (replaces imports
-  patch)
-
-*portage-2.2.00.14153-r1 (26 Aug 2009)
-
-  26 Aug 2009; Markus Duft <mduft@gentoo.org> -portage-2.2.00.14153.ebuild,
-  +portage-2.2.00.14153-r1.ebuild,
-  +files/portage-2.2.00.14153-imports.patch:
-  added patch to fix dispatch-conf and quickpkg - imports where wrong
-
-*portage-2.2.00.14153 (24 Aug 2009)
-
-  24 Aug 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13830.ebuild, +portage-2.2.00.14153.ebuild:
-  Quantum leap jump, this version resembles version 2.2_rc40+
-
-  19 Aug 2009; Fabian Groffen <grobian@gentoo.org>
-  portage-2.2.00.13878.ebuild:
-  update eselect-news dependency to be able to deal with eselect-1.2
-
-*portage-2.2.00.13878 (03 Aug 2009)
-
-  03 Aug 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13876.ebuild, +portage-2.2.00.13878.ebuild:
-  Replace broken version by new one, fixing bug #280189 (setsid script not
-  Prefix-aware), and the backtrace in comment 21 of bug #279550
-
-*portage-2.2.00.13876 (02 Aug 2009)
-
-  02 Aug 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13683.ebuild, +portage-2.2.00.13876.ebuild:
-  Version bump, fixes bug #279550
-
-*portage-2.2.00.13849 (22 Jul 2009)
-
-  22 Jul 2009; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.00.13849.ebuild:
-  Version bump, fix bug #278373, add preserve-libs support for Interix and
-  Windows
-
-  22 Jul 2009; Fabian Groffen <grobian@gentoo.org>
-  -files/portage-2.2.00.13133-prefix-chaining.patch,
-  -files/portage-2.2.00.13243-prefix-chaining-path-noportage.patch,
-  -files/portage-2.2.00.13243-prefix-chaining-sync.patch,
-  -files/portage-2.2.00.13243-prefix-chaining-utils.patch,
-  -files/portage-2.2.00.13286-dest-fix.patch,
-  -files/portage-2.2.00.13369-interix-estale.patch,
-  -files/portage-2.2.00.13369-nodeps-order.patch,
-  -files/portage-2.2.00.13625-prefix-chaining.patch:
-  Drop stale patches
-
-  22 Jul 2009; Markus Duft <mduft@gentoo.org> portage-2.2.00.13830.ebuild,
-  +files/portage-2.2.00.13830-prefix-chaining.patch,
-  +files/portage-2.2.00.13830-preserve-pecoff.patch:
-  updated prefix-chaining patch to match new split-up sources. added
-  preserve-libs support for winnt and interix - should go to svn soon.
-
-*portage-2.2.00.13830 (16 Jul 2009)
-
-  16 Jul 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13827.ebuild, +portage-2.2.00.13830.ebuild:
-  Bump for fix for bug #278014
-
-  16 Jul 2009; Jeremy Olexa <darkside@gentoo.org>
-  -portage-2.2.00.13797.ebuild:
-  remove old, masked version
-
-*portage-2.2.00.13827 (14 Jul 2009)
-
-  14 Jul 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13825.ebuild, +portage-2.2.00.13827.ebuild:
-  Let's try it another time. Fixed bugs #277011 and #277815.
-
-*portage-2.2.00.13825 (13 Jul 2009)
-
-  13 Jul 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13629.ebuild, +portage-2.2.00.13825.ebuild:
-  New snapshot, without bugs this time?
-
-*portage-2.2.00.13797 (07 Jul 2009)
-
-  07 Jul 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13734.ebuild, +portage-2.2.00.13797.ebuild:
-  Replace last snapshot with a new one that has reverse order with --nodeps
-  fixed.
-
-*portage-2.2.00.13734 (01 Jul 2009)
-
-  01 Jul 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13625.ebuild, +portage-2.2.00.13734.ebuild:
-  New snapshot, using a 'modular' emerge/__init__.py
-
-  30 Jun 2009; Jeremy Olexa <darkside@gentoo.org>
-  portage-2.2.00.13683.ebuild:
-  sys-apps/sandbox has caused multiple headaches in the past weeks, for now
-  we no longer hard depend on it. If it is emerged, you can still use it,
-  however
-
-*portage-2.2.00.13683 (24 Jun 2009)
-
-  24 Jun 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13621.ebuild, +portage-2.2.00.13683.ebuild:
-  Version bump for haubi's postsync fix
-
-*portage-2.2.00.13629 (12 Jun 2009)
-
-  12 Jun 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13595.ebuild, +portage-2.2.00.13629.ebuild:
-  Version bump
-
-*portage-2.2.00.13625 (19 May 2009)
-
-  19 May 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13405.ebuild, +portage-2.2.00.13625.ebuild:
-  New snapshot, probable fix for bug #267887
-
-*portage-2.2.00.13621 (10 May 2009)
-
-  10 May 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13398.ebuild, +portage-2.2.00.13621.ebuild:
-  New snapshot, should no longer install Makefile* files
-
-*portage-2.2.00.13595 (02 May 2009)
-
-  02 May 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13369.ebuild, +portage-2.2.00.13595.ebuild:
-  New snapshot, no longer kills airplanes, no longer barfs about mtree
-  missing on FreeBSD, matches 2.2_rc32+
-
-*portage-2.2.00.13405 (28 Apr 2009)
-
-  28 Apr 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13346.ebuild, +portage-2.2.00.13405.ebuild:
-  New snapshot, including fix for bug #267556 and problem with sandbox reading
-  ~root/.history
-
-*portage-2.2.00.13398 (26 Apr 2009)
-
-  26 Apr 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13286-r1.ebuild, +portage-2.2.00.13398.ebuild:
-  New snapshot, matches Portage 2.2_rc31+, revamped buildsystem which should
-  speed up installing Portage.  From this point EAPI="prefix" really is
-  over.
-
-*portage-2.2.00.13369 (19 Apr 2009)
-
-  19 Apr 2009; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.00.13369.ebuild:
-  New snapshot, fixing repoman issues, and converting the vdb more properly
-
-*portage-2.2.00.13346 (15 Apr 2009)
-
-  15 Apr 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13200.ebuild, -portage-2.2.00.13280.ebuild,
-  +portage-2.2.00.13346.ebuild:
-  Version bump to 2.2_rc30+, this version no longer accepts
-  EAPI="prefix", note: you cannot downgrade from this version
-
-*portage-2.2.00.13286-r1 (14 Apr 2009)
-
-  14 Apr 2009; Jeremy Olexa <darkside@gentoo.org>
-  +files/portage-2.2.00.13286-dest-fix.patch, -portage-2.2.00.13286.ebuild,
-  +portage-2.2.00.13286-r1.ebuild:
-  Add a patch from svn to fix issues with _many_ packages - will be in next
-  portage release
-
-*portage-2.2.00.13286 (10 Apr 2009)
-
-  10 Apr 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13133.ebuild, +portage-2.2.00.13286.ebuild:
-  New snapshot. This version uses BASH and MV from the locations configure
-  found, which should help to reduce the prefix-chaining patch a bit.
-
-*portage-2.2.00.13280 (02 Apr 2009)
-
-  02 Apr 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.13243.ebuild, +portage-2.2.00.13280.ebuild:
-  Bump for bug #264245, ecompress was broken
-
-*portage-2.2.00.13243 (29 Mar 2009)
-
-  29 Mar 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12807.ebuild, +portage-2.2.00.13243.ebuild:
-  Version bump, this is a hybrid Portage that accepts both EAPI with and
-  without 'prefix' meant to be used only during the transition period of our
-  tree while EAPI=prefix is being removed.
-
-*portage-2.2.00.13200 (26 Mar 2009)
-
-  26 Mar 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12790.ebuild, +portage-2.2.00.13200.ebuild:
-  New snapshot, some glep55 preparations included
-
-  26 Mar 2009; Markus Duft <mduft@gentoo.org>
-  -files/portage-2.2.00.12425-cross-prefix.patch,
-  -files/portage-2.2.00.12540-cross-prefix.patch,
-  -files/portage-2.2.00.12574-cross-prefix.patch,
-  +files/portage-2.2.00.13133-prefix-chaining.patch,
-  portage-2.2.00.13133.ebuild:
-  removed cross-prefix stuff - not working since a few revisions now. added
-  prefix-chain stuff as a successor to cross-prefix
-
-*portage-2.2.00.13133 (18 Mar 2009)
-
-  18 Mar 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12699.ebuild, +portage-2.2.00.13133.ebuild:
-  New snapshot, portage no longer includes eprefixify, so you need to 'inherit
-  prefix' to use it
-
-*portage-2.2.00.12807 (12 Mar 2009)
-
-  12 Mar 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12671.ebuild, +portage-2.2.00.12807.ebuild:
-  Bump
-
-*portage-2.2.00.12790 (09 Mar 2009)
-
-  09 Mar 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12652.ebuild, +portage-2.2.00.12790.ebuild:
-  New snapshot
-
-*portage-2.2.00.12699 (05 Mar 2009)
-
-  05 Mar 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12565.ebuild, +portage-2.2.00.12699.ebuild:
-  New snapshot
-
-*portage-2.2.00.12671 (21 Feb 2009)
-
-  21 Feb 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12528.ebuild, +portage-2.2.00.12671.ebuild:
-  New snapshot, includes code that makes resolving much faster for packages
-  without a category.
-
-*portage-2.2.00.12652 (19 Feb 2009)
-
-  19 Feb 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12608.ebuild, +portage-2.2.00.12652.ebuild:
-  New snapshot
-
-*portage-2.2.00.12608 (18 Feb 2009)
-
-  18 Feb 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12425.ebuild, +portage-2.2.00.12608.ebuild:
-  New snapshot
-
-  03 Feb 2009; Markus Duft <mduft@gentoo.org>
-  -files/portage-2.2.00.12387-cross-prefix.patch,
-  +files/portage-2.2.00.12574-cross-prefix.patch,
-  portage-2.2.00.12565.ebuild:
-  updated cross-prefix patchery
-
-*portage-2.2.00.12565 (31 Jan 2009)
-
-  31 Jan 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12396.ebuild, +portage-2.2.00.12565.ebuild:
-  New snapshot, 2.2_rc23+, including emake SHELL=bash change for Interix
-
-  20 Jan 2009; User generated by SUA Setup Script <mduft@gentoo.org>
-  -files/portage-2.2.00.12182-cross-prefix.patch,
-  +files/portage-2.2.00.12540-cross-prefix.patch,
-  portage-2.2.00.12528.ebuild:
-  updated cross-prefix patchery. added bits to support environments in child
-  prefixes properly.
-
-*portage-2.2.00.12528 (18 Jan 2009)
-
-  18 Jan 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12527.ebuild, +portage-2.2.00.12528.ebuild:
-  Small bump for Darwin users to catch more reference problems
-
-*portage-2.2.00.12527 (17 Jan 2009)
-
-  17 Jan 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12347.ebuild, +portage-2.2.00.12527.ebuild:
-  Bump, matches 2.2_rc22+
-
-*portage-2.2.00.12425 (11 Jan 2009)
-
-  11 Jan 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12288.ebuild, +portage-2.2.00.12425.ebuild:
-  New snapshot
-
-*portage-2.2.00.12396 (08 Jan 2009)
-
-  08 Jan 2009; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12182.ebuild, +portage-2.2.00.12396.ebuild:
-  New snapshot, 2.2_rc20+, depends on eselect-news
-
-  07 Jan 2009; Markus Duft <mduft@gentoo.org>
-  -files/portage-2.2.00.12040-cross-prefix.patch,
-  +files/portage-2.2.00.12387-cross-prefix.patch,
-  portage-2.2.00.12347.ebuild:
-  updated cross-prefix patchery
-
-*portage-2.2.00.12347 (25 Dec 2008)
-
-  25 Dec 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12172.ebuild, +portage-2.2.00.12347.ebuild:
-  New shapshot, matches 2.2_rc19+, with more debugging aids
-
-*portage-2.2.00.12288 (23 Dec 2008)
-
-  23 Dec 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12276.ebuild, +portage-2.2.00.12288.ebuild:
-  New snapshot, .dll made executable, some poll() related code to avoid hangs
-
-*portage-2.2.00.12276 (22 Dec 2008)
-
-  22 Dec 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12040.ebuild, +portage-2.2.00.12276.ebuild:
-  Bump, matches 2.2_rc18+
-
-  18 Dec 2008; Fabian Groffen <grobian@gentoo.org>
-  portage-2.2.00.12182.ebuild:
-  Add back master mirror to avoid screwups due to unavailable distfiles, no
-  need for explicit mirror:// as portage should try that by default
-
-*portage-2.2.00.12182 (08 Dec 2008)
-
-  08 Dec 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11947.ebuild, +portage-2.2.00.12182.ebuild:
-  New version with fix for not seeing profile's deprecated files
-
-*portage-2.2.00.12172 (06 Dec 2008)
-
-  06 Dec 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.12165.ebuild, +portage-2.2.00.12172.ebuild:
-  Fix issue with stripping unwritable files, fix backtrace on unmerge
-
-*portage-2.2.00.12165 (06 Dec 2008)
-
-  06 Dec 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11799.ebuild, +portage-2.2.00.12165.ebuild:
-  Version bump, matches 2.2_rc17+
-
-*portage-2.2.00.12040 (22 Nov 2008)
-
-  22 Nov 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11736.ebuild, +portage-2.2.00.12040.ebuild:
-  New snapshot, matching 2.2_rc15+
-
-*portage-2.2.00.11947 (15 Nov 2008)
-
-  15 Nov 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11700.ebuild, +portage-2.2.00.11947.ebuild:
-  New revision, 2.2_rc14+, with git support in repoman
-
-  03 Nov 2008; Markus Duft <mduft@gentoo.org>
-  -files/portage-2.2.00.11514-cross-prefix.patch,
-  +files/portage-2.2.00.11799-cross-prefix.patch,
-  portage-2.2.00.11799.ebuild:
-  updated portage cross-prefix-ability patchery for windows.
-
-*portage-2.2.00.11799 (02 Nov 2008)
-
-  02 Nov 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11694.ebuild, +portage-2.2.00.11799.ebuild:
-  New snapshot, roughly comparable to 2.2_rc13
-
-*portage-2.2.00.11736 (28 Oct 2008)
-
-  28 Oct 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11675.ebuild, +portage-2.2.00.11736.ebuild:
-  New snapshot, nothing groovy that I know of
-
-*portage-2.2.00.11700 (18 Oct 2008)
-
-  18 Oct 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11635.ebuild, +portage-2.2.00.11700.ebuild:
-  New snapshot with a repoman that shouldn't be happy with zero-length
-  distfiles any more
-
-*portage-2.2.00.11694 (15 Oct 2008)
-
-  15 Oct 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11620.ebuild, +portage-2.2.00.11694.ebuild:
-  Bump, hopefully fix repoman not to commit twice most of the time, bug #229033
-
-*portage-2.2.00.11675 (11 Oct 2008)
-
-  11 Oct 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11580.ebuild, +portage-2.2.00.11675.ebuild:
-  New snapshot, some fixes
-
-*portage-2.2.00.11635 (05 Oct 2008)
-
-  05 Oct 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11567.ebuild, +portage-2.2.00.11635.ebuild:
-  New snapshot, better fix for Solaris rmdir problem
-
-*portage-2.2.00.11620 (04 Oct 2008)
-
-  04 Oct 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11616.ebuild, +portage-2.2.00.11620.ebuild:
-  Replace snapshot with a new one which turns changelog.ebuildadded into a
-  warning instead of error.
-
-*portage-2.2.00.11616 (03 Oct 2008)
-
-  03 Oct 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11505.ebuild, +portage-2.2.00.11616.ebuild:
-  New snapshot, now picks EAPIPREFIX from the environment if set.
-
-*portage-2.2.00.11580 (28 Sep 2008)
-
-  28 Sep 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11579.ebuild, +portage-2.2.00.11580.ebuild:
-  New bump to fix AttributeError on Darwin
-
-*portage-2.2.00.11579 (28 Sep 2008)
-
-  28 Sep 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11572.ebuild, +portage-2.2.00.11579.ebuild:
-  Replace 2.2.00.11572 with 2.2.00.11579 which has a rmdir fix for Solaris users
-
-*portage-2.2.00.11572 (27 Sep 2008)
-
-  27 Sep 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11477.ebuild, -portage-2.2.00.11484.ebuild,
-  +portage-2.2.00.11572.ebuild:
-  New snapshot, doing a quantum jump into the current: EAPI=2
-
-*portage-2.2.00.11567 (27 Sep 2008)
-
-  27 Sep 2008; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.00.11567.ebuild:
-  New snapshot, making use of scanmacho on Darwin
-
-  17 Sep 2008; Markus Duft <mduft@gentoo.org>
-  +files/portage-2.2.00.11514-cross-prefix.patch,
-  portage-2.2.00.11505.ebuild, portage-2.2.00.11505.ebuild:
-  added cross-prefix patch for current prefix-portage, conditional with
-  (temporary) use flag
-
-*portage-2.2.00.11505 (11 Sep 2008)
-
-  11 Sep 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11421.ebuild, +portage-2.2.00.11505.ebuild:
-  New snapshot, mainly to fix bug #237323
-
-*portage-2.2.00.11484 (01 Sep 2008)
-
-  01 Sep 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11409.ebuild, +portage-2.2.00.11484.ebuild:
-  New snapshot, just to make sure I have the latest fixes
-
-*portage-2.2.00.11477 (27 Aug 2008)
-
-  27 Aug 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11472.ebuild, +portage-2.2.00.11477.ebuild:
-  Another bump to try and fix bug #235858
-
-*portage-2.2.00.11472 (24 Aug 2008)
-
-  24 Aug 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11469.ebuild, +portage-2.2.00.11472.ebuild:
-  Hopefully last replacement tonight.  Fix an IndexError due to a stray line.
-
-*portage-2.2.00.11469 (24 Aug 2008)
-
-  24 Aug 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11465.ebuild, +portage-2.2.00.11469.ebuild:
-  Sort of emergency update, to fix a fatal problem with preserved-libs that do
-  not exist
-
-*portage-2.2.00.11465 (24 Aug 2008)
-
-  24 Aug 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11445.ebuild, +portage-2.2.00.11465.ebuild:
-  Replace latest snapshot with one that avoids more keyerrors in the odcctools
-  case :/
-
-*portage-2.2.00.11445 (20 Aug 2008)
-
-  20 Aug 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.10815.ebuild, +portage-2.2.00.11445.ebuild:
-  New snapshot, should fix an issue when updating odcctools
-
-*portage-2.2.00.11421 (16 Aug 2008)
-
-  16 Aug 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11391.ebuild, +portage-2.2.00.11421.ebuild:
-  New snapshot, with repoman that only warns about IUSE.invalid
-
-*portage-2.2.00.11409 (14 Aug 2008)
-
-  14 Aug 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11322.ebuild, +portage-2.2.00.11409.ebuild:
-  New snapshot, this matches 2.2_rc8+
-
-*portage-2.2.00.11391 (10 Aug 2008)
-
-  10 Aug 2008; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.00.11391.ebuild:
-  New snapshot, this one should do it, EAPI=+-2
-
-  06 Aug 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11334.ebuild:
-  Remove 2.2.00.11334, it seems to make ncurses fail to compile, and I don't
-  like this repoman IUSE stuff either
-
-*portage-2.2.00.11334 (05 Aug 2008)
-
-  05 Aug 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11287.ebuild, +portage-2.2.00.11334.ebuild:
-  New snapshot which installs symlink to emerge-webrsync
-
-*portage-2.2.00.11322 (03 Aug 2008)
-
-  03 Aug 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11248.ebuild, +portage-2.2.00.11322.ebuild:
-  New snapshot, nothing special I know of
-
-  01 Aug 2008; Fabian Groffen <grobian@gentoo.org>
-  portage-2.2.00.11287.ebuild:
-  Fix stupid inverted logic
-
-*portage-2.2.00.11287 (30 Jul 2008)
-
-  30 Jul 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11225.ebuild, +portage-2.2.00.11287.ebuild:
-  New snapshot, with support for EAPI 2_pre1
-
-*portage-2.2.00.11248 (28 Jul 2008)
-
-  28 Jul 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11243.ebuild, +portage-2.2.00.11248.ebuild:
-  Replace snapshot with one that has a working depclean on the Mac, and
-  hopefully preserves http proxy settings on all platforms.
-
-*portage-2.2.00.11243 (28 Jul 2008)
-
-  28 Jul 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11187.ebuild, +portage-2.2.00.11243.ebuild:
-  New snapshot, support for EAPI 2_pre0
-
-*portage-2.2.00.11225 (27 Jul 2008)
-
-  27 Jul 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11215.ebuild, +portage-2.2.00.11225.ebuild:
-  Replace last snapshot with one that doesn't throw so many QA errors.
-
-*portage-2.2.00.11215 (27 Jul 2008)
-
-  27 Jul 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11125.ebuild, +portage-2.2.00.11215.ebuild:
-  New snapshot, with repoman that commits the Manifest file in one go if
-  possible.
-
-*portage-2.2.00.11187 (25 Jul 2008)
-
-  25 Jul 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11110.ebuild, +portage-2.2.00.11187.ebuild:
-  New snapshot, misc fixes, stay ahead of gentoo-x86, don't fall behind ;)
-
-*portage-2.2.00.11125 (18 Jul 2008)
-
-  18 Jul 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11060.ebuild, +portage-2.2.00.11125.ebuild:
-  New snapshot, fix for 'ebuild ... install'
-
-*portage-2.2.00.11110 (17 Jul 2008)
-
-  17 Jul 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11087.ebuild, +portage-2.2.00.11110.ebuild:
-  Fix for etc-update, and misc parallel merging (cosmetic) improvements
-
-*portage-2.2.00.11087 (16 Jul 2008)
-
-  16 Jul 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11048.ebuild, +portage-2.2.00.11087.ebuild:
-  New snapshot, misc fixes, huge change internally with handling the EPREFIX,
-  should now better recognise settings.
-
-*portage-2.2.00.11060 (15 Jul 2008)
-
-  15 Jul 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.10788.ebuild, +portage-2.2.00.11060.ebuild:
-  New snapshot, bugfixes
-
-*portage-2.2.00.11048 (14 Jul 2008)
-
-  14 Jul 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.11041.ebuild, +portage-2.2.00.11048.ebuild:
-  Replace previous snapshot with a new one, hopefully with less backtraces
-
-*portage-2.2.00.11041 (13 Jul 2008)
-
-  13 Jul 2008; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.00.11041.ebuild:
-  After a number of seriously broken snapshots, finally one that works at
-  least on Darwin (and Linux hopefully). To repeat, this snapshot should
-  finally be useful for Interix. This snapshots contains parallel merge
-  feature, use --jobs to use it!
-
-*portage-2.2.00.10884 (01 Jul 2008)
-
-  01 Jul 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.10770.ebuild, +portage-2.2.00.10884.ebuild:
-  New snapshot, this should actually be the first snapshot that will install
-  on my Interix installation without horribly breaking down.
-
-*portage-2.2.00.10815 (27 Jun 2008)
-
-  27 Jun 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.10760.ebuild, +portage-2.2.00.10815.ebuild:
-  New snapshot, try out the cool new --keep-going option
-
-*portage-2.2.00.10788 (25 Jun 2008)
-
-  25 Jun 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.10738.ebuild, +portage-2.2.00.10788.ebuild:
-  New snapshot, with fix for backtrace on coloured output
-
-*portage-2.2.00.10770 (24 Jun 2008)
-
-  24 Jun 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.10625.ebuild, +portage-2.2.00.10770.ebuild:
-  Add snapshot of latest sources to reproduce some backtraces with
-
-  24 Jun 2008; Fabian Groffen <grobian@gentoo.org>
-  portage-2.2.00.10760.ebuild:
-  Drop SVN repo check, what we force doesn't work (see many bugs on svn:
-  connection closed unexpectedly) and we need http for commits anyway at the
-  moment. Besides, most users should be on an rsync tree now, which is much
-  better for many reasons.
-
-*portage-2.2.00.10760 (22 Jun 2008)
-
-  22 Jun 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.10585.ebuild, +portage-2.2.00.10760.ebuild:
-  New snapshot that gets rid of the repo_name warning
-
-*portage-2.2.00.10738 (20 Jun 2008)
-
-  20 Jun 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.10729.ebuild, +portage-2.2.00.10738.ebuild:
-  Replace previous snapshot, this new snapshot has better 'working'
-  preserve-libs support for Darwin
-
-*portage-2.2.00.10729 (19 Jun 2008)
-
-  19 Jun 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.10708.ebuild, +portage-2.2.00.10729.ebuild:
-  Fix brokenness for Darwin users
-
-*portage-2.2.00.10708 (17 Jun 2008)
-
-  17 Jun 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.10347.ebuild, +portage-2.2.00.10708.ebuild:
-  New snapshot, preserve-libs fixes
-
-  10 Jun 2008; Fabian Groffen <grobian@gentoo.org>
-  portage-2.2.00.10347.ebuild, portage-2.2.00.10585.ebuild,
-  portage-2.2.00.10625.ebuild:
-  Restrict 'test', it can't work in Prefix currently, since it needs the
-  sources to be installed first.  bug #223193
-
-*portage-2.2.00.10625 (09 Jun 2008)
-
-  09 Jun 2008; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.00.10625.ebuild:
-  New snapshot, hopefully fixes preserve-libs issue
-
-*portage-2.2.00.10585 (05 Jun 2008)
-
-  05 Jun 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.10577.ebuild, +portage-2.2.00.10585.ebuild:
-  Replace previous snapshot with new one which got a fix for bug #224713
-
-*portage-2.2.00.10577 (04 Jun 2008)
-
-  04 Jun 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.10385.ebuild, -portage-2.2.00.10418.ebuild,
-  +portage-2.2.00.10577.ebuild:
-  New snapshot, remove masked versions
-
-*portage-2.2.00.10418 (25 May 2008)
-
-  25 May 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.10249.ebuild, +portage-2.2.00.10418.ebuild:
-  New snapshot, including trunk USE-deps feature
-
-*portage-2.2.00.10385 (21 May 2008)
-
-  21 May 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.10181.ebuild, +portage-2.2.00.10385.ebuild:
-  New snapshot, new chances for b0rkage ;)
-
-*portage-2.2.00.10347 (16 May 2008)
-
-  16 May 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9894.ebuild, +portage-2.2.00.10347.ebuild:
-  New snapshot, readded rsync dependency, since we're about to switch to rsync
-  for normal installations
-
-*portage-2.2.00.10249 (08 May 2008)
-
-  08 May 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9962.ebuild, +portage-2.2.00.10249.ebuild:
-  New snapshot should solve downgrade problems (bug #220689)
-
-*portage-2.2.00.10181 (04 May 2008)
-
-  04 May 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9831.ebuild, +portage-2.2.00.10181.ebuild:
-  New version that includes fixes for Interix' usernames with spaces in them.
-  Preserve-libs may be wonky (broken).
-
-*portage-2.2.00.9962 (24 Apr 2008)
-
-  24 Apr 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9583.ebuild, +portage-2.2.00.9962.ebuild:
-  New snapshot, should contain zmedico's new blocker resultion voodoo, we'll see!
-
-  19 Apr 2008; Fabian Groffen <grobian@gentoo.org>
-  portage-2.2.00.9894.ebuild:
-  Don't do repo check if we don't have svn availble, saves us from an ugly
-  error message during bootstrap.
-
-*portage-2.2.00.9894 (14 Apr 2008)
-
-  14 Apr 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9869.ebuild, +portage-2.2.00.9894.ebuild:
-  Replace previous snapshot which contains a backtrace on unmerging packages
-  which have preserved-libs
-
-*portage-2.2.00.9869 (13 Apr 2008)
-
-  13 Apr 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9500.ebuild, +portage-2.2.00.9869.ebuild:
-  New snapshot, with a wannabe workaround for bug #217481
-
-*portage-2.2.00.9831 (11 Apr 2008)
-
-  11 Apr 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9812.ebuild, +portage-2.2.00.9831.ebuild:
-  New snapshot, fix for backtrace on preserve-libs; getlibpaths
-
-*portage-2.2.00.9812 (10 Apr 2008)
-
-  10 Apr 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9494.ebuild, +portage-2.2.00.9812.ebuild:
-  New snapshot, includes important fix in chpathtool
-
-*portage-2.2.00.9583 (28 Mar 2008)
-
-  28 Mar 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9468.ebuild, +portage-2.2.00.9583.ebuild:
-  New snapshot, important fixes for NEEDED recording such that preserve-libs
-  doesn't get all upset
-
-*portage-2.2.00.9500 (24 Mar 2008)
-
-  24 Mar 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9450.ebuild, +portage-2.2.00.9500.ebuild:
-  New snapshot, with support for preserve-libs functionality for Darwin users,
-  little fixes for others in there
-
-*portage-2.2.00.9494 (20 Mar 2008)
-
-  20 Mar 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9405.ebuild, +portage-2.2.00.9494.ebuild:
-  New snapshot and ebuild to fix bug #212818, regarding retaining the
-  root-user when updating per ebuild
-
-*portage-2.2.00.9468 (15 Mar 2008)
-
-  15 Mar 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9380.ebuild, +portage-2.2.00.9468.ebuild:
-  New snapshot, defaulting to parallel fetch
-
-*portage-2.2.00.9450 (07 Mar 2008)
-
-  07 Mar 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9271.ebuild, +portage-2.2.00.9450.ebuild:
-  New snapshot, hopefully finally releasing us from many duplicate post emerge
-  messages
-
-*portage-2.2.00.9405 (01 Mar 2008)
-
-  01 Mar 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9233.ebuild, +portage-2.2.00.9405.ebuild:
-  New snapshot, with window titles support for interix.
-
-*portage-2.2.00.9380 (24 Feb 2008)
-
-  24 Feb 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9376.ebuild, +portage-2.2.00.9380.ebuild:
-  New snapshot which fixes the masked packages output of the previous two
-  masked releases.
-
-*portage-2.2.00.9376 (24 Feb 2008)
-
-  24 Feb 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9300.ebuild, +portage-2.2.00.9376.ebuild:
-  New snapshot, replacing the older masked one, this one still has the same
-  problem, which I think is bug #209538
-
-*portage-2.2.00.9300 (08 Feb 2008)
-
-  08 Feb 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9214.ebuild, +portage-2.2.00.9300.ebuild:
-  New snapshot, nothing spectacular
-
-*portage-2.2.00.9271 (01 Feb 2008)
-
-  01 Feb 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9208.ebuild, +portage-2.2.00.9271.ebuild:
-  New snapshot, experimental NEEDED recording for Darwin, repoman no longer
-  knows manifest1 mode
-
-*portage-2.2.00.9233 (30 Jan 2008)
-
-  30 Jan 2008; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.00.9233.ebuild:
-  New snapshot with important fix for preserve libs
-
-*portage-2.2.00.9214 (20 Jan 2008)
-
-  20 Jan 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9154.ebuild, -portage-2.2.00.9205.ebuild,
-  +portage-2.2.00.9214.ebuild:
-  Add new snapshot with improved Portage error messages, remove old snapshots
-  that don't force svn repo switches
-
-*portage-2.2.00.9208 (19 Jan 2008)
-
-  19 Jan 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9150.ebuild, +portage-2.2.00.9208.ebuild:
-  Important update, support for svn:// and svn+https:// schemes. This ebuild
-  forces the user to switch from svn+http:// as it scheduled for removal.
-
-*portage-2.2.00.9205 (13 Jan 2008)
-
-  13 Jan 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9139.ebuild, +portage-2.2.00.9205.ebuild:
-  New snapshot
-
-*portage-2.2.00.9154 (07 Jan 2008)
-
-  07 Jan 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9133.ebuild, +portage-2.2.00.9154.ebuild:
-  New snapshot with slight binpkg install fix
-
-*portage-2.2.00.9150 (05 Jan 2008)
-
-  05 Jan 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9063.ebuild, +portage-2.2.00.9150.ebuild:
-  Fixes for binpkg installing, portage env and chpathtool
-
-*portage-2.2.00.9139 (03 Jan 2008)
-
-  03 Jan 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9049.ebuild, +portage-2.2.00.9139.ebuild:
-  New snapshot
-
-*portage-2.2.00.9133 (01 Jan 2008)
-
-  01 Jan 2008; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9044.ebuild, +portage-2.2.00.9133.ebuild:
-  New snapshot, with fix for OSX applications with relative install_names
-
-*portage-2.2.00.9063 (28 Dec 2007)
-
-  28 Dec 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.9058.ebuild, +portage-2.2.00.9063.ebuild:
-  Last portage had a regression with regard to digest generation. New snapshot
-  with a fix.
-
-*portage-2.2.00.9058 (27 Dec 2007)
-
-  27 Dec 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8872.ebuild, +portage-2.2.00.9058.ebuild:
-  New snapshot with fix for chpathtool generating symlinks with garbage in the
-  target
-
-*portage-2.2.00.9049 (24 Dec 2007)
-
-  24 Dec 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8843.ebuild, +portage-2.2.00.9049.ebuild:
-  New snapshot. Most notably is the new import logic that should cater for
-  Portage loading its own modules.
-
-*portage-2.2.00.9044 (22 Dec 2007)
-
-  22 Dec 2007; Fabian Groffen <grobian@gentoo.org>
-  -files/eprefix_dyn_install.patch, -portage-2.2.00.8820.ebuild,
-  -portage-2.2.00.9001-r0.01.ebuild, +portage-2.2.00.9044.ebuild:
-  New snapshot to replace faulty 9001 snapshot
-
-*portage-2.2.00.9001 (20 Dec 2007)
-
-  20 Dec 2007; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.2.00.9001.ebuild:
-  New snapshot
-
-*portage-2.2.00.8872 (08 Dec 2007)
-
-  08 Dec 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8815.ebuild, +portage-2.2.00.8872.ebuild:
-  New snapshot
-
-*portage-2.2.00.8843 (04 Dec 2007)
-
-  04 Dec 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8661.ebuild, +portage-2.2.00.8843.ebuild:
-  A new day, a new bunch of fixes
-
-*portage-2.2.00.8820 (03 Dec 2007)
-
-  03 Dec 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8627.ebuild, +portage-2.2.00.8820.ebuild:
-  Yesterday's mistakes
-
-*portage-2.2.00.8815 (02 Dec 2007)
-
-  02 Dec 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8592.ebuild, +portage-2.2.00.8815.ebuild:
-  Catch up with zmedico
-
-*portage-2.2.00.8661 (25 Nov 2007)
-
-  25 Nov 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8530.ebuild, +portage-2.2.00.8661.ebuild:
-  New snapshot
-
-*portage-2.2.00.8627 (23 Nov 2007)
-
-  23 Nov 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8523.ebuild, +portage-2.2.00.8627.ebuild:
-  New snapshot that fixes Portage spitting out all kinds of 'cannot unset'
-  scary messages
-
-*portage-2.2.00.8592 (21 Nov 2007)
-
-  21 Nov 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8515.ebuild, +portage-2.2.00.8592.ebuild:
-  New snapshot with fix for bug #199665 which was a regression I introduced
-  when I added binhost == repository eye-candy
-
-*portage-2.2.00.8530 (19 Nov 2007)
-
-  19 Nov 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8470.ebuild, +portage-2.2.00.8530.ebuild:
-  New snapshot
-
-*portage-2.2.00.8523 (18 Nov 2007)
-
-  18 Nov 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8435.ebuild, +portage-2.2.00.8523.ebuild:
-  New snapshot with performance fixes and binary merge fix
-
-*portage-2.2.00.8515 (16 Nov 2007)
-
-  16 Nov 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8510.ebuild, +portage-2.2.00.8515.ebuild:
-  Replace 8510 by 8515 because the former contains a logic bug
-
-*portage-2.2.00.8510 (15 Nov 2007)
-
-  15 Nov 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8508.ebuild, +portage-2.2.00.8510.ebuild:
-  Fix dosym to run dodir for the target if necessary (fixes texlive problem)
-
-*portage-2.2.00.8508 (15 Nov 2007)
-
-  15 Nov 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8400.ebuild, +portage-2.2.00.8508.ebuild:
-  New snapshot, now also installing emaint
-
-*portage-2.2.00.8470 (08 Nov 2007)
-
-  08 Nov 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8459.ebuild, +portage-2.2.00.8470.ebuild:
-  Replace just released snapshot with one that fixes a bug in binpkg handling.
-  Includes quickpg fix to create PKGDIR if it doesn't exist
-
-*portage-2.2.00.8459 (08 Nov 2007)
-
-  08 Nov 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8340.ebuild, +portage-2.2.00.8459.ebuild:
-  New snapshot, added support for eapi identification from the main tree
-
-*portage-2.2.00.8435 (05 Nov 2007)
-
-  05 Nov 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8328.ebuild, +portage-2.2.00.8435.ebuild:
-  New snapshot with hack/fix/workaround for binpkg's Packages file and elibc_*
-  etc USE conditionals, compilation support for Interix
-
-*portage-2.2.00.8400 (03 Nov 2007)
-
-  03 Nov 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8280.ebuild, +portage-2.2.00.8400.ebuild:
-  New snapshot that hopefully dies when installing files with wrong links on
-  Darwin
-
-*portage-2.2.00.8340 (29 Oct 2007)
-
-  29 Oct 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8299.ebuild, +portage-2.2.00.8340.ebuild:
-  New snapshot, mainly for a Darwin7 compilation fix.
-
-*portage-2.2.00.8328 (27 Oct 2007)
-
-  27 Oct 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8321.ebuild, +portage-2.2.00.8328.ebuild:
-  New snapshot, this snapshot contains a few fixes which makes it usable when
-  configured with --offset-prefix="".
-
-*portage-2.2.00.8321 (27 Oct 2007)
-
-  27 Oct 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8127.ebuild, +portage-2.2.00.8321.ebuild:
-  New snapshot, condensed digest checking for distfiles
-
-*portage-2.2.00.8299 (25 Oct 2007)
-
-  25 Oct 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8228.ebuild, +portage-2.2.00.8299.ebuild:
-  New snapshot, fixes doins problem. I retained 2.2.00.8127 as it is the only
-  one with ~ia64-hpux keyword.
-
-*portage-2.2.00.8280 (24 Oct 2007)
-
-  24 Oct 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8276.ebuild, +portage-2.2.00.8280.ebuild:
-  Replace version by a version of portage I just used to commit the previous
-  portage (with repoman, fixing it untill it worked)
-
-*portage-2.2.00.8276 (24 Oct 2007)
-
-  24 Oct 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8123.ebuild, +portage-2.2.00.8276.ebuild:
-  New snapshot, includes makefile fix, includes a complete cleanup of repoman,
-  so I expect breakage there.
-
-*portage-2.2.00.8227 (22 Oct 2007)
-
-  22 Oct 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8112.ebuild, +portage-2.2.00.8228.ebuild:
-  New snapshot, should now also compile on HPUX
-
-*portage-2.2.00.8127 (15 Oct 2007)
-
-  15 Oct 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8079.ebuild, +portage-2.2.00.8127.ebuild:
-  Fix compilation on Linux
-
-*portage-2.2.00.8123 (14 Oct 2007)
-
-  14 Oct 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.8027.ebuild, +portage-2.2.00.8123.ebuild:
-  New snapshot that gets rid of the usr/share: no such file or directory error
-
-*portage-2.2.00.8110 (13 Oct 2007)
-
-  13 Oct 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7961.ebuild, +portage-2.2.00.8112.ebuild:
-  Essential fixes to emerge binpkgs in prefix right. Solves problem with for
-  example ghc binpkg
-
-*portage-2.2.00.8079 (12 Oct 2007)
-
-  12 Oct 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7903.ebuild, +portage-2.2.00.8079.ebuild:
-  New snapshot, should include some binpkg fixes
-
-*portage-2.2.00.8027 (09 Oct 2007)
-
-  09 Oct 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7791.ebuild, +portage-2.2.00.8027.ebuild:
-  New snapshot.  Most important: a fixed repoman
-
-*portage-2.2.00.7961 (05 Oct 2007)
-
-  05 Oct 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7783.ebuild, +portage-2.2.00.7965.ebuild:
-  More EAPI voodoo, some set support (?)
-
-*portage-2.2.00.7903 (02 Oct 2007)
-
-  02 Oct 2007; Fabian Groffen <grobian@gentoo.org>
-  -files/portage-2.2.00.7889-fix_indentation.prefix,
-  -portage-2.2.00.7889.ebuild, +portage-2.2.00.7903.ebuild:
-  New snapshot which includes the fix pipping checked in yesterday as patch
-
-*portage-2.2.00.7889 (29 Sep 2007)
-
-  29 Sep 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7724.ebuild, +portage-2.2.00.7889.ebuild:
-  New snapshot with fresh blessings from zmedico
-
-*portage-2.2.00.7791 (18 Sep 2007)
-
-  18 Sep 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7722.ebuild, +portage-2.2.00.7791.ebuild:
-  New snapshot, with a somewhat cleaned up repoman
-
-*portage-2.2.00.7783 (14 Sep 2007)
-
-  14 Sep 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7716.ebuild, +portage-2.2.00.7783.ebuild:
-  New snapshot
-
-*portage-2.2.00.7724 (02 Sep 2007)
-
-  02 Sep 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7698.ebuild, +portage-2.2.00.7724.ebuild:
-  New snapshot, includes install_name check on Darwin, and correction of those
-  where possible
-
-*portage-2.2.00.7722 (01 Sep 2007)
-
-  01 Sep 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7586.ebuild, -portage-2.2.00.7595.ebuild,
-  +portage-2.2.00.7722.ebuild:
-  Hotfix that makes it really possible to use binary packages from another prefix
-
-*portage-2.2.00.7716 (28 Aug 2007)
-
-  28 Aug 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7708.ebuild, +portage-2.2.00.7716.ebuild:
-  Previous version didn't include a special field in binary packages, this
-  version does.
-
-*portage-2.2.00.7708 (27 Aug 2007)
-
-  27 Aug 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7707.ebuild, +portage-2.2.00.7708.ebuild:
-  New snapshot which has theoretical support for binary packages on different
-  prefixes
-
-*portage-2.2.00.7698 (25 Aug 2007)
-
-  25 Aug 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7571.ebuild, +portage-2.2.00.7698.ebuild:
-  New snapshot, should have some speed improvements brought to you by Zac ;)
-
-*portage-2.2.00.7595 (12 Aug 2007)
-
-  12 Aug 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7563.ebuild, +portage-2.2.00.7595.ebuild:
-  New snapshot, fixing issue where installed files could be removed when
-  upgrading
-
-*portage-2.2.00.7586 (10 Aug 2007)
-
-  10 Aug 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7521.ebuild, +portage-2.2.00.7586.ebuild:
-  New snapshot which solves creating double prefixes
-
-*portage-2.2.00.7571 (04 Aug 2007)
-
-  04 Aug 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7307.ebuild, +portage-2.2.00.7571.ebuild:
-  New snapshot that doesn't leave .ecompress.file files behind when
-  ruby.eclass is in use
-
-*portage-2.2.00.7563 (04 Aug 2007)
-
-  04 Aug 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7245.ebuild, +portage-2.2.00.7563.ebuild:
-  New portage snapshot, doesn't do useless metadata import after sync, doesn't
-  show repo any more if the ebuild comes from the standard PORTDIR
-
-*portage-2.2.00.7521 (30 Jul 2007)
-
-  30 Jul 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7209.ebuild, +portage-2.2.00.7521.ebuild:
-  New snapshot, with new goodies!
-
-*portage-2.2.00.7307 (19 Jul 2007)
-
-  19 Jul 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7130.ebuild, +portage-2.2.00.7307.ebuild:
-  New snapshot
-
-*portage-2.2.00.7245 (13 Jul 2007)
-
-  13 Jul 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7085.ebuild, +portage-2.2.00.7245.ebuild:
-  New snapshot which solves an issue with emerge -av crashing when PORTDIR
-  contains symlinks.
-
-*portage-2.2.00.7209 (09 Jul 2007)
-
-  09 Jul 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7037.ebuild, +portage-2.2.00.7209.ebuild:
-  New snapshot, may be dangerous.  Synced ebuild logic with the main tree.
-
-*portage-2.2.00.7130 (02 Jul 2007)
-
-  02 Jul 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.7033.ebuild, +portage-2.2.00.7130.ebuild:
-  New snapshot with revised configure script and user/group management, beware!
-
-*portage-2.2.00.7085 (28 Jun 2007)
-
-  28 Jun 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.6949.ebuild, +portage-2.2.00.7085.ebuild:
-  new snapshot
-
-*portage-2.2.00.7037 (26 Jun 2007)
-
-  26 Jun 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.2.00.6804.ebuild, +portage-2.2.00.7037.ebuild:
-  New snapshot, fixes make.conf.example incorrectnesses
-
-*portage-2.2.00.7033 (25 Jun 2007)
-
-  25 Jun 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.29.6752.ebuild, +portage-2.2.00.7033.ebuild:
-  New snapshot
-
-*portage-2.2.00.6949 (22 Jun 2007)
-
-  22 Jun 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.29.6710.ebuild, +portage-2.2.00.6949.ebuild:
-  New snapshot, many code changes, beware
-
-*portage-2.2.00.6804 (11 Jun 2007)
-
-  11 Jun 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.28.6626.ebuild, +portage-2.2.00.6804.ebuild:
-  New snapshot.  Based on version 2.2, including GLEP 42 support.
-
-*portage-2.1.29.6752 (08 Jun 2007)
-
-  08 Jun 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.27.6539.ebuild, +portage-2.1.29.6752.ebuild:
-  New snapshot
-
-*portage-2.1.29.6710 (01 Jun 2007)
-
-  01 Jun 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.27.6534.ebuild, +portage-2.1.29.6710.ebuild:
-  New snapshot with big cleanups
-
-*portage-2.1.28.6626 (25 May 2007)
-
-  25 May 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.27.6600.ebuild, +portage-2.1.28.6626.ebuild:
-  New snapshot which fixes pty problems on Solaris
-
-*portage-2.1.27.6600 (23 May 2007)
-
-  23 May 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.27.6502.ebuild, +portage-2.1.27.6600.ebuild:
-  Many many fixes from trunk, including cPickle fix by Michael Haubenwallner
-
-*portage-2.1.27.6539 (15 May 2007)
-
-  15 May 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.25.6465.ebuild, +portage-2.1.27.6539.ebuild:
-  New snapshot with a small fix for Interix/Windows
-
-*portage-2.1.27.6534 (13 May 2007)
-
-  13 May 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.25.6450.ebuild, +portage-2.1.27.6534.ebuild:
-  Fix for outside prefix QA check not aborting the merge, but silently
-  continuing.
-
-*portage-2.1.27.6502 (08 May 2007)
-
-  08 May 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.23.6400.ebuild, +portage-2.1.27.6502.ebuild:
-  New snapshot, misc fixes
-
-*portage-2.1.25.6464 (01 May 2007)
-
-  01 May 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.25.6460.ebuild, +portage-2.1.25.6465.ebuild:
-  Add bugfix replacement for 6460, fixes backtrace on invalid digest, crash on
-  elog_summary (touching /var/log/portage), leaving behind of
-  man.ecompress.dir files, repoman dieing during commit in
-  manifest1_obsolete repositories
-
-*portage-2.1.25.6460 (30 Apr 2007)
-
-  30 Apr 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.23.6391.ebuild, +portage-2.1.25.6460.ebuild:
-  New snapshot, now generates portage cache after --sync
-
-*portage-2.1.25.6450 (28 Apr 2007)
-
-  28 Apr 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.23.6370.ebuild, +portage-2.1.25.6450.ebuild:
-  New snapshot, two leap jumps forward
-
-*portage-2.1.23.6400 (14 Apr 2007)
-
-  14 Apr 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.23.6338.ebuild, +portage-2.1.23.6400.ebuild:
-  New snapshot, fix for Solaris configure issue, fix for improper handling of
-  files/paths with spaces
-
-*portage-2.1.23.6391 (13 Apr 2007)
-
-  13 Apr 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.23.6381.ebuild, +portage-2.1.23.6391.ebuild:
-  New snapshot, fixes issues with newexe, doexe, that 6381 seemed to have
-  introduced.
-
-*portage-2.1.23.6381 (12 Apr 2007)
-
-  12 Apr 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.22.6320.ebuild, +portage-2.1.23.6381.ebuild:
-  New snapshot that uses deb2targz for AIX users
-
-*portage-2.1.23.6370 (10 Apr 2007)
-
-  10 Apr 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.22.6250.ebuild, +portage-2.1.23.6370.ebuild:
-  New snapshot, fixes dispatch-conf
-
-*portage-2.1.23.6336 (05 Apr 2007)
-
-  05 Apr 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.22.6248.ebuild, +portage-2.1.23.6338.ebuild:
-  New snapshot with IRIX support, and interrevision handling bugfix
-
-*portage-2.1.22.6320 (28 Mar 2007)
-
-  28 Mar 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.22.6239.ebuild, +portage-2.1.22.6320.ebuild:
-  New snapshot, misc fixes, improvements and more
-
-*portage-2.1.22.6250 (20 Mar 2007)
-
-  20 Mar 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.22.6209.ebuild, +portage-2.1.22.6250.ebuild:
-  New snapshot that allows emerge --config to work in prefix
-
-*portage-2.1.22.6248 (18 Mar 2007)
-
-  18 Mar 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.22.6245.ebuild, +portage-2.1.22.6248.ebuild:
-  New snapshot, fixing fowners and fperms behaviour
-
-*portage-2.1.22.6245 (18 Mar 2007)
-
-  18 Mar 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.22.6243.ebuild, +portage-2.1.22.6245.ebuild:
-  New snapshot, fix fperms and fowners to work again
-
-*portage-2.1.22.6243 (18 Mar 2007)
-
-  18 Mar 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.6185.ebuild, -portage-2.1.22.6204.ebuild,
-  +portage-2.1.22.6243.ebuild:
-  New snapshot which fixes a collision-protect endless-recursion bug on
-  circular symlinks, patch thanks to Tobias Hahn
-
-*portage-2.1.22.6239 (17 Mar 2007)
-
-  17 Mar 2007; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.1.22.6239.ebuild:
-  New snapshot, with repoman QuickCommit(tm) feature
-
-*portage-2.1.22.6209 (15 Mar 2007)
-
-  15 Mar 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.6173.ebuild, +portage-2.1.22.6209.ebuild:
-  New snapshot with fixed config-protect functionality
-
-*portage-2.1.22.6204 (11 Mar 2007)
-
-  11 Mar 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.6152.ebuild, +portage-2.1.22.6204.ebuild:
-  Add new snapshot, fixes bug in quickpgk
-
-*portage-2.1.20.6185 (06 Mar 2007)
-
-  06 Mar 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.6132.ebuild, +portage-2.1.20.6185.ebuild:
-  New snapshot, most important: a fix for repoman when used in locales other
-  than C
-
-*portage-2.1.20.6173 (04 Mar 2007)
-
-  04 Mar 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.6097.ebuild, +portage-2.1.20.6173.ebuild:
-  New revision, fixes from upstream for prefix, fix for double-D check in prefix
-
-*portage-2.1.20.6152 (03 Mar 2007)
-
-  03 Mar 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.6151.ebuild, +portage-2.1.20.6152.ebuild:
-  Fix a bug for users not having a gentoo patched portage, making them unable
-  to run emerge
-
-*portage-2.1.20.6151 (03 Mar 2007)
-
-  03 Mar 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.6085.ebuild, +portage-2.1.20.6151.ebuild:
-  New bump, mainly fixes.  Added support for AIX.
-
-*portage-2.1.20.6132 (02 Mar 2007)
-
-  02 Mar 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5937.ebuild, +portage-2.1.20.6132.ebuild:
-  New release, mainly bugfixes
-
-*portage-2.1.20.6097 (27 Feb 2007)
-
-  27 Feb 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5894.ebuild, +portage-2.1.20.6097.ebuild:
-  Fixes for backtraces reported on the gentoo-alt mailing list, added QA check
-  on Darwin for .so and .dylib files
-
-*portage-2.1.20.6085 (26 Feb 2007)
-
-  26 Feb 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5886.ebuild, +portage-2.1.20.6085.ebuild:
-  New version with lots of upstream changes. Note: this portage includes
-  support for deprecation of Manifest1 which will soon be used, so update ASAP
-
-*portage-2.1.20.5937 (10 Feb 2007)
-
-  10 Feb 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5839.ebuild, +portage-2.1.20.5937.ebuild:
-  New snapshot with new configure logic that should fix some bugs, and
-  probably introduces some new ones
-
-*portage-2.1.20.5894 (05 Feb 2007)
-
-  05 Feb 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5820.ebuild, +portage-2.1.20.5894.ebuild:
-  New snapshot with fix for emerge -s being broken
-
-*portage-2.1.20.5886 (03 Feb 2007)
-
-  03 Feb 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5758.ebuild, +portage-2.1.20.5886.ebuild:
-  New snapshot, with fix for emerge --metadata erroring out
-
-*portage-2.1.20.5839 (30 Jan 2007)
-
-  30 Jan 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5732.ebuild, +portage-2.1.20.5839.ebuild:
-  Misc fixes to avoid python backtraces
-
-*portage-2.1.20.5819 (28 Jan 2007)
-
-  28 Jan 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5501.ebuild, +portage-2.1.20.5820.ebuild:
-  New snapshot with new and improved *cough* package structure. Might result
-  in some pythonic errors.
-
-*portage-2.1.20.5732 (19 Jan 2007)
-
-  19 Jan 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5447.ebuild, +portage-2.1.20.5732.ebuild:
-  New snapshot with glep 42 (news items) support
-
-*portage-2.1.20.5501 (09 Jan 2007)
-
-  09 Jan 2007; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5400.ebuild, +portage-2.1.20.5501.ebuild:
-  New snapshot
-
-*portage-2.1.20.5476 (06 Jan 2007)
-
-  06 Jan 2007; Fabian Groffen <grobian@gentoo.org>
-  +portage-2.1.20.5476.ebuild:
-  New snapshot
-
-  02 Jan 2007; Fabian Groffen <grobian@gentoo.org> ChangeLog:
-  New snapshot, doesn't install sed wrapper in usr/bin any more
-
-*portage-2.1.20.5400 (27 Dec 2006)
-
-  27 Dec 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5377.ebuild, -portage-2.1.20.5380.ebuild,
-  -portage-2.1.20.5396.ebuild, +portage-2.1.20.5400.ebuild:
-  New snapshot, add back --with-default-path again, which seems to have been
-  dropped by accident.
-
-*portage-2.1.20.5396 (26 Dec 2006)
-
-  26 Dec 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5336.ebuild, +portage-2.1.20.5396.ebuild:
-  New snapshot with fix in emerge --sync code
-
-*portage-2.1.20.5380 (24 Dec 2006)
-
-  24 Dec 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5320.ebuild, +portage-2.1.20.5380.ebuild:
-  Cosmetic fixes in emerge --info output
-
-*portage-2.1.20.5377 (24 Dec 2006)
-
-  24 Dec 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5376.ebuild, +portage-2.1.20.5377.ebuild:
-  Fix for repoman not accepting inter-revision ebuilds
-
-*portage-2.1.20.5376 (24 Dec 2006)
-
-  24 Dec 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5284.ebuild, +portage-2.1.20.5376.ebuild:
-  New snapshot with fixes/cleanup from the main trunk. Includes special prefix
-  inter-revision version support
-
-*portage-2.1.20.5336 (20 Dec 2006)
-
-  20 Dec 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5261.ebuild, +portage-2.1.20.5336.ebuild:
-  New snapshot with fix for a bug which caused weird python behaviour
-  introduced in 5320
-
-*portage-2.1.20.5320 (18 Dec 2006)
-
-  18 Dec 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5226.ebuild, +portage-2.1.20.5320.ebuild:
-  New snapshot, mainly performance improvements
-
-*portage-2.1.20.5284 (13 Dec 2006)
-
-  13 Dec 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5188.ebuild, +portage-2.1.20.5284.ebuild:
-  New snapshot
-
-*portage-2.1.20.5261 (10 Dec 2006)
-
-  10 Dec 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5172.ebuild, +portage-2.1.20.5261.ebuild:
-  New snapshort, cleanup and optimisation stuff from trunk
-
-*portage-2.1.20.5226 (08 Dec 2006)
-
-  08 Dec 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5165.ebuild, +portage-2.1.20.5226.ebuild:
-  New snapshot, with possible performance improvements from the trunk
-
-*portage-2.1.20.5188 (06 Dec 2006)
-
-  06 Dec 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5145.ebuild, +portage-2.1.20.5188.ebuild:
-  New snapshot, fix for DEFAULT_PATH screwup, fix for XCU_ID check to look in
-  prefix first, repoman identification clearification.
-
-*portage-2.1.20.5172 (04 Dec 2006)
-
-  04 Dec 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5138.ebuild, +portage-2.1.20.5172.ebuild:
-  New snapshot, fixes emerge --sync in SVN mode
-
-*portage-2.1.20.5165 (03 Dec 2006)
-
-  03 Dec 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5162.ebuild, +portage-2.1.20.5165.ebuild:
-  New snapshot with fix for portage not informing about files that need
-  updating after emerging.
-
-*portage-2.1.20.5162 (03 Dec 2006)
-
-  03 Dec 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5132.ebuild, +portage-2.1.20.5162.ebuild:
-  New snapshot, more strictness on Manifests
-
-*portage-2.1.20.5145 (29 Nov 2006)
-
-  29 Nov 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5141.ebuild, +portage-2.1.20.5145.ebuild:
-  New snapshot, portage's binpath is now added to DEFAULT_PATH by portage itself
-
-*portage-2.1.20.5141 (29 Nov 2006)
-
-  29 Nov 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5139.ebuild, +portage-2.1.20.5141.ebuild:
-  Remove faulty version, new version with fix for a correct DEFAULT_PATH
-
-*portage-2.1.20.5140 (29 Nov 2006)
-
-  29 Nov 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5139.ebuild, +portage-2.1.20.5140.ebuild:
-  Default path didn't include portage's own bins, fixed now
-
-*portage-2.1.20.5139 (29 Nov 2006)
-
-  29 Nov 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5120.ebuild, +portage-2.1.20.5139.ebuild:
-  New snapshot, including a DEFAULT_PATH order fix.
-
-*portage-2.1.20.5138 (26 Nov 2006)
-
-  26 Nov 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5090.ebuild, +portage-2.1.20.5138.ebuild:
-  New snapshot, contains some important etc-update related fixes
-
-*portage-2.1.20.5132 (26 Nov 2006)
-
-  26 Nov 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5077.ebuild, +portage-2.1.20.5132.ebuild:
-  New snapshot
-
-*portage-2.1.20.5120 (22 Nov 2006)
-
-  22 Nov 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5060.ebuild, +portage-2.1.20.5120.ebuild:
-  New snapshot.  Includes a fix for repoman not seeing added digests.
-
-*portage-2.1.20.5090 (19 Nov 2006)
-
-  19 Nov 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5020.ebuild, +portage-2.1.20.5090.ebuild:
-  Fix for repoman's SVN support.  It now properly detects added ebuilds.
-
-*portage-2.1.20.5089 (19 Nov 2006)
-
-  19 Nov 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5020.ebuild, +portage-2.1.20.5089.ebuild:
-  New snapshot, most particular, all traces of ACCEPT_LICENSE support have
-  been removed again
-
-*portage-2.1.20.5077 (17 Nov 2006)
-
-  17 Nov 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.5016.ebuild, +portage-2.1.20.5077.ebuild:
-  New snapshot, mainly with fixes for portage niceness, and (new style)
-  virtuals
-
-*portage-2.1.20.5060 (16 Nov 2006)
-
-  16 Nov 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.4986.ebuild, +portage-2.1.20.5060.ebuild:
-  New snapshot.  Includes prefix patch for repoman not honouring the
-  portage group given during configure call.
-
-*portage-2.1.20.5020 (12 Nov 2006)
-
-  12 Nov 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.4965.ebuild, +portage-2.1.20.5020.ebuild:
-  New snapshot that includes a SVN aware repoman.  The initial work was
-  done by Kito, I just finished the job.
-
-*portage-2.1.20.5016 (12 Nov 2006)
-
-  12 Nov 2006; Fabian Groffen <grobian@gentoo.org>
-  -portage-2.1.20.4942.ebuild, +portage-2.1.20.5016.ebuild:
-  New snapshot from main-line, plus additional SVN support, such that
-  `emerge --sync` now also works with our SVN tree.
-
-  16 Oct 2006; Fabian Groffen <grobian@gentoo.org> ChangeLog:
-  New release 4721 which is based on a complete merge of the trunk code.
-
-  11 Oct 2006; Fabian Groffen <grobian@gentoo.org> ChangeLog:
-  Since the bootstrap script now uses 4497, removed 4415.  Bumped 4497
-  to -r6, to include root_slash patch, such that original ebuilds and
-  eclasses work without modifying ${ROOT} handling.
-
-  08 Oct 2006; Fabian Groffen <grobian@gentoo.org> ChangeLog:
-  Rewrote QA patch from Matt, to actually work and die on double prefixed
-  files. Added QA check for files installed outside the prefix, which also
-  dies if it finds files.  Bumping to -r5 to force everyone using the
-  new QA checks for better feedback on problem packages in the tree.

diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest
deleted file mode 100644
index 1473fde..0000000
--- a/sys-apps/portage/Manifest
+++ /dev/null
@@ -1,29 +0,0 @@
-AUX 05portage.envd 58 SHA256 3caa7956606d288cffaca28d4016c5f75e24ff55307d9d8c1c889f2dba67da06 SHA512 a6e314b21e4d2e640eeefb8caf7e89540aac404dafe70895e7dcfd59b4832d82a9e9ebee9c3efe0406a614cde0c78dc39a2fd17f6ef98b5ad701b8fad14a97bc WHIRLPOOL a480018676c8d568323220536843671bef657a1f457cc3d185e478fa7941ab7836d9bca073a503bc3eecef0d34c2a1324718645721661100223423839ebc3313
-AUX portage-2.2.00.15801-prefix-chaining.patch 27681 SHA256 f9484fa6c899bd023c80888b961392639c7ce6b1662f37b89da22d7a2b84f354 SHA512 578526c1e4d5f4f514b9f289b00b954392ac3aabad7da6fcb89d9881f5b8210a8145d4aa03c3c8f6532ec146f7167330c83e8914404315d586fd16fe9ebc37bd WHIRLPOOL 682d08421e4186f14b9307fe269d8fd7441693547171e3c74385fb7e1ebd55c3d6fe2bb774934c306581655148f2d0c9a919de1657a2761cde0f7a6fbbf1c7c0
-AUX portage-2.2.01.18213-ebuildshell.patch 3216 SHA256 3b84dc57b27a3b4e88c93919a9188d9747957bd1d9ea57f12cf9ba2af7bc171e SHA512 bb016e8e909fed75c1ac18b263d6202001851dc186cfd3550eeae0e12116083435a8f097b72112920d98f8841287e22494dc0dbd0ed97fcf50aa98c2e44007dd WHIRLPOOL acc323f6f048ab991c12e8b9a6702ea10d9d62bb58d64204ccee55dc6f068209f9a373a17f8aab270f1c8e5a55acf32f0496cdb86610de5ffcc56e584b96b30d
-AUX portage-2.2.01.18826-aix-preservelibs.patch 1188 SHA256 663221d2b16604d2dff922ef6126e3589d0ab070aa45b06bc60141be3518e8ff SHA512 cf39861eb914605321c4e5491113d109b0426bd3a20024aabc9bcfcb32c84b6959e203277af685d9b3377f9f126c2db03da5acd65f77ed900a665eeedb42f338 WHIRLPOOL 47f2ae377f9dc6027c4a4d69e9ebd27472f6271017f37e38614ffb395e67c82344e07165136b8aab2480bc0a08b1a10ef0dfad63e8e5a213b2028db3a6b5f0ec
-AUX portage-2.2.01.18980-ebuildshell.patch 3196 SHA256 f6afb0dade46de4f6ddd263b7ed73a7f48580315e88802008ed6b2bfae054dcf SHA512 658acd8a6252ce1e28c87888b3503d4d5bb3f0461e34dde59c99b0887f06a0ff76d7ddd80ce87ead980229ec02f2596f0e4226694591cd43bf6d1549ec77de1f WHIRLPOOL 316aa7cd283f4f9f32b1c8dc00180dee4587b287c724af8b7ffff9926784d7e18d507bb24ec6d8a9ffe0a1c8441cff8c3cd6c80b3e0645f568293325e0465cd4
-AUX portage-2.2.01.19247-aix-preserve-libs.patch 6502 SHA256 c8f1ac40f9adffeee7158650d9b9c79bb27a0b52694471308df853d4ed1cd197 SHA512 d3de61418db143885771fca0bf3aadb7a1767cf5ccde2333f6948d35392fd4548976e7483c9b9fc865fbf2d672169581fbf9f687ac24d19083910c2cd3a8e059 WHIRLPOOL 66196536936c3bf1b3c8927b2569060913d2947e30e23b04af9ad3b9608b6d7894bcfb97f657a145bc3cc765dbbfca8913ef95a6fd74944d89f15249aa10215b
-AUX portage-2.2.01.19247-ebuildshell.patch 3296 SHA256 8cee3ddf8f4b03e9440407ecd414b31b072f76a26c7f01c7798fc9072004ea1b SHA512 4b3399576f10d2eee5e3f560eba2fb7003dc7a94bc45f2f5a83629511a39398abef50c86793848f08998982466369ce56d89911dd6ee878d02f2e07e71e77b4e WHIRLPOOL 65668006e8c7c0e7241ef76dc2728803a2723c18217fd8a99ff98ce2c59a99e755e43a4031757a5a7e48a2b54be8f531089ea82c28a4a26fc4ba86112bc8e664
-AUX portage-2.2.01.19981-ebuildshell.patch 3304 SHA256 2b7f313afe62815b791835da8cdfc3991732712cbdf4c7d4ac7f4e9a310b9ed0 SHA512 782598093305b4d51c32af5f79a1f512f6a42162fa8e37e02758bb0c742ff32ac712969e20f5042e04e14a7e919c644d4ad53638ff6d865551f1b15b6dd47b82 WHIRLPOOL 2103b1f02de4dd288f441e486fb36f98c8348135961e12e3ce0f113ca370a39c8aee2d14d5a7c149d48c3ed9c9b6a940a8f7faf4e5fb446c53f243d1eddf61bc
-AUX portage-2.2.01.20020-ebuildshell.patch 4736 SHA256 92f91c788e3591fb71f55b7a04df8bd0baee767e2561649182bf1b814a0451a8 SHA512 785059ad71e1d9172338926df22883bf70560c3f22f84da74aa21b872b52c9dd05ca61fe8bb786a2da7e4756ae3568f35ca6d7a6ec22b9be419efab6529b8f52 WHIRLPOOL 63ba30a2fa005cca2a6866178938e4ce83bed8ca3a5cbc9bcbcffc888ef4561c27d45f29707db26574c96b8a0c0ed565a0224d64bed8191a1179ae6ace325904
-AUX portage-2.2.01.20239-ebuildshell.patch 5292 SHA256 602efac969b76b33e46f927bb6d5ddaff837f2d69dba446c05116fd6e9d6aaf9 SHA512 9f79c62482cacfe4d52d9b7a42969c5090ec1dd6c55ac67ac0697fa3261d00d437e32a46987d242d3380b459d1af2cdfdacec5d72b7aa905146bbf5759158bdf WHIRLPOOL 2ee6f82ec9dc8c44704c1badeafa207656dac9ce49443616b4ebfd402e872c71434e049f4436ed04009e633a00b4863dd35e79a80ba4e710ac1af6579a9decdf
-AUX portage-2.2.01.20336-openrc.patch 924 SHA256 ad0ac66cbc7f2e77f4d6cd19b54ee5e844b9acec29e17b6c10b031cb91f424e0 SHA512 9e5f49f3c0ceeb5e2a56470b5c926760661169e66793f888b97cd5e591abbfe53bab31c80f110f7895a4ee307debc099f5228cc8ef1fe1f061356456129d4193 WHIRLPOOL 1706512411bc7193066c5d000e4279aa308743e1bdc17547d20209cc4000b2fa580822a59ea86954a90d357c0a37c2484c5babed7950dea40cc382f4fa5bf5f0
-AUX portage-2.2.01.22124-env_update-ldconfig.patch 617 SHA256 d2ad89e9c70054d5e9a4df573453cc18c2c9d1a59359c2bc44de8ab2a6b7a8c3 SHA512 c98c68f8f4da37782455e28c5e29fcf2b4221ad888ddfe2548f9752c369e88d80a1cce69ff4d5ee04e5bd308a06bae8e04bbb169735719e613040e0200668cde WHIRLPOOL 13ccf401ffe85a89938927f16244c07e183f95eb826640d33be508852b14d7b24f02210d8a9050020ed385671f7730b40c38dccdbca8fdf584f92f30cc5f1fa8
-DIST portage-man-pl-2.1.2.tar.bz2 53893 SHA256 960eaa7c6f3a2af44bdc665266a8e884628a562373cc477d301597ecc5ef961f SHA512 5f5c8dd1559048546633b1e7291ff8c0f5d637595f1a4c98405424b08c30c089fc9359e0214f78fbe358754f20d327794f4692b9b67639585c29b755975ee853 WHIRLPOOL 756e267b84077501d976f46fa448cda5368cd52aeca6ec43d109c81fe8e2364e0cd0f35630d68a4186c70e3b440b7c870b86ac7ef83cc0afa43e10f9f8e1f422
-DIST prefix-portage-2.2.01.20062.tar.bz2 993047 SHA256 c0b515077b226ab9be5179e6b2774b02816c461dcceefae496d9fc7fddf14080 SHA512 b13c5e50a95266d6baf0fc77216c272047a22bd703e560957bcb68d84c7dd655836b787f71bbf9c5fae91d490d9a44a16fb6c0834a3f1d9c774f57b569108cd3 WHIRLPOOL 11e2760a4640e8baead86e1b82ee6cf9e3360d95133bf30093b20194ca955b3621fd901ba2d18adaedf6f44cbae2d47362253dee8b57a520aebf320c49bffaad
-DIST prefix-portage-2.2.01.20751.tar.bz2 997260 SHA256 c149450f8b3b6e08c48a31de5edc753b35d793039c21003cfffb4475ea04cf80 SHA512 0e02d7ef7358a48189ba9b5f65308e83b1ef72ffd05fac7fed82c0421daeb68bf9681884a7c433208a1213105e7f7792c3df53b1a3fb187a852eb49da7735dfd WHIRLPOOL 37def9ef09ebb855051037d1cfcc5c50d9d32fecc905aa1c4c4394464a2023cb6821bcef794932aa3514c8c066865d490b3cf976efdd19e2315e543fd9eac3c2
-DIST prefix-portage-2.2.01.21882.tar.bz2 1071921 SHA256 94964b1d3b00ffd45c22d2766f4256ca7c16d3c8f93f65004dc6630253ae09d3 SHA512 14e267645be3e417029a4fb3c1ead5dfa42e5cb77dc5552db2ac27e871a8583ece29384898c48b915b2afd37acce063a4cb4205fb2036fcb7ed9a4a7cea23fd4 WHIRLPOOL 1847098c50b97aa3eb18eef85180ab800407207ac2c6fbdca9dfc3c95e6604b87e5ea1f37f21b0e8286df42d3fde7e56851dc8427445a1fcf38ebae33addc8f5
-DIST prefix-portage-2.2.01.22013.tar.bz2 1082750 SHA256 f1fa483005febf128cb40424e734e594b7e9b07fae4a06f10f15932b4f472253 SHA512 236c1237bbe965df965a6828490ecef36c4672c4b34d79f5ae71d9ae0acfb1942f1eec686044aa96923d842ab3938e1abf902cdf0b0269837b686c11f22e520a WHIRLPOOL 370868b11cf5aeac1ae0d54b981bfe2d351644b4e8189a23c618e56e627c075dc6bbe508cf6f8c28185b19a1a474af5f4bc7b678104e24229689c8dcb73a666f
-DIST prefix-portage-2.2.01.22097.tar.bz2 1063887 SHA256 77a48bbdf7dd3886df4d800ae2337dbba87d4837b366a5e0c7da51a1536ecb17 SHA512 62c0494a65c24e182f49d8707946cea2b57c862ba0a9e92dc36b1cf57e5acf2204636ca6b0e9f9c71e11c31663bab82378d782b0f0df4113fcd745d71cccbd8e WHIRLPOOL edfa8f3edf05129c3c3800df81c347bc833693c1fb91f8b71083ae10305b661a3308cd6c092021c72f506d348ceb7762ae34a2bef02bc8fa86170ed693ecdcb4
-DIST prefix-portage-2.2.01.22124.tar.bz2 1082746 SHA256 9dfaff4584fa4c7890942a5c8451663e8325ad5f861595ee911c551650b5e548 SHA512 79bfe4d1b69ddd75f464dd15243dc0dd5be6773e470195eb9b8f74ef699f1ad4fa1f915ed23b1d3de0478fefce0b85d32cce44db2b14771d8dfe939f9bfc7044 WHIRLPOOL 291c198167bca4c0c2e52ae588097f76a3a9137716b997cd63b103ddd15237c35d746455013082f9a407030e40012a77085c40f6d044c09dc0c4a425249260a7
-EBUILD portage-2.2.01.20062.ebuild 9446 SHA256 0beec88209cdde5fe1c96634ef9069914e3c8c6d09ad891f3a81c3313310ee29 SHA512 4c73e585638af22b83aeb7f0afa765f6d6dcadbebd871bf54ea300a8dc137547a47691fa2e0206f5921084e941caa12bc767c7de8d6d2592760999cfdfbeb814 WHIRLPOOL 7c987dd8cb99950e8de5eeb9ea95ddeda2ad6195470c1eb96fe9434abf3b558ae1cec8cf2af188834b4feb8aae3d26b333b78cc39c794ab5ef20f306468eccfd
-EBUILD portage-2.2.01.20751.ebuild 12628 SHA256 0cf50352ebf8154acae84c6332f5cb2ef9fa089dd4d773ec2afdf3e042c174e8 SHA512 264443a815a97c087c759660185361c46f5c4ed9d98931e01278b3d13b3e4ac52d6f0531f77c4a7793583848fb4f2f4fa6a81ddf066cf36ad840611bc49cf5e8 WHIRLPOOL e2c2832e77ec220544d85d63d58e27b5d90eddbfd86476c3323de20f03e00ada514f484f3d5b16372746b76c5e411b69b6670b3ddd66fb7a6e8753a415402942
-EBUILD portage-2.2.01.21882.ebuild 14041 SHA256 9c165574d4df4ea9ce8b885a4e3b06a97169e576174657bfa4ae6f5da897e2c4 SHA512 589edf9cf62d07845ee4476a33dcba1541784b86d450698c26db748bfd13d5a2a3a1b07eeb47c534b2ddbd6519a46c6e3234adde9fffe0aef1cc1e56a2644192 WHIRLPOOL 10b5cbd13739643e2face92affa6bfd3a068b2a48b5aad707e5f4b91831c7d28e04ecee598112509ae4865d3f2c0764f4fb34924ee3a8fdf7340c7ff390602d4
-EBUILD portage-2.2.01.22013.ebuild 14154 SHA256 359f0a5fbd2e8b197f210b529508f8d28c44eb226882d24d7a7914bef75fcc02 SHA512 5891a16067993df6d744df08718384a3a59b1fcf7e50fb21d766b4c16e8eef81f96ff4b46a552badf08d0c381f3075d0291e08b1c8629f83ed25d07adb548bbf WHIRLPOOL 01ac70c3e5766a7f80846442a1ab46227f9a12590ab1d398d5d93f95c3a13579c3b5c2295057a3fa3a1c1c587c25350bac8731d44c75aab82b61b3f529d1eaf6
-EBUILD portage-2.2.01.22097.ebuild 14154 SHA256 359f0a5fbd2e8b197f210b529508f8d28c44eb226882d24d7a7914bef75fcc02 SHA512 5891a16067993df6d744df08718384a3a59b1fcf7e50fb21d766b4c16e8eef81f96ff4b46a552badf08d0c381f3075d0291e08b1c8629f83ed25d07adb548bbf WHIRLPOOL 01ac70c3e5766a7f80846442a1ab46227f9a12590ab1d398d5d93f95c3a13579c3b5c2295057a3fa3a1c1c587c25350bac8731d44c75aab82b61b3f529d1eaf6
-EBUILD portage-2.2.01.22124-r1.ebuild 17288 SHA256 ebb240718aae30995bd4d92396608655ab7ac532661ee7913edf1b8409563ed6 SHA512 49274647c224ac311f42dee8abbe6d229f0d0fb9adb29fd993e72377968f882f45f903b19dbb54899e10b97b21c697f14a3220cbbe6d3a15b0092a0af40a8d9e WHIRLPOOL 4d20cb2e93bb9d1832570383c1a4f1ee54d1d09c41143228a998df474a4c1f526ea9c29984646718a2af36fc609dbb07501d1f13ca758e214743eab3c9e385b7
-EBUILD portage-2.2.01.22124.ebuild 14154 SHA256 359f0a5fbd2e8b197f210b529508f8d28c44eb226882d24d7a7914bef75fcc02 SHA512 5891a16067993df6d744df08718384a3a59b1fcf7e50fb21d766b4c16e8eef81f96ff4b46a552badf08d0c381f3075d0291e08b1c8629f83ed25d07adb548bbf WHIRLPOOL 01ac70c3e5766a7f80846442a1ab46227f9a12590ab1d398d5d93f95c3a13579c3b5c2295057a3fa3a1c1c587c25350bac8731d44c75aab82b61b3f529d1eaf6
-EBUILD portage-9999.ebuild 11571 SHA256 14450dacff690de2f12cb7c68bf1f147201f76f6b43a751a5e43f20291c0005b SHA512 44d7ed7aab215c67aae29441e3e07637dacd7d8f70aefe052876eab26072c528c2d6a17b79834794ba80cf4f5a8a8d3bd0d8ae15b3091101e67420b229519bd7 WHIRLPOOL 8fa5846173c2ee0575548a7f15b21583e8c93ef38128547377e10efed3105fc57f80e14ca3a994c6f24e192076e423cf3391fb5eaa52ca452cc5ff896a39949d
-MISC ChangeLog 93006 SHA256 c013c75f4f2a530df4a13b04fdf61b49dc29c9f10d68c849d56355b9ca2c22ad SHA512 4739a98b4be71cf12fe71521be04444c6b04a1385f0610e87b30d86508f423e9128e600e7e1e60d03f7dbef09f53f4c8e9c0040fda2dc273f604fdc101f67f0c WHIRLPOOL 97f2230155e49f695f2fcea45dacba9328d7216bb7eae3779040d5a87f89851a2b80446f388190f18c8df1d03c95bdce8b624a257d2850595f48adedbbf1790f
-MISC metadata.xml 570 SHA256 caa1a631e6fe0d42012260b948ab80a89ca449ec33f911c22bdaa84f1ff5e95a SHA512 8b7232056c81963d3ea91d718ba95c253731a9c4f827414e13e94b4c0cab1d4d013481bf2f90c3b9d381fc1c6e31a9b81958da5d652d40f5040a8575014d67ee WHIRLPOOL b2a448ff69a9b29d71afbe731cb058e3ed28e11929dc6ea2d74f9f894d1c41241dac81814e0124d17fa048118d12d304d224bca5484edd66a3f5e2a547d05b31

diff --git a/sys-apps/portage/files/05portage.envd b/sys-apps/portage/files/05portage.envd
deleted file mode 100644
index ec94905..0000000
--- a/sys-apps/portage/files/05portage.envd
+++ /dev/null
@@ -1 +0,0 @@
-PYTHONPATH="@GENTOO_PORTAGE_EPREFIX@/usr/lib/portage/pym"

diff --git a/sys-apps/portage/files/portage-2.2.00.15801-prefix-chaining.patch b/sys-apps/portage/files/portage-2.2.00.15801-prefix-chaining.patch
deleted file mode 100644
index 01e5934..0000000
--- a/sys-apps/portage/files/portage-2.2.00.15801-prefix-chaining.patch
+++ /dev/null
@@ -1,693 +0,0 @@
-diff -ru prefix-portage-2.2.00.15801.orig/bin/ebuild.sh prefix-portage-2.2.00.15801/bin/ebuild.sh
---- prefix-portage-2.2.00.15801.orig/bin/ebuild.sh	2010-03-11 10:39:16 +0100
-+++ prefix-portage-2.2.00.15801/bin/ebuild.sh	2010-03-11 10:38:21 +0100
-@@ -123,6 +123,83 @@
- # Unset some variables that break things.
- unset GZIP BZIP BZIP2 CDPATH GREP_OPTIONS GREP_COLOR GLOBIGNORE
- 
-+if [[ -n "${PORTAGE_READONLY_EPREFIXES}" ]]; then
-+	new_PATH=${PATH}
-+
-+	prefixes="${PORTAGE_READONLY_EPREFIXES}:${EPREFIX}"
-+
-+	# build up a PATH for the current environment. the path has to
-+	# contain all the paths the start with $EPREFIX _first_, and
-+	# after that, all the others. We have to re-order the new_PATH,
-+	# so that EPREFIX paths move to the front. after that, the paths
-+	# of all parent prefixes are added, and finally, after that, the
-+	# paths not containing any prefix are added.
-+
-+	save_IFS=$IFS
-+	IFS=':'
-+	pth_pfx=
-+	pth_nopfx=
-+	for pth in ${new_PATH}; do
-+		IFS=$save_IFS
-+		if [[ "${pth#${EPREFIX}}" == "${pth}" ]]; then
-+			[[ ":${pth_nopfx}:" == *":${pth}:"* ]] && continue
-+			if [[ -z "${pth_nopfx}" ]]; then
-+				pth_nopfx="${pth}"
-+			else
-+				pth_nopfx="${pth_nopfx}:${pth}"
-+			fi
-+		else
-+			[[ ":${pth_pfx}:" == *":${pth}:"* ]] && continue
-+			if [[ -z "${pth_pfx}" ]]; then
-+				pth_pfx="${pth}"
-+			else
-+				pth_pfx="${pth_pfx}:${pth}"
-+			fi
-+		fi
-+	done
-+	IFS=$save_IFS
-+
-+	new_PATH=
-+
-+	save_IFS=$IFS
-+	IFS=':'
-+	for eroot in ${prefixes}; do
-+		IFS=$save_IFS
-+		if [[ -f ${eroot}/usr/share/portage/config/make.globals ]]; then
-+			# ok, there is a portage instance installed in this prefix,
-+			# so we can ask (politely) for the DEFAULT_PATH of it :)
-+
-+			defpath="$(. ${eroot}/etc/make.globals && echo $DEFAULT_PATH)"
-+			okpath=
-+			save_IFS2=$IFS
-+			IFS=':'
-+			for p in $defpath; do
-+				IFS=$save_IFS2
-+				# we have that one already...
-+				[[ ":${new_PATH}:" == *":$p:"* ]] && continue
-+				# we skip paths, that are outside our prefix ...
-+				[[ "${p#${eroot}}" == "${p}" ]] && continue
-+				if [[ -z "${okpath}" ]]; then
-+					okpath="${p}"
-+				else
-+					okpath="${okpath}:${p}"
-+				fi
-+			done
-+			IFS=$save_IFS2
-+
-+			new_PATH="${okpath}:${new_PATH}"
-+		else
-+			# no portage installed in this prefix. this means we have to
-+			# somehow fiddle together a sane path for that prefix for at
-+			# least the standard things to work.
-+			new_PATH="${eroot}/usr/bin:${eroot}/usr/sbin:${eroot}/bin:${eroot}/sbin:${new_PATH}"
-+		fi
-+	done
-+	IFS=$save_IFS
-+
-+	export PATH=${pth_pfx}:$new_PATH:${pth_nopfx}
-+fi
-+
- source "${PORTAGE_BIN_PATH}/isolated-functions.sh"  &>/dev/null
- 
- [[ $PORTAGE_QUIET != "" ]] && export PORTAGE_QUIET
-@@ -1988,7 +2065,11 @@
- 
- 			#PATH=$_ebuild_helpers_path:$PREROOTPATH${PREROOTPATH:+:}/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin${ROOTPATH:+:}$ROOTPATH
- 			# PREFIX: same notes apply as at the top of this file
--			PATH="$_ebuild_helpers_path:$PREROOTPATH${PREROOTPATH:+:}${DEFAULT_PATH}${ROOTPATH:+:}$ROOTPATH${EXTRA_PATH:+:}${EXTRA_PATH}"
-+			#PATH="$_ebuild_helpers_path:$PREROOTPATH${PREROOTPATH:+:}${DEFAULT_PATH}${ROOTPATH:+:}$ROOTPATH${EXTRA_PATH:+:}${EXTRA_PATH}"
-+			# PREFIX (with CHAINING!): why the heck not simply pre-pend the paths? hell,
-+			# this shot down prefix-chaining, and made me search a while...
-+			# PATH has been set up at the top of the file already.
-+			PATH="${ebuild_helpers_path}:${PATH}"
- 			unset _ebuild_helpers_path
- 
- 			if hasq distcc $FEATURES ; then
-diff -ru prefix-portage-2.2.00.15801.orig/pym/_emerge/actions.py prefix-portage-2.2.00.15801/pym/_emerge/actions.py
---- prefix-portage-2.2.00.15801.orig/pym/_emerge/actions.py	2010-03-11 10:39:16 +0100
-+++ prefix-portage-2.2.00.15801/pym/_emerge/actions.py	2010-03-11 10:38:21 +0100
-@@ -1783,8 +1783,9 @@
- 				"control (contains %s).\n!!! Aborting rsync sync.\n") % \
- 				(myportdir, vcs_dir), level=logging.ERROR, noiselevel=-1)
- 			return 1
--		if not os.path.exists(EPREFIX + "/usr/bin/rsync"):
--			print("!!! " + EPREFIX + "/usr/bin/rsync does not exist, so rsync support is disabled.")
-+		rsync_bin = portage.readonly_pathmatch_any(settings, "/usr/bin/rsync")
-+		if not os.path.exists(rsync_bin):
-+			print("!!! rsync binary does not exist, so rsync support is disabled.")
- 			print("!!! Type \"emerge net-misc/rsync\" to enable rsync support.")
- 			sys.exit(1)
- 		mytimeout=180
-@@ -1957,7 +1958,7 @@
- 			if mytimestamp != 0 and "--quiet" not in myopts:
- 				print(">>> Checking server timestamp ...")
- 
--			rsynccommand = [EPREFIX + "/usr/bin/rsync"] + rsync_opts + extra_rsync_opts
-+			rsynccommand = [rsync_bin] + rsync_opts + extra_rsync_opts
- 
- 			if "--debug" in myopts:
- 				print(rsynccommand)
-@@ -2108,8 +2109,9 @@
- 				out.eerror(line)
- 			sys.exit(exitcode)
- 	elif syncuri[:6]=="cvs://":
--		if not os.path.exists(EPREFIX + "/usr/bin/cvs"):
--			print("!!! " + EPREFIX + "/usr/bin/cvs does not exist, so CVS support is disabled.")
-+		cvs_bin = portage.readonly_pathmatch_any(settings, "/usr/bin/cvs")
-+		if not os.path.exists(cvs_bin):
-+			print("!!! cvs binary does not exist, so CVS support is disabled.")
- 			print("!!! Type \"emerge dev-util/cvs\" to enable CVS support.")
- 			sys.exit(1)
- 		cvsroot=syncuri[6:]
-@@ -2128,7 +2130,7 @@
- 						"!!! existing '%s' directory; exiting.\n" % myportdir)
- 					sys.exit(1)
- 				del e
--			if portage.spawn("cd "+cvsdir+"; cvs -z0 -d "+cvsroot+" co -P gentoo-x86",settings,free=1):
-+			if portage.spawn("cd "+cvsdir+"; "+cvs_bin+" -z0 -d "+cvsroot+" co -P gentoo-x86",settings,free=1):
- 				print("!!! cvs checkout error; exiting.")
- 				sys.exit(1)
- 			os.rename(os.path.join(cvsdir, "gentoo-x86"), myportdir)
-@@ -2136,15 +2138,16 @@
- 			#cvs update
- 			print(">>> Starting cvs update with "+syncuri+"...")
- 			retval = portage.process.spawn_bash(
--				"cd %s; cvs -z0 -q update -dP" % \
--				(portage._shell_quote(myportdir),), **spawn_kwargs)
-+				"cd %s; %s -z0 -q update -dP" % \
-+				(portage._shell_quote(myportdir),cvs_bin), **spawn_kwargs)
- 			if retval != os.EX_OK:
- 				sys.exit(retval)
- 		dosyncuri = syncuri
- 	elif syncuri[:11]=="svn+http://" or syncuri[:6]=="svn://" or syncuri[:12]=="svn+https://":
- 		# Gentoo Prefix hardcoded SVN support
--		if not os.path.exists(EPREFIX + "/usr/bin/svn"):
--			print("!!! " + EPREFIX + "/usr/bin/svn does not exist, so SVN support is disabled.")
-+		svn_bin = portage.readonly_pathmatch_any(settings, "/usr/bin/svn")
-+		if not os.path.exists(svn_bin):
-+			print("!!! svn binary does not exist, so SVN support is disabled.")
- 			print("!!! Type \"emerge dev-util/subversion\" to enable SVN support.")
- 			sys.exit(1)
- 		svndir=os.path.dirname(myportdir)
-@@ -2171,7 +2174,7 @@
- 		else:
- 			#svn update
- 			print(">>> Starting svn update...")
--			retval = portage.spawn("cd '%s'; svn update" % myportdir, \
-+			retval = portage.spawn("cd '%s'; %s update" % (myportdir,svn_bin), \
- 				settings, free=1)
- 			if retval != os.EX_OK:
- 				sys.exit(retval)
-diff -ru prefix-portage-2.2.00.15801.orig/pym/_emerge/depgraph.py prefix-portage-2.2.00.15801/pym/_emerge/depgraph.py
---- prefix-portage-2.2.00.15801.orig/pym/_emerge/depgraph.py	2010-03-11 10:39:16 +0100
-+++ prefix-portage-2.2.00.15801/pym/_emerge/depgraph.py	2010-03-11 10:39:49 +0100
-@@ -17,6 +17,7 @@
- from portage.dbapi import dbapi
- from portage.dbapi.dep_expand import dep_expand
- from portage.dep import Atom
-+from portage.dep.dep_check import ro_selected
- from portage.output import bold, blue, colorize, create_color_func, darkblue, \
- 	darkgreen, green, nc_len, red, teal, turquoise, yellow
- bad = create_color_func("BAD")
-@@ -1143,14 +1144,14 @@
- 					edepend["DEPEND"] = ""
- 
- 		deps = (
--			(bdeps_root, edepend["DEPEND"],
-+			(bdeps_root, "DEPEND",
- 				self._priority(buildtime=(not bdeps_optional),
- 				optional=bdeps_optional),
- 				pkg.built),
--			(myroot, edepend["RDEPEND"],
-+			(myroot, "RDEPEND",
- 				self._priority(runtime=True),
- 				False),
--			(myroot, edepend["PDEPEND"],
-+			(myroot, "PDEPEND",
- 				self._priority(runtime_post=True),
- 				False)
- 		)
-@@ -1161,7 +1162,8 @@
- 			if not strict:
- 				portage.dep._dep_check_strict = False
- 
--			for dep_root, dep_string, dep_priority, ignore_blockers in deps:
-+			for dep_root, dep_type, dep_priority, ignore_blockers in deps:
-+				dep_string = edepend[dep_type]
- 				if not dep_string:
- 					continue
- 				if debug:
-@@ -1180,7 +1182,7 @@
- 						uselist=pkg.use.enabled))
- 
- 					dep_string = list(self._queue_disjunctive_deps(
--						pkg, dep_root, dep_priority, dep_string))
-+						pkg, dep_root, dep_priority, dep_string, dep_type))
- 
- 				except portage.exception.InvalidDependString as e:
- 					if pkg.installed:
-@@ -1196,7 +1198,7 @@
- 
- 				if not self._add_pkg_dep_string(
- 					pkg, dep_root, dep_priority, dep_string,
--					allow_unsatisfied, ignore_blockers=ignore_blockers):
-+					allow_unsatisfied, ignore_blockers=ignore_blockers, dep_type=dep_type):
- 					return 0
- 
- 		except portage.exception.AmbiguousPackageName as e:
-@@ -1224,7 +1226,7 @@
- 		return 1
- 
- 	def _add_pkg_dep_string(self, pkg, dep_root, dep_priority, dep_string,
--		allow_unsatisfied, ignore_blockers=False):
-+		allow_unsatisfied, ignore_blockers=False, dep_type=None):
- 		depth = pkg.depth + 1
- 		debug = "--debug" in self._frozen_config.myopts
- 		strict = pkg.type_name != "installed"
-@@ -1240,7 +1242,7 @@
- 		try:
- 			selected_atoms = self._select_atoms(dep_root,
- 				dep_string, myuse=pkg.use.enabled, parent=pkg,
--				strict=strict, priority=dep_priority)
-+				strict=strict, priority=dep_priority, dep_type=dep_type)
- 		except portage.exception.InvalidDependString as e:
- 			show_invalid_depstring_notice(pkg, dep_string, str(e))
- 			del e
-@@ -1395,7 +1397,7 @@
- 				child_pkgs = atom_pkg_graph.child_nodes(atom)
- 				yield (atom, child_pkgs[0])
- 
--	def _queue_disjunctive_deps(self, pkg, dep_root, dep_priority, dep_struct):
-+	def _queue_disjunctive_deps(self, pkg, dep_root, dep_priority, dep_struct, dep_type=None):
- 		"""
- 		Queue disjunctive (virtual and ||) deps in self._dynamic_config._dep_disjunctive_stack.
- 		Yields non-disjunctive deps. Raises InvalidDependString when 
-@@ -1406,11 +1408,11 @@
- 			x = dep_struct[i]
- 			if isinstance(x, list):
- 				for y in self._queue_disjunctive_deps(
--					pkg, dep_root, dep_priority, x):
-+					pkg, dep_root, dep_priority, x, dep_type):
- 					yield y
- 			elif x == "||":
- 				self._queue_disjunction(pkg, dep_root, dep_priority,
--					[ x, dep_struct[ i + 1 ] ] )
-+					[ x, dep_struct[ i + 1 ] ] , dep_type)
- 				i += 1
- 			else:
- 				try:
-@@ -1425,25 +1427,25 @@
- 					# purpose.
- 					if x.cp.startswith('virtual/'):
- 						self._queue_disjunction( pkg, dep_root,
--							dep_priority, [ str(x) ] )
-+							dep_priority, [ str(x) ] , dep_type)
- 					else:
- 						yield str(x)
- 			i += 1
- 
--	def _queue_disjunction(self, pkg, dep_root, dep_priority, dep_struct):
-+	def _queue_disjunction(self, pkg, dep_root, dep_priority, dep_struct, dep_type=None):
- 		self._dynamic_config._dep_disjunctive_stack.append(
--			(pkg, dep_root, dep_priority, dep_struct))
-+			(pkg, dep_root, dep_priority, dep_struct, dep_type))
- 
- 	def _pop_disjunction(self, allow_unsatisfied):
- 		"""
- 		Pop one disjunctive dep from self._dynamic_config._dep_disjunctive_stack, and use it to
- 		populate self._dynamic_config._dep_stack.
- 		"""
--		pkg, dep_root, dep_priority, dep_struct = \
-+		pkg, dep_root, dep_priority, dep_struct, dep_type = \
- 			self._dynamic_config._dep_disjunctive_stack.pop()
- 		dep_string = portage.dep.paren_enclose(dep_struct)
- 		if not self._add_pkg_dep_string(
--			pkg, dep_root, dep_priority, dep_string, allow_unsatisfied):
-+			pkg, dep_root, dep_priority, dep_string, allow_unsatisfied, dep_type):
- 			return 0
- 		return 1
- 
-@@ -2063,12 +2065,18 @@
- 		return self._select_atoms_highest_available(*pargs, **kwargs)
- 
- 	def _select_atoms_highest_available(self, root, depstring,
--		myuse=None, parent=None, strict=True, trees=None, priority=None):
-+		myuse=None, parent=None, strict=True, trees=None, priority=None, dep_type=None):
- 		"""This will raise InvalidDependString if necessary. If trees is
- 		None then self._dynamic_config._filtered_trees is used."""
- 		pkgsettings = self._frozen_config.pkgsettings[root]
- 		if trees is None:
- 			trees = self._dynamic_config._filtered_trees
-+
-+		# this one is needed to guarantee good readonly root
-+		# resolution display in the merge list. required since
-+		# parent (below) can be None
-+		trees[root]["disp_parent"] = parent
-+
- 		atom_graph = digraph()
- 		if True:
- 			try:
-@@ -2081,7 +2089,7 @@
- 					portage.dep._dep_check_strict = False
- 				mycheck = portage.dep_check(depstring, None,
- 					pkgsettings, myuse=myuse,
--					myroot=root, trees=trees)
-+					myroot=root, trees=trees, dep_type=dep_type)
- 			finally:
- 				if parent is not None:
- 					trees[root].pop("parent")
-@@ -2116,6 +2124,7 @@
- 				selected_atoms[pkg] = [atom for atom in \
- 					atom_graph.child_nodes(node) if atom in chosen_atoms]
- 
-+		trees[root].pop("disp_parent")
- 		return selected_atoms
- 
- 	def _show_unsatisfied_dep(self, root, atom, myparent=None, arg=None,
-@@ -4633,6 +4642,37 @@
- 		for x in blockers:
- 			print(x)
- 
-+		# print readonly selected packages
-+		if len(ro_selected) > 0:
-+			out.write("\n%s\n\n" % (darkgreen("Packages resolved from readonly installations:")))
-+
-+		ro_mismatch_warning = False
-+		ro_dupcheck = []
-+		for x in ro_selected:
-+			tmp_type = x["type"].replace("END","")
-+			while len(tmp_type) < 4:
-+				tmp_type += " "
-+			if str(x["atom"]) not in ro_dupcheck:
-+				out.write("[%s %s] %s %s %s (%s by %s)" % (teal("readonly"), 
-+					green(tmp_type), green(str(x["matches"][0])), yellow("from"), 
-+					blue(x["ro_root"]), turquoise(str(x["atom"])), green(x["parent"].cpv)))
-+
-+				ro_dupcheck.append(str(x["atom"]))
-+
-+				if x["host_mismatch"]:
-+					ro_mismatch_warning = True
-+					out.write(" %s\n" % (red("**")))
-+				else:
-+					out.write("\n")
-+
-+		if ro_mismatch_warning:
-+			out.write("\n%s:" % (red("**")))
-+			out.write(yellow(" WARNING: packages marked with ** have been resolved as a\n"))
-+			out.write(yellow("    runtime dependency, but the CHOST variable for the parent\n"))
-+			out.write(yellow("    and dependency package don't match. This could cause link\n"))
-+			out.write(yellow("    errors. It is recommended to use RDEPEND READONLY_EPREFIX's\n"))
-+			out.write(yellow("    only with matching CHOST portage instances.\n"))
-+
- 		if verbosity == 3:
- 			print()
- 			print(counters)
-diff -ru prefix-portage-2.2.00.15801.orig/pym/portage/__init__.py prefix-portage-2.2.00.15801/pym/portage/__init__.py
---- prefix-portage-2.2.00.15801.orig/pym/portage/__init__.py	2010-03-11 10:39:16 +0100
-+++ prefix-portage-2.2.00.15801/pym/portage/__init__.py	2010-03-11 10:40:37 +0100
-@@ -85,7 +85,7 @@
- 		'portage.dep:best_match_to_list,dep_getcpv,dep_getkey,' + \
- 			'flatten,get_operator,isjustname,isspecific,isvalidatom,' + \
- 			'match_from_list,match_to_list',
--		'portage.dep.dep_check:dep_check,dep_eval,dep_wordreduce,dep_zapdeps',
-+		'portage.dep.dep_check:dep_check,dep_eval,dep_wordreduce,dep_zapdeps,dep_wordreduce_readonly',
- 		'portage.eclass_cache',
- 		'portage.env.loaders',
- 		'portage.exception',
-diff -ru prefix-portage-2.2.00.15801.orig/pym/portage/dbapi/vartree.py prefix-portage-2.2.00.15801/pym/portage/dbapi/vartree.py
---- prefix-portage-2.2.00.15801.orig/pym/portage/dbapi/vartree.py	2010-03-11 10:39:16 +0100
-+++ prefix-portage-2.2.00.15801/pym/portage/dbapi/vartree.py	2010-03-11 10:38:21 +0100
-@@ -1837,9 +1837,20 @@
- 		self._counter_path = os.path.join(root,
- 			CACHE_PATH, "counter")
- 
-+		plibreg_path = os.path.join(self.root, PRIVATE_PATH, "preserved_libs_registry")
-+
-+		if vartree:
-+			self._kill_eprefix = vartree._kill_eprefix
-+		else:
-+			self._kill_eprefix = False
-+
-+		if self._kill_eprefix:
-+			self._aux_cache_filename = os.path.join(self.root, self._aux_cache_filename.replace(EPREFIX, ""))
-+			self._counter_path = os.path.join(self.root, self._counter_path.replace(EPREFIX, ""))
-+			plibreg_path = os.path.join(self.root, plibreg_path.replace(EPREFIX, ""))
-+
- 		try:
--			self.plib_registry = PreservedLibsRegistry(self.root,
--				os.path.join(self.root, PRIVATE_PATH, "preserved_libs_registry"))
-+			self.plib_registry = PreservedLibsRegistry(self.root, plibreg_path)
- 		except PermissionDenied:
- 			# apparently this user isn't allowed to access PRIVATE_PATH
- 			self.plib_registry = None
-@@ -1861,6 +1872,9 @@
- 		# This is an optimized hotspot, so don't use unicode-wrapped
- 		# os module and don't use os.path.join().
- 		rValue = self.root + _os.sep + VDB_PATH + _os.sep + mykey
-+		if self._kill_eprefix:
-+			rValue = rValue.replace(EPREFIX, "")
-+
- 		if filename is not None:
- 			# If filename is always relative, we can do just
- 			# rValue += _os.sep + filename
-@@ -2012,6 +2026,9 @@
- 		returnme = []
- 		basepath = os.path.join(self.root, VDB_PATH) + os.path.sep
- 
-+		if self._kill_eprefix:
-+			basepath = os.path.join(self.root, basepath.replace(EPREFIX, ""))
-+
- 		if use_cache:
- 			from portage import listdir
- 		else:
-@@ -2102,7 +2119,12 @@
- 			return list(self._iter_match(mydep,
- 				self.cp_list(mydep.cp, use_cache=use_cache)))
- 		try:
--			curmtime = os.stat(os.path.join(self.root, VDB_PATH, mycat)).st_mtime
-+			_tmp_path = os.path.join(self.root, VDB_PATH, mycat)
-+			
-+			if self._kill_eprefix:
-+				_tmp_path = os.path.join(self.root, _tmp_path.replace(EPREFIX, ""))
-+
-+			curmtime = os.stat(_tmp_path).st_mtime
- 		except (IOError, OSError):
- 			curmtime=0
- 
-@@ -2689,7 +2711,7 @@
- class vartree(object):
- 	"this tree will scan a var/db/pkg database located at root (passed to init)"
- 	def __init__(self, root="/", virtual=None, clone=None, categories=None,
--		settings=None):
-+		settings=None, kill_eprefix=False):
- 		if clone:
- 			writemsg("vartree.__init__(): deprecated " + \
- 				"use of clone parameter\n", noiselevel=-1)
-@@ -2698,6 +2720,7 @@
- 			self.populated = 1
- 			from portage import config
- 			self.settings = config(clone=clone.settings)
-+			self._kill_eprefix = clone._kill_eprefix
- 		else:
- 			self.root = root[:]
- 			if settings is None:
-@@ -2705,6 +2728,7 @@
- 			self.settings = settings
- 			if categories is None:
- 				categories = settings.categories
-+			self._kill_eprefix=kill_eprefix
- 			self.dbapi = vardbapi(self.root, categories=categories,
- 				settings=settings, vartree=self)
- 			self.populated = 1
-@@ -2736,6 +2760,10 @@
- 			raise
- 		except Exception as e:
- 			mydir = os.path.join(self.root, VDB_PATH, mycpv)
-+
-+			if self._kill_eprefix:
-+				mydir = os.path.join(self.root, mydir.replace(EPREFIX, ""))
-+
- 			writemsg(_("\nParse Error reading PROVIDE and USE in '%s'\n") % mydir,
- 				noiselevel=-1)
- 			if mylines:
-diff -ru prefix-portage-2.2.00.15801.orig/pym/portage/dep/dep_check.py prefix-portage-2.2.00.15801/pym/portage/dep/dep_check.py
---- prefix-portage-2.2.00.15801.orig/pym/portage/dep/dep_check.py	2010-03-11 10:39:16 +0100
-+++ prefix-portage-2.2.00.15801/pym/portage/dep/dep_check.py	2010-03-11 10:40:52 +0100
-@@ -244,6 +244,95 @@
- 				return 0
- 		return 1
- 
-+ro_trees={}
-+ro_vartrees={}
-+ro_selected=[]
-+
-+def dep_match_readonly_roots(settings, atom, dep_type, parent=None):
-+	if len(ro_trees) < len(settings.readonly_roots):
-+		# MDUFT: create additional vartrees for every readonly root here.
-+		# the ro_vartrees instances are created below as they are needed to
-+		# avoid reading vartrees of portage instances which aren't required
-+		# while resolving this dependencies.
-+		for type in ("DEPEND","RDEPEND", "PDEPEND"):
-+			ro_trees[type] = []
-+			
-+			for ro_root, ro_dep_types in settings.readonly_roots.items():
-+				if type in ro_dep_types:
-+					ro_trees[type].append(ro_root)
-+
-+	if len(ro_trees) == 0:
-+		return []
-+	
-+	matches = []
-+
-+	for ro_root in ro_trees[dep_type]:
-+		if not ro_vartrees.has_key(ro_root):
-+			# target_root=ro_root ok? or should it be the real target_root?
-+			_tmp_settings = portage.config(config_root=ro_root, target_root=ro_root,
-+				config_incrementals=portage.const.INCREMENTALS)
-+			
-+			ro_vartrees[ro_root] = portage.vartree(root=ro_root, 
-+				categories=_tmp_settings.categories, 
-+				settings=_tmp_settings, kill_eprefix=True)
-+				
-+		ro_matches = ro_vartrees[ro_root].dbapi.match(atom)
-+
-+		if ro_matches:
-+			ro_host_mismatch = False
-+			if dep_type is "RDEPEND":
-+				# we need to assure binary compatability, so it needs to be
-+				# the same CHOST! But how? for now i cannot do anything...
-+				if parent and parent.metadata["CHOST"] != ro_vartrees[ro_root].settings.get("CHOST", ""):
-+					# provocate a big fat warning in the list of external packages.
-+					ro_host_mismatch = True
-+				pass
-+
-+			matches.append({ "ro_root": ro_root, "atom": atom, "matches": ro_matches, 
-+				"type": dep_type, "parent": parent, "host_mismatch": ro_host_mismatch })
-+
-+	return matches
-+
-+def dep_wordreduce_readonly(reduced, unreduced, settings, dep_type, parent):
-+	for mypos, token in enumerate(unreduced):
-+		# recurse if it's a list.
-+		if isinstance(reduced[mypos], list):
-+			reduced[mypos] = dep_wordreduce_readonly(reduced[mypos], 
-+				unreduced[mypos], settings, dep_type, parent)
-+		# do nothing if it's satisfied already.
-+		elif not reduced[mypos]:
-+			ro_matches = dep_match_readonly_roots(settings, unreduced[mypos], dep_type, parent)
-+
-+			if ro_matches:
-+				# TODO: select a match if there are more than one?
-+				# for now, the first match is taken...
-+				ro_selected.append(ro_matches[0])
-+				reduced[mypos] = True
-+
-+	return reduced
-+
-+# this may be better placed somewhere else, but i put it here for now, to
-+# keep all functions in the patch on one big heap.
-+def readonly_pathmatch_any(settings, path):
-+	path = path.lstrip('/')
-+	# first try locally, and match that if it exists.
-+	if os.path.exists(os.path.join(EPREFIX,path)):
-+		return os.path.join(EPREFIX,path)
-+
-+	# after that try all readonly roots where DEPEND is allowed. this makes
-+	# sure that executing binaries is possible from there.
-+	for ro_root, ro_deps in settings.readonly_roots.items():
-+		if "DEPEND" in ro_deps:
-+			print(" --- checking %s --- " % (os.path.join(ro_root,path)))
-+			if os.path.exists(os.path.join(ro_root,path)):
-+				return os.path.join(ro_root,path)
-+			break
-+	
-+	# as a fallback make the string the same as it was originally.
-+	# even though this path doesn't exist.
-+	return os.path.join(EPREFIX,path)
-+
-+
- def dep_zapdeps(unreduced, reduced, myroot, use_binaries=0, trees=None):
- 	"""
- 	Takes an unreduced and reduced deplist and removes satisfied dependencies.
-@@ -501,7 +590,7 @@
- 	assert(False) # This point should not be reachable
- 
- def dep_check(depstring, mydbapi, mysettings, use="yes", mode=None, myuse=None,
--	use_cache=1, use_binaries=0, myroot="/", trees=None):
-+	use_cache=1, use_binaries=0, myroot="/", trees=None , dep_type=None):
- 	"""Takes a depend string and parses the condition."""
- 	edebug = mysettings.get("PORTAGE_DEBUG", None) == "1"
- 	#check_config_instance(mysettings)
-@@ -579,6 +668,14 @@
- 	writemsg("mysplit:  %s\n" % (mysplit), 1)
- 	writemsg("mysplit2: %s\n" % (mysplit2), 1)
- 
-+	if dep_type is not None:
-+		mysplit2=dep_wordreduce_readonly(unreduced=mysplit[:], 
-+			reduced=mysplit2, settings=mysettings, 
-+			dep_type=dep_type, parent=trees[myroot].get("disp_parent"))
-+
-+		writemsg("\n", 1)
-+		writemsg("mysplit2 after readonly reduce: %s\n" % (mysplit2), 1)
-+
- 	try:
- 		selected_atoms = dep_zapdeps(mysplit, mysplit2, myroot,
- 			use_binaries=use_binaries, trees=trees)
-diff -ru prefix-portage-2.2.00.15801.orig/pym/portage/exception.py prefix-portage-2.2.00.15801/pym/portage/exception.py
---- prefix-portage-2.2.00.15801.orig/pym/portage/exception.py	2010-03-11 10:39:16 +0100
-+++ prefix-portage-2.2.00.15801/pym/portage/exception.py	2010-03-11 10:38:21 +0100
-@@ -128,3 +128,6 @@
- class UntrustedSignature(SignatureException):
- 	"""Signature was not certified to the desired security level"""
- 
-+class InvalidReadonlyERoot(PortageException):
-+	"""Readonly EROOT definition string in make.conf invalid."""
-+
-diff -ru prefix-portage-2.2.00.15801.orig/pym/portage/package/ebuild/config.py prefix-portage-2.2.00.15801/pym/portage/package/ebuild/config.py
---- prefix-portage-2.2.00.15801.orig/pym/portage/package/ebuild/config.py	2010-03-11 10:39:16 +0100
-+++ prefix-portage-2.2.00.15801/pym/portage/package/ebuild/config.py	2010-03-11 10:38:21 +0100
-@@ -427,6 +427,7 @@
- 			self.prevmaskdict = copy.deepcopy(clone.prevmaskdict)
- 			self.pprovideddict = copy.deepcopy(clone.pprovideddict)
- 			self.features = copy.deepcopy(clone.features)
-+			self.readonly_roots = copy.deepcopy(clone.readonly_roots)
- 
- 			self._accept_license = copy.deepcopy(clone._accept_license)
- 			self._plicensedict = copy.deepcopy(clone._plicensedict)
-@@ -1017,6 +1018,50 @@
- 				_validate_cache_for_unsupported_eapis = False
- 				_glep_55_enabled = True
- 
-+			# expand READONLY_EPREFIX to a list of all readonly portage instances
-+			# all the way down to the last one. beware that ATM a deeper instance
-+			# in the chain can provide more than the toplevel! this means that
-+			# if you only inherit DEPENDS from one instance, that instance may
-+			# inherit RDEPENDs from another one, making the top-level instance
-+			# inherit RDEPENDs from there too - even if the intermediate prefix
-+			# does not do this.
-+			self.readonly_roots = {}
-+			my_ro_current_instance = config_root
-+			my_ro_widest_depset = set(['DEPEND', 'RDEPEND', 'PDEPEND'])
-+
-+			while True:
-+				my_ro_current_make_conf_file = os.path.join(my_ro_current_instance,MAKE_CONF_FILE.lstrip(os.path.sep))
-+
-+				if os.path.exists(my_ro_current_make_conf_file):
-+					my_ro_cfg = getconfig(my_ro_current_make_conf_file, tolerant=1)
-+					
-+					if my_ro_cfg.has_key("READONLY_EPREFIX"):
-+						if not my_ro_cfg["READONLY_EPREFIX"].find(":"):
-+							raise portage.exception.InvalidReadonlyERoot("ERROR: malformed READONLY_EPREFIX in %s" % (my_ro_current_make_conf_file))
-+
-+						(my_ro_cfg_root,my_ro_cfg_root_deps) = my_ro_cfg["READONLY_EPREFIX"].rsplit(":",1)
-+
-+						if not os.path.exists(my_ro_cfg_root):
-+							raise portage.exception.InvalidReadonlyERoot("ERROR: malformed READONLY_EPREFIX in %s: path does not exist!" % (my_ro_current_instance))
-+
-+						if self.readonly_roots.has_key(my_ro_cfg_root):
-+							raise portage.exception.InvalidReadonlyERoot("ERROR: circular READONLY_EPREFIX's in %s. %s already checked for %s" % (my_ro_current_make_conf_file, my_ro_cfg_root, self.readonly_roots[my_ro_cfg_root]))
-+
-+						if my_ro_cfg_root == config_root:
-+							raise portage.exception.InvalidReadonlyERoot("ERROR: cannot add this instance as READONLY_EPREFIX in %s." % (my_ro_current_make_conf_file))
-+
-+						# intersect the widest depset with the current one to strip down
-+						# the allowed dependency resolution to not be wider than the
-+						# next higher one. this way we can prevent for a given prefix
-+						# to resolve RDEPENDs from a prefix with a different CHOST that
-+						# is a few levels deeper in the chain.
-+						my_ro_widest_depset = set(my_ro_cfg_root_deps.split(",")) & my_ro_widest_depset
-+						self.readonly_roots[my_ro_cfg_root] = my_ro_widest_depset
-+						my_ro_current_instance = my_ro_cfg_root
-+						continue
-+
-+				break
-+
- 		for k in self._case_insensitive_vars:
- 			if k in self:
- 				self[k] = self[k].lower()
-@@ -2574,6 +2619,10 @@
- 		if eapi not in ("0", "1", "2", "3", "3_pre2"):
- 			mydict.pop("AA", None)
- 
-+		# populate with PORTAGE_READONLY_EPREFIXES
-+		if self.readonly_roots and len(self.readonly_roots) > 0:
-+			mydict["PORTAGE_READONLY_EPREFIXES"] = ':'.join(self.readonly_roots)
-+
- 		# Prefix variables are supported starting with EAPI 3.
- 		# but during transition, we just support them anywhere
- 		#if phase == 'depend' or eapi in (None, "0", "1", "2"):

diff --git a/sys-apps/portage/files/portage-2.2.01.18213-ebuildshell.patch b/sys-apps/portage/files/portage-2.2.01.18213-ebuildshell.patch
deleted file mode 100644
index 59e98af..0000000
--- a/sys-apps/portage/files/portage-2.2.01.18213-ebuildshell.patch
+++ /dev/null
@@ -1,105 +0,0 @@
-http://bugs.gentoo.org/show_bug.cgi?id=155161
-
---- portage/bin/ebuild.sh.orig	2010-12-15 11:12:12.466527126 +0100
-+++ portage/bin/ebuild.sh	2010-12-15 11:11:04.757062756 +0100
-@@ -59,7 +59,7 @@
- qa_call() {
- 	local shopts=$(shopt) OLDIFS="$IFS"
- 	local retval
--	"$@"
-+	call-ebuildshell "$@"
- 	retval=$?
- 	set +e
- 	[[ $shopts != $(shopt) ]] &&
-@@ -1765,7 +1765,7 @@
- filter_readonly_variables() {
- 	local x filtered_vars
- 	local readonly_bash_vars="BASHOPTS BASHPID DIRSTACK EUID
--		FUNCNAME GROUPS PIPESTATUS PPID SHELLOPTS UID"
-+		FUNCNAME GROUPS PIPESTATUS PPID SHELLOPTS UID BASH_VERSINFO"
- 	local bash_misc_vars="BASH BASH_.* COMP_WORDBREAKS HISTCMD
- 		HISTFILE HOSTNAME HOSTTYPE IFS LINENO MACHTYPE OLDPWD
- 		OPTERR OPTIND OSTYPE POSIXLY_CORRECT PS4 PWD RANDOM
-@@ -1774,8 +1774,10 @@
- 		SANDBOX_DEBUG_LOG SANDBOX_DISABLED SANDBOX_LIB
- 		SANDBOX_LOG SANDBOX_ON"
- 	local misc_garbage_vars="_portage_filter_opts"
--	filtered_vars="$readonly_bash_vars $bash_misc_vars
--		$PORTAGE_READONLY_VARS $misc_garbage_vars"
-+	filtered_vars="$readonly_bash_vars"
-+	if ! hasq --filter-for-subshell $* ; then
-+		filtered_vars="$filtered_vars $bash_misc_vars $PORTAGE_READONLY_VARS $misc_garbage_vars"
-+	fi
- 
- 	# Don't filter/interfere with prefix variables unless they are
- 	# supported by the current EAPI.
-@@ -1805,7 +1807,11 @@
- 			LC_CTYPE LC_MESSAGES LC_MONETARY
- 			LC_NUMERIC LC_PAPER LC_TIME"
- 	fi
--	if ! hasq --allow-extra-vars $* ; then
-+	if hasq --filter-metadata $* ; then
-+		filtered_vars="$filtered_vars $PORTAGE_READONLY_METADATA"
-+	fi
-+	if ! hasq --allow-extra-vars $* &&
-+	   ! hasq --filter-for-subshell $* ; then
- 		filtered_vars="
- 			${filtered_vars}
- 			${PORTAGE_SAVED_READONLY_VARS}
-@@ -1936,6 +1942,56 @@
- 	unset BIN_PATH BIN BODY FUNC_SRC
- fi
- 
-+call-ebuildshell() {
-+	if ! hasq ebuildshell ${FEATURES}; then
-+		"$@"
-+		return $?
-+	fi
-+	(
-+		umask 002
-+		(
-+			(
-+				set
-+				declare -p
-+				declare -fp
-+				shopt -p
-+				if [[ ${BASH_VERSINFO[0]} == 3 ]]; then
-+					export
-+				fi
-+			) | filter_readonly_variables --filter-for-subshell
-+			echo 'declare -r $PORTAGE_READONLY_METADATA $PORTAGE_READONLY_VARS'
-+			echo "export PS1='EBUILD ${PN} $1 \$ '" 
-+			echo 'unset ENV'
-+			echo "type $1"
-+			echo "echo WANTED: $@"
-+			echo "trap '"
-+			echo "umask 002"
-+			echo "("
-+			echo "	set"
-+			echo "	declare -p"
-+			echo "	declare -fp"
-+			echo "	shopt -p"
-+			if [[ ${BASH_VERSINFO[0]} == 3 ]]; then
-+				echo "	export"
-+			fi
-+			echo -n ")"
-+			echo -n " | filter_readonly_variables --filter-metadata"
-+			echo " > ${T}/ebuildshell-environment-outcome' 0"
-+		) > ${T}/ebuildshell-environment
-+		chown portage:portage "${T}/ebuildshell-environment" &>/dev/null
-+		chmod g+w "${T}/ebuildshell-environment" &>/dev/null
-+	)
-+
-+	rm -f "${T}/ebuildshell-environment-outcome" >&/dev/null
-+
-+	unset BASH_ENV
-+	env -i ${BASH} --rcfile "${T}/ebuildshell-environment"  -i || die
-+
-+	chown portage:portage "${T}/ebuildshell-environment-outcome" &>/dev/null
-+	chmod g+w "${T}/ebuildshell-environment-outcome" &>/dev/null
-+	source "${T}/ebuildshell-environment-outcome" &>/dev/null
-+}
-+
- # Subshell/helper die support (must export for the die helper).
- export EBUILD_MASTER_PID=$BASHPID
- trap 'exit 1' SIGTERM

diff --git a/sys-apps/portage/files/portage-2.2.01.18826-aix-preservelibs.patch b/sys-apps/portage/files/portage-2.2.01.18826-aix-preservelibs.patch
deleted file mode 100644
index 002f11c..0000000
--- a/sys-apps/portage/files/portage-2.2.01.18826-aix-preservelibs.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Need to list executables in NEEDED.XCOFF.1 too for preserve-libs.
-
-Do not prepend filenames with '.' twice when calculating the preserve-lib
-helper-filenames. Can't say which commit triggers this problem, as this
-did work before.
---- bin/misc-functions.sh.orig	2011-06-16 17:15:47 +0200
-+++ bin/misc-functions.sh	2011-06-16 17:17:13 +0200
-@@ -1178,7 +1178,9 @@
- 			fi
- 			prev_FILE=${FILE}
- 
--			[[ " ${FLAGS} " == *" SHROBJ "* ]] || continue
-+			# shared objects have both EXEC and SHROBJ flags,
-+			# while executables have EXEC flag only.
-+			[[ " ${FLAGS} " == *" EXEC "* ]] || continue
- 
- 			# Make sure we disallow insecure RUNPATH's
- 			# Don't want paths that point to the tree where the package was built
---- pym/portage/util/_dyn_libs/LinkageMapXCoff.py.orig	2011-06-17 11:26:45 +0200
-+++ pym/portage/util/_dyn_libs/LinkageMapXCoff.py	2011-06-17 11:32:13 +0200
-@@ -255,7 +255,11 @@
- 			def as_contentmember(obj):
- 				if obj.endswith("]"):
- 					if obj.find("/") >= 0:
-+						if obj[obj.rfind("/")+1] == ".":
-+							return obj
- 						return obj[:obj.rfind("/")] + "/." + obj[obj.rfind("/")+1:]
-+					if obj[0] == ".":
-+						return obj
- 					return "." + obj
- 				return obj
- 

diff --git a/sys-apps/portage/files/portage-2.2.01.18980-ebuildshell.patch b/sys-apps/portage/files/portage-2.2.01.18980-ebuildshell.patch
deleted file mode 100644
index b8911f2..0000000
--- a/sys-apps/portage/files/portage-2.2.01.18980-ebuildshell.patch
+++ /dev/null
@@ -1,103 +0,0 @@
---- prefix-portage-2.2.01.18980/bin/ebuild.sh
-+++ prefix-portage-2.2.01.18980/bin/ebuild.sh
-@@ -59,7 +59,7 @@
- qa_call() {
- 	local shopts=$(shopt) OLDIFS="$IFS"
- 	local retval
--	"$@"
-+	call-ebuildshell "$@"
- 	retval=$?
- 	set +e
- 	[[ $shopts != $(shopt) ]] &&
-@@ -1824,7 +1824,7 @@
- filter_readonly_variables() {
- 	local x filtered_vars
- 	local readonly_bash_vars="BASHOPTS BASHPID DIRSTACK EUID
--		FUNCNAME GROUPS PIPESTATUS PPID SHELLOPTS UID"
-+		FUNCNAME GROUPS PIPESTATUS PPID SHELLOPTS UID BASH_VERSINFO"
- 	local bash_misc_vars="BASH BASH_.* COMP_WORDBREAKS HISTCMD
- 		HISTFILE HOSTNAME HOSTTYPE IFS LINENO MACHTYPE OLDPWD
- 		OPTERR OPTIND OSTYPE POSIXLY_CORRECT PS4 PWD RANDOM
-@@ -1833,8 +1833,10 @@
- 		SANDBOX_DEBUG_LOG SANDBOX_DISABLED SANDBOX_LIB
- 		SANDBOX_LOG SANDBOX_ON"
- 	local misc_garbage_vars="_portage_filter_opts"
--	filtered_vars="$readonly_bash_vars $bash_misc_vars
--		$PORTAGE_READONLY_VARS $misc_garbage_vars"
-+	filtered_vars="$readonly_bash_vars"
-+	if ! has --filter-for-subshell $* ; then
-+		filtered_vars="$filtered_vars $bash_misc_vars $PORTAGE_READONLY_VARS $misc_garbage_vars"
-+	fi
- 
- 	# Don't filter/interfere with prefix variables unless they are
- 	# supported by the current EAPI.
-@@ -1864,7 +1866,11 @@
- 			LC_CTYPE LC_MESSAGES LC_MONETARY
- 			LC_NUMERIC LC_PAPER LC_TIME"
- 	fi
--	if ! has --allow-extra-vars $* ; then
-+	if has --filter-metadata $* ; then
-+		filtered_vars="$filtered_vars $PORTAGE_READONLY_METADATA"
-+	fi
-+	if ! has --allow-extra-vars $* &&
-+	   ! has --filter-for-subshell $* ; then
- 		filtered_vars="
- 			${filtered_vars}
- 			${PORTAGE_SAVED_READONLY_VARS}
-@@ -1995,6 +2001,56 @@
- 	unset BIN_PATH BIN BODY FUNC_SRC
- fi
- 
-+call-ebuildshell() {
-+	if ! has ebuildshell ${FEATURES}; then
-+		"$@"
-+		return $?
-+	fi
-+	(
-+		umask 002
-+		(
-+			(
-+				set
-+				declare -p
-+				declare -fp
-+				shopt -p
-+				if [[ ${BASH_VERSINFO[0]} == 3 ]]; then
-+					export
-+				fi
-+			) | filter_readonly_variables --filter-for-subshell
-+			echo 'declare -r $PORTAGE_READONLY_METADATA $PORTAGE_READONLY_VARS'
-+			echo "export PS1='EBUILD ${PN} $1 \$ '" 
-+			echo 'unset ENV'
-+			echo "type $1"
-+			echo "echo WANTED: $@"
-+			echo "trap '"
-+			echo "umask 002"
-+			echo "("
-+			echo "	set"
-+			echo "	declare -p"
-+			echo "	declare -fp"
-+			echo "	shopt -p"
-+			if [[ ${BASH_VERSINFO[0]} == 3 ]]; then
-+				echo "	export"
-+			fi
-+			echo -n ")"
-+			echo -n " | filter_readonly_variables --filter-metadata"
-+			echo " > ${T}/ebuildshell-environment-outcome' 0"
-+		) > ${T}/ebuildshell-environment
-+		chown ${PORTAGE_USER:-portage}:${PORTAGE_GROUP:-portage} "${T}/ebuildshell-environment" &>/dev/null
-+		chmod g+w "${T}/ebuildshell-environment" &>/dev/null
-+	)
-+
-+	rm -f "${T}/ebuildshell-environment-outcome" >&/dev/null
-+
-+	unset BASH_ENV
-+	env -i ${BASH} --rcfile "${T}/ebuildshell-environment"  -i || die
-+
-+	chown ${PORTAGE_USER:-portage}:${PORTAGE_GROUP:-portage} "${T}/ebuildshell-environment-outcome" &>/dev/null
-+	chmod g+w "${T}/ebuildshell-environment-outcome" &>/dev/null
-+	source "${T}/ebuildshell-environment-outcome" &>/dev/null
-+}
-+
- # Subshell/helper die support (must export for the die helper).
- export EBUILD_MASTER_PID=$BASHPID
- trap 'exit 1' SIGTERM

diff --git a/sys-apps/portage/files/portage-2.2.01.19247-aix-preserve-libs.patch b/sys-apps/portage/files/portage-2.2.01.19247-aix-preserve-libs.patch
deleted file mode 100644
index ecc42fd..0000000
--- a/sys-apps/portage/files/portage-2.2.01.19247-aix-preserve-libs.patch
+++ /dev/null
@@ -1,163 +0,0 @@
-Drop code identical to and inheritable from LinkageMapELF.
-
-Update code that is duplicated from LinkageMapELF.
-
-Actually query information for /all/ preserved shared objects,
-not the last one only.
-Maybe the KeyError-problem is gone for AIX due to this fix,
-even if that workaround was inherited from LinkageMapELF.
-
-Deal with existing helper files in a binpkg created with 'quickpkg'.
-Eventually improve performance when creating helper files.
-
---- pym/portage/util/_dyn_libs/LinkageMapXCoff.py.orig	2011-09-14 16:02:34 +0200
-+++ pym/portage/util/_dyn_libs/LinkageMapXCoff.py	2011-09-14 16:34:43 +0200
-@@ -71,21 +71,10 @@
- 				# filesystem.
- 				return os.path.realpath(abs_path)
- 			# Return a tuple of the device and inode, as well as the basename,
--			# because of hardlinks the device and inode might be identical.
-+			# because of hardlinks (notably for the .libNAME[shr.o] helpers)
-+			# the device and inode might be identical.
- 			return (object_stat.st_dev, object_stat.st_ino, os.path.basename(abs_path.rstrip(os.sep)))
- 
--		def file_exists(self):
--			"""
--			Determine if the file for this key exists on the filesystem.
--
--			@rtype: Boolean
--			@return:
--				1. True if the file exists.
--				2. False if the file does not exist or is a broken symlink.
--
--			"""
--			return isinstance(self._key, tuple)
--
- 	class _LibGraphNode(_ObjectKey):
- 		__slots__ = ("alt_paths",)
- 
-@@ -175,10 +164,9 @@
- 					continue
- 				plibs.update((x, cpv) for x in items)
- 		if plibs:
--			for x in plibs:
--				args = [BASH_BINARY, "-c", ':'
--					+ '; member="' + x + '"'
--					+ '; archive=${member}'
-+			args = [BASH_BINARY , "-c" , ':'
-+				 + '; for member in "$@"'
-+				 + '; do archive=${member}'
- 					+ '; if [[ ${member##*/} == .*"["*"]" ]]'
- 					+ '; then member=${member%/.*}/${member##*/.}'
- 						 + '; archive=${member%[*}'
-@@ -195,9 +183,21 @@
- 					+ '; done'
- 					+ '; [[ -n ${MEMBER} ]] && MEMBER="[${MEMBER}]"'
- 					+ '; [[ " ${FLAGS} " == *" SHROBJ "* ]] && soname=${FILE##*/}${MEMBER} || soname='
--					+ '; echo "${FORMAT##* }${FORMAT%%-*};${FILE#${ROOT%/}}${MEMBER};${soname};${RUNPATH};${needed}"'
--					+ '; [[ -z ${member} && -n ${MEMBER} ]] && echo "${FORMAT##* }${FORMAT%%-*};${FILE#${ROOT%/}};${FILE##*/};;"'
--				]
-+					+ '; case ${member:+y}:${MEMBER:+y}'
-+					#    member requested,    member found: show shared archive member
-+					 + ' in y:y) echo "${FORMAT##* }${FORMAT%%-*};${FILE#${ROOT%/}}${MEMBER};${soname};${RUNPATH};${needed}"'
-+					# no member requested,    member found: show archive
-+					 + ' ;;  :y) echo "${FORMAT##* }${FORMAT%%-*};${FILE#${ROOT%/}};${FILE##*/};;"'
-+					# no member requested, no member found: show standalone shared object
-+					 + ' ;;  : ) echo "${FORMAT##* }${FORMAT%%-*};${FILE#${ROOT%/}};${FILE##*/};${RUNPATH};${needed}"'
-+					#    member requested, no member found: ignore archive replaced by standalone shared object
-+					 + ' ;; y: )'
-+					 + ' ;; esac'
-+				 + '; done'
-+			, 'aixdll-query'
-+			]
-+			args.extend(os.path.join(root, x.lstrip("." + os.sep)) \
-+				for x in plibs)
- 			try:
- 				proc = subprocess.Popen(args, stdout=subprocess.PIPE)
- 			except EnvironmentError as e:
-@@ -228,17 +228,8 @@
- 					owner = plibs.pop(fields[1], None)
- 					lines.append((owner, "aixdll-query", ";".join(fields)))
- 				proc.wait()
-+				proc.stdout.close()
- 
--		if plibs:
--			# Preserved libraries that did not appear in the bash
--			# aixdll-query code output.  This is known to happen with
--			# statically linked libraries.  Generate dummy lines for
--			# these, so we can assume that every preserved library has
--			# an entry in self._obj_properties.  This is important in
--			# order to prevent findConsumers from raising an unwanted
--			# KeyError.
--			for x, cpv in plibs.items():
--				lines.append((cpv, "plibs", ";".join(['', x, '', '', ''])))
- 		# Share identical frozenset instances when available,
- 		# in order to conserve memory.
- 		frozensets = {}
-@@ -318,23 +309,4 @@
- 				soname_node.providers = tuple(set(soname_node.providers))
- 				soname_node.consumers = tuple(set(soname_node.consumers))
- 
--	def getSoname(self, obj):
--		"""
--		Return the soname associated with an object.
--
--		@param obj: absolute path to an object
--		@type obj: string (example: '/usr/bin/bar')
--		@rtype: string
--		@return: soname as a string
--
--		"""
--		if not self._libs:
--			self.rebuild()
--		if isinstance(obj, self._ObjectKey):
--			obj_key = obj
--			if obj_key not in self._obj_properties:
--				raise KeyError("%s not in object list" % obj_key)
--			return self._obj_properties[obj_key].soname
--		if obj not in self._obj_key_cache:
--			raise KeyError("%s not in object list" % obj)
--		return self._obj_properties[self._obj_key_cache[obj]].soname
-+	pass
---- bin/misc-functions.sh.orig	2011-09-14 17:53:45 +0200
-+++ bin/misc-functions.sh	2011-09-14 18:21:01 +0200
-@@ -1297,7 +1297,7 @@
- 	else
- 		die "cannot find where to use 'ar' and 'strip' from"
- 	fi
--	local archives_members= archives=() chmod400files=()
-+	local archives_members= archives=() helperfiles=()
- 	local archive_member soname runpath needed archive contentmember
- 	while read archive_member; do
- 		archive_member=${archive_member#*;${EPREFIX}/} # drop "^type;EPREFIX/"
-@@ -1321,13 +1321,24 @@
- 		# portage does os.lstat() on merged files every now
- 		# and then, so keep stamp-files for archive members
- 		# around to get the preserve-libs feature working.
--		{	echo "Please leave this file alone, it is an important helper"
--			echo "for portage to implement the 'preserve-libs' feature on AIX." 
--		} > "${ED}${contentmember}" || die "cannot create ${contentmember}"
--		chmod400files[${#chmod400files[@]}]=${ED}${contentmember}
-+		helperfiles[${#helperfiles[@]}]=${ED}${contentmember}
- 	done < "${PORTAGE_BUILDDIR}"/build-info/NEEDED.XCOFF.1
--	[[ ${#chmod400files[@]} == 0 ]] ||
--	chmod 0400 "${chmod400files[@]}" || die "cannot chmod ${chmod400files[@]}"
-+	if [[ ${#helperfiles[@]} > 0 ]]; then
-+		rm -f "${helperfiles[@]}" || die "cannot prune ${helperfiles[@]}"
-+		local f prev=
-+		for f in "${helperfiles[@]}"
-+		do
-+			if [[ -z ${prev} ]]; then
-+				{	echo "Please leave this file alone, it is an important helper"
-+					echo "for portage to implement the 'preserve-libs' feature on AIX." 
-+				} > "${f}" || die "cannot create ${f}"
-+				chmod 0400 "${f}" || die "cannot chmod ${f}"
-+				prev=${f}
-+			else
-+				ln "${prev}" "${f}" || die "cannot create hardlink ${f}"
-+			fi
-+		done
-+	fi
- 
- 	local preservemembers libmetadir prunedirs=()
- 	local FILE MEMBER FLAGS

diff --git a/sys-apps/portage/files/portage-2.2.01.19247-ebuildshell.patch b/sys-apps/portage/files/portage-2.2.01.19247-ebuildshell.patch
deleted file mode 100644
index 8392b12..0000000
--- a/sys-apps/portage/files/portage-2.2.01.19247-ebuildshell.patch
+++ /dev/null
@@ -1,105 +0,0 @@
---- bin/ebuild.sh.orig	2011-09-16 15:43:36 +0200
-+++ bin/ebuild.sh	2011-09-16 15:51:06 +0200
-@@ -95,7 +95,7 @@
- qa_call() {
- 	local shopts=$(shopt) OLDIFS="$IFS"
- 	local retval
--	"$@"
-+	call-ebuildshell "$@"
- 	retval=$?
- 	set +e
- 	[[ $shopts != $(shopt) ]] &&
-@@ -466,6 +466,56 @@
- 	unset BIN_PATH BIN BODY FUNC_SRC
- fi
- 
-+call-ebuildshell() {
-+	if ! has ebuildshell ${FEATURES}; then
-+		"$@"
-+		return $?
-+	fi
-+	(
-+		umask 002
-+		(
-+			(
-+				set
-+				declare -p
-+				declare -fp
-+				shopt -p
-+				if [[ ${BASH_VERSINFO[0]} == 3 ]]; then
-+					export
-+				fi
-+			) | filter_readonly_variables --filter-for-subshell
-+			echo 'declare -r $PORTAGE_READONLY_METADATA $PORTAGE_READONLY_VARS'
-+			echo "export PS1='EBUILD ${PN} $1 \$ '" 
-+			echo 'unset ENV'
-+			echo "type $1"
-+			echo "echo WANTED: $@"
-+			echo "trap '"
-+			echo "umask 002"
-+			echo "("
-+			echo "	set"
-+			echo "	declare -p"
-+			echo "	declare -fp"
-+			echo "	shopt -p"
-+			if [[ ${BASH_VERSINFO[0]} == 3 ]]; then
-+				echo "	export"
-+			fi
-+			echo -n ")"
-+			echo -n " | filter_readonly_variables --filter-metadata"
-+			echo " > ${T}/ebuildshell-environment-outcome' 0"
-+		) > ${T}/ebuildshell-environment
-+		chown ${PORTAGE_USER:-portage}:${PORTAGE_GROUP:-portage} "${T}/ebuildshell-environment" &>/dev/null
-+		chmod g+w "${T}/ebuildshell-environment" &>/dev/null
-+	)
-+
-+	rm -f "${T}/ebuildshell-environment-outcome" >&/dev/null
-+
-+	unset BASH_ENV
-+	env -i ${BASH} --rcfile "${T}/ebuildshell-environment"  -i || die
-+
-+	chown ${PORTAGE_USER:-portage}:${PORTAGE_GROUP:-portage} "${T}/ebuildshell-environment-outcome" &>/dev/null
-+	chmod g+w "${T}/ebuildshell-environment-outcome" &>/dev/null
-+	source "${T}/ebuildshell-environment-outcome" &>/dev/null
-+}
-+
- # Subshell/helper die support (must export for the die helper).
- export EBUILD_MASTER_PID=$BASHPID
- trap 'exit 1' SIGTERM
---- bin/phase-functions.sh.orig	2011-09-16 15:45:37 +0200
-+++ bin/phase-functions.sh	2011-09-16 15:50:10 +0200
-@@ -81,7 +81,7 @@
- filter_readonly_variables() {
- 	local x filtered_vars
- 	local readonly_bash_vars="BASHOPTS BASHPID DIRSTACK EUID
--		FUNCNAME GROUPS PIPESTATUS PPID SHELLOPTS UID"
-+		FUNCNAME GROUPS PIPESTATUS PPID SHELLOPTS UID BASH_VERSINFO"
- 	local bash_misc_vars="BASH BASH_.* COMP_WORDBREAKS HISTCMD
- 		HISTFILE HOSTNAME HOSTTYPE IFS LINENO MACHTYPE OLDPWD
- 		OPTERR OPTIND OSTYPE POSIXLY_CORRECT PS4 PWD RANDOM
-@@ -90,8 +90,10 @@
- 		SANDBOX_DEBUG_LOG SANDBOX_DISABLED SANDBOX_LIB
- 		SANDBOX_LOG SANDBOX_ON"
- 	local misc_garbage_vars="_portage_filter_opts"
--	filtered_vars="$readonly_bash_vars $bash_misc_vars
--		$PORTAGE_READONLY_VARS $misc_garbage_vars"
-+	filtered_vars="$readonly_bash_vars"
-+	if ! has --filter-for-subshell $* ; then
-+		filtered_vars="$filtered_vars $bash_misc_vars $PORTAGE_READONLY_VARS $misc_garbage_vars"
-+	fi
- 
- 	# Don't filter/interfere with prefix variables unless they are
- 	# supported by the current EAPI.
-@@ -121,7 +123,11 @@
- 			LC_CTYPE LC_MESSAGES LC_MONETARY
- 			LC_NUMERIC LC_PAPER LC_TIME"
- 	fi
--	if ! has --allow-extra-vars $* ; then
-+	if has --filter-metadata $* ; then
-+		filtered_vars="$filtered_vars $PORTAGE_READONLY_METADATA"
-+	fi
-+	if ! has --allow-extra-vars $* &&
-+	   ! has --filter-for-subshell $* ; then
- 		filtered_vars="
- 			${filtered_vars}
- 			${PORTAGE_SAVED_READONLY_VARS}

diff --git a/sys-apps/portage/files/portage-2.2.01.19981-ebuildshell.patch b/sys-apps/portage/files/portage-2.2.01.19981-ebuildshell.patch
deleted file mode 100644
index 63c9d54..0000000
--- a/sys-apps/portage/files/portage-2.2.01.19981-ebuildshell.patch
+++ /dev/null
@@ -1,105 +0,0 @@
---- bin/ebuild.sh.orig	2011-09-16 15:43:36 +0200
-+++ bin/ebuild.sh	2011-09-16 15:51:06 +0200
-@@ -95,7 +95,7 @@
- qa_call() {
- 	local shopts=$(shopt) OLDIFS="$IFS"
- 	local retval
--	"$@"
-+	call-ebuildshell "$@"
- 	retval=$?
- 	set +e
- 	[[ $shopts != $(shopt) ]] &&
-@@ -466,6 +466,56 @@
- 	unset BIN_PATH BIN BODY FUNC_SRC
- fi
- 
-+call-ebuildshell() {
-+	if ! has ebuildshell ${FEATURES}; then
-+		"$@"
-+		return $?
-+	fi
-+	(
-+		umask 002
-+		(
-+			(
-+				set
-+				declare -p
-+				declare -fp
-+				shopt -p
-+				if [[ ${BASH_VERSINFO[0]} == 3 ]]; then
-+					export
-+				fi
-+			) | filter_readonly_variables --filter-for-subshell
-+			echo 'declare -r $PORTAGE_READONLY_METADATA $PORTAGE_READONLY_VARS'
-+			echo "export PS1='EBUILD ${PN} $1 \$ '" 
-+			echo 'unset ENV'
-+			echo "type $1"
-+			echo "echo WANTED: $@"
-+			echo "trap '"
-+			echo "umask 002"
-+			echo "("
-+			echo "	set"
-+			echo "	declare -p"
-+			echo "	declare -fp"
-+			echo "	shopt -p"
-+			if [[ ${BASH_VERSINFO[0]} == 3 ]]; then
-+				echo "	export"
-+			fi
-+			echo -n ")"
-+			echo -n " | filter_readonly_variables --filter-metadata"
-+			echo " > ${T}/ebuildshell-environment-outcome' 0"
-+		) > ${T}/ebuildshell-environment
-+		chown ${PORTAGE_USER:-portage}:${PORTAGE_GROUP:-portage} "${T}/ebuildshell-environment" &>/dev/null
-+		chmod g+w "${T}/ebuildshell-environment" &>/dev/null
-+	)
-+
-+	rm -f "${T}/ebuildshell-environment-outcome" >&/dev/null
-+
-+	unset BASH_ENV
-+	env -i ${BASH} --rcfile "${T}/ebuildshell-environment"  -i || die
-+
-+	chown ${PORTAGE_USER:-portage}:${PORTAGE_GROUP:-portage} "${T}/ebuildshell-environment-outcome" &>/dev/null
-+	chmod g+w "${T}/ebuildshell-environment-outcome" &>/dev/null
-+	source "${T}/ebuildshell-environment-outcome" &>/dev/null
-+}
-+
- # Subshell/helper die support (must export for the die helper).
- export EBUILD_MASTER_PID=$BASHPID
- trap 'exit 1' SIGTERM
---- bin/phase-functions.sh.orig	2011-09-16 15:45:37 +0200
-+++ bin/phase-functions.sh	2011-09-16 15:50:10 +0200
-@@ -81,7 +81,7 @@
- filter_readonly_variables() {
- 	local x filtered_vars
- 	local readonly_bash_vars="BASHOPTS BASHPID DIRSTACK EUID
--		FUNCNAME GROUPS PIPESTATUS PPID SHELLOPTS UID"
-+		FUNCNAME GROUPS PIPESTATUS PPID SHELLOPTS UID BASH_VERSINFO"
- 	local bash_misc_vars="BASH BASH_.* COLUMNS COMP_WORDBREAKS HISTCMD
- 		HISTFILE HOSTNAME HOSTTYPE IFS LINENO MACHTYPE OLDPWD
- 		OPTERR OPTIND OSTYPE POSIXLY_CORRECT PS4 PWD RANDOM
-@@ -90,8 +90,10 @@
- 		SANDBOX_DEBUG_LOG SANDBOX_DISABLED SANDBOX_LIB
- 		SANDBOX_LOG SANDBOX_ON"
- 	local misc_garbage_vars="_portage_filter_opts"
--	filtered_vars="$readonly_bash_vars $bash_misc_vars
--		$PORTAGE_READONLY_VARS $misc_garbage_vars"
-+	filtered_vars="$readonly_bash_vars"
-+	if ! has --filter-for-subshell $* ; then
-+		filtered_vars="$filtered_vars $bash_misc_vars $PORTAGE_READONLY_VARS $misc_garbage_vars"
-+	fi
- 
- 	# Don't filter/interfere with prefix variables unless they are
- 	# supported by the current EAPI.
-@@ -121,7 +123,11 @@
- 			LC_CTYPE LC_MESSAGES LC_MONETARY
- 			LC_NUMERIC LC_PAPER LC_TIME"
- 	fi
--	if ! has --allow-extra-vars $* ; then
-+	if has --filter-metadata $* ; then
-+		filtered_vars="$filtered_vars $PORTAGE_READONLY_METADATA"
-+	fi
-+	if ! has --allow-extra-vars $* &&
-+	   ! has --filter-for-subshell $* ; then
- 		filtered_vars="
- 			${filtered_vars}
- 			${PORTAGE_SAVED_READONLY_VARS}

diff --git a/sys-apps/portage/files/portage-2.2.01.20020-ebuildshell.patch b/sys-apps/portage/files/portage-2.2.01.20020-ebuildshell.patch
deleted file mode 100644
index 03eaa24..0000000
--- a/sys-apps/portage/files/portage-2.2.01.20020-ebuildshell.patch
+++ /dev/null
@@ -1,137 +0,0 @@
-# HG changeset patch
-# User Fabian Groffen <grobian@gentoo.org>
-# Date 1324637719 -3600
-# Node ID d70f677c2c1293d45e51a7f0e3b97b5e2b2900e7
-# Parent  e7a44acf78b8678781b5d24a90d96d1a53601b41
-https://bugs.gentoo.org/155161
-
-FEATURES=ebuildshell emerge xxxxx
-
-results in an interactive shell for each function portage calls from the
-ebuild, where all functionality is available as in the ebuild
-(src_unpack, epatch, etc.).  This allows for convenient debugging of
-ebuild issues.
-
-diff -r e7a44acf78b8 -r d70f677c2c12 bin/ebuild.sh
---- a/bin/ebuild.sh	Fri Dec 23 11:24:27 2011 +0100
-+++ b/bin/ebuild.sh	Fri Dec 23 11:55:19 2011 +0100
-@@ -82,7 +82,7 @@
- qa_call() {
- 	local shopts=$(shopt) OLDIFS="$IFS"
- 	local retval
--	"$@"
-+	call-ebuildshell "$@"
- 	retval=$?
- 	set +e
- 	[[ $shopts != $(shopt) ]] &&
-@@ -453,6 +453,56 @@
- 	unset BIN_PATH BIN BODY FUNC_SRC
- fi
- 
-+call-ebuildshell() {
-+	if ! has ebuildshell ${FEATURES}; then
-+		"$@"
-+		return $?
-+	fi
-+	(
-+		umask 002
-+		(
-+			(
-+				set
-+				declare -p
-+				declare -fp
-+				shopt -p
-+				if [[ ${BASH_VERSINFO[0]} == 3 ]]; then
-+					export
-+				fi
-+			) | filter_readonly_variables --filter-for-subshell
-+			echo 'declare -r $PORTAGE_READONLY_METADATA $PORTAGE_READONLY_VARS'
-+			echo "export PS1='EBUILD ${PN} $1 \$ '" 
-+			echo 'unset ENV'
-+			echo "type $1"
-+			echo "echo WANTED: $@"
-+			echo "trap '"
-+			echo "umask 002"
-+			echo "("
-+			echo "	set"
-+			echo "	declare -p"
-+			echo "	declare -fp"
-+			echo "	shopt -p"
-+			if [[ ${BASH_VERSINFO[0]} == 3 ]]; then
-+				echo "	export"
-+			fi
-+			echo -n ")"
-+			echo -n " | filter_readonly_variables --filter-metadata"
-+			echo " > ${T}/ebuildshell-environment-outcome' 0"
-+		) > ${T}/ebuildshell-environment
-+		chown ${PORTAGE_USER:-portage}:${PORTAGE_GROUP:-portage} "${T}/ebuildshell-environment" &>/dev/null
-+		chmod g+w "${T}/ebuildshell-environment" &>/dev/null
-+	)
-+
-+	rm -f "${T}/ebuildshell-environment-outcome" >&/dev/null
-+
-+	unset BASH_ENV
-+	env -i ${BASH} --rcfile "${T}/ebuildshell-environment"  -i || die
-+
-+	chown ${PORTAGE_USER:-portage}:${PORTAGE_GROUP:-portage} "${T}/ebuildshell-environment-outcome" &>/dev/null
-+	chmod g+w "${T}/ebuildshell-environment-outcome" &>/dev/null
-+	source "${T}/ebuildshell-environment-outcome" &>/dev/null
-+}
-+
- # Subshell/helper die support (must export for the die helper).
- export EBUILD_MASTER_PID=$BASHPID
- trap 'exit 1' SIGTERM
-diff -r e7a44acf78b8 -r d70f677c2c12 bin/phase-functions.sh
---- a/bin/phase-functions.sh	Fri Dec 23 11:24:27 2011 +0100
-+++ b/bin/phase-functions.sh	Fri Dec 23 11:55:19 2011 +0100
-@@ -84,7 +84,7 @@
- filter_readonly_variables() {
- 	local x filtered_vars
- 	local readonly_bash_vars="BASHOPTS BASHPID DIRSTACK EUID
--		FUNCNAME GROUPS PIPESTATUS PPID SHELLOPTS UID"
-+		FUNCNAME GROUPS PIPESTATUS PPID SHELLOPTS UID BASH_VERSINFO"
- 	local bash_misc_vars="BASH BASH_.* COLUMNS COMP_WORDBREAKS HISTCMD
- 		HISTFILE HOSTNAME HOSTTYPE IFS LINENO MACHTYPE OLDPWD
- 		OPTERR OPTIND OSTYPE POSIXLY_CORRECT PS4 PWD RANDOM
-@@ -95,8 +95,10 @@
- 	# Untrusted due to possible application of package renames to binpkgs
- 	local binpkg_untrusted_vars="CATEGORY P PF PN PR PV PVR"
- 	local misc_garbage_vars="_portage_filter_opts"
--	filtered_vars="$readonly_bash_vars $bash_misc_vars
--		$PORTAGE_READONLY_VARS $misc_garbage_vars"
-+	filtered_vars="$readonly_bash_vars"
-+	if ! has --filter-for-subshell $* ; then
-+		filtered_vars="$filtered_vars $bash_misc_vars $PORTAGE_READONLY_VARS $misc_garbage_vars"
-+	fi
- 
- 	# Don't filter/interfere with prefix variables unless they are
- 	# supported by the current EAPI.
-@@ -126,7 +128,11 @@
- 			LC_CTYPE LC_MESSAGES LC_MONETARY
- 			LC_NUMERIC LC_PAPER LC_TIME"
- 	fi
--	if ! has --allow-extra-vars $* ; then
-+	if has --filter-metadata $* ; then
-+		filtered_vars="$filtered_vars $PORTAGE_READONLY_METADATA"
-+	fi
-+	if ! has --allow-extra-vars $* &&
-+	   ! has --filter-for-subshell $* ; then
- 		if [ "${EMERGE_FROM}" = binary ] ; then
- 			# preserve additional variables from build time,
- 			# while excluding untrusted variables
-diff -r e7a44acf78b8 -r d70f677c2c12 man/make.conf.5
---- a/man/make.conf.5	Fri Dec 23 11:24:27 2011 +0100
-+++ b/man/make.conf.5	Fri Dec 23 11:55:19 2011 +0100
-@@ -287,6 +287,12 @@
- Use locks to ensure that unsandboxed ebuild phases never execute
- concurrently. Also see \fIparallel\-install\fR.
- .TP
-+.B ebuildshell
-+Drop into an interactive shell for each phase function, meant for
-+debugging.  Because the shell would normally be used to execute the
-+phase function, commands like src_unpack or epatch are available in the
-+interactive shell.  Use `exit 1` to terminate the merge.
-+.TP
- .B fakeroot
- Enable fakeroot for the install and package phases when a non-root user runs
- the \fBebuild\fR(1) command.

diff --git a/sys-apps/portage/files/portage-2.2.01.20239-ebuildshell.patch b/sys-apps/portage/files/portage-2.2.01.20239-ebuildshell.patch
deleted file mode 100644
index 9ccc1e5..0000000
--- a/sys-apps/portage/files/portage-2.2.01.20239-ebuildshell.patch
+++ /dev/null
@@ -1,148 +0,0 @@
-# HG changeset patch
-# User Michael Haubenwallner <haubi@gentoo.org>
-# Date 1330634734 -3600
-# Node ID 6780ee2ddb337bbd8b4b2681615de7e78e6fb8c1
-# Parent  04da3d4d44af4fd2096316f8e1bbb7a998011040
-https://bugs.gentoo.org/155161
-
-FEATURES=ebuildshell emerge xxxxx
-
-results in an interactive shell for each function portage calls from the
-ebuild, where all functionality is available as in the ebuild
-(src_unpack, epatch, etc.).  This allows for convenient debugging of
-ebuild issues.
-
-diff -r 04da3d4d44af -r 6780ee2ddb33 bin/ebuild.sh
---- a/bin/ebuild.sh	Thu Mar 01 21:31:12 2012 +0100
-+++ b/bin/ebuild.sh	Thu Mar 01 21:45:34 2012 +0100
-@@ -82,7 +82,7 @@
- qa_call() {
- 	local shopts=$(shopt) OLDIFS="$IFS"
- 	local retval
--	"$@"
-+	call-ebuildshell "$@"
- 	retval=$?
- 	set +e
- 	[[ $shopts != $(shopt) ]] &&
-@@ -453,6 +453,56 @@
- 	unset BIN_PATH BIN BODY FUNC_SRC
- fi
- 
-+call-ebuildshell() {
-+	if ! has ebuildshell ${FEATURES}; then
-+		"$@"
-+		return $?
-+	fi
-+	(
-+		umask 002
-+		(
-+			(
-+				set
-+				declare -p
-+				declare -fp
-+				shopt -p
-+				if [[ ${BASH_VERSINFO[0]} == 3 ]]; then
-+					export
-+				fi
-+			) | filter_readonly_variables --filter-for-subshell
-+			echo 'declare -r $PORTAGE_READONLY_METADATA $PORTAGE_READONLY_VARS'
-+			echo "export PS1='EBUILD ${PN} $1 \$ '" 
-+			echo 'unset ENV'
-+			echo "type $1"
-+			echo "echo WANTED: $@"
-+			echo "trap '"
-+			echo "umask 002"
-+			echo "("
-+			echo "	set"
-+			echo "	declare -p"
-+			echo "	declare -fp"
-+			echo "	shopt -p"
-+			if [[ ${BASH_VERSINFO[0]} == 3 ]]; then
-+				echo "	export"
-+			fi
-+			echo -n ")"
-+			echo -n " | filter_readonly_variables --filter-metadata"
-+			echo " > ${T}/ebuildshell-environment-outcome' 0"
-+		) > ${T}/ebuildshell-environment
-+		chown ${PORTAGE_USER:-portage}:${PORTAGE_GROUP:-portage} "${T}/ebuildshell-environment" &>/dev/null
-+		chmod g+w "${T}/ebuildshell-environment" &>/dev/null
-+	)
-+
-+	rm -f "${T}/ebuildshell-environment-outcome" >&/dev/null
-+
-+	unset BASH_ENV
-+	env -i ${BASH} --rcfile "${T}/ebuildshell-environment"  -i || die
-+
-+	chown ${PORTAGE_USER:-portage}:${PORTAGE_GROUP:-portage} "${T}/ebuildshell-environment-outcome" &>/dev/null
-+	chmod g+w "${T}/ebuildshell-environment-outcome" &>/dev/null
-+	source "${T}/ebuildshell-environment-outcome" &>/dev/null
-+}
-+
- # Subshell/helper die support (must export for the die helper).
- export EBUILD_MASTER_PID=$BASHPID
- trap 'exit 1' SIGTERM
-diff -r 04da3d4d44af -r 6780ee2ddb33 bin/phase-functions.sh
---- a/bin/phase-functions.sh	Thu Mar 01 21:31:12 2012 +0100
-+++ b/bin/phase-functions.sh	Thu Mar 01 21:45:34 2012 +0100
-@@ -84,7 +84,7 @@
- filter_readonly_variables() {
- 	local x filtered_vars
- 	local readonly_bash_vars="BASHOPTS BASHPID DIRSTACK EUID
--		FUNCNAME GROUPS PIPESTATUS PPID SHELLOPTS UID"
-+		FUNCNAME GROUPS PIPESTATUS PPID SHELLOPTS UID BASH_VERSINFO"
- 	local bash_misc_vars="BASH BASH_.* COLUMNS COMP_WORDBREAKS HISTCMD
- 		HISTFILE HOSTNAME HOSTTYPE IFS LINENO MACHTYPE OLDPWD
- 		OPTERR OPTIND OSTYPE POSIXLY_CORRECT PS4 PWD RANDOM
-@@ -95,8 +95,10 @@
- 	# Untrusted due to possible application of package renames to binpkgs
- 	local binpkg_untrusted_vars="CATEGORY P PF PN PR PV PVR"
- 	local misc_garbage_vars="_portage_filter_opts"
--	filtered_vars="$readonly_bash_vars $bash_misc_vars
--		$PORTAGE_READONLY_VARS $misc_garbage_vars"
-+	filtered_vars="$readonly_bash_vars"
-+	if ! has --filter-for-subshell $* ; then
-+		filtered_vars="$filtered_vars $bash_misc_vars $PORTAGE_READONLY_VARS $misc_garbage_vars"
-+	fi
- 
- 	# Don't filter/interfere with prefix variables unless they are
- 	# supported by the current EAPI.
-@@ -126,7 +128,11 @@
- 			LC_CTYPE LC_MESSAGES LC_MONETARY
- 			LC_NUMERIC LC_PAPER LC_TIME"
- 	fi
--	if ! has --allow-extra-vars $* ; then
-+	if has --filter-metadata $* ; then
-+		filtered_vars="$filtered_vars $PORTAGE_READONLY_METADATA"
-+	fi
-+	if ! has --allow-extra-vars $* &&
-+	   ! has --filter-for-subshell $* ; then
- 		if [ "${EMERGE_FROM}" = binary ] ; then
- 			# preserve additional variables from build time,
- 			# while excluding untrusted variables
-diff -r 04da3d4d44af -r 6780ee2ddb33 man/make.conf.5
---- a/man/make.conf.5	Thu Mar 01 21:31:12 2012 +0100
-+++ b/man/make.conf.5	Thu Mar 01 21:45:34 2012 +0100
-@@ -297,6 +297,12 @@
- Use locks to ensure that unsandboxed ebuild phases never execute
- concurrently. Also see \fIparallel\-install\fR.
- .TP
-+.B ebuildshell
-+Drop into an interactive shell for each phase function, meant for
-+debugging.  Because the shell would normally be used to execute the
-+phase function, commands like src_unpack or epatch are available in the
-+interactive shell.  Use `exit 1` to terminate the merge.
-+.TP
- .B fakeroot
- Enable fakeroot for the install and package phases when a non-root user runs
- the \fBebuild\fR(1) command.
-diff -r 04da3d4d44af -r 6780ee2ddb33 pym/_emerge/AbstractEbuildProcess.py
---- a/pym/_emerge/AbstractEbuildProcess.py	Thu Mar 01 21:31:12 2012 +0100
-+++ b/pym/_emerge/AbstractEbuildProcess.py	Thu Mar 01 21:45:34 2012 +0100
-@@ -97,6 +97,7 @@
- 			self.fd_pipes = {}
- 		null_fd = None
- 		if 0 not in self.fd_pipes and \
-+			"ebuildshell" not in self.settings.features and \
- 			self.phase not in self._phases_interactive_whitelist and \
- 			"interactive" not in self.settings.get("PROPERTIES", "").split():
- 			null_fd = os.open('/dev/null', os.O_RDONLY)

diff --git a/sys-apps/portage/files/portage-2.2.01.20336-openrc.patch b/sys-apps/portage/files/portage-2.2.01.20336-openrc.patch
deleted file mode 100644
index cf08c55..0000000
--- a/sys-apps/portage/files/portage-2.2.01.20336-openrc.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- bin/misc-functions.sh	2012-04-01 04:33:28.000000000 +0900
-+++ bin/misc-functions.sh.new	2012-04-24 09:19:06.000000000 +0900
-@@ -912,16 +912,6 @@ install_qa_check_prefix() {
- 	# all further checks rely on ${ED} existing
- 	[[ -d ${ED} ]] || return
- 
--	# this does not really belong here, but it's closely tied to
--	# the code below; many runscripts generate positives here, and we
--	# know they don't work (bug #196294) so as long as that one
--	# remains an issue, simply remove them as they won't work
--	# anyway, avoid etc/init.d/functions.sh from being thrown away
--	if [[ ( -d "${ED}"/etc/conf.d || -d "${ED}"/etc/init.d ) && ! -f "${ED}"/etc/init.d/functions.sh ]] ; then
--		ewarn "removed /etc/init.d and /etc/conf.d directories until bug #196294 has been resolved"
--		rm -Rf "${ED}"/etc/{conf,init}.d
--	fi
--
- 	# check shebangs, bug #282539
- 	rm -f "${T}"/non-prefix-shebangs-errs
- 	local WHITELIST=" /usr/bin/env "

diff --git a/sys-apps/portage/metadata.xml b/sys-apps/portage/metadata.xml
deleted file mode 100644
index 34ef584..0000000
--- a/sys-apps/portage/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<herd>prefix</herd>
-	<maintainer><email>grobian@gentoo.org</email></maintainer>
-
-	<use>
-		<flag name="epydoc">Build html API documentation with epydoc.</flag>
-		<flag name="ipc">Use inter-process communication between portage and running ebuilds.</flag>
-		<flag name="less">Pull in sys-apps/less as default pager for etc-update.</flag>
-		<flag name="prefix-chaining">mduft's experimental prefix chaining facilities</flag>
-	</use>
-</pkgmetadata>

diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild
deleted file mode 100644
index ab6f4cb..0000000
--- a/sys-apps/portage/portage-9999.ebuild
+++ /dev/null
@@ -1,331 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id: portage-2.2.01.16270.ebuild 58665 2010-09-05 19:54:38Z grobian $
-
-# Require EAPI 2 since we now require at least python-2.6 (for python 3
-# syntax support) which also requires EAPI 2.
-EAPI=3
-inherit eutils multilib python git-2 autotools
-EGIT_REPO_URI="http://git.heroxbd.z.tuna.tsinghua.edu.cn/${PN}.git"
-EGIT_BRANCH="prefix"
-
-RESTRICT="test"
-
-DESCRIPTION="Prefix branch of the Portage Package Manager, used in Gentoo Prefix"
-HOMEPAGE="http://www.gentoo.org/proj/en/gentoo-alt/prefix/"
-LICENSE="GPL-2"
-KEYWORDS=""
-SLOT="0"
-IUSE="build doc epydoc ipc selinux xattr prefix-chaining"
-
-# Import of the io module in python-2.6 raises ImportError for the
-# thread module if threading is disabled.
-python_dep_ssl="python3? ( =dev-lang/python-3*[ssl] )
-	!pypy1_9? ( !python2? ( !python3? (
-		|| ( >=dev-lang/python-2.7[ssl] dev-lang/python:2.6[threads,ssl] )
-	) ) )
-	pypy1_9? ( !python2? ( !python3? ( dev-python/pypy:1.9[bzip2,ssl] ) ) )
-	python2? ( !python3? ( || ( dev-lang/python:2.7[ssl] dev-lang/python:2.6[ssl,threads] ) ) )"
-python_dep_ssl=">=dev-lang/python-2.7[ssl] <dev-lang/python-3.0" # prefix override
-python_dep="${python_dep_ssl//\[ssl\]}"
-python_dep="${python_dep//,ssl}"
-python_dep="${python_dep//ssl,}"
-
-# The pysqlite blocker is for bug #282760.
-DEPEND="${python_dep}
-	!build? ( >=sys-apps/sed-4.0.5 )
-	doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 )
-	epydoc? ( >=dev-python/epydoc-2.0 !<=dev-python/pysqlite-2.4.1 )"
-# Require sandbox-2.2 for bug #288863.
-# For xattr, we can spawn getfattr and setfattr from sys-apps/attr, but that's
-# quite slow, so it's not considered in the dependencies as an alternative to
-# to python-3.3 / pyxattr. Also, xattr support is only tested with Linux, so
-# for now, don't pull in xattr deps for other kernels.
-# For whirlpool hash, require python[ssl] or python-mhash (bug #425046).
-RDEPEND="${python_dep} || ( ${python_dep_ssl} dev-python/python-mhash )
-	!build? ( >=sys-apps/sed-4.0.5
-		>=app-shells/bash-3.2_p17
-		>=app-admin/eselect-1.2 )
-	elibc_FreeBSD? ( !prefix? ( sys-freebsd/freebsd-bin ) )
-	elibc_glibc? ( !prefix? ( >=sys-apps/sandbox-2.2 ) )
-	elibc_uclibc? ( !prefix? ( >=sys-apps/sandbox-2.2 ) )
-	kernel_linux? ( >=app-misc/pax-utils-0.1.17 )
-	kernel_SunOS? ( >=app-misc/pax-utils-0.1.17 )
-	kernel_FreeBSD? ( >=app-misc/pax-utils-0.1.17 )
-	kernel_Darwin? ( >=app-misc/pax-utils-0.1.18 )
-	kernel_HPUX? ( !hppa-hpux? ( >=app-misc/pax-utils-0.1.19 ) )
-	kernel_AIX? ( >=sys-apps/aix-miscutils-0.1.1634 )
-	xattr? ( kernel_linux? ( || ( >=dev-lang/python-3.3_pre20110902 dev-python/pyxattr ) ) )
-	selinux? ( || ( >=sys-libs/libselinux-2.0.94[python] <sys-libs/libselinux-2.0.94 ) )
-	!<app-shells/bash-3.2_p17
-	!prefix? ( !<app-admin/logrotate-3.8.0 )"
-PDEPEND="
-	!build? (
-		>=net-misc/rsync-2.6.4
-		userland_GNU? ( >=sys-apps/coreutils-6.4 )
-	)"
-
-compatible_python_is_selected() {
-	[[ $("${EPREFIX}/usr/bin/python" -c 'import sys ; sys.stdout.write(sys.hexversion >= 0x2060000 and "good" or "bad")') = good ]]
-}
-
-current_python_has_xattr() {
-	[[ $("${EPREFIX}/usr/bin/python" -c 'import sys ; sys.stdout.write(sys.hexversion >= 0x3030000 and "yes" or "no")') = yes ]] || \
-	"${EPREFIX}/usr/bin/python" -c 'import xattr' 2>/dev/null
-}
-
-pkg_setup() {
-	use prefix && return
-
-	# Bug #359731 - Die early if get_libdir fails.
-	[[ -z $(get_libdir) ]] && \
-		die "get_libdir returned an empty string"
-
-	if use python2 && use python3 ; then
-		ewarn "Both python2 and python3 USE flags are enabled, but only one"
-		ewarn "can be in the shebangs. Using python3."
-	fi
-	if use pypy1_9 && use python3 ; then
-		ewarn "Both pypy1_9 and python3 USE flags are enabled, but only one"
-		ewarn "can be in the shebangs. Using python3."
-	fi
-	if use pypy1_9 && use python2 ; then
-		ewarn "Both pypy1_9 and python2 USE flags are enabled, but only one"
-		ewarn "can be in the shebangs. Using python2"
-	fi
-	if ! use pypy1_9 && ! use python2 && ! use python3 && \
-		! compatible_python_is_selected ; then
-		ewarn "Attempting to select a compatible default python interpreter"
-		local x success=0
-		for x in /usr/bin/python2.* ; do
-			x=${x#/usr/bin/python2.}
-			if [[ $x -ge 6 ]] 2>/dev/null ; then
-				eselect python set python2.$x
-				if compatible_python_is_selected ; then
-					elog "Default python interpreter is now set to python-2.$x"
-					success=1
-					break
-				fi
-			fi
-		done
-		if [ $success != 1 ] ; then
-			eerror "Unable to select a compatible default python interpreter!"
-			die "This version of portage requires at least python-2.6 to be selected as the default python interpreter (see \`eselect python --help\`)."
-		fi
-	fi
-
-	if use python3; then
-		python_set_active_version 3
-	elif use python2; then
-		python_set_active_version 2
-	elif use pypy1_9; then
-		python_set_active_version 2.7-pypy-1.9
-	fi
-}
-
-src_prepare() {
-	eautoreconf
-
-	if [ -n "${PATCHVER}" ] ; then
-		if [[ -L $S/bin/ebuild-helpers/portageq ]] ; then
-			rm "$S/bin/ebuild-helpers/portageq" \
-				|| die "failed to remove portageq helper symlink"
-		fi
-		epatch "${WORKDIR}/${PN}-${PATCHVER}.patch"
-	fi
-
-	use prefix-chaining && epatch "${FILESDIR}"/${PN}-2.2.00.15801-prefix-chaining.patch
-
-	if ! use ipc ; then
-		einfo "Disabling ipc..."
-		sed -e "s:_enable_ipc_daemon = True:_enable_ipc_daemon = False:" \
-			-i pym/_emerge/AbstractEbuildProcess.py || \
-			die "failed to patch AbstractEbuildProcess.py"
-	fi
-
-	epatch "${FILESDIR}"/${PN}-2.2.01.20239-ebuildshell.patch
-}
-
-src_configure() {
-	if use prefix ; then
-		local extrapath="/usr/bin:/bin"
-		# ok, we can't rely on PORTAGE_ROOT_USER being there yet, as people
-		# tend not to update that often, as long as we are a separate ebuild
-		# we can assume when unset, it's time for some older trick
-		if [[ -z ${PORTAGE_ROOT_USER} ]] ; then
-			PORTAGE_ROOT_USER=$(python -c 'from portage.const import rootuser; print rootuser')
-		fi
-		# lazy check, but works for now
-		if [[ ${PORTAGE_ROOT_USER} == "root" ]] ; then
-			# we need this for e.g. mtree on FreeBSD (and Darwin) which is in
-			# /usr/sbin
-			extrapath="/usr/sbin:/usr/bin:/sbin:/bin"
-		fi
-
-		econf \
-			--with-portage-user="${PORTAGE_USER:-portage}" \
-			--with-portage-group="${PORTAGE_GROUP:-portage}" \
-			--with-root-user="${PORTAGE_ROOT_USER}" \
-			--with-offset-prefix="${EPREFIX}" \
-			--with-extra-path="${extrapath}" \
-			|| die "econf failed"
-	else
-		# even though above options would be correct, just keep it clean for
-		# non-Prefix installs, relying on the autoconf defaults
-		econf || die "econf failed"
-	fi
-}
-
-src_compile() {
-	emake || die "emake failed"
-
-	if use doc; then
-		cd "${S}"/doc
-		touch fragment/date
-		emake xhtml xhtml-nochunks || die "failed to make docs"
-	fi
-
-	if use epydoc; then
-		einfo "Generating api docs"
-		mkdir "${WORKDIR}"/api
-		local my_modules epydoc_opts=""
-		# A name collision between the portage.dbapi class and the
-		# module with the same name triggers an epydoc crash unless
-		# portage.dbapi is excluded from introspection.
-		ROOT=/ has_version '>=dev-python/epydoc-3_pre0' && \
-			epydoc_opts='--exclude-introspect portage\.dbapi'
-		my_modules="$(find "${S}/pym" -name "*.py" \
-			| sed -e 's:/__init__.py$::' -e 's:\.py$::' -e "s:^${S}/pym/::" \
-			 -e 's:/:.:g' | sort)" || die "error listing modules"
-		PYTHONPATH="${S}/pym:${PYTHONPATH}" epydoc -o "${WORKDIR}"/api \
-			-qqqqq --no-frames --show-imports $epydoc_opts \
-			--name "${PN}" --url "${HOMEPAGE}" \
-			${my_modules} || die "epydoc failed"
-	fi
-}
-
-src_test() {
-	# make files executable, in case they were created by patch
-	find bin -type f | xargs chmod +x
-	emake test || die
-}
-
-src_install() {
-	local libdir=$(get_libdir)
-	local portage_base="/usr/${libdir}/portage"
-
-	emake DESTDIR="${D}" install || die "make install failed."
-	dodir /usr/lib/portage/bin
-
-	if use userland_GNU; then
-		rm "${ED}"${portage_base}/bin/ebuild-helpers/sed || die "Failed to remove sed wrapper"
-	fi
-
-	# This allows config file updates that are applied for package
-	# moves to take effect immediately.
-	echo 'CONFIG_PROTECT_MASK="/etc/portage"' > "$T"/50portage \
-		|| die "failed to create 50portage"
-	doenvd "$T"/50portage || die "doenvd 50portage failed"
-	rm "$T"/50portage
-
-	# Symlinks to directories cause up/downgrade issues and the use of these
-	# modules outside of portage is probably negligible.
-	for x in "${ED}${portage_base}/pym/"{cache,elog_modules} ; do
-		[ ! -L "${x}" ] && continue
-		die "symlink to directory will cause upgrade/downgrade issues: '${x}'"
-	done
-
-	exeinto ${portage_base}/pym/portage/tests
-	doexe  "${S}"/pym/portage/tests/runTests
-
-	dodoc "${S}"/{ChangeLog,NEWS,RELEASE-NOTES}
-	use doc && dohtml -r "${S}"/doc/*
-	use epydoc && dohtml -r "${WORKDIR}"/api
-	dodir /etc/portage
-	keepdir /etc/portage
-}
-
-pkg_preinst() {
-	if ! use build && ! has_version dev-python/pycrypto && \
-		! has_version '>=dev-lang/python-2.6[ssl]' ; then
-		ewarn "If you are an ebuild developer and you plan to commit ebuilds"
-		ewarn "with this system then please install dev-python/pycrypto or"
-		ewarn "enable the ssl USE flag for >=dev-lang/python-2.6 in order"
-		ewarn "to enable RMD160 hash support."
-		ewarn "See bug #198398 for more information."
-	fi
-	if [[ ! -L "${EROOT}/etc/make.globals" &&
-		-f "${EROOT}/etc/make.globals" ]]; then
-		rm "${EROOT}/etc/make.globals"
-	fi
-
-	has_version "<=${CATEGORY}/${PN}-2.2.00.13346"
-	EAPIPREFIX_UPGRADE=$?
-}
-
-pkg_postinst() {
-	# Compile all source files recursively. Any orphans
-	# will be identified and removed in postrm.
-	python_mod_optimize /usr/$(get_libdir)/portage/pym
-
-	pushd "${EROOT}var/db/pkg" > /dev/null
-	local didwork=
-	[[ ! -e "${EROOT}"var/lib/portage/preserved_libs_registry ]] && for cpv in */*/NEEDED ; do
-		if [[ ${CHOST} == *-darwin* && ! -f ${cpv}.MACHO.3 ]] ; then
-			while read line; do
-				scanmacho -BF "%a;%F;%S;%n" ${line% *} >> "${cpv}".MACHO.3
-			done < "${cpv}"
-			[[ -z ${didwork} ]] \
-				&& didwork=yes \
-				|| didwork=already
-		elif [[ ${CHOST} != *-darwin* && ${CHOST} != *-interix* && ! -f ${cpv}.ELF.2 ]] ; then
-			while read line; do
-				filename=${line% *}
-				needed=${line#* }
-				newline=$(scanelf -BF "%a;%F;%S;$needed;%r" $filename)
-				echo "${newline:3}" >> "${cpv}".ELF.2
-			done < "${cpv}"
-			[[ -z ${didwork} ]] \
-				&& didwork=yes \
-				|| didwork=already
-		fi
-		[[ ${didwork} == yes ]] && \
-			einfo "converting NEEDED files to new syntax, please wait"
-	done
-	popd > /dev/null
-
-	if [[ ${EAPIPREFIX_UPGRADE} == 0 ]] ; then
-		local eapi
-		einfo 'removing EAPI="prefix" legacy from your vdb, please wait'
-		pushd "${EROOT}var/db/pkg" > /dev/null
-		for cpv in */* ; do
-			[[ ${cpv##*/} == "-MERGING-"* ]] && continue
-			# remove "prefix" from EAPI file
-			eapi=$(<"${cpv}"/EAPI)
-			eapi=${eapi/prefix/}
-			eapi=${eapi# }
-			eapi=${eapi:-0}
-			echo ${eapi} > "${cpv}"/EAPI
-			# remove "prefix" from EAPI in stored environment
-			bzcat "${cpv}"/environment.bz2 \
-				| sed -e "s/EAPI=\([\"']\)prefix [0-9][\"']/EAPI=\1${eapi}\1/" \
-				| bzip2 -9 > "${cpv}"/environment2.bz2 \
-				&& mv -f "${cpv}"/environment{2,}.bz2
-			# remove "prefix" from the stored ebuild
-			sed -i -e "s/^EAPI=.*$/EAPI=${eapi}/" "${cpv}/${cpv##*/}.ebuild"
-		done
-		popd > /dev/null
-	fi
-
-	if [ x$MINOR_UPGRADE = x0 ] ; then
-		elog "If you're upgrading from a pre-2.2 version of portage you might"
-		elog "want to remerge world (emerge -e world) to take full advantage"
-		elog "of some of the new features in 2.2."
-		elog "This is not required however for portage to function properly."
-		elog
-	fi
-}
-
-pkg_postrm() {
-	python_mod_cleanup /usr/$(get_libdir)/portage/pym
-}

diff --git a/sys-apps/util-linux/files/crypto-loop.initd b/sys-apps/util-linux/files/crypto-loop.initd
old mode 100755
new mode 100644

diff --git a/sys-devel/binutils-config/.pc/.quilt_patches b/sys-devel/binutils-config/.pc/.quilt_patches
deleted file mode 100644
index 4baccb8..0000000
--- a/sys-devel/binutils-config/.pc/.quilt_patches
+++ /dev/null
@@ -1 +0,0 @@
-patches

diff --git a/sys-devel/binutils-config/.pc/.quilt_series b/sys-devel/binutils-config/.pc/.quilt_series
deleted file mode 100644
index c206706..0000000
--- a/sys-devel/binutils-config/.pc/.quilt_series
+++ /dev/null
@@ -1 +0,0 @@
-series

diff --git a/sys-devel/binutils-config/.pc/.version b/sys-devel/binutils-config/.pc/.version
deleted file mode 100644
index 0cfbf08..0000000
--- a/sys-devel/binutils-config/.pc/.version
+++ /dev/null
@@ -1 +0,0 @@
-2

diff --git a/sys-devel/binutils-config/.pc/applied-patches b/sys-devel/binutils-config/.pc/applied-patches
deleted file mode 100644
index f304ad7..0000000
--- a/sys-devel/binutils-config/.pc/applied-patches
+++ /dev/null
@@ -1 +0,0 @@
-binutils-config-prefix.patch

diff --git a/sys-devel/binutils-config/.pc/binutils-config-prefix.patch/.timestamp b/sys-devel/binutils-config/.pc/binutils-config-prefix.patch/.timestamp
deleted file mode 100644
index e69de29..0000000

diff --git a/sys-devel/binutils-config/.pc/binutils-config-prefix.patch/binutils-config-3-r3.ebuild b/sys-devel/binutils-config/.pc/binutils-config-prefix.patch/binutils-config-3-r3.ebuild
deleted file mode 100644
index 25c41a5..0000000
--- a/sys-devel/binutils-config/.pc/binutils-config-prefix.patch/binutils-config-3-r3.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/binutils-config-3-r3.ebuild,v 1.9 2012/07/29 18:36:13 armin76 Exp $
-
-DESCRIPTION="Utility to change the binutils version being used"
-HOMEPAGE="http://www.gentoo.org/"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-IUSE=""
-
-RDEPEND="userland_GNU? ( !<sys-apps/findutils-4.2 )"
-
-src_install() {
-	newbin "${FILESDIR}"/${PN}-${PV} ${PN} || die
-	doman "${FILESDIR}"/${PN}.8
-}

diff --git a/sys-devel/binutils-config/.pc/binutils-config-prefix.patch/files/binutils-config-3 b/sys-devel/binutils-config/.pc/binutils-config-prefix.patch/files/binutils-config-3
deleted file mode 100755
index 5f21878..0000000
--- a/sys-devel/binutils-config/.pc/binutils-config-prefix.patch/files/binutils-config-3
+++ /dev/null
@@ -1,509 +0,0 @@
-#!/bin/bash
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-3,v 1.11 2013/05/05 05:20:42 vapier Exp $
-
-# Format of /etc/env.d/binutils/:
-#  config-TARGET:	CURRENT=version for TARGET
-#  TARGET-VER:		has a TARGET and VER variable
-
-: ${ROOT:=/}
-[[ ${ROOT} != */ ]] && ROOT="${ROOT}/"
-[[ ${ROOT} != /* ]] && ROOT="${PWD%/}/${ROOT}"
-
-cd /
-
-trap ":" INT QUIT TSTP
-
-argv0=${0##*/}
-source /etc/init.d/functions.sh || {
-	echo "${argv0}: Could not source /etc/init.d/functions.sh!" 1>&2
-	exit 1
-}
-esyslog() { :; }
-die() { eerror "${argv0}: $*"; exit 1; }
-umask 022
-
-usage() {
-cat << USAGE_END
-Usage: ${HILITE}binutils-config${NORMAL} ${GOOD}[options]${NORMAL} ${BRACKET}[binutils profile]${NORMAL}
-
-${HILITE}General Options:${NORMAL}
-  ${GOOD}-c, --get-current-profile${NORMAL}  Print current profile
-  ${GOOD}-l, --list-profiles${NORMAL}        Print a list of available profiles
-  ${GOOD}-u, --uninstall${NORMAL}            Remove all signs of specified target
-  ${GOOD}-d, --debug${NORMAL}                Execute with debug output
-
-${HILITE}General Cruft:${NORMAL}
-  ${GOOD}--linker${NORMAL} <linker>          Switch to specified linker (if supported)
-
-${HILITE}Arch Specific Cruft:${NORMAL}
-  ${GOOD}--amd64${NORMAL}                    Install extra amd64 links (x86_64)
-  ${GOOD}--arm${NORMAL}                      Install extra arm links (arm/armeb)
-  ${GOOD}--mips${NORMAL}                     Install extra mips links (mips/mipsel)
-  ${GOOD}--x86${NORMAL}                      Install extra x86 links (i[3-6]86)
-
-Profile names are of the form:  ${BRACKET}<CTARGET>-<binutils version>${NORMAL}
-For example:                    ${BRACKET}i686-pc-linux-gnu-2.15.92.0.2${NORMAL}
-
-For more info, please see ${HILITE}binutils-config${NORMAL}(8).
-USAGE_END
-
-	exit ${1:-1}
-}
-
-mv_if_diff() {
-	if cmp -s "$1" "$2" ; then
-		rm -f "$1"
-	else
-		mv -f "$1" "$2"
-	fi
-}
-atomic_ln() {
-	local target=$1 linkdir=$2 linkname=$3 linktmp linkfull
-	linktmp="${linkdir}/.binutils-config.tmp.${linkname}"
-	linkfull="${linkdir}/${linkname}"
-	if [[ -d ${linkfull} ]] ; then
-		# if linking to a dir, we need a little magic to
-		# make it atomic since `mv -T` is not portable
-		rm -rf "${linktmp}"
-		mkdir -p "${linktmp}"
-		ln -sf "${target}" "${linktmp}/${linkname}"
-		mv "${linktmp}/${linkname}" "${linktmp}/../"
-		rmdir "${linktmp}"
-	else
-		# `ln` will expand into unlink();symlink(); which
-		# is not atomic for a small amount of time, but
-		# `mv` is a single rename() call
-		ln -sf "${target}" "${linktmp}"
-		mv "${linktmp}" "${linkfull}"
-	fi
-}
-
-setup_env() {
-	unset TARGET VER LIBPATH FAKE_TARGETS
-	source "${ENV_D}/${PROFILE}"
-	if [[ -z ${TARGET} ]] ; then
-		eerror "${PROFILE} is invalid (no \$TARGET defined) :("
-		return 1
-	fi
-	if [[ -z ${VER} ]] ; then
-		eerror "${PROFILE} is invalid (no \$VER defined) :("
-		return 1
-	fi
-
-	#
-	# Older installs don't have 'FAKE_TARGETS' defined, so lets
-	# update these env.d entries so that we don't force the poor
-	# user to re-emerge their binutils just for 1 envvar :/
-	#
-	if [[ ${FAKE_TARGETS-poor user} == "poor user" ]] ; then
-		local targ=${TARGET/-*}
-		local FAKE_TARGETS=${TARGET}
-		case ${targ} in
-			mips|powerpc|sparc)
-				FAKE_TARGETS="${FAKE_TARGETS} ${TARGET/-/64-}";;
-			mips64|powerpc64|sparc64)
-				FAKE_TARGETS="${FAKE_TARGETS} ${TARGET/64-/-}";;
-		esac
-		echo "FAKE_TARGETS=\"${FAKE_TARGETS}\"" >> "${ENV_D}/${PROFILE}"
-	fi
-	local fake_targ_append="${TARGET#*-}"
-	FAKE_TARGETS="${FAKE_TARGETS} ${FAKE_TARGETS_USER// /-${fake_targ_append} }"
-
-	#
-	# Generate binary symlinks
-	# On systems that do 32bit/64bit, we need to fake an
-	# extra set of binary names (${FAKE_TARGETS})
-	#
-	BINPATH=""
-	BINPATH_LINKS=""
-	if [[ ${TARGET} != ${HOST} ]] ; then
-		#
-		# Newer paths: /usr/${HOST}/${TARGET}/...
-		# Older paths: /usr/${TARGET}/...
-		#
-		if [[ -d ${ROOT}/usr/${HOST}/${TARGET}/binutils-bin/${VER} ]] ; then
-			BINPATH=/usr/${HOST}/${TARGET}/binutils-bin/${VER}
-			BINPATH_LINKS=/usr/libexec/gcc/${TARGET}
-		fi
-	fi
-	if [[ -z ${BINPATH} ]] ; then
-		BINPATH=/usr/${TARGET}/binutils-bin/${VER}
-		BINPATH_LINKS=/usr/${TARGET}/bin
-	fi
-}
-
-switch_profile() {
-	ebegin "Switching to ${PROFILE}"
-
-	setup_env || return 1
-
-	cd "${ROOT}/${BINPATH}" || exit 1
-	mkdir -p "${ROOT}/${BINPATH_LINKS}" "${ROOT}/usr/bin"
-	for x in * ; do
-		atomic_ln "${BINPATH}/${x}" "${ROOT}/${BINPATH_LINKS}" "${x}"
-		atomic_ln "${BINPATH_LINKS}/${x}" "${ROOT}/usr/bin/" "${TARGET}-${x}"
-		for fake in ${FAKE_TARGETS} ; do
-			[[ -f ${ENV_D}/config-${fake} ]] && continue
-			atomic_ln "${BINPATH_LINKS}/${x}" "${ROOT}/usr/bin" "${fake}-${x}"
-		done
-		if [[ ${TARGET} == ${HOST} ]] ; then
-			atomic_ln "${TARGET}-${x}" "${ROOT}/usr/bin" "${x}"
-		fi
-	done
-
-	#
-	# Generate library / ldscripts symlinks
-	#
-	: ${LIBPATH:=/usr/lib/binutils/${TARGET}/${VER}}
-	cd "${ROOT}/${LIBPATH}" || exit 1
-	if [[ ${TARGET} == ${HOST} ]] ; then
-		dstlib=${ROOT}/usr/${HOST}/lib
-	else
-		dstlib=${ROOT}/usr/${HOST}/${TARGET}/lib
-	fi
-	# When upgrading, we need to clean up ldscripts and libs
-	mkdir -p "${dstlib}"
-	rm -rf "${ROOT}/${BINPATH_LINKS}"/ldscripts
-	atomic_ln "${LIBPATH}/ldscripts" "${dstlib}" "ldscripts"
-	find -L "${dstlib}" -type l -exec rm -v {} +
-	for x in lib* ; do
-		atomic_ln "${LIBPATH}/${x}" "${dstlib}" "${x}"
-	done
-
-	#
-	# Generate include symlinks
-	#
-	INCPATH=${LIBPATH}/include
-	if [[ -d ${ROOT}/${INCPATH} ]] ; then
-		cd "${ROOT}/${INCPATH}" || exit 1
-		if [[ ${HOST} == ${TARGET} ]] ; then
-			mkdir -p "${ROOT}/usr/include"
-			for x in * ; do
-				atomic_ln "${INCPATH}/${x}" "${ROOT}/usr/include" "${x}"
-			done
-		else
-			# Clean out old path -- cannot use '-exec {} +' syntax here
-			find . -type f -exec rm -f "${ROOT}/usr/${TARGET}/usr/include/{}" \;
-			rmdir "${ROOT}/usr/${TARGET}/usr/include" >& /dev/null
-			rmdir "${ROOT}/usr/${TARGET}/usr" >& /dev/null
-			rmdir "${ROOT}/usr/${TARGET}" >& /dev/null
-		fi
-	fi
-
-	#
-	# Make sure proper paths get updated
-	#
-	if [[ ${TARGET} == ${HOST} ]] ; then
-		DATAPATH=/usr/share/binutils-data/${TARGET}/${VER}
-		local e="${ROOT}"/etc/env.d/05binutils
-		local ee="${e}.tmp"
-		rm -f "${ee}"
-		[[ -d ${DATAPATH}/man  ]] && echo "MANPATH=${DATAPATH}/man"   >> "${ee}"
-		[[ -d ${DATAPATH}/info ]] && echo "INFOPATH=${DATAPATH}/info" >> "${ee}"
-		# hmm, `ld` has this in SEARCH_DIR(), but ld.so does not ...
-		if [[ -d ${ROOT}/etc/ld.so.conf.d ]] ; then
-			local l="${ROOT}"/etc/ld.so.conf.d/05binutils.conf
-			local ll="${l}.tmp"
-			echo "/usr/${TARGET}/lib" > "${ll}"
-			mv_if_diff "${ll}" "${l}"
-		else
-			echo "LDPATH=/usr/${TARGET}/lib" >> "${ee}"
-		fi
-		mv_if_diff "${ee}" "${e}"
-	fi
-
-	local c="${ENV_D}/config-${TARGET}"
-	local cc="${c}.tmp"
-	echo "CURRENT=${VER}" > "${cc}"
-	mv_if_diff "${cc}" "${c}"
-
-	eend 0
-
-	#
-	# Regen env.d if need/can be
-	#
-	if [[ ${ROOT} == "/" ]] && [[ ${TARGET} == ${HOST} ]] ; then
-		env-update
-		echo
-		ewarn "Please remember to run:"
-		echo
-		ewarn "  # . /etc/profile"
-		echo
-	fi
-
-	return 0
-}
-
-uninstall_target() {
-	: ${TARGET:=${UARG}}
-
-	if [[ ${TARGET} == ${HOST} ]] ; then
-		die "refusing to uninstall native binutils"
-	fi
-
-	shopt -s nullglob
-	PROFILE=""
-
-	for PROFILE in "${ENV_D}"/${TARGET}-* ; do
-		ewarn "Removing all signs of ${PROFILE##*/}"
-		rm -f "${ENV_D}"/${PROFILE}
-	done
-	if [[ -z ${PROFILE} ]] && [[ ! -e ${ENV_D}/config-${TARGET} ]] ; then
-		die "no profiles exist for '${TARGET}'"
-	fi
-
-	rm -f "${ENV_D}"/config-${TARGET} "${ROOT}"/etc/ld.so.conf.d/05binutils.conf
-
-	# XXX: we still leave behind FAKE_TARGETS in /usr/bin ...
-	local x
-	for x in \
-		addr2line ar as c++filt elf2flt elfedit flthdr gprof \
-		ld ld.{bfd,gold,real} \
-		nm objcopy objdump ranlib readelf size strings strip
-	do
-		x=(
-			"${ROOT}"/usr/bin/${TARGET}-${x}
-			"${ROOT}"/usr/{${HOST}/,}${TARGET}/bin/${x}
-			"${ROOT}"/usr/libexec/gcc/${TARGET}/${x}
-		)
-		rm -f "${x[@]}"
-	done
-	for x in ansidecl.h bfd.h bfdlink.h dis-asm.h symcat.h ; do
-		rm -f "${ROOT}"/usr/{${HOST}/,}${TARGET}/{usr/,}include/${x}
-	done
-	for x in bfd iberty opcodes ; do
-		rm -f "${ROOT}"/usr/${HOST}/${TARGET}/lib/lib${x}{{-*,}.so,.a,.la}
-	done
-	# Delete broken symlinks
-	local destdir="${ROOT}/usr/${HOST}/${TARGET}"
-	rm -f "${destdir}"/lib/ldscripts
-	find -L "${destdir}"/lib -type l -exec rm {} +
-	rmdir \
-		"${destdir}"/{bin,include,lib,usr} \
-		"${destdir}" \
-		"${ROOT}"/var/db/pkg/cross-${TARGET} \
-		"${ROOT}"/usr/{${HOST}/,}${TARGET}/bin \
-		"${ROOT}"/usr/libexec/gcc/${TARGET} \
-		2>/dev/null
-
-	rm -f "${ENV_D}"/${TARGET}-*
-}
-
-set_current_profile() {
-	if [[ ! -f ${ENV_D}/config-${TARGET} ]] ; then
-		eerror "${argv0}: unable to locate a profile for target: ${TARGET}"
-		return 1
-	fi
-
-	source "${ENV_D}/config-${TARGET}"
-
-	if [[ -z ${CURRENT} ]] ; then
-		eerror "${argv0}: no binutils profile is active!"
-		return 1
-	fi
-
-	echo "${TARGET}-${CURRENT}"
-
-	return 0
-}
-get_current_profile() { echo "${PROFILE}" ; }
-
-list_profiles() {
-	local x i target
-
-	if [[ ${ROOT} != / ]] ; then
-		echo "Using binutils-config info in ${ROOT}"
-	fi
-
-	set -- "${ENV_D}"/*
-	target=
-	i=1
-
-	for x ; do
-		# skip broken links and config files
-		[[ -f ${x} ]] || continue
-		[[ ${x} == */config-* ]] && continue
-
-		source "${x}"
-		if [[ ${target} != ${TARGET} ]] ; then
-			[[ -n ${target} ]] && echo
-			target=${TARGET}
-		fi
-
-		x=${x##*/}
-		if [[ -e ${ENV_D}/config-${TARGET} ]] ; then
-			source "${ENV_D}/config-${TARGET}"
-			if [[ ${VER} == ${CURRENT} ]] ; then
-				[[ ${TARGET} == ${HOST} ]] \
-					&& x="${x} ${GOOD}*${NORMAL}" \
-					|| x="${x} ${HILITE}*${NORMAL}"
-			fi
-		fi
-
-		# We would align the [...] field like so:
-		#printf ' [%*ss] %s\n' ${##} "${i}" "${x}"
-		# but this breaks simple scripting: `binutils -l | awk '{print $2}'`
-
-		# Or we could align the target col like so:
-		#printf ' [%s]%*s %s\n' "${i}" $(( ${##} - ${#i} )) "" "${x}"
-		# but i'm not sold that it looks better
-
-		# So keep it simple ... only makes a diff anyways for crazy people
-		# like me which have 100+ binutils packages installed ...
-		echo " [$i] ${x}"
-		((++i))
-	done
-}
-
-switch_linker() {
-	local bpath ld=$1
-
-	case ${ld} in
-	ld.*) ;;
-	*) die "not supported: linker must start with 'ld.'" ;;
-	esac
-
-	setup_env || return 1
-	bpath="${ROOT}/${BINPATH}"
-
-	# does this binutils even support the requested linker ?
-	if [[ ! -e ${bpath}/${ld} ]] ; then
-		die "sorry, but ${PROFILE} doesn't support the ${ld} linker"
-	fi
-
-	# switch it up
-	ebegin "Setting default linker to ${ld} for ${PROFILE}"
-	atomic_ln ${ld} "${bpath}" ld
-	eend $?
-}
-
-set_HOST() {
-	# Set HOST to CHOST if it isn't already set
-	: ${HOST:=${CHOST:-$(portageq envvar CHOST)}}
-}
-
-ENV_D="${ROOT}etc/env.d/binutils"
-
-DEBUG="no"
-NEED_ACTION="yes"
-DOIT="switch_profile"
-PROFILE="current"
-FAKE_TARGETS_USER=""
-HOST=""
-TARGET=""
-unset UARG
-
-select_action() {
-	if [[ ${NEED_ACTION} != "no" ]] ; then
-		NEED_ACTION="no"
-		DOIT=$1
-	else
-		die "one action at a time!"
-	fi
-}
-
-while [[ $# -gt 0 ]] ; do
-	x=$1
-	shift
-	case ${x} in
-		-c|--get-current-profile)  select_action get_current_profile ;;
-		-l|--list|--list-profiles) select_action list_profiles ;;
-		-u|--uninstall)            select_action uninstall_target ;;
-		--linker)                  select_action "switch_linker $1"; shift ;;
-		-d|--debug)                DEBUG="yes" ;;
-		-h|--help)                 usage 0 ;;
-		-V|--version)
-			unset Header
-			cvsver="$Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-3,v 1.11 2013/05/05 05:20:42 vapier Exp $"
-			cvsver=${cvsver##*binutils-config-}
-			bver=${cvsver%%,v *}
-			cvsver=${cvsver#* }
-			echo "binutils-config-${bver} (r${cvsver%% *})"
-			exit 0
-			;;
-		--amd64|--arm|--mips|--x86)
-			if [[ ${NEED_ACTION} == "yes" ]] ; then
-				# Make sure we have a space after each target
-				NEED_ACTION="no"
-				case ${x} in
-					--amd64) FAKE_TARGETS_USER="x86_64 ";;
-					--arm)   FAKE_TARGETS_USER="arm armeb ";;
-					--x86)   FAKE_TARGETS_USER="i386 i486 i586 i686 ";;
-					--mips)  FAKE_TARGETS_USER="mips mips64 mipsel mipsel64 ";;
-				esac
-			fi
-			;;
-		-*)
-			die "invalid switch!  Try '--help'."
-			;;
-		*)
-			if [[ ${UARG+set} == "set" ]] ; then
-				die "only one profile/target at a time please"
-			fi
-			NEED_ACTION="maybe"
-			UARG=${x}
-			;;
-	esac
-done
-
-[[ ${NEED_ACTION} == "yes" ]] && usage 1
-[[ ${DEBUG} == "yes" ]] && set -x
-
-# All operations need to know the current HOST to figure out
-# what is a native target and what is a cross target
-set_HOST
-
-# All operations need to know the profile the user wants
-case ${DOIT} in
-switch_profile|switch_linker_*)
-	# decode user's profile choice
-	x=${UARG:-$(TARGET=${HOST} set_current_profile)}
-	PROFILE=""
-	if [[ -z $(echo ${x} | tr -d '[:digit:]') ]] ; then
-		# User gave us a # representing the profile
-		i=1
-		for y in "${ENV_D}"/* ; do
-			[[ ${y/config-} != ${y} ]] && continue
-
-			if [[ -f ${y} ]] && [[ ${x} -eq ${i} ]] ; then
-				PROFILE=${y##*/}
-				break
-			fi
-			((++i))
-		done
-	fi
-
-	if [[ -z ${PROFILE} ]] ; then
-		# User gave us a full HOST-ver
-		x=${x##*/}
-		if [[ -f ${ENV_D}/${x} ]] ; then
-			# Valid HOST-ver yeah!
-			PROFILE=${x}
-		else
-			# Not a valid HOST-ver ...
-			if [[ ! -f ${ENV_D}/config-${x} ]] ; then
-				# Maybe they just gave us a ver ...
-				if [[ -f ${ENV_D}/${HOST}-${x} ]] ; then
-					x=${HOST}-${x}
-				else
-					die "could not locate '$x' in '${ENV_D}/'!"
-				fi
-				PROFILE=${x}
-			else
-				# Maybe they just gave us a target ... pick active profile
-				PROFILE=$(TARGET=${x} set_current_profile)
-			fi
-		fi
-	fi
-	;;
-*)
-	# lookup current profile as the user gave us a target
-	PROFILE=$(TARGET=${UARG:-${HOST}} set_current_profile) || exit 1
-	;;
-esac
-
-eval ${DOIT}
-
-# vim:ts=4

diff --git a/sys-devel/binutils-config/files/binutils-config-1.9 b/sys-devel/binutils-config/files/binutils-config-1.9
old mode 100755
new mode 100644

diff --git a/sys-devel/binutils-config/files/binutils-config-2 b/sys-devel/binutils-config/files/binutils-config-2
old mode 100755
new mode 100644

diff --git a/sys-devel/binutils-config/files/binutils-config-3 b/sys-devel/binutils-config/files/binutils-config-3
old mode 100755
new mode 100644

diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest
index c781f7a..8bde4f8 100644
--- a/sys-devel/binutils/Manifest
+++ b/sys-devel/binutils/Manifest
@@ -23,7 +23,7 @@ AUX binutils-2.23-ar-ranlib-truncate.patch 1095 SHA256 6d09ce8e2fbf370fd73f9ff61
 AUX binutils-2.23-mbstate_t.patch 5739 SHA256 ec17ce4d4e47d861f2300dcbdf4f4143c38c7919af9bdb8dd82350e8f0f332e7 SHA512 33eff1d30b93f13dbd11959c9110bf0f787b1e2318f2cd03f9918f8089c136aa6a5188d759825e8b0bb819000ab552234dd18568b121cc6ea9b537538a97e79b WHIRLPOOL 3da5ad51d0a13d0028570cf61b8b60ea19722073a70af6b5d9d07f5845b9970243a65d3359ae91ce58f4167e47837439eecec94db5d3f86a0e3fab03736bfcd0
 AUX binutils-2.23-no-ld-script-sysroot.patch 376 SHA256 0439bfa86a1f4dfd18b56b0104e78a3c670584424ebb6205c673fc6f5015b7e0 SHA512 4624f2ceebba47c2656430d1923c72a6a20cff2c57b58ecb001fd4e67e3a34c7054f1f0f12be7ef21f4789298800106219f4a5dd19cafadf9858ba0d4bee5f43 WHIRLPOOL 40de5dc12ca11855188fe16b85d892085e64cbaedcb04a266085502f2cea9de3d94d2c61036548ed3248f7d48b986ac5748aed7bf750f0f9f78c53af515d3329
 AUX binutils-2.23-no-rpath-sysroot.patch 1008 SHA256 9c35d21c8a5ac0edf8812ea126b6cc7f8ed630a73f4c91db3cc27652b638d8b6 SHA512 d5b311f18f3f6b0e21fbb3da355cd99e98e9ed10d23b9b684a2f0de263966c959b39d22866f93cefb1d81814fd1a7ade14302338c57a12614fd9d64c5b390710 WHIRLPOOL 10b832f32a0f9acc9924bd0d5d81ee99cc13549309691025e8d90a874bf99dfde0efe9a0a357c9c924edf2cd34a2f3371c43a79ea8375d7377507fa5c961d34c
-AUX binutils-2.23-runtime-sysroot.patch 4476 SHA256 123e8de7d74a65ad45dcd0d4f6a6248b45b02938547b9c3fb9f8b2c3f776054e SHA512 48bea81d36d5fa53ae9981d2332490f4063ad50937363f4b7701bbc218c95fb7e1551ca3ca880f317d2ab7e9fbda736075a98d034b1aa969013aab1b0c48e3a1 WHIRLPOOL 8db49092cbea421a3e520bd94ba41ab287e1950ca67d577a369b35da5c93dc318a6a80600bba643bcc6b62ffa16de3055551cba2eb24a06d100827748e2ee211
+AUX binutils-2.23-runtime-sysroot.patch 7447 SHA256 8fcda46e89f7870e1feb6264e767f960f213c32e079ff557183a63e51466271d SHA512 23f5865ce55923c41fa92cc83611887037b773a08cb57b6b94bfba090bffdf4ed7fe0e6d8a85f882ef936afd0e1bad0d07b11a568671ddf047ec6113fc1a1bfa WHIRLPOOL 954b228b14950eaac28f322c5d53638c4e1a5a362f0cccae3d355beb354dc916188d9b33fd003802ebfd00336f5da00c83e524255637fe164c2ef216166e2535
 DIST binutils-2.19.1-patches-1.2.tar.bz2 10544 SHA256 128c949a46e6c516b5ebb2dbb7be553db7d8f1ee174896d1b63adbd0950030b3 SHA512 6aa2c923748d5b80f8e495176f19d8df8defcaa53915835b57a1da7c7a78668cb63d3380dd027593c8909a35de61adf2ea3d0ace64eeb537171271a6c6cbf33e WHIRLPOOL 04b26a82b2021626d4402c3275776bd9f91139082ae799350f9605bfa7e72fd3d72aac7636fbeb0e1fcdb93b6e903b396320b439502462baad06a61b0a3960e6
 DIST binutils-2.19.1.tar.bz2 16306586 SHA256 2dbd2c554b70d915c5b32fcfd401d03afcbf202529059c7a80af3993885ad1c2 SHA512 22af3cf65ad2f76469440fb992e50a10895fcec1265b98781138db0fc40bf06565af86dc73ca0b97bee764ec797439a89b5dbca2a5da74f375af55383887c436 WHIRLPOOL 340c12072a60c8f7b4b930a857e87d9723bdd2b0c61bef5a06810e11406f3e7955632a93a59c68b60220a882ff99273af3a9995872aa7a11604dd04182ebc6a2
 DIST binutils-2.20.1-patches-1.2.tar.bz2 15747 SHA256 30738e18f492bd653421d4bc4d52b841680fe4b17a69524e081d9befadef6d3b SHA512 23c1026db7748f9f958d32f6bfd2b362dae3bdee33612fb6a0cc4277fcb360a55c5618dc748a7119b12794a1bc22ea70af92c04f5283c0041bc681e5db4266b4 WHIRLPOOL fc73133cbd0aaf9447296425dd22907d3b984a9d8c0631be5155cd887ca44932b5d3651d538783ac10e520c6b43a077fb045ea720d95855f04b4ba47cb9076a2
@@ -50,6 +50,6 @@ EBUILD binutils-2.23.51.0.3.ebuild 1926 SHA256 d0ced61c78ac4b32e1d2ba5d4175ede6f
 EBUILD binutils-2.23.51.0.5.ebuild 1926 SHA256 5acbc0b45224ef8cadfa29ab59dbf656db8a68c5399b5b60bcd392144b1c1b6d SHA512 d16696d16e8fcb39f66daf6a7b6a5b1fc9361e75a5a3d432c0ba828f29d6f12230124b6d9d8cd175c9530a3ff8d59998c3e74080fe5fa39f8a3976ac9eafd0bf WHIRLPOOL adb0754bb3cb1a52137905c32149d281fab69a2e860ccbbbd610b0647b319777bdf6c6ff1a45d6123d41787d25c0d7310e3702f950aea470aaa45234ef974b2f
 EBUILD binutils-2.23.51.0.6.ebuild 1926 SHA256 dc592c519f9b3eae5587db82029c61f2377eff12680362d4c611895a21e259bd SHA512 2a3c053484c4edee75aeec65310088046ca53e978a23705a432db57f08ee2f064af7d71548f16dbb38c053586881b1d2d39497a892a31d7f7ab8e49b548108c0 WHIRLPOOL f1ee641ed30639264904d3fc0db5bca3ec9efb5c890eabff79fd400c92558ed6b5a80898bc6b349d110ac7290f39dcd23c8a7fc02533ebfe79896cb9b2a91636
 EBUILD binutils-2.23.51.0.8.ebuild 1926 SHA256 108ad27215ebb8602193ead950a3962c724f1b24e5e14e05277b96a189d63876 SHA512 7a1b7840aa428ee2e52446c8082c16db07f61b7434ba9562d48e1b9e68e3bf449c0a54c31d250ece8fd371f09bb694162a6ed5bdf9f6c8539710c5295601ad20 WHIRLPOOL ed01c0234f6da5f75d700184ded119106d66462c5327b48b9d7ed6d0dd74aec70f866dbc043aaf6bc5bc2d9f98cf313eb11a7df96ae28f7f1ec6dccb9ba3b645
-EBUILD binutils-2.23.ebuild 2135 SHA256 1849d4d616080f5ed8dee63ce5591a443cd55894cef188a93772109b8ac796a4 SHA512 c42bc7ea2f3ccd0ddad0fefbec91db6d1851c7d70f028d119994e445b98c5af5d77f89a0cd6787b1bec25f32a67e08eb35ac141d9e9a3d6455e04db968433090 WHIRLPOOL 8221b0257ee32f5db9746e26b8d34d637c21ac6949fd24e8ecbed5aeebf725e006104bd36a8a08bfb1cb5efdc41be541646616d505a6162251fa824511e64fb2
+EBUILD binutils-2.23.ebuild 2145 SHA256 e5778981837d3b6b987ca26c9bf9d0f1d71b408b3ca444e7762c46c38e46885e SHA512 9e45acb3abcfd4ed126a24aacc500522f6c2ea7915c59f993e66db8b66fef96062fb97127fb22a044b424486e4a75228d16507c4eb599105c532b9d47eef7f96 WHIRLPOOL df268e60b3e2a9642faabaa16e92adda81064122a3d009087e7d260ecdf92403a189fee1ac4f749c91b542bb0313432e2cbd50f28c211532d20ec416e5e04633
 MISC ChangeLog 79130 SHA256 eec9a2c9c8eaed424daddcbe78677d8512ebe8072ab5828d6c329cbaf4c74557 SHA512 c0b47a76155c56dcc25863cc8174a379470e1d2620602b34dd452c1b56b9b818af545bed30cabc8e8f4d68f019aa5c87bd10081784bb5c4c9cb6e2adaf1a9f44 WHIRLPOOL fbf0a664cd49d9faa29006768342890ff4906580aedbb4ebfeacba4dd32754badab6c941700f078a8bc020456c985dc255eeb26a9144d7f72a30bdd7b64398a9
 MISC metadata.xml 386 SHA256 58db91727c014c22db0fde315c25cb22c59dc5c15af5d30ee4c01a248500b67c SHA512 f5c6d289f0018d0eeb4ebb2fbbfda7c08aa70a98771f1c0795838137a0e3b848fc9e2b2355cbc7367a72dc00dd5e0a946c0eb5349a86eb3796af43918961733a WHIRLPOOL 92b3371b27092dbaed212837f544b059d5b0b2c547ef8c965836ac1dab1cdee198bb6ab63ab495eccdd1be1c1f5ce9e93624722a9ffd433a7615be202134336a

diff --git a/sys-devel/binutils/binutils-2.23.ebuild b/sys-devel/binutils/binutils-2.23.ebuild
index a6c8d42..2fb8674 100644
--- a/sys-devel/binutils/binutils-2.23.ebuild
+++ b/sys-devel/binutils/binutils-2.23.ebuild
@@ -32,7 +32,7 @@ src_compile() {
 	*-interix*) EXTRA_ECONF="${EXTRA_ECONF} --without-gnu-ld --without-gnu-as" ;;
 	esac
 
-	use rap && EXTRA_ECONF+=" --disable-runtime-sysroot"
+	is_cross || EXTRA_ECONF+=" $(use_enable !rap runtime-sysroot)"
 
 	toolchain-binutils_src_compile
 }

diff --git a/sys-devel/binutils/files/binutils-2.23-runtime-sysroot.patch b/sys-devel/binutils/files/binutils-2.23-runtime-sysroot.patch
index 436e3df..dd280e3 100644
--- a/sys-devel/binutils/files/binutils-2.23-runtime-sysroot.patch
+++ b/sys-devel/binutils/files/binutils-2.23-runtime-sysroot.patch
@@ -114,3 +114,98 @@ Index: binutils-2.23/ld/ld.texinfo
  
  If you use @samp{INPUT (-l@var{file})}, @command{ld} will transform the
  name to @code{lib@var{file}.a}, as with the command line argument
+Index: binutils-2.23/ld/configure
+===================================================================
+--- binutils-2.23.orig/ld/configure
++++ binutils-2.23/ld/configure
+@@ -773,6 +773,7 @@ with_lib_path
+ enable_targets
+ enable_64_bit_bfd
+ with_sysroot
++enable_runtime_sysroot
+ enable_gold
+ enable_got
+ enable_werror
+@@ -1428,6 +1429,10 @@ Optional Features:
+ 			  (and sometimes confusing) to the casual installer
+   --enable-targets        alternative target configurations
+   --enable-64-bit-bfd     64-bit support (on hosts with narrower word sizes)
++  --enable-runtime-sysroot
++                          prepend sysroot to libpath in ld script and rpath,
++                          only used in addition to --with-sysroot (default is
++                          yes)
+   --enable-gold[=ARG]     build gold [ARG={default,yes,no}]
+   --enable-got=<type>     GOT handling scheme (target, single, negative,
+                           multigot)
+@@ -4317,6 +4322,21 @@ fi
+ 
+ 
+ 
++# Check whether --enable-runtime-sysroot was given.
++if test "${enable_runtime_sysroot+set}" = set; then :
++  enableval=$enable_runtime_sysroot; case "${enableval}" in
++  no) ;;
++  *)
++$as_echo "#define ENABLE_RUNTIME_SYSROOT /**/" >>confdefs.h
++ ;;
++esac
++else
++
++$as_echo "#define ENABLE_RUNTIME_SYSROOT /**/" >>confdefs.h
++
++fi
++
++
+ # Check whether --enable-gold was given.
+ if test "${enable_gold+set}" = set; then :
+   enableval=$enable_gold; case "${enableval}" in
+@@ -6744,7 +6764,7 @@ else
+     lt_cv_sys_max_cmd_len=8192;
+     ;;
+ 
+-  mint* | amigaos*)
++  amigaos*)
+     # On AmigaOS with pdksh, this test takes hours, literally.
+     # So we just punt and use a minimum line length of 8192.
+     lt_cv_sys_max_cmd_len=8192;
+@@ -12177,7 +12197,7 @@ else
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<_LT_EOF
+-#line 12180 "configure"
++#line 12200 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+@@ -12283,7 +12303,7 @@ else
+   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+   lt_status=$lt_dlunknown
+   cat > conftest.$ac_ext <<_LT_EOF
+-#line 12286 "configure"
++#line 12306 "configure"
+ #include "confdefs.h"
+ 
+ #if HAVE_DLFCN_H
+Index: binutils-2.23/ld/config.in
+===================================================================
+--- binutils-2.23.orig/ld/config.in
++++ binutils-2.23/ld/config.in
+@@ -2,7 +2,7 @@
+ 
+ /* Check that config.h is #included before system headers
+    (this works only for glibc, but that should be enough).  */
+-#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
++#if defined(__GLIBC__) && !defined(__CONFIG_H__)
+ #  error config.h must be #included before system headers
+ #endif
+ #define __CONFIG_H__ 1
+@@ -11,6 +11,9 @@
+    language is requested. */
+ #undef ENABLE_NLS
+ 
++/* prepend sysroot to libpath in ld script and rpath */
++#undef ENABLE_RUNTIME_SYSROOT
++
+ /* Additional extension a shared object might have. */
+ #undef EXTRA_SHLIB_EXTENSION
+ 

diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
index 2376d30..8b3f5ad 100644
--- a/sys-devel/crossdev/Manifest
+++ b/sys-devel/crossdev/Manifest
@@ -1,10 +1,10 @@
-AUX crossdev 19527 RMD160 32229943fb7e56ef7ef12cdc10a43a5590bfe350 SHA1 3666f4c8e9fb519fbeab85bfd13d44091d0f14af SHA256 8f969f9be291a28e603a0ea3fb4ad46623dac6a1ac95d9a2b732e14d19651584
-AUX crossdev-stable 18883 RMD160 4398b53e0a30c7aff5c28f25ade2c00854356399 SHA1 cf22ce6595aea186515dc55d7482cca182e337aa SHA256 6a69e6481b4c304185d652d4f7cfa1024466a5990eb9670fc50aa85dcb8efd10
-DIST crossdev-20100108.tar.lzma 16243 RMD160 443fe4b69804f35af99b60c5ba4b4adeb20e8d4a SHA1 c6e1cc0368f94ce08a9cb80ae2212e43c1d190c8 SHA256 f4a91418e5b917773e0dbcfdec254c52eb37f80ef1b41a0e27b9aea0c65793d7
-EBUILD crossdev-0.9.18-r10.ebuild 618 RMD160 5c94298c52bc039c02d863038989839a6511616b SHA1 8d7563f422b18ba4cdfb775acbcbae90e9d281bd SHA256 1a355b96ba040e1646a4af43d9e3b9a96ae23c6278613f34fcf55e96d75d5a8c
-EBUILD crossdev-0.9.19.ebuild 597 RMD160 af192b15e419e1f47ece4e358d3516a594f2a2fd SHA1 65d7eb9cfa73f859024398a75f375fe4b7c3eb1c SHA256 6d312b25f283ecee742f22fd91bb9abd8d54f15cbeb64a11d7e8e4be2831a661
-EBUILD crossdev-20091209.ebuild 752 RMD160 58c4436a5b167ff0be536d63122ee9bf467ce441 SHA1 709c61c290ea7516af17fabcf2458c1a9c69b130 SHA256 0dc6a83076d434c0bbfb3b7c39102a704f7f05f39c435f4ae3a2e66fac1d5863
-EBUILD crossdev-20100108.ebuild 757 RMD160 6e688f0456a3ba482e904ac39a99abf5b730a77d SHA1 575b979574a5b23d6ae5e0e4d5cdddefdbc3d903 SHA256 b0f54edda3225c0c4bb0f63c9506d440385c3c4d525546cfafd3ea70248ada60
-EBUILD crossdev-99999999.ebuild 866 RMD160 8442ce8d73b0243bdd5a5330b2eb06235ec42c82 SHA1 dca70c190f7066993b40fe5ab496bf10df44164c SHA256 30e95cde99fd8f996eabc522a290c9a5563ce8ecaa695d24f284f1af0f0db701
-MISC ChangeLog 13045 RMD160 249da80fc9c20532664bea14b8337f3cfb4011c3 SHA1 b46359070c5896ccaa1a7489b609188e165ab05b SHA256 673b468a1cabcbc75f10a6bb729edf423d34258bee788ddc8fd1c8aeba5fcfdd
-MISC metadata.xml 244 RMD160 f552098e3ac30556cac1be37c2aafecf54ca111f SHA1 867bd081ff52648d611d570d011987677c85b7c6 SHA256 5431488a9792fce5a4d11743e355abefa2c5016c9b542c2e53d87072d553a37f
+AUX crossdev 19527 SHA256 8f969f9be291a28e603a0ea3fb4ad46623dac6a1ac95d9a2b732e14d19651584 SHA512 c59d329ae6771acebf5bafc0e8a6ed1342b2ce5da3938e71576e0ab0abc8d0138505143ed3d4fb265fa333e84e97612a1131f8b79511087d4d50fe43b4d23d54 WHIRLPOOL 6dfc096549ab0146871d1403c43c6144badebd452d2b3e32ebc9d86fba50cd1e6c88f181125a1a53024f9c3e954b0a712d903ebf399fb6bd0865cda27f542342
+AUX crossdev-stable 18883 SHA256 6a69e6481b4c304185d652d4f7cfa1024466a5990eb9670fc50aa85dcb8efd10 SHA512 273b31245ffa8210d850f43d54a3c9826b6757e26dd216aa2f7d88415558badc138e121056221a653cd9a5f0aa6283dd152521ea4eaab104db6c1fd581f35fbd WHIRLPOOL 8623100d1e618b0393aa1ec794e0b1dd0601056592a8b5c47569a17ff72e041cd900dc77ad0754ef33629b31e9c631b5ffbc924805e4c08fe8000234936d7ab3
+DIST crossdev-20100108.tar.lzma 16243 SHA256 f4a91418e5b917773e0dbcfdec254c52eb37f80ef1b41a0e27b9aea0c65793d7
+EBUILD crossdev-0.9.18-r10.ebuild 618 SHA256 1a355b96ba040e1646a4af43d9e3b9a96ae23c6278613f34fcf55e96d75d5a8c SHA512 95f44903c0bdb7132792a1d9350f4df8a4d9441a923bcaf346669d50d6ae2c93d0847e6cea4ccb8dd242bfad9e3f2c3b5fa5dd775fc2ceba8fce18fe2fddae82 WHIRLPOOL cd25a2856765c06ec1fe5063129c6e7f36e410893d1cd617fb71d4a17a1eceac1b07835bf89f05f421428aabe140858e621d88f4185bbb934fbb0d490e0f3e78
+EBUILD crossdev-0.9.19.ebuild 597 SHA256 6d312b25f283ecee742f22fd91bb9abd8d54f15cbeb64a11d7e8e4be2831a661 SHA512 87093b1255255e0b534fc6815d3636c7cfbe001b2e088ac184785c32688bf7989897283dc825937ac63b2ea6eaeff35c93582ec4b4be9d50e180a2b906f7694f WHIRLPOOL 80de942e465990132e8fd149dc6f94f49de73fb49442202e18f2ff360f269e5ac8bb3dc67dce0162d3674ab73565a50b36377881bd71643232f5ecbb40a6328e
+EBUILD crossdev-20091209.ebuild 752 SHA256 0dc6a83076d434c0bbfb3b7c39102a704f7f05f39c435f4ae3a2e66fac1d5863 SHA512 9c6ff3acf82bd10f349fa890440fe0ddb89254ba9e327cb709ce6cb5f493bbb08aaf83f257892a9b6075b3ea957433d789af5bb0f0ffca79b17a0629bcdb78ed WHIRLPOOL b56ee0f177f2a385925c74c033d5f486222e014b834b8695783060f0d47a8c9a2110849c1caa6de60329411f48560bbfc476ef898b7f5c859bb6318fb70fb6f8
+EBUILD crossdev-20100108.ebuild 757 SHA256 b0f54edda3225c0c4bb0f63c9506d440385c3c4d525546cfafd3ea70248ada60 SHA512 071435ac3dc64661ee1d6cc797db0aacac75fb8a4324f6ff61a4f96a8a9831dc71fd7a8e83323179c2762635770020f3a666ad2b7160ab3c68b4c07b860b8944 WHIRLPOOL 62a5f23a3dbfabe9e12cc0358667dd914d08aa8d84b8748702b0aedee2bd0f2280b0b0c9a6db50205a71cb3ffb8a657f5b674ae95f95044fa5c69ee5080b87d4
+EBUILD crossdev-99999999.ebuild 890 SHA256 02e077fe328ca8d022bbc0f71c50ac07bebd3d116a9ed200d689e2a535ed79cc SHA512 bcf64140f1eb41ff2ffa3eaf317f69c5b47aaf5a969505148c42eb750af48e591a4fb202773662ae48eef857ab433a2ccf1115fa2c35665124be8da19b5b6fd6 WHIRLPOOL d75589229b949eb9b4a77f975d0ef506dab4207355a156692b30b75b9b0056ca7ae6bc4f8ad9f318fdbb6f93a2998969d35700a22c99e06de98941e98415e4ba
+MISC ChangeLog 13045 SHA256 673b468a1cabcbc75f10a6bb729edf423d34258bee788ddc8fd1c8aeba5fcfdd SHA512 8c1f775f0ef7b465584555e43b6a31a170b09ad9a28e122fea35c144645a034a25f5ee4473ced998389b79e22bd826439034e9d0095fc309ed0ccec3e47b45d4 WHIRLPOOL 25d441ebc35c846cb989223eddf68ad4a89275b1060854839306ba948e7d27cd27429ac012eb3895dead7d245f3f34c97443c3a3d2ee211da568cf70d952e9f3
+MISC metadata.xml 244 SHA256 5431488a9792fce5a4d11743e355abefa2c5016c9b542c2e53d87072d553a37f SHA512 4a33773e95965b86d3e2f934eec69d4f69e46f07015f4c61ca278e4dd248e98170952b683dccd06a672e2f582db6bc76a8abb1d38ecce98f4e33bbef6539d6c0 WHIRLPOOL 831226e1c2bab3af85242e42a117d3e660aa146c1e3a5ceef39f9bfd855b1402e902f7ae1504fc8e23a8b3bbb4871f6033326367f86da701034c5b52dd5fd29b

diff --git a/sys-devel/crossdev/crossdev-99999999.ebuild b/sys-devel/crossdev/crossdev-99999999.ebuild
index 7b277da..a67faa4 100644
--- a/sys-devel/crossdev/crossdev-99999999.ebuild
+++ b/sys-devel/crossdev/crossdev-99999999.ebuild
@@ -5,7 +5,7 @@
 EAPI="3"
 
 if [[ ${PV} == "99999999" ]] ; then
-	EGIT_REPO_URI="/home/benda/tmp/Build/crossdev"
+	EGIT_REPO_URI="http://git.heroxbd.z.tuna.tsinghua.edu.cn/crossdev.git"
 	inherit git-2
 	SRC_URI=""
 	#KEYWORDS=""

diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev
old mode 100755
new mode 100644

diff --git a/sys-devel/crossdev/files/crossdev-stable b/sys-devel/crossdev/files/crossdev-stable
old mode 100755
new mode 100644

diff --git a/sys-devel/gcc-config/files/gcc-config-1.5 b/sys-devel/gcc-config/files/gcc-config-1.5
old mode 100755
new mode 100644

diff --git a/sys-devel/gcc/files/c89 b/sys-devel/gcc/files/c89
old mode 100755
new mode 100644

diff --git a/sys-devel/gcc/files/c99 b/sys-devel/gcc/files/c99
old mode 100755
new mode 100644

diff --git a/sys-devel/gcc/files/fix_libtool_files.sh b/sys-devel/gcc/files/fix_libtool_files.sh
old mode 100755
new mode 100644

diff --git a/sys-devel/gcc/files/mkinfodir b/sys-devel/gcc/files/mkinfodir
old mode 100755
new mode 100644

diff --git a/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh b/sys-devel/gcc/files/scan_libgcc_linked_ssp.sh
old mode 100755
new mode 100644

diff --git a/sys-fs/fuse/ChangeLog b/sys-fs/fuse/ChangeLog
new file mode 100644
index 0000000..2ab48c9
--- /dev/null
+++ b/sys-fs/fuse/ChangeLog
@@ -0,0 +1,729 @@
+# ChangeLog for sys-fs/fuse
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v 1.187 2013/07/21 08:56:44 radhermit Exp $
+
+  21 Jul 2013; Tim Harder <radhermit@gentoo.org> -fuse-2.8.6.ebuild,
+  -fuse-2.8.7.ebuild, -fuse-2.9.0.ebuild, -fuse-2.9.1.ebuild,
+  -fuse-2.9.1-r1.ebuild:
+  Remove old.
+
+*fuse-2.9.3 (21 Jul 2013)
+
+  21 Jul 2013; Tim Harder <radhermit@gentoo.org> +fuse-2.9.3.ebuild:
+  Version bump, add examples use flag.
+
+  09 Jun 2013; Mike Frysinger <vapier@gentoo.org> metadata.xml:
+  Add upstream CPE tag (security info) from ChromiumOS.
+
+  15 Mar 2013; Jeroen Roovers <jer@gentoo.org> fuse-2.9.2.ebuild:
+  Stable for HPPA (bug #460564).
+
+  09 Mar 2013; Agostino Sarubbo <ago@gentoo.org> fuse-2.9.2.ebuild:
+  Stable for sparc, wrt bug #460564
+
+  09 Mar 2013; Agostino Sarubbo <ago@gentoo.org> fuse-2.9.2.ebuild:
+  Stable for ia64, wrt bug #460564
+
+  09 Mar 2013; Agostino Sarubbo <ago@gentoo.org> fuse-2.9.2.ebuild:
+  Stable for alpha, wrt bug #460564
+
+  09 Mar 2013; Agostino Sarubbo <ago@gentoo.org> fuse-2.9.2.ebuild:
+  Stable for ppc, wrt bug #460564
+
+  09 Mar 2013; Agostino Sarubbo <ago@gentoo.org> fuse-2.9.2.ebuild:
+  Stable for ppc64, wrt bug #460564
+
+  08 Mar 2013; Agostino Sarubbo <ago@gentoo.org> fuse-2.9.2.ebuild:
+  Stable for arm, wrt bug #460564
+
+  07 Mar 2013; Agostino Sarubbo <ago@gentoo.org> fuse-2.9.2.ebuild:
+  Stable for x86, wrt bug #460564
+
+  07 Mar 2013; Agostino Sarubbo <ago@gentoo.org> fuse-2.9.2.ebuild:
+  Stable for amd64, wrt bug #460564
+
+  06 Mar 2013; Samuli Suominen <ssuominen@gentoo.org> fuse-2.9.2.ebuild:
+  Since oldest util-linux in tree is 2.19.1 and --fake --no-canonicalize for
+  mount and umount has worked since 2.18 assume it's present to avoid sandbox
+  violation with mtab writability wrt #438250 by Attila Tóth and Canek Peláez
+  Valdés
+
+  17 Feb 2013; Zac Medico <zmedico@gentoo.org> fuse-2.8.6.ebuild,
+  fuse-2.8.7.ebuild, fuse-2.9.0.ebuild, fuse-2.9.1-r1.ebuild, fuse-2.9.1.ebuild,
+  fuse-2.9.2.ebuild:
+  Add ~arm-linux keywords.
+
+  20 Jan 2013; Agostino Sarubbo <ago@gentoo.org> fuse-2.9.1-r1.ebuild:
+  Stable for arm, wrt bug #437568
+
+  30 Dec 2012; Agostino Sarubbo <ago@gentoo.org> fuse-2.9.1-r1.ebuild:
+  Stable for sparc, wrt bug #437568
+
+  29 Dec 2012; Agostino Sarubbo <ago@gentoo.org> fuse-2.9.1-r1.ebuild:
+  Stable for alpha, wrt bug #437568
+
+  17 Dec 2012; Agostino Sarubbo <ago@gentoo.org> fuse-2.9.1-r1.ebuild:
+  Stable for ia64, wrt bug #437568
+
+  11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> fuse-2.9.1-r1.ebuild,
+  fuse-2.9.2.ebuild:
+  get udevdir using udev.eclass , to support virtual/udev
+
+*fuse-2.9.2 (01 Dec 2012)
+
+  01 Dec 2012; Tim Harder <radhermit@gentoo.org> +fuse-2.9.2.ebuild:
+  Version bump (bug #439308).
+
+  07 Nov 2012; Jeroen Roovers <jer@gentoo.org> fuse-2.9.1-r1.ebuild:
+  Stable for HPPA (bug #437568).
+
+  17 Oct 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> fuse-2.9.1-r1.ebuild:
+  x86 stable wrt bug #437568
+
+  12 Oct 2012; Agostino Sarubbo <ago@gentoo.org> fuse-2.9.1-r1.ebuild:
+  Stable for amd64, wrt bug #437568
+
+  11 Oct 2012; Anthony G. Basile <blueness@gentoo.org> fuse-2.9.1-r1.ebuild:
+  stable ppc64, bug #437568
+
+  10 Oct 2012; Brent Baude <ranger@gentoo.org> fuse-2.9.1-r1.ebuild:
+  Marking fuse-2.9.1-r1 ppc for bug 437568
+
+*fuse-2.9.1-r1 (10 Aug 2012)
+
+  10 Aug 2012; Samuli Suominen <ssuominen@gentoo.org> +fuse-2.9.1-r1.ebuild:
+  Query correct udevdir from udev.pc pkg-config file.
+
+*fuse-2.9.1 (01 Aug 2012)
+
+  01 Aug 2012; Tim Harder <radhermit@gentoo.org> +fuse-2.9.1.ebuild:
+  Version bump.
+
+  09 Jul 2012; Sebastian Pipping <sping@gentoo.org> fuse-2.8.7.ebuild,
+  fuse-2.9.0.ebuild:
+  Resolve duplicate _GNU_SOURCE for FUSE >=2.8.7 (patch only needed for
+  <=2.8.6)
+
+*fuse-2.9.0 (21 Apr 2012)
+
+  21 Apr 2012; Tim Harder <radhermit@gentoo.org> +fuse-2.9.0.ebuild:
+  Version bump.
+
+  14 Apr 2012; Zac Medico <zmedico@gentoo.org> fuse-2.8.6.ebuild:
+  Add ~amd64-linux keyword.
+
+  12 Apr 2012; Kacper Kowalik <xarthisius@gentoo.org> fuse-2.8.7.ebuild:
+  Add ~amd64-linux keyword
+
+  17 Feb 2012; Tim Harder <radhermit@gentoo.org> -fuse-2.8.5.ebuild,
+  -files/fuse-2.8.5-double-version.patch:
+  Remove old.
+
+  15 Feb 2012; Brent Baude <ranger@gentoo.org> fuse-2.8.6.ebuild:
+  Marking fuse-2.8.6 ppc for bug 392949
+
+  12 Feb 2012; Tony Vroon <chainsaw@gentoo.org> fuse-2.8.6.ebuild:
+  Marked stable on PPC64 as requested by Tim "radhermit" Harder in bug
+  #392949. Compile tested on a PowerMac7,3 (64UL) with GCC 4.5.3.
+
+*fuse-2.8.7 (07 Feb 2012)
+
+  07 Feb 2012; Tim Harder <radhermit@gentoo.org> +fuse-2.8.7.ebuild:
+  Version bump.
+
+  11 Dec 2011; Raúl Porcel <armin76@gentoo.org> fuse-2.8.6.ebuild:
+  alpha/ia64/sparc stable wrt #392949
+
+  11 Dec 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> fuse-2.8.6.ebuild:
+  x86 stable wrt bug #392949
+
+  04 Dec 2011; Markos Chandras <hwoarang@gentoo.org> fuse-2.8.6.ebuild:
+  Stable on amd64 wrt bug #392949
+
+  04 Dec 2011; Jeroen Roovers <jer@gentoo.org> fuse-2.8.6.ebuild:
+  Stable for HPPA (bug #392949).
+
+  17 Sep 2011; Zac Medico <zmedico@gentoo.org> fuse-2.8.6.ebuild:
+  Remove ${D}/dev for prefix.
+
+*fuse-2.8.6 (15 Sep 2011)
+
+  15 Sep 2011; Tim Harder <radhermit@gentoo.org> +fuse-2.8.6.ebuild:
+  Version bump. Update to EAPI 4 and add static-libs use flag.
+
+  15 Aug 2011; Mike Frysinger <vapier@gentoo.org> fuse-2.8.5.ebuild:
+  Fix building with glibc-2.14 #370411 by Diego Elio Pettenò.
+
+  29 Jul 2011; Zac Medico <zmedico@gentoo.org> fuse-2.8.5.ebuild:
+  Add ~x86-linux keyword.
+
+  26 Jul 2011; Zac Medico <zmedico@gentoo.org> fuse-2.8.5.ebuild:
+  Bump to EAPI 3 and fix for prefix.
+
+  30 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> fuse-2.8.5.ebuild:
+  Install 99-fuse.rules to /lib/udev instead of /etc/udev.
+
+  10 Dec 2010; Tim Harder <radhermit@gentoo.org> -fuse-2.7.0.ebuild,
+  -fuse-2.7.3.ebuild, -fuse-2.7.4.ebuild, -fuse-2.7.4-r1.ebuild,
+  -fuse-2.8.1.ebuild, -files/fuse-fix-lazy-binding.patch:
+  Remove old versions with security issues (bug #308073).
+
+  10 Dec 2010; Brent Baude <ranger@gentoo.org> fuse-2.8.5.ebuild:
+  Marking fuse-2.8.5 ppc64 for bug 308073
+
+  07 Dec 2010; Jeroen Roovers <jer@gentoo.org> fuse-2.8.5.ebuild:
+  Stable for PPC (bug #308073).
+
+  04 Dec 2010; Raúl Porcel <armin76@gentoo.org> fuse-2.8.5.ebuild:
+  alpha/ia64/sparc stable wrt #308073
+
+  30 Nov 2010; Jeroen Roovers <jer@gentoo.org> fuse-2.8.5.ebuild:
+  Stable for HPPA (bug #308073).
+
+  29 Nov 2010; Markos Chandras <hwoarang@gentoo.org> fuse-2.8.5.ebuild:
+  Stable on amd64 wrt bug #308073
+
+  29 Nov 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> fuse-2.8.5.ebuild:
+  x86 stable wrt security bug #308073
+
+  27 Nov 2010; Michael Weber <xmw@gentoo.org> fuse-2.8.1.ebuild,
+  fuse-2.8.5.ebuild:
+  add ~arm.
+
+  24 Nov 2010; Diego E. Pettenò <flameeyes@gentoo.org> fuse-2.8.5.ebuild,
+  +files/fuse-2.8.5-double-version.patch:
+  Add patch to avoid listing the same function in two versions to (partially)
+  fix build with gold.
+
+*fuse-2.8.5 (07 Oct 2010)
+
+  07 Oct 2010; Tim Harder <radhermit@gentoo.org> +fuse-2.8.5.ebuild:
+  Version bump for bug #330793. Drop unnecessary src_compile and remove die
+  from econf.
+
+  22 May 2010; Torsten Veller <tove@gentoo.org> metadata.xml:
+  Remove genstef from metadata.xml (#66339)
+
+  29 Jan 2010; Raúl Porcel <armin76@gentoo.org> fuse-2.8.1.ebuild:
+  ia64/sparc stable wrt #296047
+
+  14 Jan 2010; Jeroen Roovers <jer@gentoo.org> fuse-2.8.1.ebuild:
+  Stable for HPPA (bug #296047).
+
+  07 Jan 2010; Brent Baude <ranger@gentoo.org> fuse-2.8.1.ebuild:
+  stable ppc, bug 296047
+
+  01 Jan 2010; Tobias Klausmann <klausman@gentoo.org> fuse-2.8.1.ebuild:
+  Stable on alpha, bug #296047
+
+  31 Dec 2009; Brent Baude <ranger@gentoo.org> fuse-2.8.1.ebuild:
+  Marking fuse-2.8.1 ppc64 for bug 296047
+
+  28 Dec 2009; Markus Meier <maekke@gentoo.org> fuse-2.8.1.ebuild:
+  amd64/x86 stable, bug #296047
+
+*fuse-2.8.1 (31 Oct 2009)
+
+  31 Oct 2009; Robin H. Johnson <robbat2@gentoo.org> +fuse-2.8.1.ebuild:
+  Version bump. Thanks to Rafał Mużyło <galtgendo@o2.pl> for the ebuild
+  work.
+
+  28 Oct 2009; Robin H. Johnson <robbat2@gentoo.org> fuse-2.7.4-r1.ebuild:
+  USE=modules support for sys-fs/fuse.
+
+*fuse-2.7.4-r1 (06 Oct 2009)
+
+  06 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> +fuse-2.7.4-r1.ebuild:
+  Drop fuse-fix-lazy-binding.patch wrt #226935, thanks to Rafał Mużyło
+  for reporting.
+
+  18 May 2009; Jeroen Roovers <jer@gentoo.org> fuse-2.7.4.ebuild:
+  Stable for HPPA (bug #264593).
+
+  18 Apr 2009; Raúl Porcel <armin76@gentoo.org> fuse-2.7.4.ebuild:
+  ia64/sparc stable wrt #264593
+
+  10 Apr 2009; Brent Baude <ranger@gentoo.org> fuse-2.7.4.ebuild:
+  Marking fuse-2.7.4 ppc64 for bug 264593
+
+  07 Apr 2009; Tobias Klausmann <klausman@gentoo.org> fuse-2.7.4.ebuild:
+  Stable on alpha, bug #264593
+
+  06 Apr 2009; Markus Meier <maekke@gentoo.org> fuse-2.7.4.ebuild:
+  amd64/x86 stable, bug #264593
+
+  06 Apr 2009; Brent Baude <ranger@gentoo.org> fuse-2.7.4.ebuild:
+  Marking fuse-2.7.4 ppc for bug 264593
+
+*fuse-2.7.4 (20 Jan 2009)
+
+  20 Jan 2009; Stefan Schweizer <genstef@gentoo.org> +fuse-2.7.4.ebuild:
+  version bump, bug 237961
+
+  08 Sep 2008; Jeroen Roovers <jer@gentoo.org> fuse-2.7.3.ebuild:
+  Stable for HPPA (bug #229709).
+
+  04 Jul 2008; Raúl Porcel <armin76@gentoo.org> fuse-2.7.0.ebuild:
+  alpha/ia64 stable
+
+*fuse-2.7.3 (29 Apr 2008)
+
+  29 Apr 2008; Stefan Schweizer <genstef@gentoo.org>
+  -files/fuse-2.6.22.patch, -fuse-2.6.4-r1.ebuild, -fuse-2.7.1.ebuild,
+  -fuse-2.7.2.ebuild, +fuse-2.7.3.ebuild:
+  version bump, bug 216572
+
+  23 Mar 2008; Robin H. Johnson <robbat2@gentoo.org> fuse-2.6.4-r1.ebuild,
+  fuse-2.7.0.ebuild, fuse-2.7.1.ebuild, fuse-2.7.2.ebuild:
+  Fix lax escaping in BUILD_PARAMS so that ebuild works again after recent
+  modifications to linux-mod.eclass.
+
+  11 Mar 2008; Stefan Schweizer <genstef@gentoo.org> fuse-2.7.2.ebuild:
+  Add default config for Henning Schild <henning@wh9.tu-dresden.de> in bug 201105
+
+  18 Dec 2007; Vlastimil Babka <caster@gentoo.org> fuse-2.7.1.ebuild:
+  Allow the kernel module in 2.7.1 to be compiled with kernel 2.6.23 because
+  it's supported and working. Bug #200053.
+
+*fuse-2.7.2 (17 Dec 2007)
+
+  17 Dec 2007; Stefan Schweizer <genstef@gentoo.org> +fuse-2.7.2.ebuild:
+  version bump
+
+*fuse-2.7.1 (18 Oct 2007)
+
+  18 Oct 2007; Stefan Schweizer <genstef@gentoo.org> +fuse-2.7.1.ebuild:
+  version bump
+
+  13 Oct 2007; Markus Rothe <corsair@gentoo.org> fuse-2.7.0.ebuild:
+  Stable on ppc64; bug #193329
+
+  09 Oct 2007; Stefan Schweizer <genstef@gentoo.org> fuse-2.6.4-r1.ebuild,
+  fuse-2.7.0.ebuild:
+  Make 2.6.23 support actually work for Sven <skoehler@upb.de> in bug 195300
+
+  05 Oct 2007; Ferris McCormick <fmccor@gentoo.org> fuse-2.7.0.ebuild:
+  Sparc stable --- Bug #193329 --- thanks to ezod.
+
+  02 Oct 2007; Stefan Schweizer <genstef@gentoo.org> -fuse-2.6.3.ebuild,
+  fuse-2.6.4-r1.ebuild, fuse-2.7.0.ebuild:
+  Add 2.6.23 check for bug 194436
+
+  25 Sep 2007; Christoph Mende <angelos@gentoo.org> fuse-2.7.0.ebuild:
+  Stable on amd64 wrt bug #193329
+
+  22 Sep 2007; nixnut <nixnut@gentoo.org> fuse-2.7.0.ebuild:
+  Stable on ppc wrt bug 193329
+
+  22 Sep 2007; Christian Faulhammer <opfer@gentoo.org> fuse-2.7.0.ebuild:
+  stable x86, bug 193329
+
+  21 Jul 2007; Raúl Porcel <armin76@gentoo.org> fuse-2.7.0.ebuild:
+  Add ~alpha wrt #172755, thanks to Brian Evans for testing
+
+  07 Jul 2007; Stefan Schweizer <genstef@gentoo.org> files/fuse.init:
+  remove module unloading for Davide Pesavento <davidepesa@gmail.com> in bug
+  184302
+
+*fuse-2.7.0 (04 Jul 2007)
+
+  04 Jul 2007; Stefan Schweizer <genstef@gentoo.org> +fuse-2.7.0.ebuild:
+  version bump
+
+  17 Jun 2007; Christian Faulhammer <opfer@gentoo.org> fuse-2.6.4-r1.ebuild:
+  stable x86, bug 181412
+
+  14 Jun 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+  fuse-2.6.4-r1.ebuild:
+  ppc stable, bug #181412
+
+  13 Jun 2007; Christoph Mende <angelos@gentoo.org> fuse-2.6.4-r1.ebuild:
+  Stable on amd64 wrt bug 181412
+
+  11 Jun 2007; Gustavo Zacarias <gustavoz@gentoo.org> fuse-2.6.4-r1.ebuild:
+  Stable on sparc wrt #181412
+
+  09 Jun 2007; Markus Rothe <corsair@gentoo.org> fuse-2.6.4-r1.ebuild:
+  Stable on ppc64; bug #181412
+
+  20 May 2007; Timothy Redaelli <drizzt@gentoo.org> files/fuse-2.6.22.patch:
+  Fix kernel 2.6.22 patch.
+
+  20 May 2007; Stefan Schweizer <genstef@gentoo.org>
+  +files/fuse-2.6.22.patch, fuse-2.6.4-r1.ebuild:
+  make 2.6.22 ready thanks to Francois Chenier <belgix@kern.com.au> in bug 179085
+
+  12 May 2007; Daniel Drake <dsd@gentoo.org> metadata.xml:
+  Move from kernel to kernel-misc herd
+
+  03 May 2007; Jeroen Roovers <jer@gentoo.org> fuse-2.6.4-r1.ebuild:
+  Marked ~hppa (bug #172755).
+
+  29 Apr 2007; Stefan Schweizer <genstef@gentoo.org> fuse-2.6.4-r1.ebuild:
+  Fix up dodoc thanks to Alexander Skwar <askwar@digitalprojects.com> in bug
+  176490
+
+*fuse-2.6.4-r1 (28 Apr 2007)
+
+  28 Apr 2007; Stefan Schweizer <genstef@gentoo.org> -fuse-2.6.4.ebuild,
+  +fuse-2.6.4-r1.ebuild:
+  Fix mount.fuse bug 176365 thanks to jakub
+
+*fuse-2.6.4 (27 Apr 2007)
+
+  27 Apr 2007; Stefan Schweizer <genstef@gentoo.org>
+  -files/fuse-2.6.0_rc3-no-mknod.patch, -files/fuse-2.6.20.patch,
+  -fuse-2.6.1.ebuild, +fuse-2.6.4.ebuild:
+  version bump
+
+  24 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org> fuse-2.6.3.ebuild:
+  ppc stable, bug #172537
+
+  09 Apr 2007; Raúl Porcel <armin76@gentoo.org> fuse-2.6.3.ebuild:
+  amd64 stable on behalf of welp
+
+  29 Mar 2007; Markus Rothe <corsair@gentoo.org> fuse-2.6.3.ebuild:
+  Stable on ppc64; bug #172537
+
+  29 Mar 2007; Christian Faulhammer <opfer@gentoo.org> fuse-2.6.3.ebuild:
+  stable x86, bug 172537
+
+  28 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> fuse-2.6.3.ebuild:
+  Stable on sparc wrt #172537
+
+  09 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> fuse-2.6.1.ebuild:
+  Stable on sparc
+
+  02 Mar 2007; Timothy Redaelli <drizzt@gentoo.org> files/fuse.init,
+  +files/fuse-fbsd.init, fuse-2.6.3.ebuild:
+  Add fuse.init for Gentoo/FreeBSD
+
+  26 Feb 2007; Daniel Gryniewicz <dang@gentoo.org> fuse-2.6.1.ebuild:
+  Marked stable on amd64 for bug #150978
+
+  23 Feb 2007; <genstef@gentoo.org> fuse-2.6.0_rc1.ebuild,
+  -fuse-2.6.0.ebuild, fuse-2.6.1.ebuild, fuse-2.6.3.ebuild:
+  move variables into the right place, bug 168051
+
+  21 Feb 2007; Joseph Jezak <josejx@gentoo.org> fuse-2.6.1.ebuild:
+  Marked ppc stable for bug #150978.
+
+  20 Feb 2007; Markus Rothe <corsair@gentoo.org> fuse-2.6.1.ebuild:
+  Stable on ppc64; bug #150978
+
+  20 Feb 2007; Raúl Porcel <armin76@gentoo.org> fuse-2.6.1.ebuild:
+  x86 stable wrt bug 150978
+
+*fuse-2.6.3 (07 Feb 2007)
+
+  07 Feb 2007; Patrick McLean <chutzpah@gentoo.org> +fuse-2.6.3.ebuild:
+  Version bump.
+
+  05 Feb 2007; <genstef@gentoo.org> +files/fuse-2.6.20.patch,
+  fuse-2.6.1.ebuild:
+  Add 2.6.20 patch, bug 159573
+
+  24 Jan 2007; <genstef@gentoo.org> +files/fuse.init, fuse-2.6.1.ebuild:
+  Gentooify init script thanks to David B. Ferguson <david@microtask.ca>
+
+  19 Dec 2006; Stefan Schweizer <genstef@gentoo.org> fuse-2.6.1.ebuild:
+  remove spaces from KV_FULL to fix bug 158519 thanks to Jasmine
+  <jasmin.1023@yahoo.com>
+
+  06 Dec 2006; Stefan Schweizer <genstef@gentoo.org> fuse-2.6.1.ebuild:
+  Fix /dev creation thanks to zlin
+
+*fuse-2.6.1 (01 Dec 2006)
+
+  01 Dec 2006; Stefan Schweizer <genstef@gentoo.org> +fuse-2.6.1.ebuild:
+  Version bump
+
+  24 Nov 2006; Stefan Schweizer <genstef@gentoo.org>
+  -fuse-2.6.0_pre2.ebuild, fuse-2.6.0_rc1.ebuild, -fuse-2.6.0_rc3.ebuild,
+  fuse-2.6.0.ebuild:
+  Fix build with KV_OUT thanks to Stefan Talpalaru <stefantalpalaru@yahoo.com>
+  in bug 156140
+
+*fuse-2.6.0 (01 Nov 2006)
+
+  01 Nov 2006; Stefan Schweizer <genstef@gentoo.org> +fuse-2.6.0.ebuild:
+  Version bump thanks vivo in bug 153049
+
+  01 Nov 2006; Mike Frysinger <vapier@gentoo.org>
+  +files/fuse-2.6.0_rc3-no-mknod.patch, fuse-2.6.0_rc3.ebuild:
+  Dont bother creating a /dev/fuse device node #152032 by Mike Kelly.
+
+  20 Oct 2006; Joseph Jezak <josejx@gentoo.org> fuse-2.6.0_rc1.ebuild:
+  Marked ppc stable for bug #148506.
+
+*fuse-2.6.0_rc3 (16 Oct 2006)
+
+  16 Oct 2006; Stefan Schweizer <genstef@gentoo.org> -fuse-2.6.0_rc2.ebuild,
+  +fuse-2.6.0_rc3.ebuild:
+  version bump
+
+  05 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org> fuse-2.6.0_rc1.ebuild:
+  Stable on sparc wrt #148506
+
+*fuse-2.6.0_rc2 (02 Oct 2006)
+
+  02 Oct 2006; Stefan Schweizer <genstef@gentoo.org> +fuse-2.6.0_rc2.ebuild:
+  version bump
+
+  29 Sep 2006; <ticho@gentoo.org> fuse-2.6.0_rc1.ebuild:
+  Stable on x86, bug #148506.
+
+  24 Sep 2006; <blubb@gentoo.org> fuse-2.6.0_rc1.ebuild:
+  stable on amd64
+
+  23 Sep 2006; Markus Rothe <corsair@gentoo.org> fuse-2.6.0_rc1.ebuild:
+  Stable on ppc64; bug #148506
+
+*fuse-2.6.0_rc1 (11 Sep 2006)
+
+  11 Sep 2006; Stefan Schweizer <genstef@gentoo.org>
+  -fuse-2.6.0_pre3.ebuild, +fuse-2.6.0_rc1.ebuild:
+  version bump
+
+*fuse-2.6.0_pre3 (24 Jul 2006)
+
+  24 Jul 2006; Stefan Schweizer <genstef@gentoo.org>
+  +fuse-2.6.0_pre3.ebuild:
+  version bump
+
+  08 Jun 2006; Stefan Schweizer <genstef@gentoo.org> fuse-2.6.0_pre2.ebuild:
+  use emake install instead of make install to allow parallel installs and
+  improve speed
+
+  23 May 2006; Markus Rothe <corsair@gentoo.org> fuse-2.6.0_pre2.ebuild:
+  Stable on ppc64
+
+  22 May 2006; Diego Pettenò <flameeyes@gentoo.org> fuse-2.6.0_pre2.ebuild:
+  Add ~x86-fbsd keyword.
+
+  22 May 2006; Stefan Schweizer <genstef@gentoo.org> fuse-2.6.0_pre2.ebuild:
+  Cleanup postinst and add basic BSD functionality though no keyword yet, bug
+  133548, thanks to Robert Sebastian Gerus <arachnist@gmail.com>
+
+  15 May 2006; Stefan Schweizer <genstef@gentoo.org>
+  -files/fuse-2.6.16.patch, -files/fuse-fix-memleak.patch,
+  -files/fusermount.patch, -fuse-2.4.1-r1.ebuild, -fuse-2.4.2.ebuild,
+  -fuse-2.5.2.ebuild, fuse-2.6.0_pre2.ebuild:
+  Add moduledb worlaround, remove old ebuilds
+
+  12 May 2006; Brent Baude <ranger@gentoo.org> fuse-2.6.0_pre2.ebuild:
+  Marking fuse-2.6.0_pre2 ~ppc64
+
+  03 May 2006; Daniel Gryniewicz <dang@gentoo.org> fuse-2.6.0_pre2.ebuild:
+  Marked stable on amd64 per bug# 131196
+
+  02 May 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+  fuse-2.6.0_pre2.ebuild:
+  Stable on sparc wrt #131196
+
+  30 Apr 2006; Joshua Jackson <tsunam@gentoo.org> fuse-2.6.0_pre2.ebuild:
+  stable on x86; bug #131196
+
+  28 Apr 2006; Joseph Jezak <josejx@gentoo.org> fuse-2.6.0_pre2.ebuild:
+  Marked ppc stable for bug #131196.
+
+  27 Apr 2006; Alec Warner <antarus@gentoo.org> files/digest-fuse-2.4.1-r1,
+  files/digest-fuse-2.4.2, Manifest:
+  Fixing SHA256 digest, pass four
+
+*fuse-2.6.0_pre2 (26 Mar 2006)
+
+  26 Mar 2006; Stefan Schweizer <genstef@gentoo.org> -fuse-2.5.0.ebuild,
+  -fuse-2.5.0-r1.ebuild, -fuse-2.5.1.ebuild, +fuse-2.6.0_pre2.ebuild:
+  version bump
+
+  24 Mar 2006; Aron Griffis <agriffis@gentoo.org> fuse-2.5.2.ebuild:
+  Mark 2.5.2 ~ia64
+
+*fuse-2.5.2 (17 Feb 2006)
+
+  17 Feb 2006; Stefan Schweizer <genstef@gentoo.org> +fuse-2.5.2.ebuild:
+  version bump
+
+  16 Feb 2006; Gustavo Zacarias <gustavoz@gentoo.org> fuse-2.4.2.ebuild:
+  Stable on sparc
+
+*fuse-2.5.1 (29 Jan 2006)
+
+  29 Jan 2006; Stefan Schweizer <genstef@gentoo.org> +fuse-2.5.1.ebuild:
+  version bump thanks to Thomas Meyer <thomas.mey@web.de> in bug 120736
+
+*fuse-2.5.0-r1 (20 Jan 2006)
+
+  20 Jan 2006; Stefan Schweizer <genstef@gentoo.org>
+  +files/fuse-2.6.16.patch, +fuse-2.5.0-r1.ebuild:
+  Fix compiling on 2.6.16 thanks to Patrizio Bassi <hetfield666@gmail.com> in
+  bug 119532
+
+  20 Jan 2006; Daniel Drake <dsd@gentoo.org> fuse-2.4.2.ebuild,
+  fuse-2.5.0.ebuild:
+  Readd build-on-demand support now that the eclass is fixed. Reported by Derk
+  W te Bokkel in bug #117834
+
+*fuse-2.5.0 (16 Jan 2006)
+
+  16 Jan 2006; Stefan Schweizer <genstef@gentoo.org> +fuse-2.5.0.ebuild:
+  version bump thanks to tonich <tonich@artparade.ru> in bug 119179
+
+  07 Jan 2006; Stefan Schweizer <genstef@gentoo.org> -fuse-2.3.0.ebuild,
+  -fuse-2.4.0.ebuild, -fuse-2.4.1.ebuild, fuse-2.4.1-r1.ebuild,
+  fuse-2.4.2.ebuild:
+  remove old ebuilds, remove build-on-demand support, bug 117834
+
+*fuse-2.4.2 (04 Dec 2005)
+
+  04 Dec 2005; Stefan Schweizer <genstef@gentoo.org>
+  +files/fuse-fix-memleak.patch, +fuse-2.4.2.ebuild:
+  New version thanks to Radek Podgorny <radek@podgorny.cz> and Peter Hyman
+  <pete4abw@comcast.net> in bug 113747
+
+  20 Nov 2005; Mark Loeser <halcy0n@gentoo.org> fuse-2.4.1-r1.ebuild:
+  Stable on x86
+
+  20 Nov 2005; Simon Stelling <blubb@gentoo.org> fuse-2.4.1-r1.ebuild:
+  stable on amd64
+
+  20 Nov 2005; Michael Hanselmann <hansmi@gentoo.org> fuse-2.4.1-r1.ebuild:
+  Stable on ppc.
+
+*fuse-2.4.1-r1 (19 Nov 2005)
+
+  19 Nov 2005; Stefan Schweizer <genstef@gentoo.org>
+  +files/fusermount.patch, +fuse-2.4.1-r1.ebuild:
+  Fix bug 112902
+
+  19 Nov 2005; Simon Stelling <blubb@gentoo.org> fuse-2.3.0.ebuild:
+  stable on amd64
+
+*fuse-2.4.1 (23 Oct 2005)
+
+  23 Oct 2005; Stefan Schweizer <genstef@gentoo.org> +fuse-2.4.1.ebuild:
+  version bump
+
+*fuse-2.4.0 (15 Oct 2005)
+
+  15 Oct 2005; Stefan Schweizer <genstef@gentoo.org> +fuse-2.4.0.ebuild:
+  version bump
+
+  17 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog:
+  Converted to UTF-8, fixed encoding screwups
+
+  06 Sep 2005; Jason Wever <weeve@gentoo.org> fuse-2.3.0.ebuild:
+  Added ~sparc keyword.
+
+  06 Jul 2005; Stefan Schweizer <genstef@gentoo.org> fuse-2.3.0.ebuild:
+  Remove non-existand files from dodoc thanks to Geaaru <geaaru@gmail.com> in
+  bug 97692
+
+  20 Jun 2005; Stefan Schweizer <genstef@gentoo.org> -fuse-2.2.1.ebuild,
+  fuse-2.3.0.ebuild:
+  KV_DIR -> KV_OUT_DIR thanks to Georgi Georgiev <chutz@gg3.net>, removing old
+  ebuilds
+
+  08 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> fuse-2.3.0.ebuild:
+  Stable on ppc.
+
+*fuse-2.3.0 (03 Jun 2005)
+
+  03 Jun 2005; Stefan Schweizer <genstef@gentoo.org> +fuse-2.3.0.ebuild:
+  Security version bump, bug 94917 thanks to Adir Abraham <adirab@gmail.com>,
+  x86 stable
+
+  13 May 2005; Stefan Schweizer <genstef@gentoo.org> fuse-2.2.1.ebuild:
+  Change homepage to make rockoo happy, bug 92509
+
+  20 Apr 2005; Stefan Schweizer <genstef@gentoo.org>
+  -files/fuse-1.4-kernel-2.6.10.patch, -fuse-1.4.ebuild, -fuse-2.1.ebuild,
+  -fuse-2.2.ebuild:
+  Removing old ebuilds.
+
+  13 Apr 2005; Lars Weiler <pylon@gentoo.org> fuse-2.2.1.ebuild:
+  Stable on ppc.
+
+  13 Apr 2005; Stefan Schweizer <genstef@gentoo.org> fuse-2.2.1.ebuild:
+  Version 2.2.1 stable on x86
+
+*fuse-2.2.1 (23 Mar 2005)
+
+  23 Mar 2005; Stefan Schweizer <genstef@gentoo.org> +fuse-2.2.1.ebuild:
+  version bump thanks to Jim Faulkner <dogshu@sdf.lonestar.org> in bug 86336
+
+  22 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> fuse-1.4.ebuild:
+  added ~amd64 to 1.4 as well. fixes #86002
+
+  21 Feb 2005; Joseph Jezak <josejx@gentoo.org> fuse-1.4.ebuild:
+  Marked ppc stable.
+
+  13 Feb 2005; Danny van Dyk <kugelfang@gentoo.org> fuse-2.2.ebuild:
+  Marked ~amd64 (BUG #77665).
+
+*fuse-2.2 (05 Feb 2005)
+
+  05 Feb 2005; Stefan Schweizer <genstef@gentoo.org> +fuse-2.2.ebuild,
+  -fuse-2.2_pre6.ebuild:
+  Version bump
+
+*fuse-2.2_pre6 (27 Jan 2005)
+
+  27 Jan 2005; Stefan Schweizer <genstef@gentoo.org> -fuse-2.2_pre5.ebuild,
+  +fuse-2.2_pre6.ebuild:
+  Version bump
+
+*fuse-2.2_pre5 (25 Jan 2005)
+
+  25 Jan 2005; Stefan Schweizer <genstef@gentoo.org> -fuse-2.2_pre3.ebuild,
+  +fuse-2.2_pre5.ebuild:
+  Version bump
+
+  21 Jan 2005; Lars Weiler <pylon@gentoo.org> fuse-1.4.ebuild:
+  Added ~ppc.
+
+*fuse-2.2_pre3 (15 Jan 2005)
+
+  15 Jan 2005; Stefan Schweizer <genstef@gentoo.org> +fuse-2.2_pre3.ebuild:
+  Version bump, thanks to OneOfOne in IRC. Changed to only compile the kernel
+  module when it is not yet in the kernel.
+
+  03 Jan 2005; Stefan Schweizer <genstef@gentoo.org>
+  +files/fuse-1.4-kernel-2.6.10.patch, +files/fuse-fix-lazy-binding.patch,
+  fuse-1.4.ebuild, fuse-2.1.ebuild:
+  Solving lazy bindings bug 76423, addressing unknown symbol in kernel 2.6.10
+  bug 76438, changing 1.4 version to also install module in /lib/modules//fs
+
+  02 Jan 2005; Stefan Schweizer <genstef@gentoo.org> fuse-1.4.ebuild:
+  Back to the old fuse-1.4.ebuild, 1.4 has obviously a more broken
+  build-system than 2.1 and therefore does not work with linux-mod
+
+  02 Jan 2005; Stefan Schweizer <genstef@gentoo.org> :
+  Version 1.4 stable on x86
+
+  01 Jan 2005; Stefan Schweizer <genstef@gentoo.org> fuse-1.4.ebuild,
+  fuse-2.1.ebuild:
+  Conversion to linux-mod
+
+  26 Dec 2004; Luca Barbato <lu_zero@gentoo.org> fuse-2.1.ebuild:
+  Marked ~ppc
+
+*fuse-2.1 (06 Dec 2004)
+
+  06 Dec 2004; Stefan Schweizer <genstef@gentoo.org> +fuse-2.1.ebuild,
+  -fuse-2.1_pre1.ebuild:
+  Version bump. Removing pre1 ebuild
+
+*fuse-1.4 (16 Nov 2004)
+
+  16 Nov 2004; Stefan Schweizer <genstef@gentoo.org> +fuse-1.4.ebuild:
+  Adding version 1.4 to support siefs
+
+*fuse-2.1_pre1 (14 Nov 2004)
+
+  14 Nov 2004; Stefan Schweizer <genstef@gentoo.org> +metadata.xml,
+  +fuse-2.1_pre1.ebuild:
+  Initial import. Thanks to Birce Arnould <98111@free.fr>, Athul Acharya
+  <aacharya@gmail.com> and Sébastien Estienne <sebastien.estienne@gmail.com>
+  in bug 59733

diff --git a/sys-fs/fuse/Manifest b/sys-fs/fuse/Manifest
new file mode 100644
index 0000000..451ac71
--- /dev/null
+++ b/sys-fs/fuse/Manifest
@@ -0,0 +1,9 @@
+AUX fuse-2.9.3-prefix.patch 1517 SHA256 814bf44807613521bb4c6213b4b4bcc20b535a264dd99ba7394fb818974469d3 SHA512 275676809f999db3ab3f46bf15b20f7c51dc817486cca2a2d2451117b7f5aa56c33a40219e272063e39f905d338b894f0733e2ab14a0d8ead1d04dfc8c8fe0ca WHIRLPOOL 10d07206b6e4e9ee282163f67932c5a197933a9258b6631068d657c06e2f84ac5b2315ca9c6c0a0944c2886166e8ff6082d8d02af6ffff4fc13e6234c64b49a3
+AUX fuse-fbsd.init 467 SHA256 d896a80d67668246f586c6283f95f624fdbecb306408bec6f2c944601aae7273 SHA512 4d8ce71d9a025a52e8f1d7074f83fdc368fbdd4bdf65bccfdbdce214580d4051c20bdde7f61725d14c585db1dbbe0781cee2a0c73a857f1340a5b57ee920649e WHIRLPOOL 3cb757a5de22b36c6e638c612a99cad43edeac86e37a9590a3635d550ee12f404ea54734c69a7f139c1c1089d2446b37a6387f1aa264651000d50942f4a97047
+AUX fuse.init 756 SHA256 22a22c914d2a4f0fb5fc8495f4b7efcd1819efde548c9033ca612c181cd29eda SHA512 3d2765114081c8f6720ed25d7b7da4f6da5fbbb5b35760bb0a760f0bf2482abacabec63c1488d4e8cbe4f78875574607e6e46508dfe22df0869f4d2e1e91e607 WHIRLPOOL 2932da7d97b7418b5ead6c71f9e583b6ec1b47c86e763577312fd55492482c0c31677a78534301c7b541d476ee16b0eb2da981eb6723c1fdc9af338ce10c243c
+DIST fuse-2.9.2.tar.gz 560123 SHA256 81a728fb3f87da33063068735e2fb7e2cd89df207d32687d3d3278385279cefc SHA512 017076a58a4d184f27657e1dcdc7d5f6814a9acdc365769e1efb6bf840380fba32bcee5f57b62ecb353840c06e0a8cc7c3eeeadceb4e983188b59af2fb2171bd WHIRLPOOL 721f7133ae1dacc5e52854166925aebc21bd26ee7b7226647f242a99ee5031aa798b3ebde356636fa95b0ab3611c40edd0b3146ec64f0b2ac7703e6caff60565
+DIST fuse-2.9.3.tar.gz 572044 SHA256 0beb83eaf2c5e50730fc553406ef124d77bc02c64854631bdfc86bfd6437391c SHA512 03f43f88694ec7e039ff3579a8e76349b5a5a05872c55901fc1d9ee53dbb6b1e69f6dd0005b620f3b5ead0b14da8eeb31d46b922d10f88f4e3f830aa47e8162c WHIRLPOOL 739562e48e85326049dac0ef06653e5e6574a01dd60649e23ddc0990ea6c1979e6ce952a1e84d0776b706fbcad79eb0e1328aa35f70ba4881db9a4482d254a04
+EBUILD fuse-2.9.2.ebuild 2219 SHA256 cabc1e85f9dfe7ba3010490442fbca8f32732e6b53758e49a7beb66e042bee3a SHA512 ea4a156ce31960337d2808f89bf03c4f828176831df48cbda301c7075d48ee0a6acdabe06e4666954c33409a19a3ea417178a6186a43717fec27feefeb6315fc WHIRLPOOL 7bbb801de915b57c90b283c857996216002d97d751554d465034993a362b9abe84f4eea7db7fa9bd1875d5a1178d8fabe9a8d2669e713cf836239b07eb6d7b68
+EBUILD fuse-2.9.3.ebuild 2460 SHA256 e620a5648bb5eaa6b91026209611733c32a7306ba125d34e4ebb489081189aa2 SHA512 2be01b7796cc68cc70494474d077b24add67f741c7724fc6b09e60af6bb62d259a7174415163f6e5ebd00af2ffec46ff57264fe9cf6a19fe4ca4a8ac54015b46 WHIRLPOOL 7ed7e9e04951fda1166bafb313978f2442957d8086041a5d47925c330f7355ea09f97f3292a7c21cd288fd23aeeafb7e575aa107defb0f694156e5f98d86eee5
+MISC ChangeLog 24805 SHA256 4d1b0be5ff16299bab838df46a3bb618c9d57981f10c55a965a2bb93ccba2a42 SHA512 6b94a186b064731a716210772ea6859c12ce78567ea66920dbf48d2c0cfe5bcc18f01ea8709c94a5839e2a997d44eafa555f886d3abc747368e2f47c15217323 WHIRLPOOL 65dd0378372e301c16562cb977b88c57f0d66f60084d7536bd81229c3df74f6d589fe378d6680c1d8dafa29cdcfe2a2e726a49ad5987a864e9e676b48795d7c2
+MISC metadata.xml 248 SHA256 32abf15e7c6c5b1d79352aff76413358aea37ae781534cee099c03723de657bc SHA512 b820a6d68eb09f0c3eda90fd7ed53d21afc40eb3daef875542f711b8064a5c7fc78f06462a5aa6a9a7e7d71bd82225ecaee627eb599b5c5fd563d2599cf78974 WHIRLPOOL 9187ff09bb4d8f155befdf23e5ec86740069de083eb920122ed18702a1f3a83ad9aa2e9adacd307940c9455d3b346853726f750e350be0f4f644b898e9dc3c21

diff --git a/sys-fs/fuse/files/fuse-2.9.3-prefix.patch b/sys-fs/fuse/files/fuse-2.9.3-prefix.patch
new file mode 100644
index 0000000..46d680a
--- /dev/null
+++ b/sys-fs/fuse/files/fuse-2.9.3-prefix.patch
@@ -0,0 +1,32 @@
+Index: fuse-2.9.3/lib/mount_util.c
+===================================================================
+--- fuse-2.9.3.orig/lib/mount_util.c
++++ fuse-2.9.3/lib/mount_util.c
+@@ -97,9 +97,9 @@ static int add_mount(const char *prognam
+ 	if (res == 0) {
+ 		sigprocmask(SIG_SETMASK, &oldmask, NULL);
+ 		setuid(geteuid());
+-		execl("/bin/mount", "/bin/mount", "--no-canonicalize", "-i",
++		execl("@GENTOO_PORTAGE_EPREFIX@/usr/bin/mount", "@GENTOO_PORTAGE_EPREFIX@/usr/bin/mount", "--no-canonicalize", "-i",
+ 		      "-f", "-t", type, "-o", opts, fsname, mnt, NULL);
+-		fprintf(stderr, "%s: failed to execute /bin/mount: %s\n",
++		fprintf(stderr, "%s: failed to execute @GENTOO_PORTAGE_EPREFIX@/usr/bin/mount: %s\n",
+ 			progname, strerror(errno));
+ 		exit(1);
+ 	}
+Index: fuse-2.9.3/util/mount_util.c
+===================================================================
+--- fuse-2.9.3.orig/util/mount_util.c
++++ fuse-2.9.3/util/mount_util.c
+@@ -97,9 +97,9 @@ static int add_mount(const char *prognam
+ 	if (res == 0) {
+ 		sigprocmask(SIG_SETMASK, &oldmask, NULL);
+ 		setuid(geteuid());
+-		execl("/bin/mount", "/bin/mount", "--no-canonicalize", "-i",
++		execl("@GENTOO_PORTAGE_EPREFIX@/usr/bin/mount", "@GENTOO_PORTAGE_EPREFIX@/usr/bin/mount", "--no-canonicalize", "-i",
+ 		      "-f", "-t", type, "-o", opts, fsname, mnt, NULL);
+-		fprintf(stderr, "%s: failed to execute /bin/mount: %s\n",
++		fprintf(stderr, "%s: failed to execute @GENTOO_PORTAGE_EPREFIX@/usr/bin/mount: %s\n",
+ 			progname, strerror(errno));
+ 		exit(1);
+ 	}

diff --git a/sys-fs/fuse/files/fuse-fbsd.init b/sys-fs/fuse/files/fuse-fbsd.init
new file mode 100644
index 0000000..19b8400
--- /dev/null
+++ b/sys-fs/fuse/files/fuse-fbsd.init
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+	need localmount
+}
+
+start() {
+	ebegin "Starting fuse"
+	if ! kldstat -q -m fuse; then
+		kldload fuse >/dev/null 2>&1 || eerror $? "Error loading fuse module"
+	fi
+	eend ${?}
+}
+
+stop() {
+	ebegin "Stopping fuse"
+	if kldstat -q -m fuse; then
+		kldunload fuse >/dev/null 2>&1 || eerror $? "Error unloading fuse module"
+	fi
+	eend ${?}
+}

diff --git a/sys-fs/fuse/files/fuse.init b/sys-fs/fuse/files/fuse.init
new file mode 100644
index 0000000..30b512e
--- /dev/null
+++ b/sys-fs/fuse/files/fuse.init
@@ -0,0 +1,35 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+MOUNTPOINT=/sys/fs/fuse/connections
+
+depend() {
+	need localmount
+}
+
+start() {
+
+	ebegin "Starting fuse"
+	if ! grep -qw fuse /proc/filesystems; then
+		modprobe fuse >/dev/null 2>&1 || eerror $? "Error loading fuse module"
+	fi
+	if grep -qw fusectl /proc/filesystems && \
+	   ! grep -qw $MOUNTPOINT /proc/mounts; then
+		mount -t fusectl none $MOUNTPOINT >/dev/null 2>&1 || \
+			eerror $? "Error mounting control filesystem"
+	fi
+	eend ${?}
+	
+}
+
+stop() {
+
+	ebegin "Stopping fuse"
+	if grep -qw $MOUNTPOINT /proc/mounts; then
+		umount $MOUNTPOINT >/dev/null 2>&1 || \
+			eerror $? "Error unmounting control filesystem"
+	fi
+	eend ${?}
+	
+}

diff --git a/sys-fs/fuse/fuse-2.9.2.ebuild b/sys-fs/fuse/fuse-2.9.2.ebuild
new file mode 100644
index 0000000..f66ef05
--- /dev/null
+++ b/sys-fs/fuse/fuse-2.9.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/fuse-2.9.2.ebuild,v 1.13 2013/03/15 15:38:29 jer Exp $
+
+EAPI=5
+inherit eutils libtool linux-info udev toolchain-funcs
+
+MY_P=${P/_/-}
+DESCRIPTION="An interface for filesystems implemented in userspace."
+HOMEPAGE="http://fuse.sourceforge.net"
+SRC_URI="mirror://sourceforge/fuse/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="kernel_linux kernel_FreeBSD static-libs"
+
+PDEPEND="kernel_FreeBSD? ( sys-fs/fuse4bsd )"
+DEPEND="virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+	if use kernel_linux ; then
+		if kernel_is lt 2 6 9 ; then
+			die "Your kernel is too old."
+		fi
+		CONFIG_CHECK="~FUSE_FS"
+		FUSE_FS_WARNING="You need to have FUSE module built to use user-mode utils"
+		linux-info_pkg_setup
+	fi
+}
+
+src_prepare() {
+	# sandbox violation with mtab writability wrt #438250
+	# don't sed configure.in without eautoreconf because of maintainer mode
+	sed -i -e 's:umount --fake:true --fake:' configure || die
+	elibtoolize
+}
+
+src_configure() {
+	econf \
+		INIT_D_PATH="${EPREFIX}/etc/init.d" \
+		MOUNT_FUSE_PATH="${EPREFIX}/sbin" \
+		UDEV_RULES_PATH="${EPREFIX}/$(udev_get_udevdir)/rules.d" \
+		$(use_enable static-libs static) \
+		--disable-example
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+
+	dodoc AUTHORS ChangeLog Filesystems README \
+		README.NFS NEWS doc/how-fuse-works \
+		doc/kernel.txt FAQ
+	docinto example
+	dodoc example/*
+
+	if use kernel_linux ; then
+		newinitd "${FILESDIR}"/fuse.init fuse
+	elif use kernel_FreeBSD ; then
+		insinto /usr/include/fuse
+		doins include/fuse_kernel.h
+		newinitd "${FILESDIR}"/fuse-fbsd.init fuse
+	else
+		die "We don't know what init code install for your kernel, please file a bug."
+	fi
+
+	prune_libtool_files
+	rm -rf "${D}/dev"
+
+	dodir /etc
+	cat > "${ED}"/etc/fuse.conf <<-EOF
+		# Set the maximum number of FUSE mounts allowed to non-root users.
+		# The default is 1000.
+		#
+		#mount_max = 1000
+
+		# Allow non-root users to specify the 'allow_other' or 'allow_root'
+		# mount options.
+		#
+		#user_allow_other
+	EOF
+}

diff --git a/sys-fs/fuse/fuse-2.9.3.ebuild b/sys-fs/fuse/fuse-2.9.3.ebuild
new file mode 100644
index 0000000..6cc1114
--- /dev/null
+++ b/sys-fs/fuse/fuse-2.9.3.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/fuse-2.9.3.ebuild,v 1.1 2013/07/21 08:54:32 radhermit Exp $
+
+EAPI=5
+inherit eutils libtool linux-info udev toolchain-funcs prefix
+
+MY_P=${P/_/-}
+DESCRIPTION="An interface for filesystems implemented in userspace."
+HOMEPAGE="http://fuse.sourceforge.net"
+SRC_URI="mirror://sourceforge/fuse/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="examples kernel_linux kernel_FreeBSD static-libs static"
+
+PDEPEND="kernel_FreeBSD? ( sys-fs/fuse4bsd )"
+DEPEND="virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+	if use kernel_linux ; then
+		if kernel_is lt 2 6 9 ; then
+			die "Your kernel is too old."
+		fi
+		CONFIG_CHECK="~FUSE_FS"
+		FUSE_FS_WARNING="You need to have FUSE module built to use user-mode utils"
+		linux-info_pkg_setup
+	fi
+}
+
+src_prepare() {
+	# sandbox violation with mtab writability wrt #438250
+	# don't sed configure.in without eautoreconf because of maintainer mode
+	sed -i 's:umount --fake:true --fake:' configure || die
+
+	if use prefix; then
+		epatch "${FILESDIR}"/${PN}-2.9.3-prefix.patch
+		eprefixify {lib,util}/mount_util.c
+	fi
+
+	elibtoolize
+}
+
+src_configure() {
+	econf \
+		INIT_D_PATH="${EPREFIX}/etc/init.d" \
+		MOUNT_FUSE_PATH="${EPREFIX}/sbin" \
+		UDEV_RULES_PATH="${EPREFIX}/$(udev_get_udevdir)/rules.d" \
+		$(use_enable static-libs static) \
+		--disable-example
+}
+
+src_compile() {
+	use static && export EXTRA_EMAKE="LDFLAGS=-all-static"
+	default
+}
+
+src_install() {
+	default
+
+	dodoc AUTHORS ChangeLog Filesystems README \
+		README.NFS NEWS doc/how-fuse-works \
+		doc/kernel.txt FAQ
+
+	if use examples ; then
+		docinto examples
+		dodoc example/*
+	fi
+
+	if use kernel_linux ; then
+		newinitd "${FILESDIR}"/fuse.init fuse
+	elif use kernel_FreeBSD ; then
+		insinto /usr/include/fuse
+		doins include/fuse_kernel.h
+		newinitd "${FILESDIR}"/fuse-fbsd.init fuse
+	else
+		die "We don't know what init code install for your kernel, please file a bug."
+	fi
+
+	prune_libtool_files
+	rm -rf "${D}"/dev
+
+	dodir /etc
+	cat > "${ED}"/etc/fuse.conf <<-EOF
+		# Set the maximum number of FUSE mounts allowed to non-root users.
+		# The default is 1000.
+		#
+		#mount_max = 1000
+
+		# Allow non-root users to specify the 'allow_other' or 'allow_root'
+		# mount options.
+		#
+		#user_allow_other
+	EOF
+}

diff --git a/net-analyzer/ssldump/metadata.xml b/sys-fs/fuse/metadata.xml
similarity index 56%
copy from net-analyzer/ssldump/metadata.xml
copy to sys-fs/fuse/metadata.xml
index 7e6df48..5cb3fde 100644
--- a/net-analyzer/ssldump/metadata.xml
+++ b/sys-fs/fuse/metadata.xml
@@ -1,6 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>netmon</herd>
-<longdescription>A Tool for network monitoring and data acquisition</longdescription>
+  <herd>kernel-misc</herd>
+  <upstream>
+    <remote-id type="cpe">cpe:/a:fuse:fuse</remote-id>
+  </upstream>
 </pkgmetadata>

diff --git a/sys-fs/posixovl/Manifest b/sys-fs/posixovl/Manifest
new file mode 100644
index 0000000..6b709d5
--- /dev/null
+++ b/sys-fs/posixovl/Manifest
@@ -0,0 +1,2 @@
+DIST posixovl-1.2.tar.xz 14980 SHA256 e936a06d06b65319c0efe5402597682b1ae86e6df15e60d00d1c562390207f75 SHA512 67ef4074993a286c79ffafb31feb99e57819e39e73bbef100a5de381368d88d3b179a24b5a49102e29d4c4fe8134ea04e7b13b07f366873586d9e83877963244 WHIRLPOOL 343394b50ba86b3691b9b148be684793246efde71da012368a8e0d70390d00c5d5c0470f700f5657b3dcecfe4b79cf0b62bb9bb784b5b7251e9c726d8ba8a908
+EBUILD posixovl-1.2.ebuild 637 SHA256 06756d46dd2e63dcc7214bcd68f52ae9c4aa13026391cad0fe0d238d4851f6fc SHA512 3bbbda88499e54144c0cb514e0f820d5a1c2adc5d8f4790fd1f49e68feee5c2ea1e7ea0f2397ab0aac94a37892439f9b6cd68061cbd1331fe6360cb73525962c WHIRLPOOL bba6f95eaa43c304f49b256530158185c67715987cbcc39099620f1e8a27bd22af6dd005f9ce13cabc47da1656b418f5fe8b2a4c740267968a8bc6adcc280e4e

diff --git a/sys-fs/posixovl/posixovl-1.2.ebuild b/sys-fs/posixovl/posixovl-1.2.ebuild
new file mode 100644
index 0000000..e7ddcc6
--- /dev/null
+++ b/sys-fs/posixovl/posixovl-1.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools flag-o-matic
+
+DESCRIPTION="A FUSE filesystem that provides POSIX functionality for filesystems that do not have such."
+HOMEPAGE="http://sourceforge.net/projects/posixovl"
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.xz"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~x86"
+SLOT=0
+IUSE="static"
+RDEPEND=">=sys-fs/fuse-2.6.5
+	sys-apps/attr"
+DEPEND="${RDEPEND}"
+S="${WORKDIR}/${PN}"
+
+src_prepare () {
+	if use static; then
+		append-flags -static
+		# libfuse.a calls dlopen
+		append-libs dl
+	fi
+
+	eautoreconf
+}

diff --git a/sys-fs/unionfs-fuse/ChangeLog b/sys-fs/unionfs-fuse/ChangeLog
new file mode 100644
index 0000000..9c0fb57
--- /dev/null
+++ b/sys-fs/unionfs-fuse/ChangeLog
@@ -0,0 +1,44 @@
+# ChangeLog for sys-fs/unionfs-fuse
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/unionfs-fuse/ChangeLog,v 1.9 2013/02/21 03:59:06 zmedico Exp $
+
+  21 Feb 2013; Zac Medico <zmedico@gentoo.org> unionfs-fuse-0.26.ebuild:
+  Fix for prefix and add ~x86-linux keyword.
+
+  22 Sep 2012; Sebastian Pipping <sping@gentoo.org> unionfs-fuse-0.26.ebuild,
+  +files/unionfs-fuse-0.26-declare-chroot.patch,
+  +files/unionfs-fuse-0.26-link-pthread.patch:
+  Fix underlinking to pthreads with GCC 4.7 (bug #435822), mainly. Patches
+  forwarded to upstream.
+
+  14 Sep 2012; Sebastian Pipping <sping@gentoo.org> -unionfs-fuse-0.23.ebuild:
+  Remove 0.23 ebuilds since upstream now considers 0.23 to be severely broken
+
+*unionfs-fuse-0.26 (14 Sep 2012)
+
+  14 Sep 2012; Sebastian Pipping <sping@gentoo.org> +unionfs-fuse-0.26.ebuild:
+  Bump to 0.26, looks trivial
+
+*unionfs-fuse-0.25 (04 Feb 2012)
+
+  04 Feb 2012; Sebastian Pipping <sping@gentoo.org> +unionfs-fuse-0.25.ebuild:
+  Bump to 0.25
+
+*unionfs-fuse-0.24 (21 May 2010)
+
+  21 May 2010; Sebastian Pipping <sping@gentoo.org>
+  +unionfs-fuse-0.24.ebuild:
+  Bump to 0.24
+
+  18 Mar 2010; Sebastian Pipping <sping@gentoo.org> metadata.xml:
+  Put myself in as maintainer
+
+  17 Jan 2010; Alex Legler <a3li@gentoo.org> unionfs-fuse-0.23.ebuild:
+  Keyword ~amd64, bug 301207 by Martin Väth.
+
+*unionfs-fuse-0.23 (12 Jan 2010)
+
+  12 Jan 2010; Sebastian Pipping <sping@gentoo.org>
+  +unionfs-fuse-0.23.ebuild, +files/unionfs-fuse-0.23-makefile.patch,
+  +metadata.xml:
+  New package (fixes bug #143026)

diff --git a/sys-fs/unionfs-fuse/Manifest b/sys-fs/unionfs-fuse/Manifest
new file mode 100644
index 0000000..d13892f
--- /dev/null
+++ b/sys-fs/unionfs-fuse/Manifest
@@ -0,0 +1,11 @@
+AUX unionfs-fuse-0.23-makefile.patch 301 SHA256 006dbd58cf9bf017b11bea4a6dad3b45ac2636fd62c52d9fb03d71edc66300e5 SHA512 8b3f0e68a1f5a8b4bf0b238463934325095dcce36c0fe8f3a7df3f545883906aaa0cd3f73183ee9bcc6a6c9deae338e7c673421c8ffc8e367eb0e3c0e3c2341b WHIRLPOOL 3d0406ed3a654c111ac25ca37944118cfcf5d12265b6edcf1f3836171d7562dd921bd055f8e2e4396b5520a79b1a50eb581dfa470e3ef391141c826ec129aa44
+AUX unionfs-fuse-0.26-declare-chroot.patch 312 SHA256 402258decbba9057891eb25a6f75fd9c358113eccd3b1f9c32d18bedda123330 SHA512 103e082fbe0a65fb44838e530ee59644659deca1096d6125c20a7911eee2296bcca98ea8d14249d433337fd06ede4eac7d705029e6e70e2df35468998cf144ab WHIRLPOOL 8641cdc4032e2d7c03f39f389b6911e555a0a56eb21971a5d07b03fa02a6f4ca2126ab48255cba5761f8ffc723ac2c6ad054cd6561c056dc74c8e205c1e8a5f2
+AUX unionfs-fuse-0.26-link-pthread.patch 347 SHA256 32cb895e3fffa87c58efa5632dd6dfc07dd4a64b1b60942244bee3f58cc514bd SHA512 4f76f9221e1be47be2c4d405cfd1a326f1955697cfbc5932034e3d90e39c87375df86f7a38c740aa6a6b7fca96b141938a521b42c79a1da70d4ffc59c060e239 WHIRLPOOL c76e9cc7405c2112045601e5ff0897f55a540e13232af7d8634c57e808b6dd956b104e767861c35fd2847d8c7c70b803021b7e565cd8dbb3e4ced4c87203101a
+DIST unionfs-fuse-0.24.tar.bz2 30381 SHA256 d8abc855eb618ac356b1e716599c82f8f0f74dbaee36d4062edc707567121937 SHA512 e0e414f4edbf641ec9d0135a8723e43fc75412359b482f7aedd66fe8245e4df03943c5ecb6f8de4fdbd97f0346033c691e766cc4f4a755f5b43748e1441d3fbd WHIRLPOOL dc132086d9614895961dc8b498c435145b4390fc80331e0575ee8420faea0201325ab2394b9090d8f721c602ef1f93e150573b1b88b77ee4f7be4a262103b986
+DIST unionfs-fuse-0.25.tar.bz2 30674 SHA256 a33f0a8c4ec35108f173a7a96463222534c21b3a50c167a7c868fc5723347e8f
+DIST unionfs-fuse-0.26.tar.xz 38600 SHA256 8d5c9dcb51ecb9a9b03890e16d17e37d602b0c1f23ed6a9ddec2b0f719c9f662 SHA512 07805a2ca90354ed0f8feac3ab0005cc4bba64200172e019f00eb50786776c94a6f976a7c383b17b30373e628838ef94cced510d475d557cafb1a2b309d058f0 WHIRLPOOL e4db99e1eae6ae3bfccaf047411b71642b28a1aeaa5ce922934536fac5034e5941ea6e29299908aa54600b699c1ebc7da6b3601f5acab395b0b08d53a29bd09f
+EBUILD unionfs-fuse-0.24.ebuild 664 SHA256 02faccbdd247bce0f8c2aea70e0d1ccb01b811f295e334db61d77ad4750d2a80 SHA512 058f25779c546745d12763af4eba5b7beded390ab0d667ad54d4384bc10113a9edf4d73052591d7cdf134bed0d18ebca379981b87f44c40d8db6320f01fa265e WHIRLPOOL 3d666e38fcc0472095697589d29925e7237a9a2ce2a3f2ce23aea560934113daf2e7e5cc4a679c11ca03feb737263f9300130700f3c0f42b889cd72dbe708549
+EBUILD unionfs-fuse-0.25.ebuild 664 SHA256 5832fe234bbdbad6103bed7fd85a2dd0eaf754c86eea1bf88a2049ca4382d411 SHA512 494358b2950ac49c073e52acd59d5ffaa32f56b2f0caef1dd4b850770bf288e8ba6c47a049e2208166a460556ca22c1b6ea149624308ae205878bdd6c373a2dc WHIRLPOOL b563f03557f5ab0254a2d86758d93a277c99a365f0659c7c727c1c9368d30e5ceb2d7e5ad5b65e6f2b5e25a2203c9571fe8bd6acf58a3c3ca1b510f3d051547d
+EBUILD unionfs-fuse-0.26.ebuild 820 SHA256 0748197a4617b5cb9f4ab5bd8956ee0e89b5f5ec88a4e09c912cef61a835a885 SHA512 64f22115bea5cce4fbca118cd5e2018e521d14ad6cd1dd857824292d6bbb5efe8779efee5e7f6d13db8e7f75c6191f426d3c748410403afd8f92eb2230b094e5 WHIRLPOOL 461246718cc9a31a4eabd148aa25b547985548756960db4b0d978f4998e65e0f0ba32a2524dbdb82c84f10281c6800aab0cd1ca00bc0bbd696e2e23d0937c263
+MISC ChangeLog 1590 SHA256 847c3677223623a84c555653e860d7c8139009c077a7a371a7fac25c38e8f400 SHA512 0697cf3d3fc801b47ace4bed834b57b63fd89b47d1469cf648cb1eeba9eb80be436f090c185f822ae68bd8d2585d0a13ca84736d79763817e0bc5ccfa8652bcb WHIRLPOOL 6faf77f5bb637b3c5983fc619540f5c9718c7699dce54fac6a73a3c124f79b2fc31fa71bea5d60672ef95d6b044b1de66e2c5a2d7fb049e169a4d8cae2b1e589
+MISC metadata.xml 235 SHA256 095e4ee6b3ae673e7ddf0d4e166a632d3384d6374c6dd86d8c401a8f5c43f7fe SHA512 52fe834d5150301a0247d32806e487fa9838f30eb94e3d6cc2f10f2b574e95a113accdd2dd4097c2033a0dfc6da06948a3ea6e13f593f038c0d0e9e13ecbfdf5 WHIRLPOOL e070f37f0eab35b3b21bba900e3d710592720cdcf57f02bd9dcc8f7af418a152c36b22022af50d40d7267b7bf041739031135d65e66c6e9b9b31597d920d4364

diff --git a/sys-fs/unionfs-fuse/files/unionfs-fuse-0.23-makefile.patch b/sys-fs/unionfs-fuse/files/unionfs-fuse-0.23-makefile.patch
new file mode 100644
index 0000000..6f80808
--- /dev/null
+++ b/sys-fs/unionfs-fuse/files/unionfs-fuse-0.23-makefile.patch
@@ -0,0 +1,15 @@
+--- Makefile_BACKUP	2010-01-12 01:26:33.000000000 +0100
++++ Makefile	2010-01-12 01:26:58.000000000 +0100
+@@ -7,10 +7,10 @@
+ LIB = -lfuse -lpthread -lm
+ 
+ build:
+-	make -C src/
++	$(MAKE) -C src/
+ 
+ clean:
+-	make -C src/ clean
++	$(MAKE) -C src/ clean
+ 
+ install: build
+ 	cp src/unionfs $(DESTDIR)/sbin/

diff --git a/sys-fs/unionfs-fuse/files/unionfs-fuse-0.26-declare-chroot.patch b/sys-fs/unionfs-fuse/files/unionfs-fuse-0.26-declare-chroot.patch
new file mode 100644
index 0000000..e436f9f
--- /dev/null
+++ b/sys-fs/unionfs-fuse/files/unionfs-fuse-0.26-declare-chroot.patch
@@ -0,0 +1,12 @@
+--- unionfs-fuse-0.26/src/unionfs.c	2012-09-22 22:24:05.090568485 +0200
++++ unionfs-fuse-0.26/src/unionfs.c	2012-09-22 22:24:09.036519156 +0200
+@@ -13,6 +13,9 @@
+ #ifdef linux
+ 	// For pread()/pwrite()/utimensat()
+ 	#define _XOPEN_SOURCE 700
++	
++	// For chroot
++	#define _BSD_SOURCE
+ #endif
+ 
+ #include <fuse.h>

diff --git a/sys-fs/unionfs-fuse/files/unionfs-fuse-0.26-link-pthread.patch b/sys-fs/unionfs-fuse/files/unionfs-fuse-0.26-link-pthread.patch
new file mode 100644
index 0000000..9bed29f
--- /dev/null
+++ b/sys-fs/unionfs-fuse/files/unionfs-fuse-0.26-link-pthread.patch
@@ -0,0 +1,11 @@
+--- src/Makefile	2012-09-22 22:14:36.484677038 +0200
++++ src/Makefile	2012-09-22 22:14:40.162631059 +0200
+@@ -5,7 +5,7 @@
+ 
+ LDFLAGS += 
+ 
+-LIB = $(shell pkg-config --libs fuse)
++LIB = $(shell pkg-config --libs fuse) -lpthread
+ 
+ HASHTABLE_OBJ = hashtable.o hashtable_itr.o
+ UNIONFS_OBJ = unionfs.o stats.o opts.o debug.o findbranch.o readdir.o \

diff --git a/net-analyzer/ssldump/metadata.xml b/sys-fs/unionfs-fuse/metadata.xml
similarity index 56%
rename from net-analyzer/ssldump/metadata.xml
rename to sys-fs/unionfs-fuse/metadata.xml
index 7e6df48..16bcc9f 100644
--- a/net-analyzer/ssldump/metadata.xml
+++ b/sys-fs/unionfs-fuse/metadata.xml
@@ -1,6 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>netmon</herd>
-<longdescription>A Tool for network monitoring and data acquisition</longdescription>
+	<maintainer>
+		<email>sping@gentoo.org</email>
+		<name>Sebastian Pipping</name>
+	</maintainer>
 </pkgmetadata>

diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-0.24.ebuild b/sys-fs/unionfs-fuse/unionfs-fuse-0.24.ebuild
new file mode 100644
index 0000000..5cce212
--- /dev/null
+++ b/sys-fs/unionfs-fuse/unionfs-fuse-0.24.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/unionfs-fuse/unionfs-fuse-0.24.ebuild,v 1.1 2010/05/21 16:54:29 sping Exp $
+
+EAPI="2"
+
+DESCRIPTION="Self-syncing tree-merging file system based on FUSE"
+
+HOMEPAGE="http://podgorny.cz/moin/UnionFsFuse"
+SRC_URI="http://podgorny.cz/unionfs-fuse/releases/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-fs/fuse"
+RDEPEND="${DEPEND}"
+
+src_install() {
+	dodir /usr/sbin /usr/share/man/man8/ || die "dodir failed"
+	emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
+}

diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-0.25.ebuild b/sys-fs/unionfs-fuse/unionfs-fuse-0.25.ebuild
new file mode 100644
index 0000000..f6bfdbc
--- /dev/null
+++ b/sys-fs/unionfs-fuse/unionfs-fuse-0.25.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/unionfs-fuse/unionfs-fuse-0.25.ebuild,v 1.1 2012/02/04 01:15:07 sping Exp $
+
+EAPI="2"
+
+DESCRIPTION="Self-syncing tree-merging file system based on FUSE"
+
+HOMEPAGE="http://podgorny.cz/moin/UnionFsFuse"
+SRC_URI="http://podgorny.cz/unionfs-fuse/releases/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-fs/fuse"
+RDEPEND="${DEPEND}"
+
+src_install() {
+	dodir /usr/sbin /usr/share/man/man8/ || die "dodir failed"
+	emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
+}

diff --git a/sys-fs/unionfs-fuse/unionfs-fuse-0.26.ebuild b/sys-fs/unionfs-fuse/unionfs-fuse-0.26.ebuild
new file mode 100644
index 0000000..011f16e
--- /dev/null
+++ b/sys-fs/unionfs-fuse/unionfs-fuse-0.26.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/unionfs-fuse/unionfs-fuse-0.26.ebuild,v 1.4 2013/02/21 03:59:06 zmedico Exp $
+
+EAPI="3"
+
+inherit eutils
+
+DESCRIPTION="Self-syncing tree-merging file system based on FUSE"
+
+HOMEPAGE="http://podgorny.cz/moin/UnionFsFuse"
+SRC_URI="http://podgorny.cz/unionfs-fuse/releases/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86 ~x86-linux"
+IUSE=""
+
+DEPEND="sys-fs/fuse"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	epatch "${FILESDIR}"/${P}-link-pthread.patch
+	epatch "${FILESDIR}"/${P}-declare-chroot.patch
+}
+
+src_install() {
+	dodir /usr/sbin /usr/share/man/man8/ || die "dodir failed"
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install || die "emake install failed"
+}

diff --git a/sys-fs/unionfs-fuse/unionfs_debug.log b/sys-fs/unionfs-fuse/unionfs_debug.log
new file mode 100644
index 0000000..35a5072
--- /dev/null
+++ b/sys-fs/unionfs-fuse/unionfs_debug.log
@@ -0,0 +1,124 @@
+debug_init(): 30: return 0
+build_path(): 130: from: unionfs_post_opts():280 path: /home/benda/tmp/Build/posixovl/
+build_path(): 131: return 0
+build_path(): 130: from: unionfs_post_opts():280 path: /home/benda/gnto.recover/
+build_path(): 131: return 0
+unionfs_getattr(): 193: /
+find_rorw_branch(): 104: /
+find_branch(): 58: /
+build_path(): 130: from: find_branch():63 path: /home/benda/tmp/Build/posixovl/
+build_path(): 131: return 0
+find_branch(): 68: /home/benda/tmp/Build/posixovl/: res = 0
+find_branch(): 74: return 0
+find_rorw_branch(): 106: return 0
+build_path(): 130: from: unionfs_getattr():207 path: /home/benda/tmp/Build/posixovl/
+build_path(): 131: return 0
+unionfs_getattr(): 221: return 0
+unionfs_getattr(): 193: /
+find_rorw_branch(): 104: /
+find_branch(): 58: /
+build_path(): 130: from: find_branch():63 path: /home/benda/tmp/Build/posixovl/
+build_path(): 131: return 0
+find_branch(): 68: /home/benda/tmp/Build/posixovl/: res = 0
+find_branch(): 74: return 0
+find_rorw_branch(): 106: return 0
+build_path(): 130: from: unionfs_getattr():207 path: /home/benda/tmp/Build/posixovl/
+build_path(): 131: return 0
+unionfs_getattr(): 221: return 0
+unionfs_getattr(): 193: /.Trash
+find_rorw_branch(): 104: /.Trash
+find_branch(): 58: /.Trash
+build_path(): 130: from: find_branch():63 path: /home/benda/tmp/Build/posixovl/.Trash
+build_path(): 131: return 0
+find_branch(): 68: /home/benda/tmp/Build/posixovl/.Trash: res = -1
+path_hidden(): 58: /.Trash
+build_path(): 130: from: path_hidden():63 path: /home/benda/tmp/Build/posixovl/.unionfs/.Trash
+build_path(): 131: return 0
+filedir_hidden(): 45: /home/benda/tmp/Build/posixovl/.unionfs/.Trash_HIDDEN~
+filedir_hidden(): 51: return 0
+path_hidden(): 86: return 0
+build_path(): 130: from: find_branch():63 path: /home/benda/gnto.recover/.Trash
+build_path(): 131: return 0
+find_branch(): 68: /home/benda/gnto.recover/.Trash: res = -1
+path_hidden(): 58: /.Trash
+build_path(): 130: from: path_hidden():63 path: /home/benda/gnto.recover/.unionfs/.Trash
+build_path(): 131: return 0
+filedir_hidden(): 45: /home/benda/gnto.recover/.unionfs/.Trash_HIDDEN~
+filedir_hidden(): 51: return 0
+path_hidden(): 86: return 0
+find_branch(): 97: return -1
+find_rorw_branch(): 106: return -1
+unionfs_getattr(): 204: return -2
+unionfs_getattr(): 193: /.Trash-500
+find_rorw_branch(): 104: /.Trash-500
+find_branch(): 58: /.Trash-500
+build_path(): 130: from: find_branch():63 path: /home/benda/tmp/Build/posixovl/.Trash-500
+build_path(): 131: return 0
+find_branch(): 68: /home/benda/tmp/Build/posixovl/.Trash-500: res = -1
+path_hidden(): 58: /.Trash-500
+build_path(): 130: from: path_hidden():63 path: /home/benda/tmp/Build/posixovl/.unionfs/.Trash-500
+build_path(): 131: return 0
+filedir_hidden(): 45: /home/benda/tmp/Build/posixovl/.unionfs/.Trash-500_HIDDEN~
+filedir_hidden(): 51: return 0
+path_hidden(): 86: return 0
+build_path(): 130: from: find_branch():63 path: /home/benda/gnto.recover/.Trash-500
+build_path(): 131: return 0
+find_branch(): 68: /home/benda/gnto.recover/.Trash-500: res = -1
+path_hidden(): 58: /.Trash-500
+build_path(): 130: from: path_hidden():63 path: /home/benda/gnto.recover/.unionfs/.Trash-500
+build_path(): 131: return 0
+filedir_hidden(): 45: /home/benda/gnto.recover/.unionfs/.Trash-500_HIDDEN~
+filedir_hidden(): 51: return 0
+path_hidden(): 86: return 0
+find_branch(): 97: return -1
+find_rorw_branch(): 106: return -1
+unionfs_getattr(): 204: return -2
+unionfs_getattr(): 193: /.Trash
+find_rorw_branch(): 104: /.Trash
+find_branch(): 58: /.Trash
+build_path(): 130: from: find_branch():63 path: /home/benda/tmp/Build/posixovl/.Trash
+build_path(): 131: return 0
+find_branch(): 68: /home/benda/tmp/Build/posixovl/.Trash: res = -1
+path_hidden(): 58: /.Trash
+build_path(): 130: from: path_hidden():63 path: /home/benda/tmp/Build/posixovl/.unionfs/.Trash
+build_path(): 131: return 0
+filedir_hidden(): 45: /home/benda/tmp/Build/posixovl/.unionfs/.Trash_HIDDEN~
+filedir_hidden(): 51: return 0
+path_hidden(): 86: return 0
+build_path(): 130: from: find_branch():63 path: /home/benda/gnto.recover/.Trash
+build_path(): 131: return 0
+find_branch(): 68: /home/benda/gnto.recover/.Trash: res = -1
+path_hidden(): 58: /.Trash
+build_path(): 130: from: path_hidden():63 path: /home/benda/gnto.recover/.unionfs/.Trash
+build_path(): 131: return 0
+filedir_hidden(): 45: /home/benda/gnto.recover/.unionfs/.Trash_HIDDEN~
+filedir_hidden(): 51: return 0
+path_hidden(): 86: return 0
+find_branch(): 97: return -1
+find_rorw_branch(): 106: return -1
+unionfs_getattr(): 204: return -2
+unionfs_getattr(): 193: /.Trash-500
+find_rorw_branch(): 104: /.Trash-500
+find_branch(): 58: /.Trash-500
+build_path(): 130: from: find_branch():63 path: /home/benda/tmp/Build/posixovl/.Trash-500
+build_path(): 131: return 0
+find_branch(): 68: /home/benda/tmp/Build/posixovl/.Trash-500: res = -1
+path_hidden(): 58: /.Trash-500
+build_path(): 130: from: path_hidden():63 path: /home/benda/tmp/Build/posixovl/.unionfs/.Trash-500
+build_path(): 131: return 0
+filedir_hidden(): 45: /home/benda/tmp/Build/posixovl/.unionfs/.Trash-500_HIDDEN~
+filedir_hidden(): 51: return 0
+path_hidden(): 86: return 0
+build_path(): 130: from: find_branch():63 path: /home/benda/gnto.recover/.Trash-500
+build_path(): 131: return 0
+find_branch(): 68: /home/benda/gnto.recover/.Trash-500: res = -1
+path_hidden(): 58: /.Trash-500
+build_path(): 130: from: path_hidden():63 path: /home/benda/gnto.recover/.unionfs/.Trash-500
+build_path(): 131: return 0
+filedir_hidden(): 45: /home/benda/gnto.recover/.unionfs/.Trash-500_HIDDEN~
+filedir_hidden(): 51: return 0
+path_hidden(): 86: return 0
+find_branch(): 97: return -1
+find_rorw_branch(): 106: return -1
+unionfs_getattr(): 204: return -2
+main(): 839: return 0

diff --git a/sys-libs/glibc/Manifest b/sys-libs/glibc/Manifest
index 7f86730..d0ba78f 100644
--- a/sys-libs/glibc/Manifest
+++ b/sys-libs/glibc/Manifest
@@ -7,6 +7,7 @@ AUX 2.12/glibc-2.12-hardened-pie.patch 1542 SHA256 9d11da52900a4cfdaa9052476029c
 AUX 2.15/glibc-2.15-localstatedir-backport.patch 412 SHA256 465bedaaf735a48825cd6433007abfb1e40c2ef8ddf94d12d452b486c70ce36b SHA512 76506a540d47ad7e76073c3b25bc46278a9e56e34e17d49caf9fffc0622646e8e0d6905fe7d00599db02f444420ed0b9d64d3d70df78446564b137fd65021e45 WHIRLPOOL f21fb6d6eb3555421f7d90b179a7a2745e7056316eacbf209066f01e742037fd283689c5a5f5a313666a2fb79d5ad0631dbada94d9c7eb958ee01217b605533a
 AUX 2.16/glibc-2.16-hardened-pie.patch 1570 SHA256 9a8d8a8268605251782b1fba509cda090f39f56edc8a5497c7b4acfc428041f7 SHA512 1dff16b1ce4ba6246336d19fac21ea6e8d5710e138a23603fa6b79896d895834b6d28bb1948c83648120ca1d038805db7dd7138ba3e28e9071254d6320cdc092 WHIRLPOOL f96487ac4bd95a99e9e70204c686c3f19bb8238cfd4a9856b031be58ac23927886f228a8b4add14213e0489a204c51ebbeb8a376311305025116b8ae45fc90c2
 AUX 2.17/glibc-2.17-hardened-pie.patch 1784 SHA256 bba32e40c73aef20122b2825f31e5c3aa058b61feae4f32f336e1941f83f82d1 SHA512 9ecfe2b6c8c982a42786181d6507d5fa588a6868109065451f58a779848837bd5e69c32a24e43a186c2ff63a9784015c51487e342c87982ac074139e36c169fc WHIRLPOOL 1baffbef9e6d870ea2f2ae5be014b71020a213a1a11e9856fa207545867de444ed164cb926b2aac23471854eaaf72a87e38760702b32bfcfa639add8733d925e
+AUX 2.17/glibc-2.17-runtime-prefix.patch 15985 SHA256 df0bf5dea9b40efa851da6b554f1a3d3a63efad2a5f32068de640dd9da652d58 SHA512 98315741f692f0272f13f5e60b0eef5cacea44ddcb97ba144272bb239af0af66b6043d46ef1e6a8391ec3b1a9d293c98334d72d6ceb1b590799e079bb3306709 WHIRLPOOL ff8dd31090c07e8549829a1707e9f7a0e2da35e7a7cffe60f550f64c4c3d0f19c2094576d9ec0b390dcef39f646f2341ed5369fa9d6418e2d5d5dcbdc7189d60
 AUX 2.17/locale-gen_prefix.patch 2704 SHA256 0807c8979b7a1a63b48d155417ff8ecc7e14773e928a0d1fe6c349a36fcdadef SHA512 d6b41b953713f7fe0ba14af6d045fc0e6b649f278da691ca5f021d95be5cdabfc87de399880cf988fec2b189fac22864d004ec8d159e59a2348b41945de1d5db WHIRLPOOL 3c7d6b4e789ae494cebea620ed64a6ba8dd401837914f4ead72c7b2d6af94538c9a28f65781db7e6ae0d21c7fac13c531b71147fdb5456ffd39ae1246b331069
 AUX 2.17/vdso-disable.patch 1136 SHA256 49006855c1ba3ae3d3aa5ed71787056dc64e993eec70a4bef05bcc9f4d824014 SHA512 6eeb6eae8b8c1777ebd18170a7651b9e95297125cfc3829786c4d02887cad4a5d768fc2950723d1d040d16d15d72491d7443a3c14ca9f20eb2adb1ba6d1649ca WHIRLPOOL 80367da491b958d0b7855d23d3225a5c17a3a7a1b1f9a54ebc093c53823a5ef1642b974b45e079aec0abff0476494368ed9afcaed83b87576ed8458b8348e41e
 AUX 2.17/vdso.patch 697 SHA256 26f2089344709de9c1bdd2f974d02ff5d4c465f6ebebd5d1ac2cd72b732de201 SHA512 a303a6828ed001b16f2f5c3532890cff66a50259c2e2aa2843e992f2bed5e6141abc9e120afed25f2e1f30d77bc218c3940d680c3d73c227d2056370d5e6b806 WHIRLPOOL edcaa815b8f86e17d77f0582453a717fbbd848400bfdbd302730fec20a952a584ea8f5ba4f7175b25d84752bc895519d7baa55664073cae5037962b0c1825aa3
@@ -18,14 +19,14 @@ AUX 2.5/glibc-2.5-hardened-pie.patch 1569 SHA256 ff9cde8857c5da89faa4039e2a81748
 AUX 2.6/glibc-2.6-gentoo-stack_chk_fail.c 9545 SHA256 1410ded812be80d452eada5f9d6b9bd7bdb504c14f01cc27dce3e36b6f92b92a SHA512 360b77df2d19d14060e19e763878297bf042eccd5206ce4829a33c78c982b59b46144116d237a7cac73a22dd6cb4987c8dd50f1d16003baa22c2cb2942d2cbdf WHIRLPOOL 44e14dacdd258c46201a44c2c6aae4d975b960a914c24e49f2b39dae960636512049daa052d3cd8e8d93819d263327c28eac947efdb5d9e240d1bc6e9964016f
 AUX 2.6/glibc-2.6-hardened-inittls-nosysenter.patch 8674 SHA256 cf58ded8fbe9fcb3dc094521feec2588c1520ff2c632b20c69d6a210325c4fcf SHA512 094b24474e42a9714f5298b0768d44f2c0e01b7d8c3b0a754bb16caa6c024106e8c0b1acbce670bacec1ead6653f8365397173d62cb8168b946c8f521ca155d2 WHIRLPOOL 9fa16256f9d3bd2f38023549c0bd4c932d3173b6c3f4ef66e19cdb3eff5cb2def6ec02fa72a7e57ba74da6d5f29b82ddb9692d59f6c694d45b5989fa0bfa6057
 AUX 2.7/glibc-2.7-hardened-inittls-nosysenter.patch 8755 SHA256 b0b1bf0746f7160b89cf281502b95c38dec9cb948d6a50a907b84fd6230a2dc3 SHA512 50563c26e1fd2e71cb034c8a1b85e0e4075ac6467bae46d4cba0c105c940c5aa6531c39cf00c63ebf94be4e290ee485d7bd8239ff08dbc781db605b45c4aa38f WHIRLPOOL 2047148b53073bae4031ad864fc360112e2812115ec455142c82d4694a57387b49b36c98f400dd6f77f5dab3d419303faabe8183a16f0fd68387996c95888a43
-AUX eblits/common.eblit 10936 SHA256 daccdb9645d2fcf214ba16500ab74388b580f18a565a52157c7d1f7a3da007e8 SHA512 11e39b4e716431225cedc7ba8ab5261489919cf83e4ed0c7de5f721e12f38458bb53677f15167b3a993cf419bd13e94cf8cd58722451c547e1fb43e3448a122a WHIRLPOOL c5fc42a97f5dd63db753f5717388ddeb8d555f41cf00bdd10d558c6da2b7ddc95b76aec1a9272efeb7fc172e368bb6ad31a6853644b55daa43fff3ad4da2d738
-AUX eblits/pkg_postinst.eblit 1081 SHA256 21c349d6999841b277dd00ed6f2bf4b33d14724510da3c15a99e775cb71bd180 SHA512 b491761a0923b779535b4a5abf6e00efb6f2c0bbb68e7fb01b2cad54034b63ddfa271afce16b17b17b53ac809ed869c55f94c44443d661052779770f4302318b WHIRLPOOL 8e3a3f35a4cefa903bc578d2fb6b22506f3ac94939f9ad1e703f470b13ba0fd3353061e38e3142ecb5c693749c84d4a1e4f4a5920e36ce20dc2f7e3b6b67ed9f
-AUX eblits/pkg_preinst.eblit 2287 SHA256 5cc4ff72c7637e5f7a1534b805250ce69e4c5bdab211b39831068cbd8e7af678 SHA512 4ed0d857568f567f4d707d6d90b596371b6a75bf7ef78bc5d468e7e3e65458d4b8e3d8df3b63bd3616f1c239babc6594880f69856d6b83923d65d6281de5a5d5 WHIRLPOOL 189388d6f9162efe10492d74b691be4a977f5621453bf56f1ac99d1b5106ef15519ee495a71b8e0ce5b2f9a186de42b93468156eb8ac645ec357731262a6d097
+AUX eblits/common.eblit 10936 SHA256 f2ce0cc64cee2efadd2428be4fe7ddb1507f21a05286e1ba19ebbc1dd6052e38 SHA512 cde7f8c639598fc469587c9a31ad1146c734c2ffcd242d3083edafeeefe522caabed228a005360b69d2a01da59994b4443323e62f5ca3820da0e4c41cd3c35e8 WHIRLPOOL 204eb9a3d0be28c764251fa71b56fb6c8f9882a54f4b1eca76bafbecf5459b7a6789da12c8cd77540ce7b7e93fb0d0406cf43f164e8fdea40ed684ecfdd50a89
+AUX eblits/pkg_postinst.eblit 1085 SHA256 71b7a853cd825ed7044e69c8a76b6ee3e00d46614015960d411941c4d12f5d20 SHA512 fc39960f370f0a4d5ef4d794f6de14594a53730ec0b3a49956cfddced17196f485337b9cb29759f232ccd33b4e9af7affe92aac93752397aa2e29ff0c1e36809 WHIRLPOOL 22936beba3ab465ef32717c1659dffa6ef7094d59d0c8ce2455563d56ce371598deac783f365abe2c55a527e7bdb28d07733ee3ea0858e2df86c65d66d729031
+AUX eblits/pkg_preinst.eblit 2289 SHA256 b99f883d8c8ac31ebc81f0ea3239a1f0bddfb49bdd7ddfa97e45bbfb4b3b5ebb SHA512 ea80538692db8492b75e84b39bab88d0a51faabba70f4f5a9d610af61a488cbd3cb9c74e532544d8a541c73059af1133d4d6e68fef95012ef9c6f19fd424cecc WHIRLPOOL 0e8cb61657b7af02a41c20da1dc23a8ca24ed29795eee2a70f78d134d5f7ad29b1a99f6fb2a414bf18db6d2ad550b0db9c85ff4e1c10e8fe3e1e7942b4354365
 AUX eblits/pkg_setup.eblit 3897 SHA256 eb384c601e2a48edd1f2e3ad591847d65c88d9560ce24efa69502ad75fc7350c SHA512 7af588bfdf9ac0c7042ca96578b7c1c9f67abfbf7d653d9ec1a811addafc9a800cc89d250f44a0570f9c02e8294a28b330eb278c020de7eed4c181e44ecbe57e WHIRLPOOL 271229a58dd9498bcaab420f4d5ab2648122c81b39e6611551cbd3f693fddbc9ae44787c34b7b68644d8cab270147c716a362fbe414602d8938d0166f2b5a99b
-AUX eblits/src_compile.eblit 7177 SHA256 5ad914a83c00537e68dbad7b354d865346e6abb8a736359b30aa5e1203eba140 SHA512 d68bac6b896219f13e284065c6f2e5f8ad080981c98ac9794cd2612eaea74744b7c3914dc4b5a1c1d3416254d6caffa05227a33adbb82360dab07c775558d9fa WHIRLPOOL c61d9d68386ef54fe2c89939afc225b2c6d8fe72a0bc3d5e5d90b38a601cd4fcbcf1fd399cbece20d6933f4ccbe28b224bafaddef0098aa26be16d5d6c0d9196
+AUX eblits/src_compile.eblit 7157 SHA256 5ebcc1598badba5e6beed22754e5f36f6a9420efac45b488ce84e67e83ce256a SHA512 720ddbfaa13848bf53be41d92b6e6c8c4f4dbadd253733e463c3df3971cc57815b66cb50cd89ef03901d78deb7580f0c7c3a1e2b9a2d287205ac85657de83330 WHIRLPOOL 40d1cf7e2f7f630671f22b03e7815c4644287561d7de00d98e8a82c164ff97139b763b2fff1dba081de2e17d510e686ea55ddaa1367307a9bf22063b05645964
 AUX eblits/src_install.eblit 8242 SHA256 ea8d3afa5c76db97322a1108ba18c203be7d0b6994df146b65748045f1530f70 SHA512 1da934c4b9fc40549af5406eab7ae51c897ecd6f1c2305cdbc8a88ceaa55769adadacdec7398d2692b06c196ea15f689912a31b488c74a69d0bdccc20ca54c89 WHIRLPOOL cbf185343cbfe0e9cdf6b16d1726b112bd164bf5641847a123edc76039af3934d9659395ec2c333835bb4d83bf1afe507cfbecbd69c51de12fd1b8c9ca070956
 AUX eblits/src_test.eblit 1278 SHA256 4cc565c9688292f1a195b4d9a5ba2d1b90ccc505e62229fc21d9fdf67d9655d5 SHA512 b058884a9ec43f047f10b6d61338366388dfb58c920e3f55baa85a9795750af7b8eafba427bb8ec59b1269853a4e4135b86a951f6513f64304461364b6f36a6f WHIRLPOOL 50b798092b0a9734767a8f9b7d3e1dc087d76e60f1dc83d6d5dde8aba48b992fb1b6eb6f07a9259b6fc4dac9bb391ab8972fd705be91ca15033d4d4144044e93
-AUX eblits/src_unpack.eblit 5177 SHA256 c22b479fb56eed3c67fe03039ce6167f878d60e183814bbcd585ccf7154d8f2e SHA512 a348198ee078b28855b951a67cd645729ccb6560270b7fd3a4dd52a39e0d089c4067de7b286e060e021fb2cb67d65ea134a22b6d66b2d1980f4c183a4dd852c4 WHIRLPOOL 91f76ed06a3a8ece260901a357d73ba50aea9a67a41abb569c322e16c711770fa7983c9c4a603db68a99075d001390cfc68bc50cc21e5ab6148d62ebb55bea0f
+AUX eblits/src_unpack.eblit 5166 SHA256 69712fe1caba29da644aa73d251d8574baf8b4cb240cefdb66947c88c7f6a59f SHA512 91a323ed15cdd31182d5fa01ef3bc2ba2ca4d35b3bdaaa00628ad7b8f6c9d93e9f3189332511cb689c3ed246054c461313853986148567dd71ebd3790e0e69ba WHIRLPOOL 10f9b5bda4e468b6ac111eecd7193fd8dcea3d9f4a3ba5339bcb53baba926075ab7f62f58ee979968de9246925217b621ccaa53ed7edf399a6174c869087b061
 AUX nscd 1621 SHA256 6165db3a2fcb251d4f3655c0461e018ce9c92a37f7f22a8fd2b75178b5435bc8 SHA512 3e1255ab014b3806112120000c3d2189a7c1c69dcd6639d5ce55e96bec721683a22b141982f6a6c6d44b14481c33fbbaa470863bef04e9b9eab7ccad1ddd5d95 WHIRLPOOL b7152f8d888fca13a16ea403c44eadbf1da2249dae3add11f73999259061824460a5479aa7e58c012bd737b62ecc81814109832cee33638279d90d4c08bfdbdc
 AUX nsswitch.conf 503 SHA256 6c38b8642d5da884327ad678d0351d57be3621562253bd9711394bad87e45e2d SHA512 c13714110f3ccc9a2270f51d0da9293ab19b9df368092d19b1a84d5051d888297bd9439a322eca1ea60d6d5e58952797d803a368a295f2db6d5e97e173907373 WHIRLPOOL 0d37755ba5928ff894c355b3fdcf7079f19c1cb7a4f3676634084da89c74d7175823a4659b8c66d8dc1395d086991857162822ddf977dbe8dff9a59bccab821e
 DIST glibc-2.10.1-patches-7.tar.bz2 113612 SHA256 6c94493e08c13072c94c967f55b659e6c950ec470c9677c43cfab10e24a88370 SHA512 6f1d575273ee354e6b9fb85d1a25b660e52fc77ed50bbe0a2c25f60d4ad11ed4560b27358d1b7a5412d5f1fafac2dd83b7ce5b1420205ef2d4906e4c99b610ba WHIRLPOOL 70efe90ab258bf15cf6c0b2ec826aacf25d4cab0d0e09b8883ecfdc34bdc54072bcd3330dd622b8f12ee6a1c74928ecd022e844a351717b53397f056b376992a
@@ -77,7 +78,7 @@ EBUILD glibc-2.15-r1.ebuild 8143 SHA256 94c831d06eb6cd7c153db3267dfc7811739d90b8
 EBUILD glibc-2.15-r2.ebuild 7692 SHA256 1ee891da4bbb450ce16318877a9043773c34a7418eb49f7f684155e48ecc1b6b SHA512 4e0e5c7e85a514a0fed90a9e339eef8748e3a0f06211a93463db355b9b921337ead3f645a3fe8b99dbe2f12d1c03e2ffcad7e2dbe2909b5d97fa5486fe53215f WHIRLPOOL 84ab863b0f70cf8d40291a155f21c987e9b48dce005890e34e105bb3fed950d463f0b053fe2d7988a9b218dc3ccc9afb0c952845009b2e7e2569b28298f8e479
 EBUILD glibc-2.15-r3.ebuild 7764 SHA256 17540bbede72db02e113f556cd3c4a6873c45be1191bade644b5a78d2557c673 SHA512 b9f856356a1dad8f51a62610defce3984477e7f8265427c7e6d21c7868bb6756de4f66b16d3184fd51180155112339e33547a2348d55a2cf1059ccbdf68f0c3f WHIRLPOOL 9c36e9f55427b2cf0180db983446d572d63be309e64b42bbe3571105446f4eddaa815081faf79fe6fc639e3ddf3e3720f11e7af2e85ea19125ef561176eaeff5
 EBUILD glibc-2.16.0.ebuild 7495 SHA256 d498eb21c832602c2711b4fd8607bbb36cbbbcd701405c5f84e2dbbe9ac81774 SHA512 caa429992f3510b4a530fb7d700ba8e67664d5df406ecd198bb7481009e4413cbf9a8f366b77f0e4949670f56dd5e21d7fccee13aa4d13684cfdb8ccf6054aa9 WHIRLPOOL 1f3a56785e164b4d2f8f258bc44b6a324dee3cecd8231b030ac68efdcc007c7cc906519d4f3f3585ed327bc572b8a2ded827afdeed9aaad1b81aeeca915571f7
-EBUILD glibc-2.17.ebuild 7229 SHA256 f39425caf8a1a4808d1ede1c4c82d2166665c1c7cf95e0812d36771c0791b8d3 SHA512 f2abe461d86d17811c8df90ee75087665b048c2a34529255cd565e5695796d7c94111e7098011e01e4a0da09be59a4cd4cebc0c938b5973aeea3d04d87fa827c WHIRLPOOL e56e92a163d72a5462bdda8dab1dbf356891db6a7e48e241af68993e8d89db38e90b6085abae79e80967b3272f697cda8c248297248baaa7daff89f8aeb5a65a
+EBUILD glibc-2.17.ebuild 7548 SHA256 a42c24a0bfbbad3aa12c858df8cfcec595510d99921c6d04f0f17c898239befd SHA512 8c6d2a742dd4dc266ae9fdc0705f9e49917bb4137ad134469106dce9e321c7b65d10d4637abf5899be271d36186d92a04675c4fb9649189bdd8ada9e0f10d9a3 WHIRLPOOL cbf3ee0c2caf0a6a0a73b8a722f6e4b5150a9f3db511b6f032f92c40ee8907568623daba9492cc358d6d37044ad1d985270f17d1978480d4875bc75071bfe066
 EBUILD glibc-2.9_p20081201-r3.ebuild 6770 SHA256 87e75b306b69d170c7fd6083c7a40303ea292616a810c3e5302eb13ff72932b8 SHA512 3dc0d6f0b99a1e83caa8a152bb7752b8b504324876bed83657b683c73f8a3432150cb5d3b42aea11d064ee9d1a4d1788dab6c9da11cfc5cf716c214ec145e177 WHIRLPOOL 9fec37815cd88eab81f4452e02e13b96e13b1ad8284b1be7f77213280da54a9de85275cf665307d3920e36c3bc02f6005acd5316f6f2ed3dac5b3b60a80690b0
 EBUILD glibc-9999.ebuild 6619 SHA256 523f30d0bd4fb9aef983b7e62e57239d089251d0f3907b6dfb70a00cbc0c2e6c SHA512 2d875c8434720b700bfc99836870e625b7c3010178a4a501e435832e826e7008764878d1e4f88d9f568d21f97de56589bff7984b37d3e9840f19492585cfe16f WHIRLPOOL 7da4b26e63d4f79592891ebd1cf1fb915d40049e8feeb61d9c55f7af601bfe2b7f1a03b1aed51f95be0451c90e93992920949c92ccd2401a0c129b600f5afdb9
 MISC ChangeLog 59116 SHA256 c145cda049346dfd34078de4c7b7823136c0f4a25aab7bf2c479481966b74de2 SHA512 e2d51f169bde9d5c9ba4cd85857717b8d2fdc81e8f50fad9be9a9e426efd721de0523038960b1ea615b32d6d61a5bcc929d42a18d2db3732e008548ff3b3250e WHIRLPOOL 9bc612e38b91c84c3de5dbee260207321fdc0069c64851be83f294ecec0391ddf399a7ebe8d45a4ba5169b099597fed4edf9023541f95355028f37a01f79cda1

diff --git a/sys-libs/glibc/files/2.17/glibc-2.17-runtime-prefix.patch b/sys-libs/glibc/files/2.17/glibc-2.17-runtime-prefix.patch
new file mode 100644
index 0000000..eee2087
--- /dev/null
+++ b/sys-libs/glibc/files/2.17/glibc-2.17-runtime-prefix.patch
@@ -0,0 +1,400 @@
+Index: work/glibc-2.17/glibc-compat/nss_compat/compat-grp.c
+===================================================================
+--- work.orig/glibc-2.17/glibc-compat/nss_compat/compat-grp.c
++++ work/glibc-2.17/glibc-compat/nss_compat/compat-grp.c
+@@ -89,7 +89,7 @@ internal_setgrent (ent_t *ent)
+ 
+   if (ent->stream == NULL)
+     {
+-      ent->stream = fopen ("/etc/group", "r");
++      ent->stream = fopen ("@GENTOO_PORTAGE_EPREFIX@/etc/group", "r");
+ 
+       if (ent->stream == NULL)
+ 	status = errno == EAGAIN ? NSS_STATUS_TRYAGAIN : NSS_STATUS_UNAVAIL;
+Index: work/glibc-2.17/glibc-compat/nss_compat/compat-pwd.c
+===================================================================
+--- work.orig/glibc-2.17/glibc-compat/nss_compat/compat-pwd.c
++++ work/glibc-2.17/glibc-compat/nss_compat/compat-pwd.c
+@@ -205,7 +205,7 @@ internal_setpwent (ent_t *ent)
+ 
+   if (ent->stream == NULL)
+     {
+-      ent->stream = fopen ("/etc/passwd", "r");
++      ent->stream = fopen ("@GENTOO_PORTAGE_EPREFIX@/etc/passwd", "r");
+ 
+       if (ent->stream == NULL)
+ 	status = errno == EAGAIN ? NSS_STATUS_TRYAGAIN : NSS_STATUS_UNAVAIL;
+Index: work/glibc-2.17/glibc-compat/nss_compat/compat-spwd.c
+===================================================================
+--- work.orig/glibc-2.17/glibc-compat/nss_compat/compat-spwd.c
++++ work/glibc-2.17/glibc-compat/nss_compat/compat-spwd.c
+@@ -157,7 +157,7 @@ internal_setspent (ent_t *ent)
+ 
+   if (ent->stream == NULL)
+     {
+-      ent->stream = fopen ("/etc/shadow", "r");
++      ent->stream = fopen ("@GENTOO_PORTAGE_EPREFIX@/etc/shadow", "r");
+ 
+       if (ent->stream == NULL)
+ 	status = errno == EAGAIN ? NSS_STATUS_TRYAGAIN : NSS_STATUS_UNAVAIL;
+Index: work/glibc-2.17/glibc-compat/nss_files/files-netgrp.c
+===================================================================
+--- work.orig/glibc-2.17/glibc-compat/nss_files/files-netgrp.c
++++ work/glibc-2.17/glibc-compat/nss_files/files-netgrp.c
+@@ -27,7 +27,7 @@
+ #include "nsswitch.h"
+ #include "netgroup.h"
+ 
+-#define DATAFILE	"/etc/netgroup"
++#define DATAFILE	"@GENTOO_PORTAGE_EPREFIX@/etc/netgroup"
+ 
+ 
+ #define EXPAND(needed)							      \
+Index: work/glibc-2.17/nis/nss_compat/compat-grp.c
+===================================================================
+--- work.orig/glibc-2.17/nis/nss_compat/compat-grp.c
++++ work/glibc-2.17/nis/nss_compat/compat-grp.c
+@@ -120,7 +120,7 @@ internal_setgrent (ent_t *ent, int stayo
+ 
+   if (ent->stream == NULL)
+     {
+-      ent->stream = fopen ("/etc/group", "rme");
++      ent->stream = fopen ("@GENTOO_PORTAGE_EPREFIX@/etc/group", "rme");
+ 
+       if (ent->stream == NULL)
+ 	status = errno == EAGAIN ? NSS_STATUS_TRYAGAIN : NSS_STATUS_UNAVAIL;
+Index: work/glibc-2.17/nis/nss_compat/compat-initgroups.c
+===================================================================
+--- work.orig/glibc-2.17/nis/nss_compat/compat-initgroups.c
++++ work/glibc-2.17/nis/nss_compat/compat-initgroups.c
+@@ -136,7 +136,7 @@ internal_setgrent (ent_t *ent)
+   else
+     ent->blacklist.current = 0;
+ 
+-  ent->stream = fopen ("/etc/group", "rme");
++  ent->stream = fopen ("@GENTOO_PORTAGE_EPREFIX@/etc/group", "rme");
+ 
+   if (ent->stream == NULL)
+     status = errno == EAGAIN ? NSS_STATUS_TRYAGAIN : NSS_STATUS_UNAVAIL;
+Index: work/glibc-2.17/nis/nss_compat/compat-pwd.c
+===================================================================
+--- work.orig/glibc-2.17/nis/nss_compat/compat-pwd.c
++++ work/glibc-2.17/nis/nss_compat/compat-pwd.c
+@@ -236,7 +236,7 @@ internal_setpwent (ent_t *ent, int stayo
+ 
+   if (ent->stream == NULL)
+     {
+-      ent->stream = fopen ("/etc/passwd", "rme");
++      ent->stream = fopen ("@GENTOO_PORTAGE_EPREFIX@/etc/passwd", "rme");
+ 
+       if (ent->stream == NULL)
+ 	status = errno == EAGAIN ? NSS_STATUS_TRYAGAIN : NSS_STATUS_UNAVAIL;
+Index: work/glibc-2.17/nis/nss_compat/compat-spwd.c
+===================================================================
+--- work.orig/glibc-2.17/nis/nss_compat/compat-spwd.c
++++ work/glibc-2.17/nis/nss_compat/compat-spwd.c
+@@ -192,7 +192,7 @@ internal_setspent (ent_t *ent, int stayo
+ 
+   if (ent->stream == NULL)
+     {
+-      ent->stream = fopen ("/etc/shadow", "rme");
++      ent->stream = fopen ("@GENTOO_PORTAGE_EPREFIX@/etc/shadow", "rme");
+ 
+       if (ent->stream == NULL)
+ 	status = errno == EAGAIN ? NSS_STATUS_TRYAGAIN : NSS_STATUS_UNAVAIL;
+Index: work/glibc-2.17/nss/db-Makefile
+===================================================================
+--- work.orig/glibc-2.17/nss/db-Makefile
++++ work/glibc-2.17/nss/db-Makefile
+@@ -18,11 +18,11 @@
+ # License along with the GNU C Library; if not, see
+ # <http://www.gnu.org/licenses/>.
+ 
+-DATABASES = $(wildcard /etc/passwd /etc/group /etc/ethers /etc/protocols \
+-		       /etc/rpc /etc/services /etc/shadow /etc/gshadow \
+-		       /etc/netgroup)
++DATABASES = $(wildcard @GENTOO_PORTAGE_EPREFIX@/etc/passwd @GENTOO_PORTAGE_EPREFIX@/etc/group @GENTOO_PORTAGE_EPREFIX@/etc/ethers @GENTOO_PORTAGE_EPREFIX@/etc/protocols \
++		       @GENTOO_PORTAGE_EPREFIX@/etc/rpc @GENTOO_PORTAGE_EPREFIX@/etc/services @GENTOO_PORTAGE_EPREFIX@/etc/shadow @GENTOO_PORTAGE_EPREFIX@/etc/gshadow \
++		       @GENTOO_PORTAGE_EPREFIX@/etc/netgroup)
+ 
+-VAR_DB = /var/db
++VAR_DB = @GENTOO_PORTAGE_EPREFIX@/var/db
+ 
+ AWK = awk
+ MAKEDB = makedb --quiet
+@@ -30,7 +30,7 @@ MAKEDB = makedb --quiet
+ all: $(patsubst %,$(VAR_DB)/%.db,$(notdir $(DATABASES)))
+ 
+ 
+-$(VAR_DB)/passwd.db: /etc/passwd
++$(VAR_DB)/passwd.db: @GENTOO_PORTAGE_EPREFIX@/etc/passwd
+ 	@echo -n "$(patsubst %.db,%,$(@F))... "
+ 	@$(AWK) 'BEGIN { FS=":"; OFS=":" } \
+ 		 /^[ \t]*$$/ { next } \
+@@ -40,7 +40,7 @@ $(VAR_DB)/passwd.db: /etc/passwd
+ 	$(MAKEDB) -o $@ -
+ 	@echo "done."
+ 
+-$(VAR_DB)/group.db: /etc/group
++$(VAR_DB)/group.db: @GENTOO_PORTAGE_EPREFIX@/etc/group
+ 	@echo -n "$(patsubst %.db,%,$(@F))... "
+ 	@$(AWK) 'BEGIN { FS=":"; OFS=":" } \
+ 		 /^[ \t]*$$/ { next } \
+@@ -62,7 +62,7 @@ $(VAR_DB)/group.db: /etc/group
+ 	$(MAKEDB) -o $@ -
+ 	@echo "done."
+ 
+-$(VAR_DB)/ethers.db: /etc/ethers
++$(VAR_DB)/ethers.db: @GENTOO_PORTAGE_EPREFIX@/etc/ethers
+ 	@echo -n "$(patsubst %.db,%,$(@F))... "
+ 	@$(AWK) '/^[ \t]*$$/ { next } \
+ 		 /^[ \t]*#/ { next } \
+@@ -71,7 +71,7 @@ $(VAR_DB)/ethers.db: /etc/ethers
+ 	$(MAKEDB) -o $@ -
+ 	@echo "done."
+ 
+-$(VAR_DB)/protocols.db: /etc/protocols
++$(VAR_DB)/protocols.db: @GENTOO_PORTAGE_EPREFIX@/etc/protocols
+ 	@echo -n "$(patsubst %.db,%,$(@F))... "
+ 	@$(AWK) '/^[ \t]*$$/ { next } \
+ 		 /^[ \t]*#/ { next } \
+@@ -82,7 +82,7 @@ $(VAR_DB)/protocols.db: /etc/protocols
+ 	$(MAKEDB) -o $@ -
+ 	@echo "done."
+ 
+-$(VAR_DB)/rpc.db: /etc/rpc
++$(VAR_DB)/rpc.db: @GENTOO_PORTAGE_EPREFIX@/etc/rpc
+ 	@echo -n "$(patsubst %.db,%,$(@F))... "
+ 	@$(AWK) '/^[ \t]*$$/ { next } \
+ 		 /^[ \t]*#/ { next } \
+@@ -93,7 +93,7 @@ $(VAR_DB)/rpc.db: /etc/rpc
+ 	$(MAKEDB) -o $@ -
+ 	@echo "done."
+ 
+-$(VAR_DB)/services.db: /etc/services
++$(VAR_DB)/services.db: @GENTOO_PORTAGE_EPREFIX@/etc/services
+ 	@echo -n "$(patsubst %.db,%,$(@F))... "
+ 	@$(AWK) 'BEGIN { FS="[ \t/]+" } \
+ 		 /^[ \t]*$$/ { next } \
+@@ -109,7 +109,7 @@ $(VAR_DB)/services.db: /etc/services
+ 	$(MAKEDB) -o $@ -
+ 	@echo "done."
+ 
+-$(VAR_DB)/shadow.db: /etc/shadow
++$(VAR_DB)/shadow.db: @GENTOO_PORTAGE_EPREFIX@/etc/shadow
+ 	@echo -n "$(patsubst %.db,%,$(@F))... "
+ 	@$(AWK) 'BEGIN { FS=":"; OFS=":" } \
+ 		 /^[ \t]*$$/ { next } \
+@@ -129,7 +129,7 @@ $(VAR_DB)/shadow.db: /etc/shadow
+ 	  echo; \
+ 	fi
+ 
+-$(VAR_DB)/gshadow.db: /etc/gshadow
++$(VAR_DB)/gshadow.db: @GENTOO_PORTAGE_EPREFIX@/etc/gshadow
+ 	@echo -n "$(patsubst %.db,%,$(@F))... "
+ 	@$(AWK) 'BEGIN { FS=":"; OFS=":" } \
+ 		 /^[ \t]*$$/ { next } \
+@@ -149,7 +149,7 @@ $(VAR_DB)/gshadow.db: /etc/gshadow
+ 	  echo; \
+ 	fi
+ 
+-$(VAR_DB)/netgroup.db: /etc/netgroup
++$(VAR_DB)/netgroup.db: @GENTOO_PORTAGE_EPREFIX@/etc/netgroup
+ 	@echo -n "$(patsubst %.db,%,$(@F))... "
+ 	@$(AWK) 'BEGIN { ini=1 } \
+ 		 /^[ \t]*$$/ { next } \
+Index: work/glibc-2.17/nss/nss_files/files-init.c
+===================================================================
+--- work.orig/glibc-2.17/nss/nss_files/files-init.c
++++ work/glibc-2.17/nss/nss_files/files-init.c
+@@ -34,12 +34,12 @@ static union							\
+     }								\
+   }
+ 
+-TF (pwd, "/etc/passwd");
+-TF (grp, "/etc/group");
+-TF (hst, "/etc/hosts");
+-TF (resolv, "/etc/resolv.conf", .call_res_init = 1);
+-TF (serv, "/etc/services");
+-TF (netgr, "/etc/netgroup");
++TF (pwd, "@GENTOO_PORTAGE_EPREFIX@/etc/passwd");
++TF (grp, "@GENTOO_PORTAGE_EPREFIX@/etc/group");
++TF (hst, "@GENTOO_PORTAGE_EPREFIX@/etc/hosts");
++TF (resolv, "@GENTOO_PORTAGE_EPREFIX@/etc/resolv.conf", .call_res_init = 1);
++TF (serv, "@GENTOO_PORTAGE_EPREFIX@/etc/services");
++TF (netgr, "@GENTOO_PORTAGE_EPREFIX@/etc/netgroup");
+ 
+ 
+ void
+Index: work/glibc-2.17/nss/nss_files/files-initgroups.c
+===================================================================
+--- work.orig/glibc-2.17/nss/nss_files/files-initgroups.c
++++ work/glibc-2.17/nss/nss_files/files-initgroups.c
+@@ -31,7 +31,7 @@ _nss_files_initgroups_dyn (const char *u
+ 			   long int *size, gid_t **groupsp, long int limit,
+ 			   int *errnop)
+ {
+-  FILE *stream = fopen ("/etc/group", "rce");
++  FILE *stream = fopen ("@GENTOO_PORTAGE_EPREFIX@/etc/group", "rce");
+   if (stream == NULL)
+     {
+       *errnop = errno;
+Index: work/glibc-2.17/resolv/netdb.h
+===================================================================
+--- work.orig/glibc-2.17/resolv/netdb.h
++++ work/glibc-2.17/resolv/netdb.h
+@@ -42,12 +42,12 @@
+ #include <bits/netdb.h>
+ 
+ /* Absolute file name for network data base files.  */
+-#define	_PATH_HEQUIV		"/etc/hosts.equiv"
+-#define	_PATH_HOSTS		"/etc/hosts"
+-#define	_PATH_NETWORKS		"/etc/networks"
+-#define	_PATH_NSSWITCH_CONF	"/etc/nsswitch.conf"
+-#define	_PATH_PROTOCOLS		"/etc/protocols"
+-#define	_PATH_SERVICES		"/etc/services"
++#define	_PATH_HEQUIV		"@GENTOO_PORTAGE_EPREFIX@/etc/hosts.equiv"
++#define	_PATH_HOSTS		"@GENTOO_PORTAGE_EPREFIX@/etc/hosts"
++#define	_PATH_NETWORKS		"@GENTOO_PORTAGE_EPREFIX@/etc/networks"
++#define	_PATH_NSSWITCH_CONF	"@GENTOO_PORTAGE_EPREFIX@/etc/nsswitch.conf"
++#define	_PATH_PROTOCOLS		"@GENTOO_PORTAGE_EPREFIX@/etc/protocols"
++#define	_PATH_SERVICES		"@GENTOO_PORTAGE_EPREFIX@/etc/services"
+ 
+ 
+ __BEGIN_DECLS
+Index: work/glibc-2.17/sysdeps/generic/paths.h
+===================================================================
+--- work.orig/glibc-2.17/sysdeps/generic/paths.h
++++ work/glibc-2.17/sysdeps/generic/paths.h
+@@ -33,43 +33,43 @@
+ #define	_PATHS_H_
+ 
+ /* Default search path. */
+-#define	_PATH_DEFPATH	"/usr/bin:/bin"
++#define	_PATH_DEFPATH	"@GENTOO_PORTAGE_EPREFIX@/usr/bin:@GENTOO_PORTAGE_EPREFIX@/bin"
+ /* All standard utilities path. */
+ #define	_PATH_STDPATH \
+-	"/usr/bin:/bin:/usr/sbin:/sbin"
++	"@GENTOO_PORTAGE_EPREFIX@/usr/bin:@GENTOO_PORTAGE_EPREFIX@/bin:@GENTOO_PORTAGE_EPREFIX@/usr/sbin:@GENTOO_PORTAGE_EPREFIX@/sbin"
+ 
+-#define	_PATH_BSHELL	"/bin/sh"
++#define	_PATH_BSHELL	"@GENTOO_PORTAGE_EPREFIX@/bin/sh"
+ #define	_PATH_CONSOLE	"/dev/console"
+-#define	_PATH_CSHELL	"/bin/csh"
+-#define	_PATH_DEVDB	"/var/run/dev.db"
++#define	_PATH_CSHELL	"@GENTOO_PORTAGE_EPREFIX@/bin/csh"
++#define	_PATH_DEVDB	"@GENTOO_PORTAGE_EPREFIX@/var/run/dev.db"
+ #define	_PATH_DEVNULL	"/dev/null"
+ #define	_PATH_DRUM	"/dev/drum"
+-#define	_PATH_GSHADOW	"/etc/gshadow"
++#define	_PATH_GSHADOW	"@GENTOO_PORTAGE_EPREFIX@/etc/gshadow"
+ #define	_PATH_KMEM	"/dev/kmem"
+-#define	_PATH_LASTLOG	"/var/log/lastlog"
++#define	_PATH_LASTLOG	"@GENTOO_PORTAGE_EPREFIX@/var/log/lastlog"
+ #define	_PATH_MAILDIR	"/var/mail"
+-#define	_PATH_MAN	"/usr/share/man"
++#define	_PATH_MAN	"@GENTOO_PORTAGE_EPREFIX@/usr/share/man"
+ #define	_PATH_MEM	"/dev/mem"
+-#define	_PATH_MNTTAB	"/etc/fstab"
+-#define	_PATH_MOUNTED	"/var/run/mtab"
+-#define	_PATH_NOLOGIN	"/etc/nologin"
+-#define	_PATH_PRESERVE	"/var/lib"
+-#define	_PATH_RWHODIR	"/var/spool/rwho"
+-#define	_PATH_SENDMAIL	"/usr/sbin/sendmail"
+-#define	_PATH_SHADOW	"/etc/shadow"
+-#define	_PATH_SHELLS	"/etc/shells"
++#define	_PATH_MNTTAB	"@GENTOO_PORTAGE_EPREFIX@/etc/fstab"
++#define	_PATH_MOUNTED	"@GENTOO_PORTAGE_EPREFIX@/var/run/mtab"
++#define	_PATH_NOLOGIN	"@GENTOO_PORTAGE_EPREFIX@/etc/nologin"
++#define	_PATH_PRESERVE	"@GENTOO_PORTAGE_EPREFIX@/var/lib"
++#define	_PATH_RWHODIR	"@GENTOO_PORTAGE_EPREFIX@/var/spool/rwho"
++#define	_PATH_SENDMAIL	"@GENTOO_PORTAGE_EPREFIX@/usr/sbin/sendmail"
++#define	_PATH_SHADOW	"@GENTOO_PORTAGE_EPREFIX@/etc/shadow"
++#define	_PATH_SHELLS	"@GENTOO_PORTAGE_EPREFIX@/etc/shells"
+ #define	_PATH_TTY	"/dev/tty"
+ #define	_PATH_UNIX	"/vmunix"
+-#define	_PATH_UTMP	"/var/run/utmp"
+-#define	_PATH_UTMP_DB	"/var/run/utmp.db"
+-#define	_PATH_VI	"/usr/bin/vi"
++#define	_PATH_UTMP	"@GENTOO_PORTAGE_EPREFIX@/var/run/utmp"
++#define	_PATH_UTMP_DB	"@GENTOO_PORTAGE_EPREFIX@/var/run/utmp.db"
++#define	_PATH_VI	"@GENTOO_PORTAGE_EPREFIX@/usr/bin/vi"
+ #define	_PATH_WTMP	"/var/log/wtmp"
+ 
+ /* Provide trailing slash, since mostly used for building pathnames. */
+ #define	_PATH_DEV	"/dev/"
+ #define	_PATH_TMP	"/tmp/"
+-#define	_PATH_VARDB	"/var/db/"
+-#define	_PATH_VARRUN	"/var/run/"
++#define	_PATH_VARDB	"@GENTOO_PORTAGE_EPREFIX@/var/db/"
++#define	_PATH_VARRUN	"@GENTOO_PORTAGE_EPREFIX@/var/run/"
+ #define	_PATH_VARTMP	"/var/tmp/"
+ 
+ #endif /* !_PATHS_H_ */
+Index: work/glibc-2.17/sysdeps/unix/sysv/linux/paths.h
+===================================================================
+--- work.orig/glibc-2.17/sysdeps/unix/sysv/linux/paths.h
++++ work/glibc-2.17/sysdeps/unix/sysv/linux/paths.h
+@@ -33,43 +33,43 @@
+ #define	_PATHS_H_
+ 
+ /* Default search path. */
+-#define	_PATH_DEFPATH	"/usr/bin:/bin"
++#define	_PATH_DEFPATH	"@GENTOO_PORTAGE_EPREFIX@/usr/bin:@GENTOO_PORTAGE_EPREFIX@/bin"
+ /* All standard utilities path. */
+ #define	_PATH_STDPATH \
+-	"/usr/bin:/bin:/usr/sbin:/sbin"
++	"@GENTOO_PORTAGE_EPREFIX@/usr/bin:@GENTOO_PORTAGE_EPREFIX@/bin:@GENTOO_PORTAGE_EPREFIX@/usr/sbin:@GENTOO_PORTAGE_EPREFIX@/sbin"
+ 
+-#define	_PATH_BSHELL	"/bin/sh"
++#define	_PATH_BSHELL	"@GENTOO_PORTAGE_EPREFIX@/bin/sh"
+ #define	_PATH_CONSOLE	"/dev/console"
+-#define	_PATH_CSHELL	"/bin/csh"
+-#define	_PATH_DEVDB	"/var/run/dev.db"
++#define	_PATH_CSHELL	"@GENTOO_PORTAGE_EPREFIX@/bin/csh"
++#define	_PATH_DEVDB	"@GENTOO_PORTAGE_EPREFIX@/var/run/dev.db"
+ #define	_PATH_DEVNULL	"/dev/null"
+ #define	_PATH_DRUM	"/dev/drum"
+-#define	_PATH_GSHADOW	"/etc/gshadow"
++#define	_PATH_GSHADOW	"@GENTOO_PORTAGE_EPREFIX@/etc/gshadow"
+ #define	_PATH_KLOG	"/proc/kmsg"
+ #define	_PATH_KMEM	"/dev/kmem"
+ #define	_PATH_LASTLOG	"/var/log/lastlog"
+ #define	_PATH_MAILDIR	"/var/mail"
+-#define	_PATH_MAN	"/usr/share/man"
++#define	_PATH_MAN	"@GENTOO_PORTAGE_EPREFIX@/usr/share/man"
+ #define	_PATH_MEM	"/dev/mem"
+-#define	_PATH_MNTTAB	"/etc/fstab"
+-#define	_PATH_MOUNTED	"/etc/mtab"
+-#define	_PATH_NOLOGIN	"/etc/nologin"
+-#define	_PATH_PRESERVE	"/var/lib"
+-#define	_PATH_RWHODIR	"/var/spool/rwho"
+-#define	_PATH_SENDMAIL	"/usr/sbin/sendmail"
+-#define	_PATH_SHADOW	"/etc/shadow"
+-#define	_PATH_SHELLS	"/etc/shells"
++#define	_PATH_MNTTAB	"@GENTOO_PORTAGE_EPREFIX@/etc/fstab"
++#define	_PATH_MOUNTED	"@GENTOO_PORTAGE_EPREFIX@/etc/mtab"
++#define	_PATH_NOLOGIN	"@GENTOO_PORTAGE_EPREFIX@/etc/nologin"
++#define	_PATH_PRESERVE	"@GENTOO_PORTAGE_EPREFIX@/var/lib"
++#define	_PATH_RWHODIR	"@GENTOO_PORTAGE_EPREFIX@/var/spool/rwho"
++#define	_PATH_SENDMAIL	"@GENTOO_PORTAGE_EPREFIX@/usr/sbin/sendmail"
++#define	_PATH_SHADOW	"@GENTOO_PORTAGE_EPREFIX@/etc/shadow"
++#define	_PATH_SHELLS	"@GENTOO_PORTAGE_EPREFIX@/etc/shells"
+ #define	_PATH_TTY	"/dev/tty"
+ #define	_PATH_UNIX	"/boot/vmlinux"
+-#define	_PATH_UTMP	"/var/run/utmp"
+-#define	_PATH_VI	"/usr/bin/vi"
++#define	_PATH_UTMP	"@GENTOO_PORTAGE_EPREFIX@/var/run/utmp"
++#define	_PATH_VI	"@GENTOO_PORTAGE_EPREFIX@/usr/bin/vi"
+ #define	_PATH_WTMP	"/var/log/wtmp"
+ 
+ /* Provide trailing slash, since mostly used for building pathnames. */
+ #define	_PATH_DEV	"/dev/"
+ #define	_PATH_TMP	"/tmp/"
+-#define	_PATH_VARDB	"/var/db/"
+-#define	_PATH_VARRUN	"/var/run/"
++#define	_PATH_VARDB	"@GENTOO_PORTAGE_EPREFIX@/var/db/"
++#define	_PATH_VARRUN	"@GENTOO_PORTAGE_EPREFIX@/var/run/"
+ #define	_PATH_VARTMP	"/var/tmp/"
+ 
+ #endif /* !_PATHS_H_ */

diff --git a/sys-libs/glibc/files/eblits/common.eblit b/sys-libs/glibc/files/eblits/common.eblit
index 07722e9..d3ef4a2 100644
--- a/sys-libs/glibc/files/eblits/common.eblit
+++ b/sys-libs/glibc/files/eblits/common.eblit
@@ -37,10 +37,10 @@ alt_headers() {
 }
 alt_build_headers() {
 	if [[ -z ${ALT_BUILD_HEADERS} ]] ; then
-		ALT_BUILD_HEADERS=$(alt_headers)
+		ALT_BUILD_HEADERS=${EPREFIX}$(alt_headers)
 		if tc-is-cross-compiler ; then
-			ALT_BUILD_HEADERS=${ROOT}$(alt_headers)
-			if [[ ! -e ${EPREFIX}/${ALT_BUILD_HEADERS}/linux/version.h ]] ; then
+			ALT_BUILD_HEADERS=${EROOT}$(alt_headers)
+			if [[ ! -e ${ALT_BUILD_HEADERS}/linux/version.h ]] ; then
 				local header_path=$(echo '#include <linux/version.h>' | $(tc-getCPP ${CTARGET}) ${CFLAGS} 2>&1 | grep -o '[^"]*linux/version.h')
 				ALT_BUILD_HEADERS=${header_path%/linux/version.h}
 			fi

diff --git a/sys-libs/glibc/files/eblits/pkg_postinst.eblit b/sys-libs/glibc/files/eblits/pkg_postinst.eblit
index 9e5447d..10bed71 100644
--- a/sys-libs/glibc/files/eblits/pkg_postinst.eblit
+++ b/sys-libs/glibc/files/eblits/pkg_postinst.eblit
@@ -6,9 +6,9 @@ eblit-glibc-pkg_postinst() {
 	# nothing to do if just installing headers
 	just_headers && return
 
-	if ! tc-is-cross-compiler && [[ -x ${ROOT}/usr/sbin/iconvconfig ]] ; then
+	if ! tc-is-cross-compiler && [[ -x ${EROOT}/usr/sbin/iconvconfig ]] ; then
 		# Generate fastloading iconv module configuration file.
-		"${ROOT}"/usr/sbin/iconvconfig --prefix="${ROOT}"
+		"${EROOT}"/usr/sbin/iconvconfig --prefix="${ROOT}"
 	fi
 
 	if ! is_crosscompile && [[ ${ROOT} == "/" ]] ; then
@@ -17,10 +17,10 @@ eblit-glibc-pkg_postinst() {
 		/sbin/telinit U 2>/dev/null
 
 		# if the host locales.gen contains no entries, we'll install everything
-		local locale_list="${ROOT}etc/locale.gen"
+		local locale_list="${EROOT}etc/locale.gen"
 		if [[ -z $(locale-gen --list --config "${locale_list}") ]] ; then
 			ewarn "Generating all locales; edit /etc/locale.gen to save time/space"
-			locale_list="${ROOT}usr/share/i18n/SUPPORTED"
+			locale_list="${EROOT}usr/share/i18n/SUPPORTED"
 		fi
 		locale-gen -j $(makeopts_jobs) --config "${locale_list}"
 	fi

diff --git a/sys-libs/glibc/files/eblits/pkg_preinst.eblit b/sys-libs/glibc/files/eblits/pkg_preinst.eblit
index b625bfd..404ff08 100644
--- a/sys-libs/glibc/files/eblits/pkg_preinst.eblit
+++ b/sys-libs/glibc/files/eblits/pkg_preinst.eblit
@@ -8,7 +8,7 @@
 glibc_sanity_check() {
 	cd / #228809
 
-	# We enter ${D} so to avoid trouble if the path contains
+	# We enter ${ED} so to avoid trouble if the path contains
 	# special characters; for instance if the path contains the
 	# colon character (:), then the linker will try to split it
 	# and look for the libraries in an unexpected place. This can
@@ -44,7 +44,7 @@ eblit-glibc-pkg_preinst() {
 	fi
 
 	[[ ${ROOT} != "/" ]] && return 0
-	[[ -d ${D}/$(get_libdir) ]] || return 0
+	[[ -d ${ED}/$(get_libdir) ]] || return 0
 	glibc_sanity_check
 
 	# Make sure devpts is mounted correctly for use w/out setuid pt_chown.

diff --git a/sys-libs/glibc/files/eblits/src_compile.eblit b/sys-libs/glibc/files/eblits/src_compile.eblit
index f1494e0..51792de 100644
--- a/sys-libs/glibc/files/eblits/src_compile.eblit
+++ b/sys-libs/glibc/files/eblits/src_compile.eblit
@@ -74,7 +74,7 @@ glibc_do_configure() {
 		--host=${CTARGET_OPT:-${CTARGET}}
 		$(use_enable profile)
 		$(use_with gd)
-		--with-headers="${EPREFIX}$(alt_build_headers)"
+		--with-headers="$(alt_build_headers)"
 		--prefix="${TPREFIX}/usr"
 		--libdir="${TPREFIX}/usr/$(get_libdir)"
 		--mandir="${TPREFIX}/usr/share/man"
@@ -201,7 +201,7 @@ toolchain-glibc_headers_compile() {
 		--enable-bind-now
 		--build=${CBUILD_OPT:-${CBUILD}}
 		--host=${CTARGET_OPT:-${CTARGET}}
-		--with-headers="${EPREFIX}$(alt_build_headers)"
+		--with-headers="$(alt_build_headers)"
 		--prefix="${TPREFIX}/usr"
 		${EXTRA_ECONF}
 	)

diff --git a/sys-libs/glibc/files/eblits/src_unpack.eblit b/sys-libs/glibc/files/eblits/src_unpack.eblit
index f2f75a6..be2d76d 100644
--- a/sys-libs/glibc/files/eblits/src_unpack.eblit
+++ b/sys-libs/glibc/files/eblits/src_unpack.eblit
@@ -17,7 +17,7 @@ eend_KV() {
 
 get_kheader_version() {
 	printf '#include <linux/version.h>\nLINUX_VERSION_CODE\n' | \
-	$(tc-getCPP ${CTARGET}) -I "${EPREFIX}/$(alt_build_headers)" | \
+	$(tc-getCPP ${CTARGET}) -I "$(alt_build_headers)" | \
 	tail -n 1
 }
 

diff --git a/sys-libs/glibc/files/nscd b/sys-libs/glibc/files/nscd
old mode 100755
new mode 100644

diff --git a/sys-libs/glibc/glibc-2.17.ebuild b/sys-libs/glibc/glibc-2.17.ebuild
index e20bb7d..7083fcb 100644
--- a/sys-libs/glibc/glibc-2.17.ebuild
+++ b/sys-libs/glibc/glibc-2.17.ebuild
@@ -195,11 +195,18 @@ eblit-src_unpack-post() {
 	# we disable vdso loading in ELF handler, as suggest by Mike Frysinger
 	#     http://article.gmane.org/gmane.comp.lib.glibc.user/1904
 	# Benda Xu <heroxbd@gentoo.org> (3 Jul, 2013)
+	elog "Your kernel is known to have vdso bug, disabling this feature"
+	epatch "${FILESDIR}"/2.17/vdso-disable.patch
+
 	epatch "${FILESDIR}"/2.17/locale-gen_prefix.patch
 	eprefixify "${WORKDIR}"/extra/locale/locale-gen
 
-	elog "Your kernel is known to have vdso bug, disabling this feature"
-	epatch "${FILESDIR}"/2.17/vdso-disable.patch
+	cd "${S}"
+	epatch "${FILESDIR}"/2.17/glibc-2.17-runtime-prefix.patch
+	eprefixify glibc-compat/nss_{compat/compat-{grp,{,s}pwd},files/files-netgrp}.c \
+		nis/nss_compat/compat-{grp,initgroups,{,s}pwd}.c \
+		nss/{db-Makefile,nss_files/files-init{,groups}.c} \
+		resolv/netdb.h sysdeps/{generic,unix/sysv/linux}/paths.h
 }
 
 eblit-pkg_preinst-post() {

diff --git a/sys-process/runit/files/1 b/sys-process/runit/files/1
old mode 100755
new mode 100644

diff --git a/sys-process/runit/files/2 b/sys-process/runit/files/2
old mode 100755
new mode 100644

diff --git a/sys-process/runit/files/3 b/sys-process/runit/files/3
old mode 100755
new mode 100644

diff --git a/sys-process/runit/files/3-1.4 b/sys-process/runit/files/3-1.4
old mode 100755
new mode 100644

diff --git a/sys-process/runit/files/ctrlaltdel b/sys-process/runit/files/ctrlaltdel
old mode 100755
new mode 100644

diff --git a/sys-process/runit/files/finish.getty b/sys-process/runit/files/finish.getty
old mode 100755
new mode 100644

diff --git a/sys-process/runit/files/run.getty b/sys-process/runit/files/run.getty
old mode 100755
new mode 100644

diff --git a/x11-apps/xinit/files/Xsession b/x11-apps/xinit/files/Xsession
old mode 100755
new mode 100644

diff --git a/x11-apps/xinit/files/chooser.sh b/x11-apps/xinit/files/chooser.sh
old mode 100755
new mode 100644

diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest
deleted file mode 100644
index d052efe..0000000
--- a/x11-libs/wxGTK/Manifest
+++ /dev/null
@@ -1,17 +0,0 @@
-AUX wxGTK-2.8.10.1-odbc-defines.patch 1341 SHA256 db875bf122cac00b1283debe3a92851ec7d91f481198736041bba5e4dce22698 SHA512 119e99f06f238d0982bc1a5fac834ef0ca7c09dc5a97f612cf3f0fffd9e01eebb0d8bfe122ebff6f3857cf6518a226477d2cb5959c47c4fd5c50ea5040abe6b2 WHIRLPOOL ac8f565adeaee0110e6e2b229cd9c5afd3edf3bc3b7abb8aba5347dac64021a255a63dbf879b5ddcbc658f6f78518c988435399af0af1f5fd437f36dc102cfc8
-AUX wxGTK-2.8.11-collision.patch 5710 SHA256 b4a34748a0e3c8f784d777b197f903de9d681baf12395fa1b8a5d2b2636c9ffe SHA512 9eb4fd8f783d073236364acb322c2d3315d75d01197d119ae4760a97e5ce6d3c700b28b5516ffda856c9decd1ad05ec063941855fa18cf5f9927a5a72fcaf4ae WHIRLPOOL 391a8c2e319742bca1a32f71c82f8b14653a3c91dc0b11ba87e8cd99905ffe5ed6897da67c5e5ae2711e30ae0aea5d9d3bc93a7275f39aca5ef6635a771feacd
-AUX wxGTK-2.8.11-unicode-odbc.patch 624 SHA256 2e2cbeb2240770497611bf845127f737e67311c4b898d21446fc3d739941cb65 SHA512 e58e661ae95deb7da31c7742088c6e8b8705494261d00975a7dd0eba0fc720ae7d91017616152915849b747c96f3a0302cd958946db886d7491520883f311a86 WHIRLPOOL 710ac8ada38a42d762ea1d271540b9eb47aae36a072b1b63310b4c1e970afc7b0b485cc55a50691d69f92712e3b772d35d72ae1e24dc550a9e0b60db8c20ace5
-AUX wxGTK-2.8.7-mmedia.patch 585 SHA256 943203ed2ccfe52d4ea701bc15a15e9f65aff7e6e5a86145f9a593619e091f85 SHA512 b17b49f0c61d3b6f36dfc6835d4e116c9b4e5da79cc7940384313b6f541a389cc82a3d0dd807b45a9ec427601390162fbac0ba5cbcff6a5f8f05987fc8947de9 WHIRLPOOL 362503988879cc536671788df023339b5cf10bbda48cf4af957c12d2dcd232772235ec0c461d26a83b1b4243a8023bf3cee32d9486027373f8e9dbda44271c02
-AUX wxGTK-2.9.3.1-collision.patch 6082 SHA256 a98df8ef1266c52ab72a9b03aeddda8c1d8a7c79287e0fd71cd7fec7fcb2bb88 SHA512 320886e56f4e98fe487c3f39570321663a1fe96d48e29f2c43a131be8a3e0f7bb5d5c315772bad1269a5a70cdcaabd1e4f87c28e2cbc7123ab787fd57bbe221d WHIRLPOOL 5dfc5fb13271a739c59e2261a50d8c82f451749993bc01b502dfee087f96b358cb81c13bd852139d6983001a44f18b916c193a8e2e8168132003898427aa3b6d
-AUX wxGTK-2.9.4.1-collision.patch 6099 SHA256 bdef409ca229c6c28f65fbd6a177a55aeaddd580d628721fcd4a5f9f756fe7b4 SHA512 5f8f67129d75b9c2e5f22e671300e7bfa5a65b19216ce81def7cc64ebc9af64685532abefda956eee2005b159aeb163103490d60893032ea428bca6ce4a4161e WHIRLPOOL a8586438764b6595331356475d91bb67406e2d633ca86a910c0b15b176513bad22a9cfdd94ef8a0e167acba8563f59e8f72f15c85090ec485d79ac44d0de731d
-DIST wxPython-docs-2.9.3.1.tar.bz2 14913825 SHA256 64c6b07c8fa0277b281fb1e6210087e57fb072ce8cabe86d251c3208040cd945 SHA512 23d39a28532d686b06f410596f108a97b377e0250f2ae90b681053197c7e0bcbb98374aaeea0d343359b28ebff482d668de5b7a3d07362cc8e35c61a7d50cbb6 WHIRLPOOL 43ba589c44c70b9423639e2535e30d4a1ea0ad729964abcc48c92ae59929a9e95ea02dfd704b87b16adddb9327916832d24fe516c8a4780362a1bca718742bcd
-DIST wxPython-docs-2.9.4.0.tar.bz2 15477636 SHA256 42a1683f253aa36ae9ee20b8d511d8704b4e45ba124fec256a7dfce38da9f75f SHA512 f996e69f24baaa8d35bf94ef77f31f6beda5dd4ddd65d6b71558e8dbe33098c951f995172b4ccd93ad08c81df07a9b529813eac5d39ffa06290f2a9ccc87620c WHIRLPOOL b6f6d65d319683f44b1eb4708077abaecd1a972a0d79fb6293b055099a0720d36e83506df6d075243f9e8b180849ae0d44badc8a22d5c764c956d5ecfe0cc6da
-DIST wxPython-src-2.8.12.1.tar.bz2 31311482 SHA256 1f3f153d9f1504c6ce2d2c4b23e940b8f58b81f4cba35cda1a5bb31142243cd0 SHA512 4f826ccb57d5f4fc03fe7cae67499be70c727a99aebf9d153ea1060a21641642606d44d079ba897c38b176846336aeaebc21d30d5c7a0abec3934d65cf4529f3 WHIRLPOOL 94f91d359f755a0f805588303e8507b2f1404a7f4af73777f85366265df9f76ca89ac29bff491cffd752b707645952a4f7f2bb12fa7e30f3e7d3728147a9c99d
-DIST wxPython-src-2.9.3.1.tar.bz2 49131100 SHA256 7bae5bf45e98eba836472bdb358330f867c69de3a347860edd48fcb53690040d SHA512 16e5be3a2a98d64637866ecae7afb3a2835d21684077bb8a1b87d3c0cf37b75eb1169f3b8e16e38c5b85c04cce974dbfd5ba25d3d0a3016a47c005a05e5dbfc5 WHIRLPOOL ccae768ff87a95ee88d6259821be5e2073928278155743c0c16c75dd9b2262ac49ccb322dd4aa77ccfdac12d7de0e874a92b41171adacfa26ffb216f170751a7
-DIST wxPython-src-2.9.4.0.tar.bz2 50827671 SHA256 78c35c19e85a17cb9c730b86b49d6a479198d76d19e0b13e86db0b55707004be SHA512 100dd4474bc2508e9a80aed6f08d295e2697926e29c5789e1f6aa7c303921e1c5de2574c3eddde568804da8fc670d0214ef225d46f34a3006d0a947423d01fbf WHIRLPOOL feff68600a40a8f02492e91049ecdd1a1865ee6db8024112aa3a85a7eff616f26653c418a8ffde77121e2bf7d2c7090c5b91896f9a2de8eb980573af2ca65507
-DIST wxPython-src-2.9.4.1.patch 3768 SHA256 075e3a7b1cf69dd2bb20010717505d2508c74bc81658540f3e6d8c4fbf0a6b85 SHA512 4a5254a5bb9c246b75095e3cc0b849073e3cc71ff15ab7fb1db6ecfe71359800b9e1a5493bc39ce5b1f338cdc1d142ce84641611d458a8da4315f3c8a6aef3ba WHIRLPOOL 9bec06da4824fe56c172f4f417966681d1ffbf173dcb54f1579e9a484377bc76c45b4f2389911bbb17eff2476cfca786d68d9524856b21accc64b4dffafb1811
-EBUILD wxGTK-2.8.12.1.ebuild 4115 SHA256 aa81865193740be0455ed613ae39a112bb6622ea50bc36023d72693d5c8d7022 SHA512 5e401e0dd2702d2e74ce43992a6b6e0147d43852273eb929bdae231fd05f30b18c51581e535fb1377fa405aac9d5277eb18d6266f2e25fb90d3b463ffb5ba467 WHIRLPOOL 8781c3976aa543d91e6dd0fe0c69b23cd04db6601d98786ec5e3d0b530594090d8bc23826fc90efdbb93696e229bb5ecf283dec5388435600807f080daf8736a
-EBUILD wxGTK-2.9.3.1.ebuild 4146 SHA256 b7a41d6be730440d83156c63fe9fa9bdf6de0dd88d2acd79cb87aacedb1c5d9f SHA512 6e7bf9870ad7f3ae9f6226486458cfeb69305299d69779c37eb74bf80bdec9b70f5e42a62795e785dd3c4f79fe8fac62beb31031dd45ce737e2d4322479cc547 WHIRLPOOL 2c5a76ebf360204605a2bfc9b91404e99bde06b2bc8b17cf3b6d9ae3e930671a76408ca888aab9a01210068f3f7fe102a9d145092591bad11eb589ea430be5f2
-EBUILD wxGTK-2.9.4.1.ebuild 4195 SHA256 98f59a9cb73ac8bb673a38cee60ebd1c89bf48b5b5221e05e7b244e7aac5ce16 SHA512 5a54aa6c035f4adf1498444e64b668da7ca70d44bcfb9cf20d3ca67da083494aa88e16e795fe16a790a99afd55795591b6602fa7b496d33c394bd1d48d420ac2 WHIRLPOOL 83a3b5071d97aec93e0499182afd140214df3eb1821ccc7d58a7366d34d10302c4c9ca46e82c3befadd86889e5799642e51b3dc477d139aaaf5bdeaa1de3f2b6
-MISC ChangeLog 46736 SHA256 c776ba15792580a771a9ae569abdbdd9bff02bea11d23d6833f110041710c7ed SHA512 ffc3edae07b1736a7288684ed0ca7dc810737ed5ac83ff088ecba0e35875d7806c3be4f4dffc478533c4954e31d6fb57846a630eefc296ff53e5500c331138b1 WHIRLPOOL a90411fe1b9a5fb477d7c2d0b9f8c81bb0f84cb3da1ac1a8b1e0b63d5df3951fc3d8f40a1ff9771b8b981b2bc18a66f7974c7a13f9969e7835f93172fa2080fb
-MISC metadata.xml 670 SHA256 59d453a10e6134a232d4478f326b35a9d693341cc29c013971ddf6b308347e75 SHA512 37ec56d00b488857a285a61c894f8c28dde61efce48d79b7767a207f5c533ad01f2ef09ebecc98dd5b803b4545e1d7f513ffb48e5ead4818ecb607129339c907 WHIRLPOOL cbcc9d2aea988f0b8e1a0615918903cf332976b192156296051c9f5ac5563e9ab512376453a52ad02db0fe3465b9b30d88d6808e38bea52bb58abe6fed316586

diff --git a/x11-libs/wxGTK/files/wxGTK-2.8.10.1-odbc-defines.patch b/x11-libs/wxGTK/files/wxGTK-2.8.10.1-odbc-defines.patch
deleted file mode 100644
index 3636b64..0000000
--- a/x11-libs/wxGTK/files/wxGTK-2.8.10.1-odbc-defines.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-unixODBC 2.2.14 defines SQLLEN and SQLULEN using the compiler typedef
-declaration instead of preprocessor #define macro definition.  This breaks
-the preprocessor checks in this include file.cpp, causing the source to fall
-back to older types instead, leading to compile time errors like this:
-
-db.cpp:1636: error: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘6’ to
-‘SQLRETURN SQLGetData(void*, SQLUSMALLINT, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’
-...
-dbtable.cpp:592: error: cannot convert ‘SQLUINTEGER*’ to ‘SQLULEN*’ for argument ‘4’ to
-‘SQLRETURN SQLExtendedFetch(void*, SQLUSMALLINT, SQLLEN, SQLULEN*, SQLUSMALLINT*)’
-...
-
-This change hard-wires the new names, breaking compatibility with ancient
-(pre 2001) unixODBC versions.  This change may break other ODBC implementations
-but in Gentoo only unixODBC is supported.
-
-References:
-http://bugs.gentoo.org/310923
-
-2010-03-23 Martin von Gagern
-
---- wxPython-src-2.6.4.0.orig/include/wx/db.h
-+++ wxPython-src-2.6.4.0/include/wx/db.h
-@@ -134,15 +134,6 @@ enum enumDummy {enumDum1};
-     #endif
- #endif
- 
--#ifndef _WIN64
--#ifndef SQLLEN
--#define SQLLEN SQLINTEGER
--#endif
--#ifndef SQLULEN
--#define SQLULEN SQLUINTEGER
--#endif
--#endif
--
- const int wxDB_PATH_MAX                 = 254;
- 
- extern WXDLLIMPEXP_DATA_ODBC(wxChar const *) SQL_LOG_FILENAME;

diff --git a/x11-libs/wxGTK/files/wxGTK-2.8.11-collision.patch b/x11-libs/wxGTK/files/wxGTK-2.8.11-collision.patch
deleted file mode 100644
index 1401b7f..0000000
--- a/x11-libs/wxGTK/files/wxGTK-2.8.11-collision.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-Prevent file collisions between multiple installed SLOTs.
-
-  - Don't install wxwin.m4.  It is installed with app-admin/eselect-wxwidgets.
-  - Version the bakefile preset filenames.  Unversioned symlinks to these files
-    are handled by eselect.
-  - Version wx-config and wxrc.  Unversioned wrapper scripts are installed with
-    eselect-wxwidgets.
-  - Version wxstd.mo and modify AddCatalog to find it. (this might need more
-    work but no one has complained yet)
-
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -11695,10 +11695,9 @@ COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
- all: $(__wxregex___depname) $(__wxzlib___depname) $(__wxpng___depname) $(__wxjpeg___depname) $(__wxtiff___depname) $(__wxodbc___depname) $(__wxexpat___depname) $(__monodll___depname) $(__monolib___depname) $(__basedll___depname) $(__baselib___depname) $(__netdll___depname) $(__netlib___depname) $(__coredll___depname) $(__corelib___depname) $(__advdll___depname) $(__advlib___depname) $(__mediadll___depname) $(__medialib___depname) $(__odbcdll___depname) $(__odbclib___depname) $(__dbgriddll___depname) $(__dbgridlib___depname) $(__htmldll___depname) $(__htmllib___depname) $(__qadll___depname) $(__qalib___depname) $(__xmldll___depname) $(__xmllib___depname) $(__xrcdll___depname) $(__xrclib___depname) $(__auidll___depname) $(__auilib___depname) $(__richtextdll___depname) $(__richtextlib___depname) $(__gldll___depname) $(__gllib___depname) $(__sound_sdl___depname) $(__wxrc___depname) $(__cocoa_res___depname)
- 
- install: $(__install_wxregex___depname) $(__install_wxzlib___depname) $(__install_wxpng___depname) $(__install_wxjpeg___depname) $(__install_wxtiff___depname) $(__install_wxodbc___depname) $(__install_wxexpat___depname) $(__install_monodll___depname) $(__install_monolib___depname) $(__install_basedll___depname) $(__install_baselib___depname) $(__install_netdll___depname) $(__install_netlib___depname) $(__install_coredll___depname) $(__install_corelib___depname) $(__install_advdll___depname) $(__install_advlib___depname) $(__install_mediadll___depname) $(__install_medialib___depname) $(__install_odbcdll___depname) $(__install_odbclib___depname) $(__install_dbgriddll___depname) $(__install_dbgridlib___depname) $(__install_htmldll___depname) $(__install_htmllib___depname) $(__install_qadll___depname) $(__install_qalib___depname) $(__install_xmldll___depname) $(__install_xmllib___depname) $(__install_xrcdll___depname) $(__install_xrclib___depname) $(__install_auidll___depname) $(__inst
 all_auilib___depname) $(__install_richtextdll___depname) $(__install_richtextlib___depname) $(__install_gldll___depname) $(__install_gllib___depname) $(__install_sound_sdl___depname) $(__install_wxrc___depname) install-wxconfig locale_install locale_msw_install $(__cocoa_res_install___depname)
--	$(INSTALL_DIR) $(DESTDIR)$(datadir)/aclocal
--	(cd $(srcdir) ; $(INSTALL_DATA)  wxwin.m4 $(DESTDIR)$(datadir)/aclocal)
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/bakefile/presets
--	(cd $(srcdir)/build/bakefiles/wxpresets/presets ; $(INSTALL_DATA)  wx.bkl wx_unix.bkl wx_win32.bkl $(DESTDIR)$(datadir)/bakefile/presets)
-+	(cd $(srcdir)/build/bakefiles/wxpresets/presets/ ; for i in wx.bkl wx_unix.bkl wx_win32.bkl; do \
-+	$(INSTALL_DATA)  $$i $(DESTDIR)$(datadir)/bakefile/presets/wx$(WX_RELEASE_NODOT)$${i##wx} ; done)
- 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/include/$(TOOLCHAIN_FULLNAME)/wx
- 	for f in setup.h $(RCDEFS_H); do \
- 	if test ! -d $(DESTDIR)$(libdir)/wx/include/$(TOOLCHAIN_FULLNAME)/wx/`dirname $$f` ; then \
-@@ -12455,7 +12454,8 @@ install-wxconfig:
- 	$(INSTALL_DIR) $(DESTDIR)$(bindir)
- 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/config
- 	$(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(libdir)/wx/config
--	(cd $(DESTDIR)$(bindir) && rm -f wx-config && $(LN_S) $(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config)
-+	(cd $(DESTDIR)$(bindir) && rm -f wx-config-$(WX_RELEASE) \
-+	&& $(LN_S) $(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config-$(WX_RELEASE))
- 
- locale_install: 
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale
-@@ -12463,7 +12463,7 @@ locale_install:
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l ; \
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES ; \
- 	if test -f $(srcdir)/locale/$$l.mo ; then \
--	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd.mo ; \
-+	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd$(WX_RELEASE_NODOT).mo ; \
- 	fi ; \
- 	done
- 
---- a/src/common/intl.cpp
-+++ b/src/common/intl.cpp
-@@ -1529,6 +1529,8 @@ void wxLocale::DoCommonInit()
-   m_initialized = false;
- }
- 
-+#define wxSTRINGIZE2(x) wxSTRINGIZE(x)
-+
- // NB: this function has (desired) side effect of changing current locale
- bool wxLocale::Init(const wxChar *szName,
-                     const wxChar *szShort,
-@@ -1597,7 +1599,7 @@ bool wxLocale::Init(const wxChar *szName,
-   bool bOk = true;
-   if ( bLoadDefault )
-   {
--    bOk = AddCatalog(wxT("wxstd"));
-+    bOk = AddCatalog(wxT("wxstd" wxSTRINGIZE2(wxMAJOR_VERSION) wxSTRINGIZE2(wxMINOR_VERSION)));
- 
-     // there may be a catalog with toolkit specific overrides, it is not
-     // an error if this does not exist
---- a/utils/wxrc/Makefile.in
-+++ b/utils/wxrc/Makefile.in
-@@ -120,7 +120,6 @@ distclean: clean
- @COND_USE_XRC_1@	rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
- @COND_USE_XRC_1@	$(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(bindir)
- @COND_USE_XRC_1@	mv -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
--@COND_USE_XRC_1@	(cd $(DESTDIR)$(bindir) && $(LN_S) wxrc-$(WX_RELEASE) wxrc$(EXEEXT))
- 
- @COND_USE_XRC_1@uninstall_wxrc: 
- @COND_USE_XRC_1@	rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT)

diff --git a/x11-libs/wxGTK/files/wxGTK-2.8.11-unicode-odbc.patch b/x11-libs/wxGTK/files/wxGTK-2.8.11-unicode-odbc.patch
deleted file mode 100644
index d272247..0000000
--- a/x11-libs/wxGTK/files/wxGTK-2.8.11-unicode-odbc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Allow odbc to be used with unicode builds.
-
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -1217,7 +1217,7 @@ ODBCDLL_CXXFLAGS = $(__odbcdll_PCH_INC) -D__WX$(TOOLKIT)__ \
- 	$(__WXUNIV_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
- 	$(__THREAD_DEFINE_p) -DWXBUILDING $(__INC_TIFF_p) $(__INC_JPEG_p) \
- 	$(__INC_PNG_p) $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) \
--	$(__INC_EXPAT_p) -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_ODBC $(PIC_FLAG) \
-+	$(__INC_EXPAT_p) -DwxUSE_GUI=0 -DWXUSINGDLL -DWXMAKINGDLL_ODBC -DSQL_WCHART_CONVERT $(PIC_FLAG) \
- 	$(CPPFLAGS) $(CXXFLAGS)
- ODBCDLL_OBJECTS =  \
- 	$(__odbcdll___win32rc) \

diff --git a/x11-libs/wxGTK/files/wxGTK-2.8.7-mmedia.patch b/x11-libs/wxGTK/files/wxGTK-2.8.7-mmedia.patch
deleted file mode 100644
index 3972fcb..0000000
--- a/x11-libs/wxGTK/files/wxGTK-2.8.7-mmedia.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur wxPython-src-2.8.7.1-orig/contrib/src/Makefile.in wxPython-src-2.8.7.1/contrib/src/Makefile.in
---- wxPython-src-2.8.7.1-orig/contrib/src/Makefile.in	2007-07-27 17:57:27.000000000 -0600
-+++ wxPython-src-2.8.7.1/contrib/src/Makefile.in	2007-12-28 17:34:28.000000000 -0600
-@@ -1,6 +1,6 @@
- # $Id: wxGTK-2.8.7-mmedia.patch,v 1.1 2008/01/06 22:47:55 dirtyepic Exp $
- 
--CONTRIB_SUBDIRS=fl gizmos mmedia ogl plot stc svg #deprecated #applet
-+CONTRIB_SUBDIRS=fl gizmos ogl plot stc svg #deprecated #applet mmedia
- 
- all:
- 	@for d in $(CONTRIB_SUBDIRS); do (cd $$d && $(MAKE)); done

diff --git a/x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild b/x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild
deleted file mode 100644
index 540c2f1..0000000
--- a/x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild
+++ /dev/null
@@ -1,180 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild,v 1.15 2013/02/04 01:50:56 heroxbd Exp $
-
-EAPI="4"
-
-inherit eutils versionator flag-o-matic multilib
-
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="http://wxwidgets.org/"
-
-BASE_PV="$(get_version_component_range 1-3)"
-BASE_P="${PN}-${BASE_PV}"
-
-# we use the wxPython tarballs because they include the full wxGTK sources and
-# docs, and are released more frequently than wxGTK.
-SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2"
-
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="X aqua doc debug gnome gstreamer odbc opengl pch sdl tiff"
-
-RDEPEND="
-	dev-libs/expat
-	odbc?   ( dev-db/unixODBC )
-	sdl?    ( media-libs/libsdl )
-	X?  (
-		dev-libs/glib:2
-		media-libs/libpng:0
-		sys-libs/zlib
-		virtual/jpeg
-		x11-libs/gtk+:2
-		x11-libs/libSM
-		x11-libs/libXinerama
-		x11-libs/libXxf86vm
-		x11-libs/pango[X]
-		gnome?  ( gnome-base/libgnomeprintui:2.2 )
-		gstreamer? (
-			gnome-base/gconf:2
-			media-libs/gstreamer:0.10
-			media-libs/gst-plugins-base:0.10 )
-		opengl? ( virtual/opengl )
-		tiff?   ( media-libs/tiff:0 )
-		)
-	aqua? (
-		>=x11-libs/gtk+-2.4[aqua=]
-		virtual/jpeg
-		tiff?   ( media-libs/tiff:0 )
-		)"
-
-DEPEND="${RDEPEND}
-		virtual/pkgconfig
-		opengl? ( virtual/glu )
-		X?  (
-			x11-proto/xproto
-			x11-proto/xineramaproto
-			x11-proto/xf86vidmodeproto
-			)"
-
-PDEPEND=">=app-admin/eselect-wxwidgets-0.7"
-
-SLOT="2.8"
-LICENSE="wxWinLL-3
-		GPL-2
-		odbc?	( LGPL-2 )
-		doc?	( wxWinFDL-3 )"
-
-S="${WORKDIR}/wxPython-src-${PV}"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${PN}-2.8.11-unicode-odbc.patch
-	epatch "${FILESDIR}"/${PN}-2.8.11-collision.patch
-	epatch "${FILESDIR}"/${PN}-2.8.7-mmedia.patch              # Bug #174874
-	epatch "${FILESDIR}"/${PN}-2.8.10.1-odbc-defines.patch     # Bug #310923
-	sed \
-		-e "s:/usr:${EPREFIX}/usr:g" \
-		-e '/SEARCH_INCLUDE="\\/,/"/cSEARCH_INCLUDE="'${EPREFIX}'/usr/include"' \
-		-i configure || die "sed on configure failed"
-}
-
-src_configure() {
-	local myconf
-
-	append-flags -fno-strict-aliasing
-
-	# X independent options
-	myconf="--enable-compat26
-			--enable-shared
-			--enable-unicode
-			--with-regex=builtin
-			--with-zlib=sys
-			--with-expat=sys
-			$(use_enable debug)
-			$(use_enable pch precomp-headers)
-			$(use_with odbc odbc sys)
-			$(use_with sdl)
-			$(use_with tiff libtiff sys)"
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-
-	use X && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			$(use_enable gstreamer mediactrl)
-			$(use_enable opengl)
-			$(use_with opengl)
-			$(use_with gnome gnomeprint)
-			--without-gnomevfs"
-
-	use aqua && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--with-mac
-			--with-opengl"
-			# cocoa toolkit seems to be broken
-	# wxBase options
-	if use !X && use !aqua ; then
-		myconf="${myconf}
-			--disable-gui"
-	fi
-
-	mkdir "${S}"/wxgtk_build
-	cd "${S}"/wxgtk_build
-
-	ECONF_SOURCE="${S}" econf ${myconf}
-}
-
-src_compile() {
-	cd "${S}"/wxgtk_build
-
-	emake
-
-	if [[ -d contrib/src ]]; then
-		cd contrib/src
-		emake
-	fi
-}
-
-src_install() {
-	cd "${S}"/wxgtk_build
-
-	emake DESTDIR="${D}" install
-
-	if [[ -d contrib/src ]]; then
-		cd contrib/src
-		emake DESTDIR="${D}" install
-	fi
-
-	cd "${S}"/docs
-	dodoc changes.txt readme.txt todo30.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	if use doc; then
-		dohtml -r "${S}"/docs/html/*
-	fi
-
-	# We don't want this
-	local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo"
-	[[ -e ${wxmsw} ]] && rm "${wxmsw}"
-}
-
-pkg_postinst() {
-	has_version app-admin/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version app-admin/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}

diff --git a/x11-libs/wxGTK/wxGTK-2.9.3.1.ebuild b/x11-libs/wxGTK/wxGTK-2.9.3.1.ebuild
deleted file mode 100644
index 1fe678f..0000000
--- a/x11-libs/wxGTK/wxGTK-2.9.3.1.ebuild
+++ /dev/null
@@ -1,170 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.9.3.1.ebuild,v 1.6 2012/11/23 04:53:30 zerochaos Exp $
-
-EAPI="3"
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="http://wxwidgets.org/"
-
-# we use the wxPython tarballs because they include the full wxGTK sources and
-# docs, and are released more frequently than wxGTK.
-SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2
-	doc? ( mirror://sourceforge/wxpython/wxPython-docs-${PV}.tar.bz2 )"
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="X aqua doc debug gnome gstreamer opengl pch sdl tiff"
-
-RDEPEND="
-	dev-libs/expat
-	sdl?    ( media-libs/libsdl )
-	X?  (
-		>=dev-libs/glib-2.22:2
-		media-libs/libpng:0
-		sys-libs/zlib
-		virtual/jpeg
-		>=x11-libs/gtk+-2.18:2
-		x11-libs/libSM
-		x11-libs/libXinerama
-		x11-libs/libXxf86vm
-		x11-libs/pango[X]
-		gnome? ( gnome-base/libgnomeprintui:2.2 )
-		gstreamer? (
-			gnome-base/gconf:2
-			media-libs/gstreamer:0.10
-			media-libs/gst-plugins-base:0.10 )
-		opengl? ( virtual/opengl )
-		tiff?   ( media-libs/tiff:0 )
-		)
-	aqua? (
-		>=x11-libs/gtk+-2.4[aqua=]
-		virtual/jpeg
-		tiff?   ( media-libs/tiff:0 )
-		)"
-
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	opengl? ( virtual/glu )
-	X?  (
-		x11-proto/xproto
-		x11-proto/xineramaproto
-		x11-proto/xf86vidmodeproto
-		)"
-#		test? ( dev-util/cppunit )
-
-PDEPEND=">=app-admin/eselect-wxwidgets-1.4"
-
-SLOT="2.9"
-LICENSE="wxWinLL-3
-		GPL-2
-		doc?	( wxWinFDL-3 )"
-
-S="${WORKDIR}/wxPython-src-${PV}"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-collision.patch
-}
-
-src_configure() {
-	local myconf
-
-	append-flags -fno-strict-aliasing
-
-	# X independent options
-	myconf="--enable-compat26
-			--with-zlib=sys
-			--with-expat=sys
-			$(use_enable pch precomp-headers)
-			$(use_with sdl)"
-
-	# debug in >=2.9
-	#   if USE="debug" set max debug level (wxDEBUG_LEVEL=2)
-	#   if USE="-debug" use the default (wxDEBUG_LEVEL=1)
-	#   do not use --disable-debug
-	# this means we always build debugging features into the library, and
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# http://docs.wxwidgets.org/2.9/overview_debugging.html
-	# http://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug \
-		&& myconf="${myconf} --enable-debug=max"
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-
-	use X && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--without-gnomevfs
-			$(use_enable gstreamer mediactrl)
-			$(use_with opengl)
-			$(use_with gnome gnomeprint)
-			$(use_with !gnome gtkprint)
-			$(use_with tiff libtiff sys)"
-
-	use aqua && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--with-mac
-			--with-opengl"
-			# cocoa toolkit seems to be broken
-
-	# wxBase options
-	if use !X && use !aqua ; then
-		myconf="${myconf}
-			--disable-gui"
-	fi
-
-	mkdir "${S}"/wxgtk_build
-	cd "${S}"/wxgtk_build
-
-	ECONF_SOURCE="${S}" econf ${myconf}
-}
-
-src_compile() {
-	cd "${S}"/wxgtk_build
-	emake || die "make failed."
-}
-
-# Currently fails - need to investigate
-#src_test() {
-#	cd "${S}"/wxgtk_build/tests
-#	emake || die "failed building testsuite"
-#	./test -d || ewarn "failed running testsuite"
-#}
-
-src_install() {
-	cd "${S}"/wxgtk_build
-
-	emake DESTDIR="${D}" install || die "install failed."
-
-	cd "${S}"/docs
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	if use doc; then
-		dohtml -r "${S}"/docs/doxygen/out/html/*
-	fi
-}
-
-pkg_postinst() {
-	has_version app-admin/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version app-admin/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-30 14:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30 14:03 [gentoo-commits] dev/heroxbd:master commit in: profiles/default/linux/arm/10.0/armv6j/developer/, net-analyzer/ssldump/files/, Benda XU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox