Control: tags -1 patch

I made a patch to add a man page of rdup-simple,
based on the output of the command with -h option.
Please see the attached patch file.

---
Kubo Hiroshi <h-k...@geisya.or.jp>
Description: A man page of rdup-simple
Author: Kubo Hiroshi <h-k...@geisya.or.jp>
Last-Update: 2013-01-01

--- rdup-1.1.11.orig/GNUmakefile.in
+++ rdup-1.1.11/GNUmakefile.in
@@ -4,7 +4,7 @@ OBJ_UP=rdup-up.o entry.o usage-up.o sign
 HDR=rdup.h rdup-tr.h rdup-up.h io.h common.h entry.h
 CMD=rdup rdup-tr rdup-up
 SH=rdup-simple
-MAN1_IN=rdup.1 rdup-tr.1 rdup-up.1
+MAN1_IN=rdup.1 rdup-tr.1 rdup-up.1 rdup-simple.1
 MAN7_IN=rdup-backups.7
 
 MAN1=$(addprefix doc/, $(MAN1_IN))
--- rdup-1.1.11.orig/configure.ac
+++ rdup-1.1.11/configure.ac
@@ -142,6 +142,7 @@ AC_CONFIG_FILES([GNUmakefile
                  doc/rdup.1
                  doc/rdup-tr.1
                  doc/rdup-up.1
+                 doc/rdup-simple.1
                  ])
 AC_CONFIG_HEADER([config.h])
 AC_OUTPUT
--- rdup-1.1.11.orig/configure
+++ rdup-1.1.11/configure
@@ -4617,7 +4617,7 @@ if test ${sysconfdir} = '${prefix}/etc';
         sysconfdir='/etc'
 fi
 
-ac_config_files="$ac_config_files GNUmakefile po/GNUmakefile rdup.h rdup-tr.h rdup-up.h sh/rdup-simple doc/rdup.1 doc/rdup-tr.1 doc/rdup-up.1"
+ac_config_files="$ac_config_files GNUmakefile po/GNUmakefile rdup.h rdup-tr.h rdup-up.h sh/rdup-simple doc/rdup.1 doc/rdup-tr.1 doc/rdup-up.1 doc/rdup-simple.1"
 
 ac_config_headers="$ac_config_headers config.h"
 
@@ -5319,6 +5319,7 @@ do
     "doc/rdup.1") CONFIG_FILES="$CONFIG_FILES doc/rdup.1" ;;
     "doc/rdup-tr.1") CONFIG_FILES="$CONFIG_FILES doc/rdup-tr.1" ;;
     "doc/rdup-up.1") CONFIG_FILES="$CONFIG_FILES doc/rdup-up.1" ;;
+    "doc/rdup-simple.1") CONFIG_FILES="$CONFIG_FILES doc/rdup-simple.1" ;;
     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
--- /dev/null
+++ rdup-1.1.11/doc/rdup-simple.1.in
@@ -0,0 +1,98 @@
+'\" t
+.TH RDUP-SIMPLE 1 "09 May 2007" "@PACKAGE_VERSION@" "@PACKAGE_NAME@"
+.SH NAME
+@PACKAGE_NAME@-simple \- A wrapper around @PACKAGE_NAME@, @PACKAGE_NAME@-tr and @PACKAGE_NAME@-up
+.SH SYNOPSIS
+.B @PACKAGE_NAME@-simple
+[\fI+N\fR]
+\fIDIR\fR
+[\fIDIR\fR ...]
+\fIDEST\fR
+
+.SH DESCRIPTION
+This is a wrapper around @PACKAGE_NAME@, @PACKAGE_NAME@-tr and @PACKAGE_NAME@-up.
+.PP
+\fIDIR\fR is a directory to back up.
+.PP
+.IR +N
+means look N days back for previous backups, defaults to 8.
+.PP
+\fIDEST\fR \- where to store the backup. This can be:
+.TP
+	ssh://user@host/directory (note: no colon after the hostname)
+.TP
+	ssh://host/directory
+.TP
+	file:///directory (note: 3 slashes)
+.TP
+	/directory
+.TP
+	directory
+.PP
+.SH OPTIONS
+.TP
+.B \-k \fIKEYFILE\fR
+encrypt all files: @PACKAGE_NAME@ -Pmcrypt,-fKEYFILE,-c
+.TP
+.B \-g
+encrypt all files: @PACKAGE_NAME@ -Pgpg,--default-recipient-self,--encrypt
+.TP
+.B \-z
+compress all files: @PACKAGE_NAME@ -Pgzip
+.TP
+.B \-E \fIFILE\fR
+use \fIFILE\fR as an exclude list
+.TP
+.B \-f
+force a full dump
+.TP
+.B \-v
+echo the files processed to stderr and be more verbose
+.B \-n
+dry run; show the actually rdup command and pass -n to rdup
+.B \-a
+reset atime
+.TP
+.B \-x
+pass -x to rdup
+.B \-q
+pass -q to rdup-up
+.TP
+.B \-s \fINUM\fR
+pass -s \fINUM\fR to @PACKAGE_NAME@-up (strip \fINUM\fR leading path components)
+.TP
+.B \-X \fIFILE\fR
+encrypt all paths with AES and key in \fIFILE\fR
+.TP
+.B \-Y  \fIFILE\fR
+decrypt all paths with AES and key in \fIFILE\fR
+.TP
+.B \-h
+this help
+.TP
+.B \-V
+print version
+
+.SH EXIT CODE
+\fBrdup-simple\fR return a zero exit code on success.
+
+.SH AUTHOR
+Written by Miek Gieben. 
+
+.SH REPORTING BUGS
+Report bugs to <m...@miek.nl>. 
+
+.SH SEE ALSO
+http:/www.miek.nl/projects/rdup/ is the main site of rdup. Also see rdup(1),
+rdup-up(1), rdup-tr(1) and rdup-backups(7).
+
+.SH COPYRIGHT
+Copyright (C) 2005-2010 Miek Gieben. This is free software. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE.
+.PP
+Licensed under the GPL version 3. See the file LICENSE in the source distribution
+of rdup.
+.PP
+This man page is written based on the command's help by Kubo Hiroshi <h-k...@geisya.or.jp>
+

Reply via email to