X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=developers-reference.git;a=blobdiff_plain;f=resources.dbk;h=1ff6c940082df90ba64d48ac4f13a48a53e918ea;hp=936bef2a0be55b8c3ce855d71a3da6223a61e571;hb=f5e816ccb9b3f7134c12b82c3388b586e29c7676;hpb=af43b0c1cfb4cf5b37332212429aef34e914d2db diff --git a/resources.dbk b/resources.dbk index 936bef2..1ff6c94 100644 --- a/resources.dbk +++ b/resources.dbk @@ -571,20 +571,33 @@ There are two types of Debian packages, namely source and binary packages. -Source packages consist of either two or three files: a -.dsc file, and either a .tar.gz file -or both an .orig.tar.gz and a -.diff.gz file. - - -If a package is developed specially for Debian and is not distributed outside -of Debian, there is just one .tar.gz file which contains -the sources of the program. If a package is distributed elsewhere too, the -.orig.tar.gz file stores the so-called upstream -source code, that is the source code that's distributed by the -upstream maintainer (often the author of the software). -In this case, the .diff.gz contains the changes made by -the Debian maintainer. +Depending on the format of the source package, it will consist +of one or more files in addition to the mandatory .dsc +file: + +with format “1.0”, it has either a .tar.gz +file or both an .orig.tar.gz and a +.diff.gz file; +with format “3.0 (quilt)”, it has a mandatory +.orig.tar.{gz,bz2,lzma} upstream tarball, +muliple optional .orig-component.tar.{gz,bz2,lzma} additional upstream tarballs and a +mandatory debian.tar.{gz,bz2,lzma} debian tarball; +with format “3.0 (native)”, it has only +a single .tar.{gz,bz2,lzma} tarball. + + + +If a package is developed specially for Debian and is not distributed +outside of Debian, there is just one +.tar.{gz,bz2,lzma} file which contains the sources of +the program, it's called a “native” source package. If a package is +distributed elsewhere too, the +.orig.tar.{gz,bz2,lzma} file stores the so-called +upstream source code, that is the source code that's +distributed by the upstream maintainer (often the +author of the software). In this case, the .diff.gz +or the debian.tar.{gz,bz2,lzma} contains the changes +made by the Debian maintainer. The .dsc file lists all the files in the source package