1 | Thu Mar 4 00:59:55 PST 2010 jacob@appelbaum.net |
---|
2 | * debian-docs-patch-final |
---|
3 | |
---|
4 | Thu Mar 4 16:30:04 PST 2010 jacob@appelbaum.net |
---|
5 | * Debian documentation update |
---|
6 | |
---|
7 | New patches: |
---|
8 | |
---|
9 | [debian-docs-patch-final |
---|
10 | jacob@appelbaum.net**20100304085955] { |
---|
11 | hunk ./docs/debian.txt 38 |
---|
12 | +We need to build a pyutil package: |
---|
13 | + |
---|
14 | + wget http://pypi.python.org/packages/source/p/pyutil/pyutil-1.6.1.tar.gz |
---|
15 | + tar -xvzf pyutil-1.6.1.tar.gz |
---|
16 | + cd pyutil-1.6.1/ |
---|
17 | + python setup.py --command-packages=stdeb.command sdist_dsc |
---|
18 | + cd deb_dist/pyutil-1.6.1/ |
---|
19 | + dpkg-buildpackage -rfakeroot -uc -us |
---|
20 | + sudo dpkg -i ../python-pyutil_1.6.1-1_all.deb |
---|
21 | + |
---|
22 | +We also need to install argparse and zbase32: |
---|
23 | + |
---|
24 | + easy_install argparse |
---|
25 | + easy_install zbase32 |
---|
26 | + |
---|
27 | hunk ./docs/debian.txt 55 |
---|
28 | - # You may not already have Brian's key: |
---|
29 | - # gpg --recv-key 0x1514A7BD |
---|
30 | - wget http://foolscap.lothar.com/releases/foolscap-0.5.0.tar.gz.asc |
---|
31 | - wget http://foolscap.lothar.com/releases/foolscap-0.5.0.tar.gz |
---|
32 | - gpg --verify foolscap-0.5.0.tar.gz.asc |
---|
33 | - tar -xvzf foolscap-0.5.0.tar.gz |
---|
34 | - cd foolscap-0.5.0/ |
---|
35 | - python setup.py --command-packages=stdeb.command sdist_dsc |
---|
36 | - cd deb_dist/foolscap-0.5.0/ |
---|
37 | - dpkg-buildpackage -rfakeroot -uc -us |
---|
38 | - sudo dpkg -i ../python-foolscap_0.5.0-1_all.deb |
---|
39 | + # You may not already have Brian's key: |
---|
40 | + # gpg --recv-key 0x1514A7BD |
---|
41 | + wget http://foolscap.lothar.com/releases/foolscap-0.5.0.tar.gz.asc |
---|
42 | + wget http://foolscap.lothar.com/releases/foolscap-0.5.0.tar.gz |
---|
43 | + gpg --verify foolscap-0.5.0.tar.gz.asc |
---|
44 | + tar -xvzf foolscap-0.5.0.tar.gz |
---|
45 | + cd foolscap-0.5.0/ |
---|
46 | + python setup.py --command-packages=stdeb.command sdist_dsc |
---|
47 | + cd deb_dist/foolscap-0.5.0/ |
---|
48 | + dpkg-buildpackage -rfakeroot -uc -us |
---|
49 | + sudo dpkg -i ../python-foolscap_0.5.0-1_all.deb |
---|
50 | } |
---|
51 | |
---|
52 | [Debian documentation update |
---|
53 | jacob@appelbaum.net**20100305003004] { |
---|
54 | hunk ./docs/debian.txt 5 |
---|
55 | +This document attempts to explain how to complete a desert island build for |
---|
56 | +people in a hurry. It also attempts to explain more about our Debian packaging |
---|
57 | +for those willing to read beyond the simple pragmatic packaging exercises. |
---|
58 | hunk ./docs/debian.txt 11 |
---|
59 | -There are only two supporting packages that are currently not available from |
---|
60 | -the debian apt repositories in Debian Lenny: python-foolscap python-zfec |
---|
61 | +There are only four supporting packages that are currently not available from |
---|
62 | +the debian apt repositories in Debian Lenny: |
---|
63 | + |
---|
64 | + python-foolscap python-zfec argparse zbase32 |
---|
65 | hunk ./docs/debian.txt 18 |
---|
66 | - apt-get install -y build-essential debhelper cdbs python-central \ |
---|
67 | + sudo apt-get install -y build-essential debhelper cdbs python-central \ |
---|
68 | hunk ./docs/debian.txt 21 |
---|
69 | - python-simplejson python-pycryptopp devscripts |
---|
70 | + python-simplejson python-pycryptopp devscripts \ |
---|
71 | + apt-file |
---|
72 | + sudo apt-file update |
---|
73 | hunk ./docs/debian.txt 28 |
---|
74 | - apt-get install python-all-dev |
---|
75 | - STDEB_VERSION="0.3.2" |
---|
76 | - http://pypi.python.org/packages/source/s/stdeb/stdeb-$STDEB_VERSION.tar.gz |
---|
77 | + sudo apt-get install python-all-dev |
---|
78 | + STDEB_VERSION="0.5.1" |
---|
79 | + wget http://pypi.python.org/packages/source/s/stdeb/stdeb-$STDEB_VERSION.tar.gz |
---|
80 | hunk ./docs/debian.txt 57 |
---|
81 | - easy_install argparse |
---|
82 | - easy_install zbase32 |
---|
83 | + sudo easy_install argparse # argparse won't install with stdeb (!) :-( |
---|
84 | + sudo easy_install zbase32 # XXX TODO: package with stdeb |
---|
85 | hunk ./docs/debian.txt 89 |
---|
86 | -supported libraries as .deb packages. |
---|
87 | +supported libraries as .deb packages. You'll need to edit the Debian specific |
---|
88 | +/etc/defaults/allmydata-tahoe file to get Tahoe started. Data is by default |
---|
89 | +stored in /var/lib/tahoelafsd/ and Tahoe runs as the 'tahoelafsd' user. |
---|
90 | } |
---|
91 | |
---|
92 | Context: |
---|
93 | |
---|
94 | [CREDITS to Jacob Appelbaum |
---|
95 | zooko@zooko.com**20100304015616 |
---|
96 | Ignore-this: 70db493abbc23968fcc8db93f386ea54 |
---|
97 | ] |
---|
98 | [desert-island-build-with-proper-versions |
---|
99 | jacob@appelbaum.net**20100304013858] |
---|
100 | [docs: a few small edits to try to guide newcomers through the docs |
---|
101 | zooko@zooko.com**20100303231902 |
---|
102 | Ignore-this: a6aab44f5bf5ad97ea73e6976bc4042d |
---|
103 | These edits were suggested by my watching over Jake Appelbaum's shoulder as he completely ignored/skipped/missed install.html and also as he decided that debian.txt wouldn't help him with basic installation. Then I threw in a few docs edits that have been sitting around in my sandbox asking to be committed for months. |
---|
104 | ] |
---|
105 | [TAG allmydata-tahoe-1.6.1 |
---|
106 | david-sarah@jacaranda.org**20100228062314 |
---|
107 | Ignore-this: eb5f03ada8ea953ee7780e7fe068539 |
---|
108 | ] |
---|
109 | Patch bundle hash: |
---|
110 | a7352d344f8781868b88cd0e60a3ab6e90456d05 |
---|