Bsdiff version 4.3 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 4.3

      View the most recent changes for the bsdiff port at: bsdiff.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for bsdiff.
      The raw portfile for bsdiff 4.3 is located here:
      http://bsdiff.darwinports.com/dports/devel/bsdiff/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/bsdiff


      The bsdiff Portfile 39031 2008-08-06 10:25:57Z ryandesign macports.org $

      PortSystem 1.0

      Name: bsdiff
      Version: 4.3
      Revision: 1
      Category: devel
      Maintainers: nomaintainer
      Description: Generates and applies patches to binary files
      Long Description: This is a pair of tools for building (bsdiff) and applying (bspatch) binary patches. When applied to two versions of the same executable the patches produced are significantly smaller than those generated by other binary diff tools (eg, xdelta).
      Homepage: http://www.daemonology.net/bsdiff/
      Platform: darwin
      Master Sites: ${homepage}
      Checksums: md5 e6d812394f0e0ecc8d5df255aa1db22a

      Patch Files: patch-bspatch.c.diff

      post-patch {
      reinplace s|/man/man1|/share/man/man1| ${worksrcpath}/Makefile
      }

      depends_lib port:bzip2

      use_configure no

      Variant: universal {}
      if {[variant_isset universal]} {
      eval configure.cflags-append ${configure.universal_cflags}
      eval configure.ldflags-append ${configure.universal_ldflags}
      }

      build.type bsd
      build.env-append CFLAGS="${configure.cflags}" LDFLAGS="${configure.ldflags}"

      destroot.destdir PREFIX=${destroot}${prefix}

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/bsdiff
      % sudo port install bsdiff
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching bsdiff
      ---> Verifying checksum for bsdiff
      ---> Extracting bsdiff
      ---> Configuring bsdiff
      ---> Building bsdiff with target all
      ---> Staging bsdiff into destroot
      ---> Installing bsdiff
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using bsdiff with these commands:
      %  man bsdiff
      % apropos bsdiff
      % which bsdiff
      % locate bsdiff

     Where to find more information:

    Darwin Ports



    Lightbox this page.