| 1 | Note: This page still needs a bit more information, but is a good start. It also should be formatted better. |
| 2 | |
| 3 | In order to package Tahoe for inclusion into Ubuntu, you'll need a few things: |
| 4 | |
| 5 | 1. The released zipfile (why do we use zip files?) for the Tahoe version you're updating to. |
| 6 | 2. The existing package in Ubuntu. A simple `apt-get source tahoe-lafs` should do the trick. |
| 7 | |
| 8 | Once you have those things, here's what you need to do: |
| 9 | |
| 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. |
| 14 | 5. `dch -v <new-version>-0ubuntu1` |
| 15 | 6. Edit the changelog with the things that have been changed. |
| 16 | 7. After everything is all hunky dory, run `debuild -S -sa -k<gpg-key-id>` |
| 17 | 8. 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. |