From e46089b173546da5da515da8ad3be352a1494fc0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 8 Jan 2009 22:05:19 +0000 Subject: Bug #253800 - Fix FETCHCOMMAND examples for SRC_URI arrow compatibility. svn path=/main/trunk/; revision=12398 --- cnf/make.conf | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'cnf/make.conf') diff --git a/cnf/make.conf b/cnf/make.conf index d35c3ea88..8fd4ff8aa 100644 --- a/cnf/make.conf +++ b/cnf/make.conf @@ -125,19 +125,20 @@ # # Portage uses wget by default. Here are some settings for some alternate # downloaders -- note that you need to merge these programs first before they -# will be available. +# will be available. The command should be written to place the fetched file +# at \${DISTDIR}/\${FILE}. # # Default fetch command (5 tries, passive ftp for firewall compatibility) -#FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P \${DISTDIR}" -#RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P \${DISTDIR}" +#FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +#RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" # # Using wget, ratelimiting downloads -#FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp --limit-rate=200k \${URI} -P \${DISTDIR}" -#RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp --limit-rate=200k \${URI} -P \${DISTDIR}" +#FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp --limit-rate=200k -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +#RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp --limit-rate=200k -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" # # Lukemftp (BSD ftp): -#FETCHCOMMAND="/usr/bin/lukemftp -s -a -o \${DISTDIR}/\${FILE} \${URI}" -#RESUMECOMMAND="/usr/bin/lukemftp -s -a -R -o \${DISTDIR}/\${FILE} \${URI}" +#FETCHCOMMAND="/usr/bin/lukemftp -s -a -o \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +#RESUMECOMMAND="/usr/bin/lukemftp -s -a -R -o \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" # # Portage uses GENTOO_MIRRORS to specify mirrors to use for source retrieval. # The list is a space separated list which is read left to right. If you use -- cgit v1.2.3-1-g7c22