5 ver=$(wget -q -O- http://ftp.debian.org/debian/dists/${1}/main/source/Sources.xz | xz -d | grep-dctrl -n -sVersion -P cockpit | sort -u | tail -n1)
9 cat ../cockpit_*_source.changes
11 read -p "Upload? [y/N] " answer
12 if [ "$answer" = y ]; then
13 dput ../cockpit_*_source.changes
23 apt-get source cockpit
27 series_ver stretch-backports
28 dch --local ~bpo9+ --distribution stretch-backports --force-distribution "No-change backport to Debian Stretch"
29 debuild -S -sd -nc -v$ver
35 series_ver jessie-backports-sloppy
36 dch --local ~bpo8+ --distribution jessie-backports-sloppy --force-distribution "No-change backport to Debian Jessie"
37 debuild -S -sd -nc -v$ver
38 echo "build this in a jessie schroot and upload"