summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-10 14:14:12 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-11 18:46:22 -0700
commit6c9439df8ec7c98ef3c59106c29a57b0a61b729b (patch)
tree7c80b7f3deb9c36f41e0662f0711191e71230a73
parentFETCHCOMMAND: Reduce wget retries from 5 to 3. (diff)
downloadportage-6c9439df8ec7c98ef3c59106c29a57b0a61b729b.tar.gz
portage-6c9439df8ec7c98ef3c59106c29a57b0a61b729b.tar.bz2
portage-6c9439df8ec7c98ef3c59106c29a57b0a61b729b.zip
FETCHCOMMAND: Update comments for wget 3 tries.
-rw-r--r--cnf/make.conf10
-rw-r--r--cnf/make.globals2
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 307f9897e..41996d05f 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}\""