pristine-tar (1.25) UNRELEASED; urgency=low
* Remove unused fts.h include. Closes: #675367
+ * pristine-xz: Add --check=sha256 and compression levels 0 and 0e.
+ Closes: #677241 Thanks, Vincent Ladeuil
-- Joey Hess <joeyh@debian.org> Thu, 31 May 2012 12:33:34 -0400
#
# So far in the wild only these levels have been seen.
# (Note that level 9 can use a lot of memory.)
- my $possible_levels = ["6", "9", "6e", "9e"];
+ my $possible_levels = ["6", "9", "0", "6e", "9e", "0e"];
return ($possible_levels);
}
foreach my $level (@$possible_levels) {
push @args, ["-z", "-$level"];
push @args, ["-z", "-$level", "--check=crc32"];
+ push @args, ["-z", "-$level", "--check=sha256"];
}
return @args;
}
next if $param=~/^(-[0-9]e?)$/;
next if $param eq '-z';
next if $param eq '--check=crc32';
+ next if $param eq '--check=sha256';
die "paranoia check failed on params from delta (@params)";
}
@params=split(' ', $delta->{params});