| 279 | {{{ |
| 280 | #!/bin/sh -x |
| 281 | |
| 282 | wget http://archive.ubuntu.com/ubuntu/pool/main/p/po4a/po4a_0.36.1-1.dsc |
| 283 | wget http://archive.ubuntu.com/ubuntu/pool/main/p/po4a/po4a_0.36.1.orig.tar.gz |
| 284 | wget http://archive.ubuntu.com/ubuntu/pool/main/p/po4a/po4a_0.36.1-1.diff.gz |
| 285 | dpkg-source -x po4a_0.36.1-1.dsc |
| 286 | cd po4a-0.36.1 |
| 287 | cp debian/changelog debian/changelog.orig |
| 288 | ppa="bcfg2-testing" # "bcfg2-testing" or "ppa" (for stable) |
| 289 | try="1" |
| 290 | |
| 291 | for dist in dapper hardy intrepid jaunty karmic; do |
| 292 | cp debian/changelog.orig debian/changelog |
| 293 | (cd debian && debchange --force-bad-version --preserve --newversion \ |
| 294 | "0.36.1-1~${ppa}${try}~${dist}${try}" \ |
| 295 | backport to ppa ${ppa}, dist ${dist}, try ${try}) |
| 296 | # Replace 0xAA95C349 to your GnuPG Key ID |
| 297 | debuild -S -k0xAA95C349 |
| 298 | dput bcfg2-testing-force-${dist} ../po4a_0.36.1-1~${ppa}${try}~${dist}${try}_source.changes |
| 299 | done |
| 300 | }}} |