summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author=?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= <ask@develooper.com>2017-10-31 08:39:21 -0700
committerKaren Etheridge <ether@cpan.org>2017-11-19 14:46:22 -0800
commitc6bee77e5b388e624827e6c745733c2a7407ae15 (patch)
tree84eeba6bca585b93fdc2b65b53f90607903eaee5
parentfab80bc57a1c83dd43d5a6ff1fd29d3825adee87 (diff)
downloadperl-c6bee77e5b388e624827e6c745733c2a7407ae15.tar.gz
Removed bzip option from makerel
xz compresses better and decompresses faster, gzip is still more compatible and uses less memory. In the recent years we've archived perl as both gzip, bzip2 and xz which doesn't make much sense. This is a followup to f276fdad. closes [perl #132381].
-rwxr-xr-xPorting/makerel15
1 files changed, 1 insertions, 14 deletions
diff --git a/Porting/makerel b/Porting/makerel
index 46714622f1..e77b4afeb4 100755
--- a/Porting/makerel
+++ b/Porting/makerel
@@ -28,13 +28,12 @@ use Getopt::Std;
$|=1;
sub usage { die <<EOF; }
-usage: $0 [ -r rootdir ] [-s suffix ] [ -b ] [ -n ]
+usage: $0 [ -r rootdir ] [-s suffix ] [ -x ] [ -n ]
-r rootdir directory under which to create the build dir and tarball
defaults to '..'
-s suffix suffix to append to to the perl-x.y.z dir and tarball name
defaults to the concatenation of the local_patches entry
in patchlevel.h (or blank, if none)
- -b make a .bz2 file in addition to a .gz file
-x make a .xz file in addition to a .gz file
-n do not make any tarballs, just the directory
EOF
@@ -206,18 +205,6 @@ if ($have_7z) {
}
}
-if ($opts{b}) {
- if ($have_7z) {
- print "Creating and compressing the tar.bz2 file with 7z...\n";
- $cmd = "tar cf - $reldir | 7z a -tbzip2 -mx9 -bd -si $reldir.tar.bz2";
- system($cmd) == 0 or die "$cmd failed";
- } else {
- print "Creating and compressing the tar.bz2 file...\n";
- $cmd = "tar cf - $reldir | bzip2 > $reldir.tar.bz2";
- system($cmd) == 0 or die "$cmd failed";
- }
-}
-
if ($opts{x}) {
print "Creating and compressing the tar.gz file with 7z...\n";
$cmd = "tar cf - $reldir | xz -z -c > $reldir.tar.xz";