3
0
Fork 0
forked from mirrors/nixpkgs

perl: Update to 5.16.3, 5.14.4

CVE-2013-1667
This commit is contained in:
Eelco Dolstra 2013-04-04 13:42:26 +02:00
parent 642b07f988
commit e12e62001b
2 changed files with 7 additions and 5 deletions

View file

@ -7,11 +7,11 @@ let
in
stdenv.mkDerivation rec {
name = "perl-5.14.2";
name = "perl-5.14.4";
src = fetchurl {
url = "mirror://cpan/src/${name}.tar.gz";
sha256 = "1ls8cpbgnlaxfydyyqgr7pxj1hkxh9pzcdgr3dv42zdxffakb234";
sha256 = "1js47zzna3v38fjnirf2vq6y0rjp8m86ysj5vagzgkig956d8gw0";
};
patches =

View file

@ -7,11 +7,11 @@ let
in
stdenv.mkDerivation rec {
name = "perl-5.16.2";
name = "perl-5.16.3";
src = fetchurl {
url = "mirror://cpan/src/${name}.tar.gz";
sha256 = "03nh8bqnjsdd5izjv3n2yfcxw4ck0llwww36jpbjbjgixwpqpy4f";
sha256 = "1dpd9lhc4723wmsn4dsn4m320qlqgyw28bvcbhnfqp2nl3f0ikv9";
};
patches =
@ -61,16 +61,18 @@ stdenv.mkDerivation rec {
setupHook = ./setup-hook.sh;
doCheck = true;
# some network-related tests don't work, mostly probably due to our sandboxing
testsToSkip = ''
lib/Net/hostent.t \
dist/IO/t/{io_multihomed.t,io_sock.t} \
t/porting/{maintainers.t,regen.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/20_CPANPLUS-Dist-MM.t \
'' + " ";
postPatch = ''
for test in ${testsToSkip}; do
echo "Removing test" $test