php: Update to 5.3.15

Includes fixes for CVE-2012-2688 and CVE-2012-3365.
This commit is contained in:
Eelco Dolstra 2012-07-23 13:46:50 -04:00
parent 113016af86
commit 16d2d9acab

View File

@ -8,7 +8,7 @@ in
composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
version = "5.3.14";
version = "5.3.15";
name = "php-${version}";
@ -149,15 +149,12 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
installPhase = ''
unset installPhase; installPhase;
cp php.ini-${ if builtins.lessThan (builtins.compareVersions version "5.3") 0
then "recommended" /* < PHP 5.3 */
else "production" /* >= PHP 5.3 */
} $iniFile
cp php.ini-production $iniFile
'';
src = args.fetchurl {
url = "http://nl.php.net/get/php-${version}.tar.bz2/from/this/mirror";
sha256 = "1cqw0knkrb7wn49ki5kcly4i0hjnd12sf9l4rhk0vny5hdp5n1y8";
sha256 = "1vzij845n2akh2lkpacgdc5r0f7nw6pk9l9vi1h8l8k4krjjbdzr";
name = "php-${version}.tar.bz2";
};