Différences entre versions de « Backport dar »

De Cliss XXI
Sauter à la navigation Sauter à la recherche
imported>SylvainBeucler
m (better log message)
imported>SylvainBeucler
m
Ligne 9 : Ligne 9 :
  
 
Here's my final changelog entry:
 
Here's my final changelog entry:
  par2cmdline (0.4-6bpo1) sarge-backports; urgency=low
+
  par2cmdline (0.4-7~bpo.1) sarge-backports; urgency=low
 
   
 
   
 
   * Rebuild for Debian Backports <http://www.backports.org/>
 
   * Rebuild for Debian Backports <http://www.backports.org/>
Ligne 18 : Ligne 18 :
  
 
What did I do?
 
What did I do?
* Changed version according to bpo convention, (debian version - 1)bpo1, so 0.4-7 -> 0.4.6bpo1
+
* Changed version according to bpo convention, (debian version)~bpo.1, so:
* Changed distributino from <code>unstable</code> to <code>sarge-backports</code>
+
** the ''testing'' version was: 0.4-7
 +
** <code>dhc<code> proposes by default <code>-debian + 1</code>: 0.4-8
 +
** I use <code>-debian~bpo.1</code>: 0.4-7~bpo.1
 +
* Changed distribution from <code>unstable</code> to <code>sarge-backports</code>
 
* Added a terse explanation
 
* Added a terse explanation
 
* Replaced <code>root <root@sylvain></code> with a real e-mail address.
 
* Replaced <code>root <root@sylvain></code> with a real e-mail address.

Version du 14 septembre 2006 à 15:40

Backporting par2 is quite simple - you just need to recompile the Etch version in a Sarge environment. It's a nice occasion to cover the very basics.

You need to modify debian/changelog though. Enter the par2cmdline-0.4 directory, and type:

dch -i

If you want to use another editor, you can also:

EDITOR=emacs dch -i


Here's my final changelog entry:

par2cmdline (0.4-7~bpo.1) sarge-backports; urgency=low

  * Rebuild for Debian Backports <http://www.backports.org/>
    (new version fixes a crash in silent -qq mode)

 -- Sylvain Beucler <beuc@beuc.net>  Fri, 23 Jun 2006 13:30:34 +0000


What did I do?

  • Changed version according to bpo convention, (debian version)~bpo.1, so:
    • the testing version was: 0.4-7
    • dhc proposes by default -debian + 1: 0.4-8
    • I use -debian~bpo.1: 0.4-7~bpo.1
  • Changed distribution from unstable to sarge-backports
  • Added a terse explanation
  • Replaced root <root@sylvain> with a real e-mail address.


Then, in the par2cmdline-0.4 directory, start the compilation.

debuild -us -uc

Using the -sa debuild option: not necessary: by default, if the version ends with '0' or '1' (as 'bpo1' does), dpkg-buildpackage uses the existing source release (the .orig.tar.gz file must be present in the parent directory, though).