From 4d95031ee588985e141e4c4d4c08fcbd3d3fa99f Mon Sep 17 00:00:00 2001 From: rockstar <> Date: Wed, 11 Aug 2010 18:26:22 +0000 Subject: [PATCH] [Imported from Trac: page UbuntuPackaging, version 1] --- UbuntuPackaging.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 UbuntuPackaging.md diff --git a/UbuntuPackaging.md b/UbuntuPackaging.md new file mode 100644 index 0000000..e56cee3 --- /dev/null +++ b/UbuntuPackaging.md @@ -0,0 +1,17 @@ +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: + +1. The released zipfile (why do we use zip files?) 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. +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` +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. \ No newline at end of file