FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2005
    Location
    Beirut, Lebanon
    Age
    45
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Binary patches for RPMs

    I have created two tools for use in the process of creating binary patches of RPMs. The first is eBSDiff, a binary diff creator that uses the bsdiff algorithm, but can limit the amount of memory used.

    The second is a python module called rpmgzip (check the released files) that is actually a patched copy of the built-in python gzip module that creates gzip archives identical to the ones that rpmbuild (at least FC4's rpmbuild) creates as the archive part of the RPM.

    The final program is called RPMDiff and is nearing completion. It will take two RPMs as arguments and create an .rpmpatch file. The .rpmpatch file can then be applied to the first RPM (or to a system that has the first RPM installed) to create the second one (byte for byte identical so that the signature is the same).

    Any comments or ideas would be much appreciated. Thanks,

    Jonathan
    It's a beautiful sunny day...above the clouds.

  2. #2
    Join Date
    May 2005
    Posts
    3,868
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by jdieter
    I have created two tools for use in the process of creating binary patches of RPMs. The first is eBSDiff, a binary diff creator that uses the bsdiff algorithm, but can limit the amount of memory used.

    The second is a python module called rpmgzip (check the released files) that is actually a patched copy of the built-in python gzip module that creates gzip archives identical to the ones that rpmbuild (at least FC4's rpmbuild) creates as the archive part of the RPM.

    The final program is called RPMDiff and is nearing completion. It will take two RPMs as arguments and create an .rpmpatch file. The .rpmpatch file can then be applied to the first RPM (or to a system that has the first RPM installed) to create the second one (byte for byte identical so that the signature is the same).

    Any comments or ideas would be much appreciated. Thanks,

    Jonathan
    There is already a tool called rpmdiff whch serves a different purpose. Delta rpms aka Binary patches also exist already. See fedora-devel list archive for that. If you have anything else to add post to the list
    Rahul
    http://fedoraproject.org/wiki/RahulSundaram

  3. #3
    Join Date
    Dec 2005
    Location
    Beirut, Lebanon
    Age
    45
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks. Checked it out and joining the list.

    Jonathan
    It's a beautiful sunny day...above the clouds.

Similar Threads

  1. Replies: 4
    Last Post: 15th October 2009, 05:22 AM
  2. RPM and Patches
    By saneax in forum Using Fedora
    Replies: 0
    Last Post: 31st August 2005, 01:18 PM
  3. Dumping RPMS in /usr/src/redhat/rpms
    By kuthupandi in forum Installation, Upgrades and Live Media
    Replies: 5
    Last Post: 21st July 2004, 11:52 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •