Changes between Version 46 and Version 47 of BuildingDebianPackages
- Timestamp:
- 11/11/09 13:23:36 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingDebianPackages
v46 v47 259 259 }}} 260 260 261 ==== upload debhelper ==== 261 ==== bcfg2 ==== 262 ===== upload debhelper ===== 262 263 263 264 Upload: … … 288 289 And then make sure it's installed locally for the next step. 289 290 290 ==== upload python-defaults ==== 291 292 (aka python-all) 291 ===== upload bcfg2 ===== 293 292 294 293 Upload: … … 296 295 #!/bin/sh -x 297 296 298 sudo apt-get build-dep python-defaults299 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.2297 sudo 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... 301 svn co https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2 bcfg2-trunk 302 cd bcfg2-trunk 304 303 cp debian/changelog debian/changelog.orig 305 304 ppa="testing" # "testing" or "ppa" (for stable) 306 305 try="1" 307 308 for dist in dapper hardy intrepid; do 306 REV=$(svn info|grep '^Revision' |cut -d' ' -f2) 307 308 for dist in dapper hardy intrepid jaunty karmic lucid; do 309 309 cp debian/changelog.orig debian/changelog 310 310 (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}" \ 312 backport to ppa ${ppa}, dist ${dist}, try ${try}, svn revision $REV) 313 313 # Replace 0xAA95C349 to your GnuPG Key ID 314 314 debuild -S -k0xAA95C349 315 dput bcfg2-testing-force-${dist} ../ python-defaults_2.6.2-0ubuntu1~${ppa}${try}~${dist}${try}_source.changes315 dput bcfg2-testing-force-${dist} ../bcfg2_1.0.0-1+r${REV}~${ppa}${try}~${dist}${try}_source.changes 316 316 done 317 317 }}} 318 318 319 And then make sure it's installed locally for the next step. 320 321 ==== upload jinja2 ==== 319 ==== bcfg2 snapshots ==== 320 ===== upload jinja2 ===== 322 321 323 322 (aka python-jinja2) … … 351 350 And then make sure it's installed locally for the next step. 352 351 353 ==== upload sphinx====352 ===== upload sphinx ===== 354 353 355 354 Upload: … … 381 380 And then make sure it's installed locally for the next step. 382 381 383 ==== upload sqlalchemy====382 ===== upload sqlalchemy ===== 384 383 385 384 Upload: … … 408 407 done 409 408 }}} 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 -x418 419 sudo apt-get build-dep bcfg2 bcfg2-server420 421 # Trunk, or specify a revision; also something was said about being able422 # to build right from svn with the new debian packaging...423 svn co https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2 bcfg2-trunk424 cd bcfg2-trunk425 cp debian/changelog debian/changelog.orig426 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; do431 cp debian/changelog.orig debian/changelog432 (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 ID436 debuild -S -k0xAA95C349437 dput bcfg2-testing-force-${dist} ../bcfg2_1.0.0-1+r${REV}~${ppa}${try}~${dist}${try}_source.changes438 done439 }}}