/[ddp]/manuals/trunk/developers-reference/pkgs.dbk
ViewVC logotype

Diff of /manuals/trunk/developers-reference/pkgs.dbk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5795 by lucas, Thu Jan 22 23:30:41 2009 UTC revision 7071 by hertzog, Sun Feb 14 17:46:38 2010 UTC
# Line 37  Please send a copy to &email-debian-deve Line 37  Please send a copy to &email-debian-deve
37  header (don't use CC:, because that way the message's subject won't  header (don't use CC:, because that way the message's subject won't
38  indicate the bug number). If you are packaging so many new packages (>10)  indicate the bug number). If you are packaging so many new packages (>10)
39  that notifying the mailing list in seperate messages is too disruptive,  that notifying the mailing list in seperate messages is too disruptive,
40  do send a summary after filing the bugs to the debian-devel list instead.  send a summary after filing the bugs to the debian-devel list instead.
41  This will inform the other developers about upcoming packages and will  This will inform the other developers about upcoming packages and will
42  allow a review of your description and package name.  allow a review of your description and package name.
43  </para>  </para>
44  <para>  <para>
45  Please include a <literal>Closes:  Please include a <literal>Closes: #<replaceable>nnnnn</replaceable></literal>
46  bug#<replaceable>nnnnn</replaceable></literal> entry in the changelog of the  entry in the changelog of the new package in order for the bug report to
47  new package in order for the bug report to be automatically closed once the new  be automatically closed once the new package is installed in the archive
48  package is installed in the archive (see <xref linkend="upload-bugfix"/> ).  (see <xref linkend="upload-bugfix"/>).
49    </para>
50    <para>
51    If you think your package needs some explanations for the administrators of the
52    NEW package queue, include them in your changelog, send to ftpmaster@debian.org
53    a reply to the email you receive as a maintainer after your upload, or reply to
54    the rejection email in case you are already re-uploading.
55  </para>  </para>
56  <para>  <para>
57  When closing security bugs include CVE numbers as well as the Closes: #nnnnn.  When closing security bugs include CVE numbers as well as the Closes: #nnnnn.
# Line 217  distinction between the original sources Line 223  distinction between the original sources
223  <listitem>  <listitem>
224  <para>  <para>
225  the (more common) packages where there's an original source tarball file  the (more common) packages where there's an original source tarball file
226  accompanied by another file that contains the patches applied for Debian  accompanied by another file that contains the changes made by Debian
227  </para>  </para>
228  </listitem>  </listitem>
229  </itemizedlist>  </itemizedlist>
230  <para>  <para>
231  For the native packages, the source package includes a Debian source control  For the native packages, the source package includes a Debian source control
232  file (<literal>.dsc</literal>) and the source tarball  file (<literal>.dsc</literal>) and the source tarball
233  (<literal>.tar.gz</literal>).  A source package of a non-native package  (<literal>.tar.{gz,bz2,lzma}</literal>). A source package of a non-native package
234  includes a Debian source control file, the original source tarball  includes a Debian source control file, the original source tarball
235  (<literal>.orig.tar.gz</literal>) and the Debian patches  (<literal>.orig.tar.{gz,bz2,lzma}</literal>) and the Debian changes
236  (<literal>.diff.gz</literal>).  (<literal>.diff.gz</literal> for the source format “1.0” or
237    <literal>.debian.tar.{gz,bz2,lzma}</literal> for the source format “3.0 (quilt)”).
238  </para>  </para>
239  <para>  <para>
240  Whether a package is native or not is determined when it is built by  With source format “1.0”, whether a package is native or not was determined
241  <citerefentry> <refentrytitle>dpkg-buildpackage</refentrytitle>  by <command>dpkg-source</command> at build time. Nowadays it is recommended
242  <manvolnum>1</manvolnum> </citerefentry>.  The rest of this section relates  to be explicit about the desired source format by putting either “3.0 (quilt)”
243  only to non-native packages.  or “3.0 (native)” in <filename>debian/source/format</filename>.
244    The rest of this section relates only to non-native packages.
245  </para>  </para>
246  <para>  <para>
247  The first time a version is uploaded which corresponds to a particular upstream  The first time a version is uploaded which corresponds to a particular upstream
# Line 245  will not need to be re-uploaded. Line 253  will not need to be re-uploaded.
253  <para>  <para>
254  By default, <command>dpkg-genchanges</command> and  By default, <command>dpkg-genchanges</command> and
255  <command>dpkg-buildpackage</command> will include the original source tar file  <command>dpkg-buildpackage</command> will include the original source tar file
256  if and only if the Debian revision part of the source version number is 0 or 1,  if and only if the current changelog entry has a different upstream version
257  indicating a new upstream version.  This behavior may be modified by using  from the preceding entry. This behavior may be modified by using
258  <literal>-sa</literal> to always include it or <literal>-sd</literal> to always  <literal>-sa</literal> to always include it or <literal>-sd</literal> to always
259  leave it out.  leave it out.
260  </para>  </para>
# Line 259  the archive. Line 267  the archive.
267  </para>  </para>
268  <para>  <para>
269  Please notice that, in non-native packages, permissions on files that are not  Please notice that, in non-native packages, permissions on files that are not
270  present in the .orig.tar.gz will not be preserved, as diff does not store file  present in the .orig.tar.{gz,bz2} will not be preserved, as diff does not store file
271  permissions in the patch.  permissions in the patch. However when using source format “3.0 (quilt)”,
272    permissions of files inside the <filename>debian</filename> directory are
273    preserved since they are stored in a tar archive.
274  </para>  </para>
275  </section>  </section>
276    
# Line 291  time. Line 301  time.
301  <title>Special case: uploads to the <literal>stable</literal> and  <title>Special case: uploads to the <literal>stable</literal> and
302  <literal>oldstable</literal> distributions</title>  <literal>oldstable</literal> distributions</title>
303  <para>  <para>
304  Uploading to <literal>stable</literal> means that the package will transfered  Uploading to <literal>stable</literal> means that the package will transferred
305  to the <literal>proposed-updates-new</literal> queue for review by the stable  to the <literal>proposed-updates-new</literal> queue for review by the stable
306  release managers, and if approved will be installed in  release managers, and if approved will be installed in
307  <filename>stable-proposed-updates</filename> directory of the Debian archive.  <filename>stable-proposed-updates</filename> directory of the Debian archive.
# Line 376  section</link> for details. Line 386  section</link> for details.
386  <title>Uploading to <literal>ftp-master</literal></title>  <title>Uploading to <literal>ftp-master</literal></title>
387  <para>  <para>
388  To upload a package, you should upload the files (including the signed changes  To upload a package, you should upload the files (including the signed changes
389  and dsc-file) with anonymous ftp to <literal>&ftp-master-host;</literal> in  and dsc-file) with anonymous ftp to <literal>&ftp-upload-host;</literal> in
390  the directory <ulink  the directory <ulink
391  url="ftp://&ftp-master-host;&upload-queue;">&upload-queue;</ulink>.  url="ftp://&ftp-upload-host;&upload-queue;">&upload-queue;</ulink>.
392  To get the files processed there, they need to be signed with a key in the  To get the files processed there, they need to be signed with a key in the
393  Debian Developers keyring or the Debian Maintainers keyring  Debian Developers keyring or the Debian Maintainers keyring
394  (see <ulink url="&url-wiki-dm;"></ulink>).  (see <ulink url="&url-wiki-dm;"></ulink>).
# Line 394  linkend="dput"/> useful when uploading p Line 404  linkend="dput"/> useful when uploading p
404  automate the process of uploading packages into Debian.  automate the process of uploading packages into Debian.
405  </para>  </para>
406  <para>  <para>
407  For removing packages, please see the README file in that ftp directory, and  For removing packages, please see
408    <ulink url="ftp://&ftp-upload-host;&upload-queue;/README"/> and
409  the Debian package <xref linkend="dcut"/> .  the Debian package <xref linkend="dcut"/> .
410  </para>  </para>
411  </section>  </section>
# Line 416  the deferred uploads queue"</ulink>. Line 427  the deferred uploads queue"</ulink>.
427  When the specified waiting time is over, the package is moved into  When the specified waiting time is over, the package is moved into
428  the regular incoming directory for processing.  the regular incoming directory for processing.
429  This is done through automatic uploading to  This is done through automatic uploading to
430  <literal>&ftp-master-host;</literal> in upload-directory  <literal>&ftp-upload-host;</literal> in upload-directory
431  <literal>DELAYED/[012345678]-day</literal>. 0-day is uploaded  <literal>DELAYED/[012345678]-day</literal>. 0-day is uploaded
432  multiple times per day to <literal>&ftp-master-host;</literal>.  multiple times per day to <literal>&ftp-upload-host;</literal>.
433  </para>  </para>
434  <para>  <para>
435  With dput, you can use the <literal>--delayed <replaceable>DELAY</replaceable></literal>  With dput, you can use the <literal>--delayed <replaceable>DELAY</replaceable></literal>
# Line 441  see section <xref linkend="bug-security" Line 452  see section <xref linkend="bug-security"
452  <section id="s5.6.5">  <section id="s5.6.5">
453  <title>Other upload queues</title>  <title>Other upload queues</title>
454  <para>  <para>
455  The scp queues on <literal>&ftp-master-host;</literal>, and <literal>  There is an alternative upload queue in Europe at <ulink
456  security.debian.org</literal> are mostly unusable due to the login restrictions  url="ftp://&ftp-eu-upload-host;&upload-queue;"/>. It operates in
457  on those hosts.  the same way as <literal>&ftp-upload-host;</literal>, but should be faster
458  </para>  for European developers.
 <para>  
 The anonymous queues on ftp.uni-erlangen.de and ftp.uk.debian.org are currently  
 down.  Work is underway to resurrect them.  
