Subject: CVS commit: pkgsrc/devel/xdelta
From: Klaus Heinz
Date: 2008-11-08 19:50:57
Message id: 20081108185057.105A8175D0@cvs.netbsd.org

Log Message:
Updated to version 1.1.4.

Pkgsrc changes:
  - Removed patches patch-aa, patch-ab and patch-ac (integrated upstream).
  - Added explicit version requirements for glib and zlib.
  - HOMEPAGE and MASTER_SITES had moved to a different location.

Changes since version 1.1.1:
============================
** Changes since version 1.1.3

* Add an implementation of xdp_generator_free() for users of the
  libxdelta API.  Previously there were no such users of the 1.x API,
  but Elliot Lee <sopwith@redhat.com> has written a program for
  providing delta operations on RPM files.  See http://@@@

* The man page now documents return values.

** Changes since version 1.1.2

* Correct error message format for the case when gzread fails trying
  to automatically decompress a corrupted GZIP file.  The situation
  itself--corrupt GZIP files--should be dealt with the -p (--pristine)
  option, which disables GZIP file recognition.  Reported by Ben
  Escoto.

* Apply a patch from Klaus Dittrich for building on HPUX with the
  native compiler.  There is now a script called "contrib/build_hpux".

** Changes since version 1.1.1

* This code release is a distant fork of the 2.0 release.  It will
  hopefully be replaced.

* When 'patch' supplies its default TO file name recorded in the
  delta, it still generates a unique file name to avoid overwriting an
  existing copy.  Use the 'xdelta info' command to see what file names
  are contained in the delta.

* The code for writing patches to stdout was broken in the case where
  gzip compression is used.  Writing patches to stdout has therefore
  been disabled.  The problem is a limitation in the gzdopen/gzwrite
  functions provided by zlib--you cannot determine how many bytes have
  been written to the file descriptor without dup-ing the FD
  beforehand and then lseek-ing afterwards, which does not work
  correctly if the output file is not seekable.

* By default, Xdelta uses a hard-coded 16 byte block size.  If you're
  working with large files, try #undef XDELTA_HARDCODE_SIZE in
  xdelta.h then use -s BLOCKSIZE (--blocksize=BLOCKSIZE), which should
  be a power of 2.

* New test program in the 'test' subdirectory, which runs comparisons
  against "diff --rcs -a" and also verifies the "xdelta patch"
  command.

* Incorporate DJGPP patches from Richard Dawe <richdawe@bigfoot.com>.
  You can find his versions directly at:

      ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2apps/xdlt112b.zip
      ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2apps/xdlt112s.zip

* Updated xdelta(1) man page.

* Updated autoconf (2.50), automake (1.4-p4), libtool (1.4) scripts,
  which includes updated config.guess and config.sub scripts.

* Correct some backward compatibility issues: strcmp() was not being
  tested == 0 for formats older than 1.0.4.

* Update GLIB version requirement, now 1.2.8.

* We really need support for 64bit file sizes...  perhaps the next
  version?

Files:
RevisionActionfile
1.34modifypkgsrc/devel/xdelta/Makefile
1.8modifypkgsrc/devel/xdelta/PLIST
1.7modifypkgsrc/devel/xdelta/distinfo
1.7removepkgsrc/devel/xdelta/patches/patch-aa
1.1removepkgsrc/devel/xdelta/patches/patch-ab
1.1removepkgsrc/devel/xdelta/patches/patch-ac