Version 1 (modified by rockstar, at 2010-08-11T18:26:22Z) (diff) |
---|
Note: This page still needs a bit more information, but is a good start. It also should be formatted better.
In order to package Tahoe for inclusion into Ubuntu, you'll need a few things:
- The released zipfile (why do we use zip files?) for the Tahoe version you're updating to.
- The existing package in Ubuntu. A simple apt-get source tahoe-lafs should do the trick.
Once you have those things, here's what you need to do:
- Unpack the zipfile.
- 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...
- Copy the debian/ folder from the existing package into the allmydata... folder
- Change into the allmydata... folder.
- dch -v <new-version>-0ubuntu1
- Edit the changelog with the things that have been changed.
- After everything is all hunky dory, run debuild -S -sa -k<gpg-key-id>
- This should build you a nice package. The .dsc, .orig.tar.gz, .debian.tar.gz, and .changes files all need to be sent to a package sponsor.