]> git.saurik.com Git - apt.git/commitdiff
* add more missing bits from debians apt
authorMichael Vogt <michael.vogt@ubuntu.com>
Thu, 8 Dec 2005 17:47:27 +0000 (17:47 +0000)
committerMichael Vogt <michael.vogt@ubuntu.com>
Thu, 8 Dec 2005 17:47:27 +0000 (17:47 +0000)
configure.in
debian/apt-utils.examples [new file with mode: 0644]
doc/examples/apt-ftparchive.conf [new file with mode: 0644]

index 8b2a301e0bcaf5e24795f3f03e35a0c66c5e00bb..a0c7cdd9d34daf5a9bf1ee7eec51509c4b0f0cf3 100644 (file)
@@ -181,9 +181,6 @@ AC_PATH_PROG(DOCBOOK2MAN,docbook2man)
 dnl Check for the XML tools needed to build man pages
 AC_PATH_PROG(XMLTO,xmlto)
 
-dnl Check for the XML tools needed to build man pages
-AC_PATH_PROG(XMLTO,xmlto)
-
 dnl Check for YODL
 dnl AC_CHECK_PROG(YODL_MAN,yodl2man,"yes","")
 
diff --git a/debian/apt-utils.examples b/debian/apt-utils.examples
new file mode 100644 (file)
index 0000000..25aadf9
--- /dev/null
@@ -0,0 +1 @@
+doc/examples/apt-ftparchive.conf
\ No newline at end of file
diff --git a/doc/examples/apt-ftparchive.conf b/doc/examples/apt-ftparchive.conf
new file mode 100644 (file)
index 0000000..657ec54
--- /dev/null
@@ -0,0 +1,46 @@
+// This config is for use with the pool-structure for the packages, thus we
+// don't use a Tree Section in here
+
+// The debian archive should be in the current working dir
+Dir {
+       ArchiveDir ".";
+       CacheDir ".";
+};
+
+// Create Packages, Packages.gz and Packages.bz2, remove what you don't need
+Default {
+       Packages::Compress ". gzip bzip2";
+       Sources::Compress ". gzip bzip2";
+       Contents::Compress ". gzip bzip2";
+};
+
+// Includes the main section. You can structure the directory tree under
+// ./pool/main any way you like, apt-ftparchive will take any deb (and
+// source package) it can find. This creates a Packages a Sources and a
+// Contents file for these in the main section of the sid release
+BinDirectory "pool/main" {
+       Packages "dists/sid/main/binary-i386/Packages";
+       SrcPackages "dists/sid/main/source/Sources";
+       Contents "dists/sid/Contents-i386";
+}
+
+// This is the same for the contrib section
+BinDirectory "pool/contrib" {
+       Packages "dists/sid/contrib/binary-i386/Packages";
+       SrcPackages "dists/sid/contrib/source/Sources";
+       Contents "dists/sid/Contents-i386";
+}
+
+// This is the same for the non-free section
+BinDirectory "pool/non-free" {
+       Packages "dists/sid/non-free/binary-i386/Packages";
+       SrcPackages "dists/sid/non-free/source/Sources";
+       Contents "dists/sid/Contents-i386";
+};
+
+// By default all Packages should have the extension ".deb"
+Default {
+       Packages {
+               Extensions ".deb";
+       };
+};