Differences between revisions 3 and 4
Revision 3 as of 2008-02-02 00:19:17
Size: 758
Editor: PeMac
Comment:
Revision 4 as of 2008-02-02 00:23:52
Size: 1282
Editor: PeMac
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
'''Debian source control file – .dsc'''. This file contains a series of fields, identified and separated just like the fields in the control file of a binary package. The fields are listed below:

• Source
• Version
• Maintainer
• Binary
• Architecture
• Build-Depends et al. (source package interrelationships)
• Standards-Version
• Files

The source package control file is generated by dpkg-source when it builds the source archive.
Line 12: Line 25:
 *  * http://www.sylence.net/stuff/Debian_Packaging_Manual.pdf

Debian source control file – .dsc. This file contains a series of fields, identified and separated just like the fields in the control file of a binary package. The fields are listed below:

• Source • Version • Maintainer • Binary • Architecture • Build-Depends et al. (source package interrelationships) • Standards-Version • Files

The source package control file is generated by dpkg-source when it builds the source archive.

Sources are normally not installed. You can only install them if you know the package name. When installing the sources of a debian package, a package ending on .dsc (description) is downloaded along with an original ["tar ball"] and a debian specific ["diff"] (compressed). The .dsc will contain the name of the package, both, in its filename as well as content (after the Source: keyword).

To unpack a source package it is typically invoked with

["dpkg-source"] -x .../path/to/filename.dsc

with the filename.tar.gzand filename.diff.gz(if applicable) in the same directory. It unpacks into package-version, and if applicable package-version.orig, in the current directory.