via arbitrary 'sed' expressions.
Backport relevant patches can be embedded in source packages for use with
-backport-dsc. The distribution name (see --target-dsitribution) serves as an
+backport-dsc. The distribution name (see --target-distribution) serves as an
identifier to search for patches in the source package that shall be applied
for a particular distribution. For packages using format the 3.0 (quilt),
backport-dsc will look for debian/patches/series-<distname> and append it to
--mod-control <expression>
sed expression to modify debian/control. The option can be given multiple
- times and all expressions wil be passed to sed in the order of appearance.
+ times and all expressions will be passed to sed in the order of appearance.
This can be used to, e.g. change build or runtime dependencies.
--no-backport-patches
backport and identify herself as the maintainer.
-s <string>, --version-suffix <string>
- Version suffix that will be appended to the orginal source package version,
+ Version suffix that will be appended to the original source package version,
ideally indicating the backport target distribution. The resulting package
version will follow this schema:
Create backport for some custom distribution with custom version suffix.
backport-dsc -d ubuntu-lucid -v myppa --mod-control "-e 's/iceweasel/firefox/g'" examplepkg_1.2.3-4.dsc
- Create a backport for a fake ubuntu PPA repository, replacing all occurences
+ Create a backport for a fake Ubuntu PPA repository, replacing all occurrences
of iceweasel in debian/control with firefox.
bp_version_suffix="bpo50"
Version suffix (see --version-suffix)
-bp_maintainer_name="Unkown fellow"
+bp_maintainer_name="Unknown fellow"
Name of the backport maintainer (see --maint-name)
bp_maintainer_email="user@example.net"
while true ; do
case "$1" in
-d|--target-distribution) shift; bp_distribution=$1; shift;;
- -s|--version-suffix) shift; backport_version=$1; shift;;
+ -s|--version-suffix) shift; bp_version_suffix=$1; shift;;
--maint-name) shift; bp_maintainer_name=$1; shift;;
--maint-email) shift; bp_maintainer_email=$1; shift;;
--no-maintainer-update) bp_update_maintainer=0; shift;;