Minor fixes for FTP support
[ntk/apt.git] / doc / examples / apt.conf
index b4ba2ac..d0078cd 100644 (file)
@@ -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
   {