php: Update to 5.3.15
Includes fixes for CVE-2012-2688 and CVE-2012-3365.
This commit is contained in:
parent
113016af86
commit
16d2d9acab
@ -8,7 +8,7 @@ in
|
|||||||
|
|
||||||
composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
|
composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
|
||||||
|
|
||||||
version = "5.3.14";
|
version = "5.3.15";
|
||||||
|
|
||||||
name = "php-${version}";
|
name = "php-${version}";
|
||||||
|
|
||||||
@ -149,15 +149,12 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
|
|||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
unset installPhase; installPhase;
|
unset installPhase; installPhase;
|
||||||
cp php.ini-${ if builtins.lessThan (builtins.compareVersions version "5.3") 0
|
cp php.ini-production $iniFile
|
||||||
then "recommended" /* < PHP 5.3 */
|
|
||||||
else "production" /* >= PHP 5.3 */
|
|
||||||
} $iniFile
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
src = args.fetchurl {
|
src = args.fetchurl {
|
||||||
url = "http://nl.php.net/get/php-${version}.tar.bz2/from/this/mirror";
|
url = "http://nl.php.net/get/php-${version}.tar.bz2/from/this/mirror";
|
||||||
sha256 = "1cqw0knkrb7wn49ki5kcly4i0hjnd12sf9l4rhk0vny5hdp5n1y8";
|
sha256 = "1vzij845n2akh2lkpacgdc5r0f7nw6pk9l9vi1h8l8k4krjjbdzr";
|
||||||
name = "php-${version}.tar.bz2";
|
name = "php-${version}.tar.bz2";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user