Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165449 - net-misc/axel-1.0b-r1 - FETCHCOMMAND example is wrong
Summary: net-misc/axel-1.0b-r1 - FETCHCOMMAND example is wrong
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Timothy Redaelli (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-05 15:07 UTC by Xuefer
Modified: 2009-02-04 17:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xuefer 2007-02-05 15:07:25 UTC
the problem is when the last (right most) chunk is completed while other chunk isn't, and axel get killed/stopped or whatever reason it exit, emerge think the file is completed as the filesize match ebuild digest, but the checksum is not.

the example should be:
FETCHCOMMAND="/usr/bin/axel -a -o ${DISTDIR}/\${FILE}.axel \${URI} && mv ${DISTDIR}/\${FILE}.axel /\${DISTDIR}/\${FILE}"
RESUMECOMMAND="${FETCHCOMMAND}"

by using *.axel as temp file

Reproducible: Always
Comment 1 Timothy Redaelli (RETIRED) gentoo-dev 2009-02-04 17:59:09 UTC
Done, thanks