X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=update-archive%2Fapt-ftparchive.conf.in;h=f5fa5e995f9526169e0f537ad103858f03d2001e;hb=415a7b3518c55816ce7e8be5da5c7593d8333abb;hp=2042d57e395c99e845fb7fbceddc3bb87e45e78e;hpb=4899d5ff358df3d3a668e3439b834b8800e97ae5;p=git-tools-moved-to-github.git diff --git a/update-archive/apt-ftparchive.conf.in b/update-archive/apt-ftparchive.conf.in index 2042d57..f5fa5e9 100644 --- a/update-archive/apt-ftparchive.conf.in +++ b/update-archive/apt-ftparchive.conf.in @@ -1,11 +1,12 @@ -// $Id: apt-ftparchive.conf.in,v 1.1.1.1 2006-06-15 11:53:00 adam Exp $ +// $Id: apt-ftparchive.conf.in,v 1.2 2008-10-20 10:24:15 adam Exp $ // This config is for us 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 "."; + OverrideDir "."; + CacheDir "tmp"; }; // Create Packages, Packages.gz and Packages.bz2, remove what you don't need @@ -19,16 +20,29 @@ Default { // ./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/@dist@" { - Packages "dists/@dist@/main/binary-i386/Packages"; - Sources "dists/@dist@/main/source/Sources"; - Contents "dists/@dist@/Contents-i386"; -} +// BinDirectory "pool/@dist@" { +// Packages "dists/@dist@/main/binary-i386/Packages"; +// Sources "dists/@dist@/main/source/Sources"; +// Contents "dists/@dist@/Contents-i386"; +// }; -// By default all Packages should have the extension ".deb" -Default { - Packages { - Extensions ".deb"; - }; +TreeDefault { + Directory "pool/$(DIST)/$(SECTION)/$(ARCH)"; + SrcDirectory "pool/$(DIST)/$(SECTION)/source"; + Packages "$(DIST)/$(SECTION)/binary-$(ARCH)/Packages"; + Sources "$(DIST)/$(SECTION)/source/Sources"; + Contents "$(DIST)/Contents-$(ARCH)"; }; +Tree "dists/@dist@" { + Sections "@sections@"; + Architectures "source @architectures@"; + SrcOverride "override"; +}; +// By default all Packages should have the extension ".deb" +//Default { +// Packages { +// Extensions ".deb"; +// }; +//}; +