Changes between Version 50 and Version 51 of BuildingDebianPackages


Ignore:
Timestamp:
11/11/09 23:11:43 (12 years ago)
Author:
dclark
Comment:

Fixes for ssl

Legend:

Unmodified
Added
Removed
Modified
  • BuildingDebianPackages

    v50 v51  
    292292 
    293293==== bcfg2 ==== 
     294 
    294295===== upload debhelper ===== 
    295296 
     
    308309try="1" 
    309310 
    310 for dist in dapper hardy intrepid jaunty; do 
     311for dist in hardy intrepid jaunty; do 
    311312cp debian/changelog.orig debian/changelog 
    312313(cd debian && debchange --force-bad-version --preserve --newversion \ 
     
    338339REV=$(svn info|grep '^Revision' |cut -d' ' -f2) 
    339340 
    340 for dist in dapper hardy intrepid jaunty karmic lucid; do 
     341for dist in hardy intrepid jaunty karmic lucid; do 
    341342cp debian/changelog.orig debian/changelog 
    342343(cd debian && debchange --force-bad-version --preserve --newversion \ 
     
    370371try="1" 
    371372 
    372 for dist in dapper hardy intrepid jaunty; do 
     373for dist in hardy intrepid jaunty; do 
    373374cp debian/changelog.orig debian/changelog 
    374375(cd debian && debchange --force-bad-version --preserve --newversion \ 
     
    383384==== bcfg2-server + python <= 2.5 ==== 
    384385 
    385 To run on GNU/Linux distributions that do not ship with python 2.6 or newer, you need python-ssl backported.  
    386  
    387 ===== upload stdeb ===== 
    388  
    389 Upload: 
    390 {{{ 
    391 #!/bin/sh -x 
    392  
    393 sudo aptitude install python-all-dev fakeroot python-setuptools libssl-dev debhelper python-support apt-file 
    394 sudo easy_install stdeb 
    395 wget http://pypi.python.org/packages/source/s/stdeb/stdeb-0.4.1.tar.gz 
    396 tar xvfz stdeb-0.4.1.tar.gz 
    397 cd stdeb-0.4.1 
    398 stdeb_run_setup 
    399 cd deb_dist/stdeb-0.4.1 
    400 cp debian/changelog debian/changelog.orig 
    401 ppa="testing" # "testing" or "ppa" (for stable) 
    402 try="2" 
    403  
    404 for dist in dapper hardy intrepid; do 
    405 cp debian/changelog.orig debian/changelog 
    406 (cd debian && debchange --force-bad-version --preserve --newversion \ 
    407 "0.4.1-1~${ppa}${try}~${dist}${try}" \ 
    408 backport to ppa ${ppa}, dist ${dist}, try ${try}) 
    409 # Replace 0xAA95C349 to your GnuPG Key ID 
    410 debuild -S -sa -k0xAA95C349 # Using -sa here because we need .orig.tar.gz file 
    411 dput bcfg2-testing-force-${dist} ../stdeb_0.4.1-1~${ppa}${try}~${dist}${try}_source.changes 
    412 done 
    413  
    414 # TODO: Fix "Upload Warnings: No copyright file found." 
    415 }}} 
    416  
    417  
    418  
    419 And then make sure it's installed locally for the next step. 
     386To run on GNU/Linux distributions that do not ship with python 2.6 or newer, you need python-ssl backported. '''Because of the way stdeb determines dependancies, you need to do these backports from the oldest distribution you wish to support.''' 
    420387 
    421388===== upload python-ssl ===== 
     
    431398patch -p1 < ssl-1.15-debian.patch 
    432399 
    433 # Note: ssl backport will only build on systems with Python 2.5 or earlier 
    434 #       this is a workaround for newer systems... 
    435 sudo ln -sf /usr/bin/python2.5 /usr/bin/python 
    436400sudo easy_install stdeb 
    437401stdeb_run_setup 
     
    442406try="1" 
    443407 
    444 for dist in dapper hardy intrepid; do 
     408for dist in hardy intrepid; do 
    445409cp debian/changelog.orig debian/changelog 
    446410(cd debian && debchange --force-bad-version --preserve --newversion \ 
     
    451415dput bcfg2-testing-force-${dist} ../ssl_1.15-1~${ppa}${try}~${dist}${try}_source.changes 
    452416done 
    453  
    454 sudo ln -sf /usr/bin/python2.6 /usr/bin/python 
    455 }}} 
    456  
    457 And then make sure it's installed locally for the next step. 
     417}}}