Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Dropbox modified version of librysnc
C Shell C++ Other
branch: master

Initial Commit.

latest commit 3121eb713a
Ridwan Khan authored
Failed to load latest commit information.
PCbuild Initial Commit.
doc Initial Commit.
popt Initial Commit.
testsuite Initial Commit.
AUTHORS Initial Commit.
COPYING Initial Commit.
ChangeLog Initial Commit.
Makefile.am Initial Commit.
Makefile.in Initial Commit.
NEWS Initial Commit.
README Initial Commit.
README.CVS Initial Commit.
README.RPM Initial Commit.
THANKS Initial Commit.
TODO Initial Commit.
aclocal.m4 Initial Commit.
autogen.sh Initial Commit.
base64.c Initial Commit.
buf.c Initial Commit.
buf.h Initial Commit.
checksum.c Initial Commit.
checksum.h Initial Commit.
command.c Initial Commit.
command.h Initial Commit.
config.guess Initial Commit.
config.h.in Initial Commit.
config.sub Initial Commit.
configure Initial Commit.
configure.ac Initial Commit.
configure.msc Initial Commit.
delta.c Initial Commit.
depcomp Initial Commit.
emit.c Initial Commit.
emit.h Initial Commit.
fileutil.c Initial Commit.
fileutil.h Initial Commit.
hex.c Initial Commit.
install-sh Initial Commit.
isprefix.c Initial Commit.
isprefix.h Initial Commit.
job.c Initial Commit.
job.h Initial Commit.
librsync-config.h Initial Commit.
librsync-config.h.in Initial Commit.
librsync.h Initial Commit.
librsync.spec Initial Commit.
libversions.txt Initial Commit.
ltmain.sh Initial Commit.
mdfour.c Initial Commit.
mdfour.h Initial Commit.
missing Initial Commit.
mkinstalldirs Initial Commit.
mkprototab.pl Initial Commit.
mksum.c Initial Commit.
msg.c Initial Commit.
netint.c Initial Commit.
netint.h Initial Commit.
patch.c Initial Commit.
protocol.h Initial Commit.
prototab.c Initial Commit.
prototab.h Initial Commit.
rdiff.c Initial Commit.
rdiff.magic Initial Commit.
readsums.c Initial Commit.
rollsum.c Initial Commit.
rollsum.h Initial Commit.
scoop.c Initial Commit.
search.c Initial Commit.
search.h Initial Commit.
snprintf.c Initial Commit.
snprintf.h Initial Commit.
stats.c Initial Commit.
stream.c Initial Commit.
stream.h Initial Commit.
sumset.c Initial Commit.
sumset.h Initial Commit.
trace.c Initial Commit.
trace.h Initial Commit.
tube.c Initial Commit.
types.h Initial Commit.
util.c Initial Commit.
util.h Initial Commit.
version.c Initial Commit.
whole.c Initial Commit.
whole.h Initial Commit.

README

README for librsync
-------------------

librsync implements the rolling-checksum algorithm of remote file
synchronization that was popularized by the rsync utility and is used in
rproxy. This algorithm transfers the differences between 2 files without
needing both files on the same system.

It was originaly developed as part of rproxy, but is now used by other
applications and has its own project on sourceforge.

  http://librsync.sourceforge.net/

This library was previously known as libhsync up to version 0.9.0.

To use anonymous CVS, see the file README.CVS in this directory.

>> Requirements

To build librsync you will need:

  * A C compiler and appropriate headers and libraries

  * Make

  * popt -- command line parsing library

    Available from ftp://ftp.redhat.com/pub/redhat/code/popt

    A cut-down version of popt1.5 is included and will be used
    automatically if there is no popt library on your build host.

>> Compiling

To build and test librsync from the extracted distribution do;

  $ ./configure
  $ make all check

>> Note for RedHat 7.0

RedHat 7.0 (Guiness) ships with a buggy version of GCC 2.96 that
produces many warnings while compiling librsync.  These are harmless
-- the library seems to work anyhow.  You can avoid the warnings by
using the 'kgcc' version of the compiler:

  $ export CC=kgcc
  $ ./autogen.sh
  $ make all check

>> Note for Windows

With cygwin you can build using gcc as under a normal unix system. It
is also possible to compile under cygwin using MSVC++. You must have
environment variables needed by MSCV set using the Vcvars32.bat
script. With these variables set, you just do;
  
  $ ./configure.msc
  $ make all check

The PCbuild directory contains a project and pre-generated config
files for use with the MSVC++ IDE. This should be enought to compile
rdiff.exe without requiring cygwin.

>> Library Versions

librsync uses the GNU libtool library versioning system, so the filename
does not correspond to the librsync release.  To show the library release
and version, use the librsyncinfo tool. See libversions.txt for more
information.

>> Platforms

librsync is known to run on:

GNU Linux Debian 3.0 x86

SUNWspro: (use -v for more warnings)

mips-sgi-irix6.5: works, but you must use GNU Make rather than the default
SGI Make.  I used gcc.

windows32: see above.

>> API Documentation

librsync contains markup for automatic API documentation generation using
the Doxygen tool:

  http://www.doxygen.org/

$Id: README,v 1.16 2003/08/03 15:13:45 abo Exp $
Something went wrong with that request. Please try again.