5 POCKET="${TARGET}-backports"
8 ver=$(wget -q -O- http://de.archive.ubuntu.com/ubuntu/dists/$1/universe/source/Sources.xz | xz -d | grep-dctrl -n -sVersion -XP $PACKAGE | sort -u | tail -n1)
13 cat ../${PACKAGE}*_source.changes
15 read -p "Upload? [y/N] " answer
16 if [ "$answer" = y ]; then
17 dput ubuntu ../${PACKAGE}_*_source.changes
27 apt-get source $PACKAGE
33 *) echo "Unknown target $TARGET" >&2; exit 1 ;;
37 [ ! -x debian/adjust-for-release ] || debian/adjust-for-release $TARGET
38 dch --local ~bpo${VER}. --distribution $POCKET --force-distribution "No-change backport to $TARGET"
39 dpkg-buildpackage -S -sd -nc -v$ver