summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/apt-transport-http.1.xml2
-rw-r--r--doc/apt-transport-https.1.xml2
-rw-r--r--doc/po/apt-doc.pot4
-rw-r--r--doc/po/de.po8
-rw-r--r--doc/po/es.po4
-rw-r--r--doc/po/fr.po10
-rw-r--r--doc/po/it.po4
-rw-r--r--doc/po/ja.po4
-rw-r--r--doc/po/nl.po4
-rw-r--r--doc/po/pl.po4
-rw-r--r--doc/po/pt.po4
-rw-r--r--doc/po/pt_BR.po4
-rw-r--r--methods/basehttp.cc2
13 files changed, 28 insertions, 28 deletions
diff --git a/doc/apt-transport-http.1.xml b/doc/apt-transport-http.1.xml
index 7426a4502..afc8bea58 100644
--- a/doc/apt-transport-http.1.xml
+++ b/doc/apt-transport-http.1.xml
@@ -112,7 +112,7 @@ negotiation.</para>
<literallayout>
Acquire::http {
Proxy::example.org "DIRECT";
- Proxy "socks5h://apt:pass@localhost:9050";
+ Proxy "socks5h://apt:pass@127.0.0.1:9050";
Proxy-Auto-Detect "/usr/local/bin/apt-http-proxy-auto-detect";
No-Cache "true";
Max-Age "3600";
diff --git a/doc/apt-transport-https.1.xml b/doc/apt-transport-https.1.xml
index e925dd537..e77a5a706 100644
--- a/doc/apt-transport-https.1.xml
+++ b/doc/apt-transport-https.1.xml
@@ -100,7 +100,7 @@ In practice the use of the host-specific variants of both options is highly reco
<literallayout>
Acquire::https {
Proxy::example.org "DIRECT";
- Proxy "socks5h://apt:pass@localhost:9050";
+ Proxy "socks5h://apt:pass@127.0.0.1:9050";
Proxy-Auto-Detect "/usr/local/bin/apt-https-proxy-auto-detect";
No-Cache "true";
Max-Age "3600";
diff --git a/doc/po/apt-doc.pot b/doc/po/apt-doc.pot
index 90cc9a94e..202f6aece 100644
--- a/doc/po/apt-doc.pot
+++ b/doc/po/apt-doc.pot
@@ -7217,7 +7217,7 @@ msgstr ""
msgid ""
"Acquire::http {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
@@ -7361,7 +7361,7 @@ msgstr ""
msgid ""
"Acquire::https {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
diff --git a/doc/po/de.po b/doc/po/de.po
index 37ea17305..5ac6cd4e4 100644
--- a/doc/po/de.po
+++ b/doc/po/de.po
@@ -10310,7 +10310,7 @@ msgstr ""
msgid ""
"Acquire::http {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
@@ -10325,7 +10325,7 @@ msgid ""
msgstr ""
"Acquire::http {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
@@ -10538,7 +10538,7 @@ msgstr ""
msgid ""
"Acquire::https {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
@@ -10560,7 +10560,7 @@ msgid ""
msgstr ""
"Acquire::https {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
diff --git a/doc/po/es.po b/doc/po/es.po
index 3516e1dee..8f419acda 100644
--- a/doc/po/es.po
+++ b/doc/po/es.po
@@ -10062,7 +10062,7 @@ msgstr ""
msgid ""
"Acquire::http {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
@@ -10207,7 +10207,7 @@ msgstr ""
msgid ""
"Acquire::https {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
diff --git a/doc/po/fr.po b/doc/po/fr.po
index 8d9c7dd76..b29f046e8 100644
--- a/doc/po/fr.po
+++ b/doc/po/fr.po
@@ -10285,7 +10285,7 @@ msgstr ""
msgid ""
"Acquire::http {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
@@ -10300,7 +10300,7 @@ msgid ""
msgstr ""
"Acquire::http {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
@@ -10509,7 +10509,7 @@ msgstr ""
#| msgid ""
#| "acquire::https {\n"
#| "\tproxy::example.org \"direct\";\n"
-#| "\tproxy \"socks5h://apt:pass@localhost:9050\";\n"
+#| "\tproxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
#| "\tproxy-auto-detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n"
#| "\tno-cache \"true\";\n"
#| "\tmax-age \"3600\";\n"
@@ -10531,7 +10531,7 @@ msgstr ""
msgid ""
"Acquire::https {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
@@ -10553,7 +10553,7 @@ msgid ""
msgstr ""
"acquire::https {\n"
"\tproxy::example.org \"direct\";\n"
-"\tproxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tproxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tproxy-auto-detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n"
"\tno-cache \"true\";\n"
"\tmax-age \"3600\";\n"
diff --git a/doc/po/it.po b/doc/po/it.po
index ff31bdffd..870550dc7 100644
--- a/doc/po/it.po
+++ b/doc/po/it.po
@@ -10219,7 +10219,7 @@ msgstr ""
msgid ""
"Acquire::http {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
@@ -10364,7 +10364,7 @@ msgstr ""
msgid ""
"Acquire::https {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
diff --git a/doc/po/ja.po b/doc/po/ja.po
index e5e45b9b0..8f7975c8e 100644
--- a/doc/po/ja.po
+++ b/doc/po/ja.po
@@ -9832,7 +9832,7 @@ msgstr ""
msgid ""
"Acquire::http {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
@@ -9977,7 +9977,7 @@ msgstr ""
msgid ""
"Acquire::https {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
diff --git a/doc/po/nl.po b/doc/po/nl.po
index b7b838881..a195229dc 100644
--- a/doc/po/nl.po
+++ b/doc/po/nl.po
@@ -10455,7 +10455,7 @@ msgstr ""
msgid ""
"Acquire::http {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
@@ -10600,7 +10600,7 @@ msgstr ""
msgid ""
"Acquire::https {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
diff --git a/doc/po/pl.po b/doc/po/pl.po
index da06c6756..47b14b041 100644
--- a/doc/po/pl.po
+++ b/doc/po/pl.po
@@ -9218,7 +9218,7 @@ msgstr ""
msgid ""
"Acquire::http {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
@@ -9364,7 +9364,7 @@ msgstr ""
msgid ""
"Acquire::https {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
diff --git a/doc/po/pt.po b/doc/po/pt.po
index 4056ec33a..b8b138117 100644
--- a/doc/po/pt.po
+++ b/doc/po/pt.po
@@ -9998,7 +9998,7 @@ msgstr ""
msgid ""
"Acquire::http {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
@@ -10143,7 +10143,7 @@ msgstr ""
msgid ""
"Acquire::https {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
diff --git a/doc/po/pt_BR.po b/doc/po/pt_BR.po
index b42a81622..33ad7a358 100644
--- a/doc/po/pt_BR.po
+++ b/doc/po/pt_BR.po
@@ -7539,7 +7539,7 @@ msgstr ""
msgid ""
"Acquire::http {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-http-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
@@ -7684,7 +7684,7 @@ msgstr ""
msgid ""
"Acquire::https {\n"
"\tProxy::example.org \"DIRECT\";\n"
-"\tProxy \"socks5h://apt:pass@localhost:9050\";\n"
+"\tProxy \"socks5h://apt:pass@127.0.0.1:9050\";\n"
"\tProxy-Auto-Detect \"/usr/local/bin/apt-https-proxy-auto-detect\";\n"
"\tNo-Cache \"true\";\n"
"\tMax-Age \"3600\";\n"
diff --git a/methods/basehttp.cc b/methods/basehttp.cc
index 2473ecb5c..3a73d04c6 100644
--- a/methods/basehttp.cc
+++ b/methods/basehttp.cc
@@ -873,7 +873,7 @@ bool BaseHttpMethod::Configuration(std::string Message) /*{{{*/
return false;
_config->CndSet("Acquire::tor::Proxy",
- "socks5h://apt-transport-tor@localhost:9050");
+ "socks5h://apt-transport-tor@127.0.0.1:9050");
return true;
}
/*}}}*/