459  </para>  </para>
460  <para>  <para>
461  The queues on master.debian.org, samosa.debian.org, master.debian.or.jp, and  Packages can also be uploaded via ssh to
462  ftp.chiark.greenend.org.uk are down permanently, and will not be resurrected.  <literal>&ssh-upload-host;</literal>; files should be put
463  The queue in Japan will be replaced with a new queue on hp.debian.or.jp some  <literal>/srv/upload.debian.org/UploadQueue</literal>. This queue does
464  day.  not support <xref linkend="delayed-incoming">delayed uploads</xref>.
465  </para>  </para>
466  </section>  </section>
467    
# Line 511  file</literal>. Line 519  file</literal>.
519  <para>  <para>
520  To alter the actual section that a package is put in, you need to first make  To alter the actual section that a package is put in, you need to first make
521  sure that the <filename>debian/control</filename> file in your package is  sure that the <filename>debian/control</filename> file in your package is
522  accurate.  Next, send an email &email-override; or submit a  accurate.  Next, submit a
523  bug against <systemitem role="package">ftp.debian.org</systemitem> requesting  bug against <systemitem role="package">ftp.debian.org</systemitem> requesting
524  that the section or priority for your package be changed from the old section  that the section or priority for your package be changed from the old section
525  or priority to the new one.  Be sure to explain your reasoning.  or priority to the new one. Use a Subject like
526    <literal>override: PACKAGE1:section/priority, [...],
527      PACKAGEX:section/priority</literal>, and include the justification for the
528    change in the body of the bug report.
529  </para>  </para>
530  <para>  <para>
531  For more information about <literal>override files</literal>, see  For more information about <literal>override files</literal>, see
# Line 827  outstanding security problems, helping m Line 838  outstanding security problems, helping m
838  fixing them themselves, sending security advisories, and maintaining  fixing them themselves, sending security advisories, and maintaining
839  <literal>security.debian.org</literal>.  <literal>security.debian.org</literal>.
840  </para>  </para>
 <!-- information about the security database goes here once it's ready -->  
 <!-- (mdz) -->  
