Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
Date: Fri, 18 Dec 2009 19:11:01
Message-Id: 58965d8a0912181110j673e65d3q3464cd505e70918e@mail.gmail.com
In Reply to: [gentoo-user] Trying to make portage use "puf" instead of "wget" by Ronan Mainbourg
1 On Fri, Dec 18, 2009 at 9:40 AM, Ronan Mainbourg
2 <ronan.mainbourg@×××××.com> wrote:
3 > Because my Internet connection is not very fast, I'd like to make portage
4 > fetch files using net-misc/puf (wich can dl several chunks of a file at the
5 > same time) instead of wget.
6 > I tried to do this setting the parameter FETCHCOMMAND in my make.conf, but
7 > it doesn't work:
8 >
9 > FETCHCOMMAND="/usr/bin/puf \${URI} -P \${DISTDIR}/\${FILE}"
10 >
11 > ... Give me when I try emerging a package (here"media-libs/libdvbpsi" for
12 > instance):
13 > !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting.
14 >
15 >
16 > Any Ideas ?
17
18 I think the syntax should be:
19
20 FETCHCOMMAND="/usr/bin/puf \${URI} -P \${DISTDIR} -O \${FILE}"
21
22 That works for me if I run emerge as normal user. If I run as root, it
23 crashes... weird.