summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/apt-ftparchive.conf8
-rw-r--r--doc/examples/configure-index10
2 files changed, 14 insertions, 4 deletions
diff --git a/doc/examples/apt-ftparchive.conf b/doc/examples/apt-ftparchive.conf
index 0d245c0af..0e8bcb2ce 100644
--- a/doc/examples/apt-ftparchive.conf
+++ b/doc/examples/apt-ftparchive.conf
@@ -7,11 +7,11 @@ Dir {
CacheDir ".";
};
-// Create Packages, Packages.gz and Packages.bz2, remove what you don't need
+// Create Packages, Packages.gz and Packages.xz, remove/add as needed
Default {
- Packages::Compress ". gzip bzip2";
- Sources::Compress ". gzip bzip2";
- Contents::Compress ". gzip bzip2";
+ Packages::Compress ". gzip xz";
+ Sources::Compress ". gzip xz";
+ Contents::Compress ". gzip xz";
};
// Includes the main section. You can structure the directory tree under
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index 8e8110d94..dc579c394 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -88,6 +88,16 @@ APT
Post-Invoke {"touch /var/lib/apt/post-update-stamp"; };
};
+ // define a new supported compressor on the fly
+ APT::Compressor::rev {
+ Name "rev";
+ Extension ".reversed";
+ Binary "rev";
+ CompressArg {};
+ UncompressArg {};
+ Cost "10";
+ };
+
Authentication
{
TrustCDROM "false"; // consider the CD-ROM always trusted