From 1a3f5372dcbb03c6df6490cf78a6699e9b36a225 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 10 Oct 2010 14:14:12 -0700 Subject: [PATCH] FETCHCOMMAND: Update comments for wget 3 tries. --- cnf/make.conf | 10 +++++----- cnf/make.globals | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cnf/make.conf b/cnf/make.conf index 8d07752f1..255cff221 100644 --- a/cnf/make.conf +++ b/cnf/make.conf @@ -127,13 +127,13 @@ # 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 -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" -#RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +# Default fetch command (3 tries, passive ftp for firewall compatibility) +#FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +#RESUMECOMMAND="/usr/bin/wget -c -t 3 -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 -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" -#RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp --limit-rate=200k -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +#FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp --limit-rate=200k -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +#RESUMECOMMAND="/usr/bin/wget -c -t 3 -T 60 --passive-ftp --limit-rate=200k -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" # # Lukemftp (BSD ftp): #FETCHCOMMAND="/usr/bin/lukemftp -s -a -o \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" diff --git a/cnf/make.globals b/cnf/make.globals index 6a7a21263..69a553d5f 100644 --- a/cnf/make.globals +++ b/cnf/make.globals @@ -36,7 +36,7 @@ RPMDIR=/usr/portage/rpm # Temporary build directory PORTAGE_TMPDIR=/var/tmp -# Fetching command (5 tries, passive ftp for firewall compatibility) +# Fetching command (3 tries, passive ftp for firewall compatibility) FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" RESUMECOMMAND="/usr/bin/wget -c -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" -- 2.26.2