diff -uNr a/v/manifest b/v/manifest --- a/v/manifest false +++ b/v/manifest 704243bd533c148424d908c9ab1aa75dc6e98e352dcc0dc5a15dbd5f7dc9a616383478fed5c7488a0521b9cb6726382290fa2389851f87eda66c08d29d7bb43c @@ -0,0 +1,2 @@ +549967 v_keccak_vtools.vpatch diana_coman Changed V to use vtools with Keccak hashes (ksum, vpatch). Version number changed to 99992. +600670 v_fixes_vpatch_sync.vpatch spyked Limit recursion depth of wget to 1 for init command (sync_all_vpatches). Also, record changes in manifest rather than v.pl itself. Version number changed to 99991. diff -uNr a/v/v.pl b/v/v.pl --- a/v/v.pl 115b06a799eae048ffbd18642234dc234e9bf879ebdedf0ed9b4be69a410187537b618d2b4b581954b89d1f63ef0925f9ff1ae26f0882c28f05d3a1fcdb1a732 +++ b/v/v.pl 7adcf4625e65ea4b016fcc7fff8d1767f787dec8ffdfda72a1ba50430f111d330351a26769e55fdfae7d33eafb84af121f753c8c7dcf18c768b994a7d2bcc2a8 @@ -1,6 +1,6 @@ #!/usr/bin/perl -# (C) 2014 - 2018 The Bitcoin Foundation. You do not have, nor can you ever +# (C) 2014 - 2019 The Bitcoin Foundation. You do not have, nor can you ever # acquire the right to use, copy or distribute this software ; Should you use # this software for any purpose, or copy and distribute it to anyone or in any # manner, you are breaking the laws of whatever soi-disant jurisdiction, and @@ -8,12 +8,9 @@ # please always : read and understand any software ; verify any PGP signatures # that you use - for any purpose. -# modified by Diana Coman to use vtools with keccak hashes (vpatch and ksum) -# version no changed to 99992 - use strict; -my $version = "99992 K "; +my $version = "99991 K "; my $tdir = ""; @@ -480,7 +477,7 @@ sub sync_seals { my ($URL, $out) = @_; if(!-d $out) { `mkdir -p $out`; } - my $wget = "wget -q -r -nd -N --no-parent " . + my $wget = "wget -q -r -l 1 -nd -N --no-parent " . "--reject \"index.html*\" $URL/v/seals/ -P $out"; `$wget`; print "Seal sync complete to \"$out\"\n"; @@ -491,7 +488,7 @@ my $wget = ""; if(!-d $out) { `mkdir -p $out`; } foreach my $vpatch (@sync) { - $wget = "wget -q -r -nd -N --no-parent " . + $wget = "wget -q -nd -N --no-parent " . "--reject \"index.html*\" $URL/v/patches/$vpatch -P $out"; `$wget`; print "$vpatch sync complete to \"$out\"\n"; @@ -501,7 +498,7 @@ sub sync_all_vpatches { my ($URL, $out) = @_; if(!-d $out) { `mkdir -p $out`; } - my $wget = "wget -q -r -nd -N --no-parent " . + my $wget = "wget -q -r -l 1 -nd -N --no-parent " . "--reject \"index.html*\" $URL/v/patches/ -P $out"; `$wget`; print "Full vpatch sync complete to \"$out\"\n";