From: Steve Hay Date: Mon, 6 Aug 2012 17:10:37 +0000 (+0100) Subject: Update notes on which Cygwin tools are needed to make a release on Windows X-Git-Tag: upstream/5.20.0~5878 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fbfa7c02afa6e3e6975eb25b333402cf754833e3;p=platform%2Fupstream%2Fperl.git Update notes on which Cygwin tools are needed to make a release on Windows (corelist.pl no longer uses curl, diffstat is no longer required to produce the list of acknowledgements and 7z should be used to create smaller tarballs. Also, core-cpan-diff no longer uses wget.) --- diff --git a/Porting/core-cpan-diff b/Porting/core-cpan-diff index 1c47dc4..ac4f1c5 100644 --- a/Porting/core-cpan-diff +++ b/Porting/core-cpan-diff @@ -45,7 +45,6 @@ use constant SRC_DIR => 'tarballs'; use constant UNTAR_DIR => 'untarred'; use constant DIFF_CMD => 'diff'; -use constant WGET_CMD => 'wget'; sub usage { print STDERR "\n@_\n\n" if @_; @@ -636,7 +635,7 @@ sub get_distribution { if ( -f $download_file and !-s $download_file ) { - # wget can leave a zero-length file on failed download + # failed download might leave a zero-length file unlink $download_file; } diff --git a/Porting/makerel b/Porting/makerel index 9084ac8..698d42b 100755 --- a/Porting/makerel +++ b/Porting/makerel @@ -8,14 +8,12 @@ # Cygwin and ensure its 'bin' folder is on the PATH in the shell where you run # this script. The Cygwin 'bin' folder needs to precede the Windows 'system32' # folder so that Cygwin's 'find' command is found in preference to the Windows -# 'find' command. Your Cygwin installation will need to contain at least the -# 'cpio' command, in addition to the commands installed by default, and it will -# also be useful to have 'curl' and 'diffstat' installed too for later stages -# of the release process (namely, Porting\corelist.pl and generating the commit -# statistics for the perlXYZdelta.pod file respectively). Finally, ensure that -# the 'awk' and 'shasum' commands are copies of gawk.exe and sha1sum.exe -# respectively, rather than the links to them that only work in a Cygwin bash -# shell which they are by default. +# 'find' command. In addition to the commands installed by default, your Cygwin +# installation will need to contain at least the 'cpio' and '7z' commands. +# Finally, ensure that the 'awk', 'shasum' (if you have it) and '7z' commands +# are copies of 'gawk.exe', 'sha1sum.exe' and 'lib\p7zip\7z.exe' respectively, +# rather than the links to them that only work in a Cygwin bash shell which +# they are by default. # # No matter how automated this gets, you'll always need to read # and re-read pumpkin.pod and release_managers_guide.pod to