]> git.saurik.com Git - apt.git/blobdiff - doc/examples/configure-index
add configuration PDiffs::Limit-options (FileLimit and SizeLimit) to
[apt.git] / doc / examples / configure-index
index 7e86b3d4a1dcafb1966a1c05c21577a273607139..be461aaad15aee43ac9ff0a0368a1e0ba9b16b44 100644 (file)
@@ -176,7 +176,10 @@ Acquire
   Source-Symlinks "true";
 
   PDiffs "true";     // try to get the IndexFile diffs
-  
+  PDiffs::FileLimit "4"; // don't use diffs if we would need more than 4 diffs
+  PDiffs::SizeLimit "50"; // don't use diffs if size of all patches excess
+                         // 50% of the size of the original file
+
   // HTTP method configuration
   http 
   {
@@ -273,6 +276,15 @@ Acquire
 
     Order { "gz"; "lzma"; "bz2"; };
   };
+
+  Languages
+  {
+     "environment";
+     "de";
+     "en";
+     "none";
+     "fr";
+  };
 };
 
 // Directory layout
@@ -300,6 +312,7 @@ Dir "/"
   // Config files
   Etc "etc/apt/" {
      Main "apt.conf";
+     Netrc "auth.conf";
      Parts "apt.conf.d/";
      Preferences "preferences";
      PreferencesParts "preferences.d";
@@ -398,6 +411,7 @@ Debug
   Acquire::gpgv "false";   // Show the gpgv traffic
   aptcdrom "false";        // Show found package files
   IdentCdrom "false";
+  acquire::netrc "false";  // netrc parser
   
 }