841  <para>  <para>
842  When you become aware of a security-related bug in a Debian package, whether or  When you become aware of a security-related bug in a Debian package, whether or
843  not you are the maintainer, collect pertinent information about the problem,  not you are the maintainer, collect pertinent information about the problem,
844  and promptly contact the security team at  and promptly contact the security team at
845  &email-security-team; as soon as possible.  <emphasis  &email-security-team; as soon as possible.  <emphasis
846  role="strong">DO NOT UPLOAD</emphasis> any packages for <literal>stable</literal>;  role="strong">DO NOT UPLOAD</emphasis> any packages for <literal>stable</literal>
847   the security team will do that.  Useful information includes, for example:  without contacting the team.  Useful information includes, for example:
848  </para>  </para>
849  <itemizedlist>  <itemizedlist>
850  <listitem>  <listitem>
# Line 870  linkend="bug-security-advisories"/> ) Line 879  linkend="bug-security-advisories"/> )
879  </para>  </para>
880  </listitem>  </listitem>
881  </itemizedlist>  </itemizedlist>
882    <para>As the maintainer of the package, you have the responsibility to
883    maintain it, even in the stable release. You are in the best position
884    to evaluate patches and test updated packages, so please see the sections
885    below on how to prepare packages for the Security Team to handle.</para>
886    
887    <section id="bug-security-tracker">
888    <title>The Security Tracker</title>
889    <para>
890    The security team maintains a central database, the
891    <ulink url="http://security-tracker.debian.org/">Debian Security Tracker</ulink>.
892    This contains all public information that is known about security issues:
893    which packages and versions are affected or fixed, and thus whether stable,
894    testing and/or unstable are vulnerable. Information that is still confidential
895    is not added to the tracker.
896    </para>
897    <para>
898    You can search it for a specific issue, but also on package name. Look
899    for your package to see which issues are still open. If you can, please provide
900    more information about those issues, or help to address them in your package.
901    Instructions are on the tracker web pages.
902    </para>
903    </section>
904    
905  <section id="bug-security-confidentiality">  <section id="bug-security-confidentiality">
906  <title>Confidentiality</title>  <title>Confidentiality</title>
907  <para>  <para>
# Line 939  There are two reasons for releasing info Line 971  There are two reasons for releasing info
971  requested: the problem has been known for a while, or the problem or exploit  requested: the problem has been known for a while, or the problem or exploit
972  has become public.  has become public.
973  </para>  </para>
974    <para>
975    The Security Team has a PGP-key to enable encrypted communication about
976    sensitive issues. See the <ulink url="http://www.debian.org/security/faq#contact">Security Team FAQ</ulink> for details.
977    </para>
978  </section>  </section>
979    
980  <section id="bug-security-advisories">  <section id="bug-security-advisories">
# Line 1075  Be sure to verify the following items: Line 1111  Be sure to verify the following items:
1111  <itemizedlist>  <itemizedlist>
1112  <listitem>  <listitem>
1113  <para>  <para>
1114  Target the right distribution in your <filename>debian/changelog</filename>.  <emphasis role="strong">Target the right distribution</emphasis>
1115    in your <filename>debian/changelog</filename>.
1116  For <literal>stable</literal> this is <literal>stable-security</literal> and  For <literal>stable</literal> this is <literal>stable-security</literal> and
1117  for testing this is <literal>testing-security</literal>, and for the previous  for <literal>testing</literal> this is <literal>testing-security</literal>, and for the previous
1118  stable release, this is <literal>oldstable-security</literal>.  Do not target  stable release, this is <literal>oldstable-security</literal>.  Do not target
1119  <replaceable>distribution</replaceable><literal>-proposed-updates</literal> or  <replaceable>distribution</replaceable><literal>-proposed-updates</literal> or
1120  <literal>stable</literal>!  <literal>stable</literal>!
# Line 1085  stable release, this is <literal>oldstab Line 1122  stable release, this is <literal>oldstab
1122  </listitem>  </listitem>
1123  <listitem>  <listitem>
1124  <para>  <para>
1125  The upload should have urgency=high.  The upload should have <emphasis role="strong">urgency=high</emphasis>.
1126  </para>  </para>
1127  </listitem>  </listitem>
1128  <listitem>  <listitem>
1129  <para>  <para>
1130  Make descriptive, meaningful changelog entries.  Others will rely on them to  Make descriptive, meaningful changelog entries.  Others will rely on them to
1131  determine whether a particular bug was fixed.  Always include an external  determine whether a particular bug was fixed.  Add <literal>closes:</literal>
1132  reference, preferably a CVE identifier, so that it can be cross-referenced.  statements for any <emphasis role="strong">Debian bugs</emphasis> filed.
1133  Include the same information in the changelog for <literal>unstable</literal>,  Always include an external reference, preferably a <emphasis role="strong">CVE
1134  so that it is clear  identifier</emphasis>, so that it can be cross-referenced. However, if a CVE
1135  that the same bug was fixed, as this is very helpful when verifying that the  identifier has not yet been assigned, do not wait for it but continue the
1136  bug is fixed in the next stable release.  If a CVE identifier has not yet been  process. The identifier can be cross-referenced later.
 assigned, the security team will request one so that it can be included in the  
 package and in the advisory.  
 </para>  
 </listitem>  
 <listitem>  
 <para>  
 Make sure the version number is proper.  It must be greater than the current  
 package, but less than package versions in later distributions.  If in doubt,  
 test it with <literal>dpkg --compare-versions</literal>.  Be careful not to  
 re-use a version number that you have already used for a previous upload.  For  
 <literal>testing</literal>, there must be a higher version in  
 <literal>unstable</literal>.  If there is none yet (for example, if  
 <literal>testing</literal> and <literal>unstable</literal> have the same  
 version) you must upload a new version to <literal>unstable</literal> first.  
