124 | | To build a package of the ssl backport for .deb based distributions that don't ship with python 2.6, you can follow these instructions, which use [http://github.com/astraw/stdeb/tree/master stdeb]. Alternatively if you happen to have .deb packaging skills, it would be great to get policy-complaint .debs into the major deb-based distributions. |
125 | | |
126 | | '''NOTE:''' To build the module on Debian (lenny) and Ubuntu (hardy), I had to apply this [attachment:ssl-1.15-debian.patch ssl-1.15-debian.patch] to remove bluetooth references. |
127 | | '''Update''' or you can just install the "libbluetooth-dev" package. |
128 | | |
129 | | {{{ |
130 | | sudo aptitude install python-all-dev fakeroot python-setuptools libssl-dev debhelper python-support |
131 | | sudo easy_install stdeb |
| 124 | There is packaging for python-ssl in the bcfg2 trunk. Do: |
| 125 | |
| 126 | {{{ |
| 127 | sudo aptitude install python-all-dev fakeroot python-setuptools libssl-dev debhelper python-support \ |
| 128 | subversion libbluetooth-dev |
139 | | sudo dpkg -i ../python-ssl_1.15-1_amd64.deb |
140 | | }}} |
141 | | |
142 | | For complete bcfg2 goodness, you'll also want to package stdeb using stdeb: |
143 | | {{{ |
144 | | sudo aptitude install apt-file |
145 | | wget http://pypi.python.org/packages/source/s/stdeb/stdeb-0.3.tar.gz#md5=e692f745597dcdd9343ce133e3b910d0 |
146 | | tar xvfz stdeb-0.3.tar.gz |
147 | | cd stdeb-0.3 |
148 | | stdeb_run_setup |
149 | | cd deb_dist/stdeb-0.3 |
150 | | dpkg-buildpackage -rfakeroot -uc -us |
151 | | sudo dpkg -i ../python-stdeb_0.3-1_all.deb |
| 135 | sudo dpkg -i ../python-ssl_1.15-1_*.deb |