< backport | Russ Allbery > Software > Scripts |
Add support for jessie when backporting and change it to be the default. Move the stable alias to it, and the oldstable alias to wheezy. Also add the -A or --architecture flag to specify the architecture with which to build (which is just passed straight to pdebuild).
Lines changed: +43 -28
Rewrite for Stanford's current Perl coding style, although much more cleanup and rework to make the script more data-driven is still required. Fix the versioning for oldstable backports to use 60 (squeeze) instead of 50 (lenny). (The names and chroots were already correct.)
Lines changed: +397 -259
Add support for backports to wheezy. Change stable to be wheezy and oldstable to be squeeze. Change the default chroot and distribution to backport to wheezy by default.
Lines changed: +38 -27
Update the URL for the debian.backports.org instructions.
Lines changed: +3 -3
Update copyright dates and use the formally correct attribution for the Stanford copyright.
Lines changed: +5 -4
Add support for squeeze. lenny is now oldstable, and etch has to be specified directly. Stub out the transformation routine for squeeze backporting. Use regular expressions to detect lenny and etch distributions, which should work with more cases besides the dist code name and dist-backports.
Lines changed: +35 -23
Add --force-distribution to the dch invocation to add the changelog entry for the backport. This supports using distributions that dch doesn't know about. If the user uses a distribution that backport doesn't know about, they will already have said they know what they're doing by setting the version suffix separately.
Patch from Carsten Hey.
Lines changed: +3 -3
Add the invoking user to Uploaders (adding a new Uploaders control field if necessary) if they are not already listed in Maintainer or Uploaders. Note this change in debian/changelog.
Add the -p (--prepare) option, which prepares the backport and performs any automated actions that are possible, and then leaves that prepared backport in a subdirectory, printing out the command to use to build it.
Lines changed: +119 -14
Close the *.dsc file after parsing it for the version number.
Lines changed: +2 -1
When backporting packages that have an epoch in the version, the epoch is not present in the file name of the *.dsc file, so we can't get the version number by parsing the file name. Instead, open the file and parse it for the version, then adjust by removing the epoch again when deleting the source.changes file. Based on a patch by Eddy Petrișor.
Lines changed: +23 -4
Set the urgency of the changelog for the backport to the highest urgency of the other changelog entries included in the *.changes file if the -l option is given. Support adding an additional custom changelog entry for the backport with the new -e option.
Lines changed: +54 -7
Handle a distribution of etch-backports properly, adding the etch cowbuilder workaround, doing the right backporting, and using the right base directory.
Stop passing -nc to dpkg-source since it forces a binary package build.
Add backport handling for lenny that changes a libxerces-c-dev build dependency.
Lines changed: +39 -6
When building the initial source package to copy into the cowbuilder chroot for building, do not check build dependencies and do not run debian/rules clean. This avoids requiring some build dependencies be installed outside the chroot as well, and since backport just unpacked the original source package, it's guaranteed that the source package is clean.
Lines changed: +3 -5
Recognize lenny as stable and etch-backports as oldstable for the changelog message. Run either backport_etch or backport_lenny based on the target distribution.
Lines changed: +8 -4
Add support for lenny.
This includes support for changing the Debian distribution version put in the version suffix based on the target distribution. It also adds choice of the default chroot basepath based on the target distribution and removes the --debian-etch-workaround flag unless the target distribution is etch. The text added to the changelog now varies based on what the target distribution is.
Lines changed: +62 -24
Fix the default chroot and the parsing of versions from dsc files, correcting bugs introduced in the previous release.
Lines changed: +3 -3
Change the version pattern for Stanford backports.
Lines changed: +2 -2
Relax the naming convention for cowbuilder chroots.
Don't assume everybody uses Russ's naming convention in pbuilder, since other people might use other naming conventions and might have complex setups which can't be modified just to allow backport to impose its naming convention. Only assume they're in /var/cache/pbuilder and end with .cow; don't add the base- prefix.
The naming convention is only an artificial limitation which doesn't bring any benefit.
Patch from Eddy Petrisor.
Lines changed: +7 -7
Support native packages and dashes within package names. Do not assume all packages are non-native; instead, split the package name around the first underscore and then parse the version.
Patch from Eddy Petrisor.
Lines changed: +2 -2
Add an option to force the addition of the *.orig.tar.gz file to *.changes.
Lines changed: +22 -12
Make the chroot path configurable with a command-line option. Always add a changelog entry for all backporting changes, even simple library changes.
Lines changed: +23 -7
Add the -b option, which passes -B to dpkg-buildpackage to do a binary-only build.
Lines changed: +13 -4
Rewrite in Perl. Add command-line options and documentation. Add changelog entries for other changes made as part of the backporting process. Add upload targets and corresponding versioning patterns and improve backports.org support.
Lines changed: +276 -55
Allow running backport on straight downloaded *.dsc files and activate the etch workaround.
Lines changed: +2 -2
Add a -d option to set the distribution. Automatically adjust for libcurl as well.
Lines changed: +11 -2
Add an option to specify the suffix for backporting.
Lines changed: +10 -2
Fix the way that remctl dependencies are corrected.
Lines changed: +1 -1
Adjust for the remctl problem automatically when backporting.
Lines changed: +1 -0
Remove the *_source.changes file from the right directory.
Lines changed: +1 -1
Fix shell quoting of removing the bad changes file.
Lines changed: +1 -1
Update this script to work with etch and cowbuilder.
Lines changed: +5 -3
Initial working version.
< backport | Russ Allbery > Software > Scripts |