1137  </para>  </para>
1138  </listitem>  </listitem>
1139  <listitem>  <listitem>
1140  <para>  <para>
1141  Do not make source-only uploads if your package has any binary-all packages (do  Make sure the <emphasis role="strong">version number</emphasis> is proper.
1142  not use the <literal>-S</literal> option to  It must be greater than the current package, but less than package versions in
1143  <command>dpkg-buildpackage</command>).  The <command>buildd</command>  later distributions.  If in doubt, test it with <literal>dpkg
1144  infrastructure will not build those.  This point applies to normal package  --compare-versions</literal>.  Be careful not to re-use a version number that
1145  uploads as well.  you have already used for a previous upload, or one that conflicts with a
1146    binNMU. The convention is to append
1147    <literal>+</literal><replaceable>codename</replaceable><literal>1</literal>, e.g.
1148    <literal>1:2.4.3-4+etch1</literal>, of course increasing 1 for any subsequent
1149    uploads.
1150  </para>  </para>
1151  </listitem>  </listitem>
1152  <listitem>  <listitem>
1153  <para>  <para>
1154  Unless the upstream source has been uploaded to <literal>security.debian.org  Unless the upstream source has been uploaded to <literal>security.debian.org
1155  </literal> before (by a previous security update), build the upload with full  </literal> before (by a previous security update), build the upload <emphasis
1156  upstream source (<literal>dpkg-buildpackage -sa</literal>).  If there has been  role="strong">with full upstream source</emphasis> (<literal>dpkg-buildpackage
1157  a previous upload to <literal>security.debian.org</literal> with the same  -sa</literal>).  If there has been a previous upload to
1158  upstream version, you may upload without upstream source (<literal>  <literal>security.debian.org</literal> with the same upstream version, you may
1159  dpkg-buildpackage -sd</literal>).  upload without upstream source (<literal> dpkg-buildpackage -sd</literal>).
1160  </para>  </para>
1161  </listitem>  </listitem>
1162  <listitem>  <listitem>
1163  <para>  <para>
1164  Be sure to use the exact same <filename>*.orig.tar.gz</filename> as used in the  Be sure to use the <emphasis role="strong">exact same
1165    <filename>*.orig.tar.{gz,bz2}</filename></emphasis> as used in the
1166  normal archive, otherwise it is not possible to move the security fix into the  normal archive, otherwise it is not possible to move the security fix into the
1167  main archives later.  main archives later.
1168  </para>  </para>
1169  </listitem>  </listitem>
1170  <listitem>  <listitem>
1171  <para>  <para>
1172  Build the package on a clean system which only has packages installed from the  Build the package on a <emphasis role="strong">clean system</emphasis> which only
1173  distribution you are building for.  If you do not have such a system yourself,  has packages installed from the distribution you are building for. If you do not
1174  you can use a debian.org machine (see <xref linkend="server-machines"/> ) or  have such a system yourself, you can use a debian.org machine (see
1175  setup a chroot (see <xref linkend="pbuilder"/> and <xref  <xref linkend="server-machines"/> ) or setup a chroot (see
1176  linkend="debootstrap"/> ).  <xref linkend="pbuilder"/> and <xref linkend="debootstrap"/> ).
1177  </para>  </para>
1178  </listitem>  </listitem>
1179  </itemizedlist>  </itemizedlist>
# Line 1178  archives.  For security uploads, the pla Line 1206  archives.  For security uploads, the pla
1206  </para>  </para>
1207  <para>  <para>
1208  Once an upload to the security queue has been accepted, the package will  Once an upload to the security queue has been accepted, the package will
1209  automatically be rebuilt for all architectures and stored for verification by  automatically be built for all architectures and stored for verification by
1210  the security team.  the security team.
1211  </para>  </para>
1212  <para>  <para>
# Line 1220  control information to place the package Line 1248  control information to place the package
1248  the package (see the <ulink  the package (see the <ulink
1249  url="&url-debian-policy;">Debian Policy Manual</ulink> for  url="&url-debian-policy;">Debian Policy Manual</ulink> for
1250  details).  You must ensure that you include the  details).  You must ensure that you include the
1251  <filename>.orig.tar.gz</filename> in your upload (even if you are not uploading  <filename>.orig.tar.{gz,bz2}</filename> in your upload (even if you are not uploading
1252  a new upstream version), or it will not appear in the new section together with  a new upstream version), or it will not appear in the new section together with
1253  the rest of the package.  If your new section is valid, it will be moved  the rest of the package.  If your new section is valid, it will be moved
1254  automatically.  If it does not, then contact the ftpmasters in order to  automatically.  If it does not, then contact the ftpmasters in order to
# Line 1321  should either be reassigned to another p Line 1349  should either be reassigned to another p
1349  code has evolved into another package (e.g.  <literal>libfoo12</literal> was  code has evolved into another package (e.g.  <literal>libfoo12</literal> was
1350  removed because <literal>libfoo13</literal> supersedes it) or closed if the  removed because <literal>libfoo13</literal> supersedes it) or closed if the
1351  software is simply no longer part of Debian.  software is simply no longer part of Debian.
1352    When closing the bugs,
1353    to avoid marking the bugs as fixed in versions of the packages
1354    in previous Debian releases, they should be marked as fixed
1355    in the version <literal>&lt;most-recent-version-ever-in-Debian&gt;+rm</literal>.
1356  </para>  </para>
1357  <section id="s5.9.2.1">  <section id="s5.9.2.1">
1358  <title>Removing packages from <filename>Incoming</filename></title>  <title>Removing packages from <filename>Incoming</filename></title>
# Line 1365  Note that this applies to each part of y Line 1397  Note that this applies to each part of y
1397  you wish to replace the upstream source tarball of your package, you will need  you wish to replace the upstream source tarball of your package, you will need
1398  to upload it with a different version.  An easy possibility is to replace  to upload it with a different version.  An easy possibility is to replace
1399  <filename>foo_1.00.orig.tar.gz</filename> with  <filename>foo_1.00.orig.tar.gz</filename> with
1400  <filename>foo_1.00+0.orig.tar.gz</filename>.  This restriction gives each file  <filename>foo_1.00+0.orig.tar.gz</filename> or
1401  on the ftp site a unique name, which helps to ensure consistency across the  <filename>foo_1.00.orig.tar.bz2</filename>.  This restriction gives each
1402  mirror network.  file on the ftp site a unique name, which helps to ensure consistency
1403    across the mirror network.
1404  </para>  </para>
1405  </section>  </section>
1406    
# Line 1764  flavor of Debian built with <command>gcc Line 1797  flavor of Debian built with <command>gcc
1797  also enable Debian to recompile entire distributions quickly.  also enable Debian to recompile entire distributions quickly.
1798  </para>  </para>
1799  <para>  <para>
1800  The buildds admins of each arch can be contacted at the mail address  The wanna-build team, in charge of the buildds,
1801  <literal><replaceable>arch</replaceable>@buildd.debian.org</literal>.  can be reached at <literal>debian-wb-team@lists.debian.org</literal>.
1802    To determine who (wanna-build team, release team) and how (mail, BTS)
1803    to contact, refer to <ulink url="&url-wb-team;"></ulink>.
1804    </para>
1805    
1806    <para>
1807    When requesting binNMUs or give-backs (retries after a failed build),
1808    please use the format described at <ulink url="&url-release-wb;"/>.
1809  </para>  </para>
1810    
1811  </section>  </section>
1812    
1813  </section>  </section>
# Line 1806  fail also, and indicate this to a human Line 1847  fail also, and indicate this to a human
1847  In order to prevent autobuilders from needlessly trying to build your package,  In order to prevent autobuilders from needlessly trying to build your package,
1848  it must be included in <filename>packages-arch-specific</filename>, a list used  it must be included in <filename>packages-arch-specific</filename>, a list used
1849  by the <command>wanna-build</command> script.  The current version is available  by the <command>wanna-build</command> script.  The current version is available
1850  as <ulink  as <ulink url="&url-buildd-p-a-s;"/>;
 url="&url-cvsweb;srcdep/Packages-arch-specific?cvsroot=dak"></ulink>;  
