Per-Vendor Patch-Finding Information

This page lists how to find and extract patches from various open source-providing vendors, such as distributors of Linux, *BSD, and other related operating systems. See the general Vendor information page for details on where to find security announcements.

When adding to this page, please include the following vendor information:

  1. how to find source packages for a given release
  2. how to extract a patch from a given version of software

As well, please keep this list in alphabetical order.

Debian

  • Package searching can be done via http://packages.debian.org/. Additionally, each version of a package is stored in the Debian Source Snapshots.
  • Workflow to extract differences:
    • Download and unpack desired version, read “debian/changelog” for previous version number
    • Download previous version
    • Look for patches, using one of several methods:
      • “debian/changelog” may mention new patches to be found in “debian/patches”
      • use “debdiff” between the two ”.dsc” files to extract the delta between packages
      • gunzip the two “diff.gz” files, and use “interdiff” to extract the delta between packages
  • Auto-extracted patches: http://patch-tracking.debian.net/.
  • kernel issues are tracked in an svn repository with references to fixes in both debian and upstream releases
  • List of packages embedding code from other projects is maintained in the secure-testing SVN repository and is linked to from the Debian Wiki

Exherbo

  • Most patches for a given package can be found at http://git.exherbo.org/. Choose the repository, switch to the “tree” view and under packages/<category>/<package name>/files, you'll find any patches we apply.
  • Some packages require lots of patches, in which case patchsets in the form of tarballs are provided. These are usually referenced inside the respective exheres in DOWNLOADS.

Fedora

Gentoo

Mandriva

OpenBSD

  • Source code repository: http://www.openbsd.org/cgi-bin/cvsweb
  • Main source tree: 3rd party packages included in the main source tree have vendor branches allowing to extract local patches.
  • Ports tree: patches are stored in patches sub-directory of each port.

OpenSUSE and SUSE Linux

  • Download this file using a web-browser or command-line tools like wget or curl.
  • The patches are part of the source-rpm file and can be extracted by one of the following ways:
    • rpm2cpio postgresql-8.2.6-0.1.src.rpm | cpio –make-directories –extract
    • alien -t postgresql-8.2.6-0.1.src.rpm && tar xvzf postgresql-8.2.6.tgz

Openwall

  • CVSweb:
  • anoncvs (also available over SSH):
    • cvs -z3 -d :pserver:anoncvs:anoncvs@anoncvs.owl.openwall.com:/cvs co Owl/packages
  • native.tar.gz files (around 2 MB) are available off our FTP mirrors separately for each branch of Owl - these contain just our own stuff and patches to third-party software that we package (same as those available via CVSweb and anoncvs)

Pardus

  • Workflow:
    • Go to Devel repository for the latest update (Go to Pardus 2007 repository for updates to older versions or backports of the fix)
    • Browse to the package name and click
    • You can see all applied patches and release history at the end of the page.

Red Hat

rPath

  • Browse to the package name (click on the “source” link under the correct package)
  • Choose the appropriate version. If you don't know the version, but want the latest version on a particular branch, choose the first link that contains that branch name.
  • Click “show files”
  • Click on a particular file to view its contents. Note that not all patches contained in the source are necessarily applied. To see which are applied, and under what conditions, look at the relevant addPatch() line in the recipe.

Ubuntu

  • Ubuntu generally maintains two versions of a given package for each release: original release and current update. (Superseded updates do not stay published, so only deltas between the “release” version and the most recently updated package version are available.)
  • Workflow for extraction is the same as ”Debian” above.
 
distro-patches.txt · Last modified: 2010/05/09 09:36 by philantrop
 
Recent changes RSS feed Creative Commons License Donate to DokuWiki Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Powered by OpenVZ Powered by Openwall GNU/*/Linux Bookmark and Share