makepkg: Support for resuming source downloads
commitf56f7ff39102dab754573b0bc40dbceb5a8ec301
authorRoman Kyrylych <roman@archlinux.org>
Sun, 10 Feb 2008 16:56:47 +0000 (10 18:56 +0200)
committerDan McGee <dan@archlinux.org>
Mon, 10 Mar 2008 23:45:58 +0000 (10 18:45 -0500)
tree43aca0cead43ed2e72e0e1acdb8c1142ae17ebce
parent91b7f288fe65b96d4af64f6308b0e33b14ad85e0
makepkg: Support for resuming source downloads

Download to *.part and remove the suffix if successful, thus md5sums will be
checked only for complete files, and next time makepkg will resume
downloading of partial file instead of complaining about invalid md5sums.

Old DLAGENTS format is still supported.

Late fix: Do not try to download %u first

The output of grep was not suppressed, thus the output of get_downloadcmd
was wrong because of extra line at the beginning that contained an
unsubstituted (with %o and %u) entry from DLAGENTS.

Signed-off-by: Roman Kyrylych <roman@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
doc/makepkg.conf.5.txt
etc/makepkg.conf.in
scripts/makepkg.sh.in