From 9e65e3f6f8eab10dd269022fccc83233660f279f Mon Sep 17 00:00:00 2001 From: davidsarah <> Date: Thu, 12 Aug 2010 00:22:02 +0000 Subject: [PATCH] start with the tarball, since that's more natural than starting with a .zip on Ubuntu [Imported from Trac: page UbuntuPackaging, version 2] --- UbuntuPackaging.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/UbuntuPackaging.md b/UbuntuPackaging.md index e56cee3..82aebd2 100644 --- a/UbuntuPackaging.md +++ b/UbuntuPackaging.md @@ -2,15 +2,15 @@ Note: This page still needs a bit more information, but is a good start. It als In order to package Tahoe for inclusion into Ubuntu, you'll need a few things: -1. The released zipfile (why do we use zip files?) for the Tahoe version you're updating to. +1. The released tarball (.tar.gz from the releases directory) for the Tahoe version you're updating to. 2. 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: -1. Unpack the zipfile. -2. Create a tarball of the folder created from the zipfile. The tarball has a strict naming convention, which would be tahoe-lafs-.orig.tar.gz. Create this with `tar cvzf tahoe-lafs-.orig.tar.gz allmydata...` -3. Copy the debian/ folder from the existing package into the allmydata... folder -4. Change into the allmydata... folder. +1. Unpack the tarball. +2. Create a new tarball named `allmydata-tahoe-.orig.tar.gz`, which is the same as the release tarball but with the `allmydata-tahoe-` directory at its root. Create this with `tar cvzf allmydata-tahoe-.orig.tar.gz allmydata...` +3. Copy the debian/ folder from the existing package into the `allmydata...` folder +4. Change into the `allmydata...` folder. 5. `dch -v -0ubuntu1` 6. Edit the changelog with the things that have been changed. 7. After everything is all hunky dory, run `debuild -S -sa -k`