From 6d5dd02a49b18017c296c2d76bc6bb1d9f1ef6ac Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:53:03 +0000 Subject: Minor fixes for FTP support Author: jgg Date: 1999-03-15 08:10:39 GMT Minor fixes for FTP support --- doc/examples/apt.conf | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'doc/examples') diff --git a/doc/examples/apt.conf b/doc/examples/apt.conf index b4ba2ac0f..d0078cddd 100644 --- a/doc/examples/apt.conf +++ b/doc/examples/apt.conf @@ -1,4 +1,4 @@ -// $Id: apt.conf,v 1.26 1999/03/02 21:19:06 jgg Exp $ +// $Id: apt.conf,v 1.27 1999/03/15 08:10:39 jgg Exp $ /* This file is an index of all APT configuration directives. It should NOT actually be used as a real config file, though it is a completely valid file. @@ -66,6 +66,26 @@ Acquire Max-Age "86400"; // 1 Day age on index files No-Store "false"; // Prevent the cache from storing archives }; + + ftp + { + Proxy "ftp://127.0.0.1/"; + Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting + + // Required script to perform proxy login + ProxyLogin + { + "USER $(PROXY_USER)"; + "PASS $(PROXY_PASS)"; + "USER $(SITE_USER)@$(SITE):$(SITE_PORT)"; + "PASS $(SITE_PASS)"; + }; + + Timeout "120"; + Passive "true"; + Proxy::Passive "true"; + Passive::http.us.debian.org "true"; // Specific per-host setting + }; cdrom { -- cgit v1.2.3-70-g09d2