Changes between Version 18 and Version 19 of BuildingDebianPackages


Ignore:
Timestamp:
10/07/09 12:47:50 (10 years ago)
Author:
solj
Comment:

update instructions for 1.15

Legend:

Unmodified
Added
Removed
Modified
  • BuildingDebianPackages

    v18 v19  
    143143  
    144144== Python SSL Backport Packaging == 
    145 As of Bcfg2 1.0, Bcfg2 has switched to the in-tree ssl module included with python 2.6. A backport exists for 2.3, 2.4, and 2.5. With this, M2Crypto is not needed, and tlslite is no longer included with bcfg2 sources. The ssl module can be found [http://pypi.python.org/pypi/ssl/1.14 here]. See [wiki:Authentication] for details.  
     145As of Bcfg2 1.0, Bcfg2 has switched to the in-tree ssl module included with python 2.6. A backport exists for 2.3, 2.4, and 2.5. With this, M2Crypto is not needed, and tlslite is no longer included with bcfg2 sources. The ssl module can be found [http://pypi.python.org/pypi/ssl here]. See [wiki:Authentication] for details.  
    146146 
    147147To 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. 
     
    152152sudo aptitude install python-all-dev fakeroot python-setuptools libssl-dev debhelper python-support 
    153153sudo easy_install stdeb 
    154 wget http://pypi.python.org/packages/source/s/ssl/ssl-1.14.tar.gz#md5=4e08aae0cd2c7388d1b4bbb7f374b14a 
    155 tar xvfz ssl-1.14.tar.gz 
    156 cd ssl-1.14 
     154wget http://pypi.python.org/packages/source/s/ssl/ssl-1.15.tar.gz#md5=81ea8a1175e437b4c769ae65b3290e0c 
     155tar xvfz ssl-1.15.tar.gz 
     156cd ssl-1.15 
     157# patch here if necessary 
    157158stdeb_run_setup 
    158 cd deb_dist/ssl-1.14 
     159cd deb_dist/ssl-1.15 
    159160dpkg-buildpackage -rfakeroot -uc -us 
    160 sudo dpkg -i ../python-ssl_1.14-1_amd64.deb 
     161sudo dpkg -i ../python-ssl_1.15-1_amd64.deb 
    161162}}} 
    162163