composer/composer — pull request #1328 by GromNaN (2012-11-14 17:11:36+00:00)
Title: Use Archive_Tar to extract PEAR packages

The PharData class cannot extract archives with "blocks of zeros".
See this issue on Horde: http://bugs.horde.org/ticket/11682

Archive_Tar is used by PEAR in [`PEAR_Installer::install`](https://github.com/pear/pear-core/blob/master/PEAR/Installer.php#L1118) to extract files.

The class has been imported from it's [Git repository](https://github.com/pear/Archive_Tar/blob/master/Archive/Tar.php) and modified to support PSR-0 and PHP 5.3

Example of composer.json failing:

```
{
"repositories": [
{
"type": "pear",
"url": "http://pear.horde.org"
}
],
"require": {
"pear-pear.horde.org/horde_text_diff": "2.0.0"
}
}
```

Related to #984