Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Backporting

From Wikipedia, the free encyclopedia
(Redirected fromBackports)
Process for fixing older software versions

Backporting is the action of taking parts from a newerversion of asoftware system orsoftware component andporting them to an older version of the same software. It forms part of themaintenance step in asoftware development process, and it is commonly used for fixingsecurity issues in older versions of the software and also for providing new features to older versions.

Overview

[edit]

The simplest and probably most common situation of backporting is a fixed security hole in a newer version of a piece of software. Consider this simplified example:

  • Software v2.0 had asecurity vulnerability that is fixed by changing the text 'is_unsecured' to 'is_secured'.
  • The same security hole exists in Software v1.0, from which thecodebase for the newer version is derived, but there the text may read 'is_notsecure'.

By taking the modification that fixes Software v2.0 and changing it so that it applies to Software v1.0, one has effectively backported the fix.[1]

In real-life situations, the modifications that a single aspect of the software has undergone may be simple (only a few lines ofcode have changed) up to heavy and massive (many modifications spread across multiplefiles of the code). In the latter case, backporting may become tedious and inefficient and should only be undertaken if the older version of the software is really needed in favour of the newer (if, for example, the newer version still suffersstability problems that prevent its use in mission-critical situations).[2]

Procedures

[edit]

The process of backporting can be roughly divided into these steps:[1]

  1. identification of the problem in the older version of the software that needs to be fixed by a backport
  2. finding out which (usually recent) modification of the code fixed the problem
  3. adapting the modification to the old code situation (the proper backporting)
  4. one or several levels ofquality control – testing whether the backported version maintains previous functionality as well as if it properly implements the new functionality.

Usually, multiple such modifications are bundled in apatch set.

Backports can be provided by the coredeveloper group of the software. Since backporting needs access to the source code of a piece of software, this is the only way that backporting is done forclosed source software – the backports will usually be incorporated inbinaryupgrades along the old version line of the software. Withopen-source software, backports are sometimes created bysoftware distributors and later sentupstream (that is, submitted to the core developers of the afflicted software).[2]

Examples

[edit]
  • Many features ofWindows Vista were backported toWindows XP when Service Pack 3 was released for Windows XP, thereby facilitating compatibility of applications (mostly games) originally with Vista as a minimum requirement to run on XP SP3 as a minimum requirement instead.[3]
  • TheDebian Project since September 2010[4] has provided an official backporting service for someDebian Linux software packages, andUbuntu Linux also supports backports.[5]
  • In 2024, aYouTuber named MattKC backported.NET Framework versions 2.0 and 3.5 toWindows 95, which did not officially support the framework.[6][7]

See also

[edit]

References

[edit]
  1. ^ab"Backporting Security Fixes".Red Hat.Archived from the original on 2020-05-12. Retrieved2020-05-11.
  2. ^abRahul Sundaram (2016-01-14)."Staying close to upstream projects".Fedora Project.Archived from the original on 2011-08-05. Retrieved2020-05-11.
  3. ^Donald Melanson (2007-10-09)."Microsoft backports Vista features for new Windows XP SP3 beta".Engadget.Archived from the original on 2016-03-04. Retrieved2020-05-11.
  4. ^"Backports service becoming official".Debian Project. 2010-09-05.Archived from the original on 2011-09-03. Retrieved2020-05-11.
  5. ^"UbuntuBackports".Ubuntu Project. 2015-11-29.Archived from the original on 2019-05-03. Retrieved2020-05-11.
  6. ^Harper, Christopher (2024-04-14)."Thousands of apps ported back to Windows 95 twenty-eight years later — .NET Framework port enables backward compatibility for modern software".Tom's Hardware.Archived from the original on 2024-05-31. Retrieved2024-07-01.
  7. ^Posch, Maya (2024-04-14)."Porting Modern Windows Applications To Windows 95".Hackaday.Archived from the original on 2024-07-01. Retrieved2024-07-01.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Backporting&oldid=1273374942"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp