Changes between Version 46 and Version 47 of BuildingDebianPackages


Ignore:
Timestamp:
11/11/09 13:23:36 (13 years ago)
Author:
dclark
Comment:

pebkac :-(

Legend:

Unmodified
Added
Removed
Modified
  • BuildingDebianPackages

    v46 v47  
    259259}}} 
    260260 
    261 ==== upload debhelper ==== 
     261==== bcfg2 ==== 
     262===== upload debhelper ===== 
    262263 
    263264Upload: 
     
    288289And then make sure it's installed locally for the next step. 
    289290 
    290 ==== upload python-defaults ==== 
    291  
    292 (aka python-all) 
     291===== upload bcfg2 ===== 
    293292 
    294293Upload: 
     
    296295#!/bin/sh -x 
    297296 
    298 sudo apt-get build-dep python-defaults 
    299  
    300 wget http://archive.ubuntu.com/ubuntu/pool/main/p/python-defaults/python-defaults_2.6.2-0ubuntu1.dsc 
    301 wget http://archive.ubuntu.com/ubuntu/pool/main/p/python-defaults/python-defaults_2.6.2-0ubuntu1.tar.gz 
    302 dpkg-source -x python-defaults_2.6.2-0ubuntu1.dsc 
    303 cd python-defaults-2.6.2 
     297sudo apt-get build-dep bcfg2 bcfg2-server 
     298 
     299# Trunk, or specify a revision; also something was said about being able 
     300# to build right from svn with the new debian packaging... 
     301svn co https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2 bcfg2-trunk 
     302cd bcfg2-trunk 
    304303cp debian/changelog debian/changelog.orig 
    305304ppa="testing" # "testing" or "ppa" (for stable) 
    306305try="1" 
    307  
    308 for dist in dapper hardy intrepid; do 
     306REV=$(svn info|grep '^Revision' |cut -d' ' -f2) 
     307 
     308for dist in dapper hardy intrepid jaunty karmic lucid; do 
    309309cp debian/changelog.orig debian/changelog 
    310310(cd debian && debchange --force-bad-version --preserve --newversion \ 
    311 "2.6.2-0ubuntu1~${ppa}${try}~${dist}${try}" \ 
    312 backport to ppa ${ppa}, dist ${dist}, try ${try}) 
     311"1.0.0-1+r${REV}~${ppa}${try}~${dist}${try}" \ 
     312backport to ppa ${ppa}, dist ${dist}, try ${try}, svn revision $REV) 
    313313# Replace 0xAA95C349 to your GnuPG Key ID 
    314314debuild -S -k0xAA95C349 
    315 dput bcfg2-testing-force-${dist} ../python-defaults_2.6.2-0ubuntu1~${ppa}${try}~${dist}${try}_source.changes 
     315dput bcfg2-testing-force-${dist} ../bcfg2_1.0.0-1+r${REV}~${ppa}${try}~${dist}${try}_source.changes 
    316316done 
    317317}}} 
    318318 
    319 And then make sure it's installed locally for the next step. 
    320  
    321 ==== upload jinja2 ==== 
     319==== bcfg2 snapshots ==== 
     320===== upload jinja2 ===== 
    322321 
    323322(aka python-jinja2) 
     
    351350And then make sure it's installed locally for the next step. 
    352351 
    353 ==== upload sphinx ==== 
     352===== upload sphinx ===== 
    354353 
    355354Upload: 
     
    381380And then make sure it's installed locally for the next step. 
    382381 
    383 ==== upload sqlalchemy ==== 
     382===== upload sqlalchemy ===== 
    384383 
    385384Upload: 
     
    408407done 
    409408}}} 
    410  
    411 And then make sure it's installed locally for the next step. 
    412  
    413 ==== upload bcfg2 ==== 
    414  
    415 Upload: 
    416 {{{ 
    417 #!/bin/sh -x 
    418  
    419 sudo apt-get build-dep bcfg2 bcfg2-server 
    420  
    421 # Trunk, or specify a revision; also something was said about being able 
    422 # to build right from svn with the new debian packaging... 
    423 svn co https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2 bcfg2-trunk 
    424 cd bcfg2-trunk 
    425 cp debian/changelog debian/changelog.orig 
    426 ppa="testing" # "testing" or "ppa" (for stable) 
    427 try="1" 
    428 REV=$(svn info|grep '^Revision' |cut -d' ' -f2) 
    429  
    430 for dist in dapper hardy intrepid jaunty karmic lucid; do 
    431 cp debian/changelog.orig debian/changelog 
    432 (cd debian && debchange --force-bad-version --preserve --newversion \ 
    433 "1.0.0-1+r${REV}~${ppa}${try}~${dist}${try}" \ 
    434 backport to ppa ${ppa}, dist ${dist}, try ${try}, svn revision $REV) 
    435 # Replace 0xAA95C349 to your GnuPG Key ID 
    436 debuild -S -k0xAA95C349 
    437 dput bcfg2-testing-force-${dist} ../bcfg2_1.0.0-1+r${REV}~${ppa}${try}~${dist}${try}_source.changes 
    438 done 
    439 }}}