1851  please see the top of the file for whom to contact for changes.  please see the top of the file for whom to contact for changes.
1852  </para>  </para>
1853  </listitem>  </listitem>
# Line 1966  upload.  The first line of this entry mu Line 2006  upload.  The first line of this entry mu
2006  </screen>  </screen>
2007    
2008  <para>  <para>
2009  The version must be the version of the last maintainer upload, plus  The way to version NMUs differs for native and non-native packages.
2010    </para>
2011    <para>
2012    If the package is a native package (without a debian revision in the version number),
2013    the version must be the version of the last maintainer upload, plus
2014  <literal>+nmu<replaceable>X</replaceable></literal>, where  <literal>+nmu<replaceable>X</replaceable></literal>, where
2015  <replaceable>X</replaceable> is a counter starting at <literal>1</literal>.  If  <replaceable>X</replaceable> is a counter starting at <literal>1</literal>.
2016    If
2017  the last upload was also an NMU, the counter should be increased.  For example,  the last upload was also an NMU, the counter should be increased.  For example,
2018  if the current version is <literal>1.5-1</literal>, then an NMU would get  if the current version is <literal>1.5</literal>, then an NMU would get
2019  version <literal>1.5-1+nmu1</literal>.  If the current version is  version <literal>1.5+nmu1</literal>.
2020  <literal>1.5+nmu3</literal> (a native package which has already been NMUed), the  </para>
2021  NMU would get version <literal>1.5+nmu4</literal>.  If a new upstream version  <para>
2022    If the package is a not a native package, you should add a minor version number
2023    to the debian revision part of the version number (the portion after the last
2024    hyphen). This extra number must start at 1.  For example,
2025    if the current version is <literal>1.5-2</literal>, then an NMU would get
2026    version <literal>1.5-2.1</literal>. If a new upstream version
2027  is packaged in the NMU, the debian revision is set to <literal>0</literal>, for  is packaged in the NMU, the debian revision is set to <literal>0</literal>, for
2028  example <literal>1.6-0+nmu1</literal>.  example <literal>1.6-0.1</literal>.
2029    </para>
2030    <para>
2031    In both cases, if the last upload was also an NMU, the counter should
2032    be increased. For example, if the current version is
2033    <literal>1.5+nmu3</literal> (a native package which has already been
2034    NMUed), the NMU would get version <literal>1.5+nmu4</literal>.  .
2035  </para>  </para>
   
2036  <para>  <para>
2037  A special versioning scheme is needed to avoid disrupting the maintainer's  A special versioning scheme is needed to avoid disrupting the maintainer's
2038  work, since using an integer for the Debian revision will potentially  work, since using an integer for the Debian revision will potentially

Legend:
Removed from v.5795  
changed lines
  Added in v.7071

  ViewVC Help
Powered by ViewVC 1.1.5