Changes between Version 18 and Version 19 of BuildingDebianPackages
- Timestamp:
- 10/07/09 12:47:50 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingDebianPackages
v18 v19 143 143 144 144 == 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.14here]. See [wiki:Authentication] for details.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 here]. See [wiki:Authentication] for details. 146 146 147 147 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. … … 152 152 sudo aptitude install python-all-dev fakeroot python-setuptools libssl-dev debhelper python-support 153 153 sudo 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 154 wget http://pypi.python.org/packages/source/s/ssl/ssl-1.15.tar.gz#md5=81ea8a1175e437b4c769ae65b3290e0c 155 tar xvfz ssl-1.15.tar.gz 156 cd ssl-1.15 157 # patch here if necessary 157 158 stdeb_run_setup 158 cd deb_dist/ssl-1.1 4159 cd deb_dist/ssl-1.15 159 160 dpkg-buildpackage -rfakeroot -uc -us 160 sudo dpkg -i ../python-ssl_1.1 4-1_amd64.deb161 sudo dpkg -i ../python-ssl_1.15-1_amd64.deb 161 162 }}} 162 163