Changes between Version 1 and Version 2 of UbuntuPackaging


Ignore:
Timestamp:
2010-08-12T00:22:02Z (14 years ago)
Author:
davidsarah
Comment:

start with the tarball, since that's more natural than starting with a .zip on Ubuntu

Legend:

Unmodified
Added
Removed
Modified
  • UbuntuPackaging

    v1 v2  
    33In order to package Tahoe for inclusion into Ubuntu, you'll need a few things:
    44
    5 1. The released zipfile (why do we use zip files?) for the Tahoe version you're updating to.
     51. The released tarball (.tar.gz from [http://tahoe-lafs.org/source/tahoe-lafs/releases/?C=M;O=D] the releases directory) for the Tahoe version you're updating to.
    662. The existing package in Ubuntu.  A simple `apt-get source tahoe-lafs` should do the trick.
    77
    88Once you have those things, here's what you need to do:
    99
    10 1. Unpack the zipfile.
    11 2. Create a tarball of the folder created from the zipfile.  The tarball has a strict naming convention, which would be tahoe-lafs-<version>.orig.tar.gz.  Create this with `tar cvzf tahoe-lafs-<version>.orig.tar.gz allmydata...`
    12 3. Copy the debian/ folder from the existing package into the allmydata... folder
    13 4. Change into the allmydata... folder.
     101. Unpack the tarball.
     112. Create a new tarball named `allmydata-tahoe-<version>.orig.tar.gz`, which is the same as the release tarball but with the `allmydata-tahoe-<version>` directory at its root. Create this with `tar cvzf allmydata-tahoe-<version>.orig.tar.gz allmydata...`
     123. Copy the debian/ folder from the existing package into the `allmydata...` folder
     134. Change into the `allmydata...` folder.
    14145. `dch -v <new-version>-0ubuntu1`
    15156. Edit the changelog with the things that have been changed.