forked from mirrors/nixpkgs
perl: Update to 5.16.3, 5.14.4
CVE-2013-1667
This commit is contained in:
parent
642b07f988
commit
e12e62001b
|
@ -7,11 +7,11 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "perl-5.14.2";
|
name = "perl-5.14.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://cpan/src/${name}.tar.gz";
|
url = "mirror://cpan/src/${name}.tar.gz";
|
||||||
sha256 = "1ls8cpbgnlaxfydyyqgr7pxj1hkxh9pzcdgr3dv42zdxffakb234";
|
sha256 = "1js47zzna3v38fjnirf2vq6y0rjp8m86ysj5vagzgkig956d8gw0";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches =
|
patches =
|
||||||
|
|
|
@ -7,11 +7,11 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "perl-5.16.2";
|
name = "perl-5.16.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://cpan/src/${name}.tar.gz";
|
url = "mirror://cpan/src/${name}.tar.gz";
|
||||||
sha256 = "03nh8bqnjsdd5izjv3n2yfcxw4ck0llwww36jpbjbjgixwpqpy4f";
|
sha256 = "1dpd9lhc4723wmsn4dsn4m320qlqgyw28bvcbhnfqp2nl3f0ikv9";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches =
|
patches =
|
||||||
|
@ -61,16 +61,18 @@ stdenv.mkDerivation rec {
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
# some network-related tests don't work, mostly probably due to our sandboxing
|
# some network-related tests don't work, mostly probably due to our sandboxing
|
||||||
testsToSkip = ''
|
testsToSkip = ''
|
||||||
lib/Net/hostent.t \
|
lib/Net/hostent.t \
|
||||||
dist/IO/t/{io_multihomed.t,io_sock.t} \
|
dist/IO/t/{io_multihomed.t,io_sock.t} \
|
||||||
t/porting/{maintainers.t,regen.t} \
|
t/porting/{maintainers.t,regen.t} \
|
||||||
cpan/Socket/t/getnameinfo.t \
|
cpan/Socket/t/getnameinfo.t \
|
||||||
'' + stdenv.lib.optionalString (stdenv.isFreeBSD) ''
|
'' + stdenv.lib.optionalString stdenv.isFreeBSD ''
|
||||||
cpan/CPANPLUS/t/04_CPANPLUS-Module.t \
|
cpan/CPANPLUS/t/04_CPANPLUS-Module.t \
|
||||||
cpan/CPANPLUS/t/20_CPANPLUS-Dist-MM.t \
|
cpan/CPANPLUS/t/20_CPANPLUS-Dist-MM.t \
|
||||||
'' + " ";
|
'' + " ";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
for test in ${testsToSkip}; do
|
for test in ${testsToSkip}; do
|
||||||
echo "Removing test" $test
|
echo "Removing test" $test
|
||||||
|
|
Loading…
Reference in a new issue