World Library  
Flag as Inappropriate
Email this Article

Backporting

Article Id: WHEBN0000946566
Reproduction Date:

Title: Backporting  
Author: World Heritage Encyclopedia
Language: English
Subject: Debian, Software quality, Software maintenance, Patch utilities, Downstream (software development)
Collection: Patch Utilities, Software Maintenance, Software Quality
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Backporting

Backporting is the action of taking parts from a newer version of a software system or software component and porting them to an older version of the same software. It forms part of the maintenance step in a software development process, and it is commonly used for fixing security issues in older versions of the software and also for providing new features to older versions.

Contents

  • Overview 1
  • Procedures 2
  • Examples 3
  • See also 4
  • References 5

Overview

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 a security vulnerability that is fixed by changing the text 'is_unsecured' to 'is_secured'.
  • The same security hole exists in Software v1.0, from which the codebase 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 of code have changed) up to heavy and massive (many modifications spread across multiple files of the code). In the latter case, backporting may become tedious and inefficient and should only be undergone if the older version of the software is really needed in favour of the newer (if, for example, the newer version still suffers stability problems that prevent its use in mission-critical situations).[2]

Procedures

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

  • identification of the problem in the older version of the software that needs to be fixed by a backport
  • finding out which (usually recent) modification of the code fixed the problem
  • adapting the modification to the old code situation (the proper backporting)
  • one or several levels of quality 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 a patch set.

Backports can be provided by the core developer 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 for closed source software – the backports will usually be incorporated in binary upgrades along the old version line of the software. With open-source software, backports are sometimes created by software distributors and later sent upstream (that is, submitted to the core developers of the afflicted software).[2]

Examples

Many features of Windows Vista were backported to Windows 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]

See also

References

  1. ^ a b "Backporting Security Fixes".  
  2. ^ a b "Staying close to upstream projects".  
  3. ^ Donald Melanson (2007-10-09). "Microsoft backports Vista features for new Windows XP SP3 beta". engadget.com. Retrieved 2013-10-24. 
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.