X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=update-archive%2Fapt-ftparchive.conf.in;fp=update-archive%2Fapt-ftparchive.conf.in;h=c78c35ccc6b0c15eafbe43b13fe886d6728c8c31;hb=38c9a76a8fd76a6303df4c31f37c32ae88da8502;hp=f5fa5e995f9526169e0f537ad103858f03d2001e;hpb=835ad6324111fc68d2196a0b39b3861592a655f9;p=git-tools-moved-to-github.git diff --git a/update-archive/apt-ftparchive.conf.in b/update-archive/apt-ftparchive.conf.in index f5fa5e9..c78c35c 100644 --- a/update-archive/apt-ftparchive.conf.in +++ b/update-archive/apt-ftparchive.conf.in @@ -1,31 +1,26 @@ -// $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 +APT::FTPArchive::Release { + Origin "Index Data"; + Label "Index Data"; + Suite "@dist@"; + Codename "@dist@"; + Architectures "@architectures@"; + Components "@sections@"; + Description "Index Data Debian packages"; +} -// The debian archive should be in the current working dir Dir { ArchiveDir "."; OverrideDir "."; CacheDir "tmp"; }; -// Create Packages, Packages.gz and Packages.bz2, remove what you don't need Default { + Packages::Extensions ".deb"; 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/@dist@" { -// Packages "dists/@dist@/main/binary-i386/Packages"; -// Sources "dists/@dist@/main/source/Sources"; -// Contents "dists/@dist@/Contents-i386"; -// }; - TreeDefault { Directory "pool/$(DIST)/$(SECTION)/$(ARCH)"; SrcDirectory "pool/$(DIST)/$(SECTION)/source"; @@ -39,10 +34,4 @@ Tree "dists/@dist@" { Architectures "source @architectures@"; SrcOverride "override"; }; -// By default all Packages should have the extension ".deb" -//Default { -// Packages { -// Extensions ".deb"; -// }; -//};