--- librsync-0.9.7.orig/debian/patches/01-manpage.dpatch +++ librsync-0.9.7/debian/patches/01-manpage.dpatch @@ -0,0 +1,41 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 01-manpage.dpatch +## +## DP: Improving manpage. + +@DPATCH@ + +diff -Naurp librsync.orig/doc/rdiff.1 librsync/doc/rdiff.1 +--- librsync.orig/doc/rdiff.1 2008-06-20 11:10:01.000000000 +0000 ++++ librsync/doc/rdiff.1 2008-06-20 11:29:58.000000000 +0000 +@@ -29,10 +29,17 @@ rdiff \- compute and apply signature-bas + .PP + \fBrdiff\fP [\fIoptions\fP] \fBpatch\fP \fIbasis-file delta-file new-file\fP + .fi ++.SH USAGE ++You can use \fBrdiff\fP to update files, much like \fBrsync\fP does. ++However, unlike \fBrsync\fP, \fBrdiff\fP puts you in control. There ++are three steps to updating a file: \fBsignature\fP, \fBdelta\fP, and ++\fBpatch\fP. + .SH DESCRIPTION + In every case where a filename must be specified, \- may be used + instead to mean either standard input or standard output as +-appropriate. ++appropriate. Be aware that if you do this, you'll need to terminate your ++\fIoptions\fP with \-\- or \fBrdiff\fP will think you are passing it ++an empty option. + .SH "RETURN VALUE" + 0 for successful completion, 1 for environmental problems (file not + found, invalid options, IO error, etc), 2 for a corrupt file and 3 for +diff -Naurp librsync.orig/doc/librsync.3 librsync/doc/librsync.3 +--- librsync.orig/doc/librsync.3 2008-06-21 14:50:55.000000000 +0200 ++++ librsync/doc/librsync.3 2008-06-24 10:22:49.000000000 +0200 +@@ -53,7 +53,7 @@ scriptable access to rsync functions. + .PP + .I rdiff and librsync Manual + .PP +-\fIhttp://rproxy.sourceforge.net/\fP or \fIhttp://linuxcare.com.au/rproxy/\fP. ++\fIhttp://rproxy.sourceforge.net/\fP. + .PP + \fIdraft-pool-rsync\fP + .SH BUGS