Differences between revisions 4 and 12 (spanning 8 versions)
Revision 4 as of 2008-02-02 00:23:52
Size: 1282
Editor: PeMac
Comment:
Revision 12 as of 2017-09-05 21:58:48
Size: 835
Editor: FranklinPiat
Comment: link to related tools manpages.
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: #language en
~-Translation(s): [[it/dsc|Italiano]] -~
= Debian source control files -- ".dsc" =
{{{#!wiki debian
[[http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-debiansourcecontrolfiles|http://www.debian.org/doc/debian-policy/]] - Debian Policy : Control files and their fields
}}}
Line 3: Line 8:
• Source
• Version
• Maintainer
• Binary
• Architecture
• Build-Depends et al. (source package interrelationships)
• Standards-Version
• Files
~+Debian source '''.dsc''' file describes a ''[[SourcePackage|source package]]''+~. This file contains a series of fields, identified and separated just like the fields in the control file of a binary package.
Line 12: Line 10:
The source package control file is generated by dpkg-source when it builds the source archive. This source package control file is generated by dpkg-source when it builds the source archive.
Line 14: Line 12:
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).
Line 16: Line 13:
To unpack a source package it is typically invoked with == related tools ==
 * [[DebianMan:dscverify|dscverify(1)]], [[DebianMan:dget|dget(1)]], [[DebianMan:dpkg-source|dpkg-source(1)]]
Line 18: Line 16:
["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.

== External links ==
 * http://www.debian.org/doc/maint-guide/
 * http://www.sylence.net/stuff/Debian_Packaging_Manual.pdf
== See also ==
 * http://www.debian.org/doc/maint-guide/ - Maintainer guide.

Translation(s): Italiano

Debian source control files -- ".dsc"

http://www.debian.org/doc/debian-policy/ - Debian Policy : Control files and their fields

Debian source .dsc file describes a source package. This file contains a series of fields, identified and separated just like the fields in the control file of a binary package.

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

See also