debian/0000755000000000000000000000000012153460376007175 5ustar debian/README.Debian0000644000000000000000000000071111402210234011213 0ustar duply for Debian ---------------- If you use duply with SSH than check that the needed ssh key is available. For using of GnuPG check that all needed gpg keys are available and usable. Sometimes GnuPG give you an error, because the key have no "trust". Please set the trust of your gpg key in edit mode: gpg --edit-key > trust => select "ultimate" > quit -- Joachim Wiedorn Thu, 12 Jan 2010 22:03:00 +0100 debian/compat0000644000000000000000000000000212153460434010366 0ustar 9 debian/dirs0000644000000000000000000000001011402210234010026 0ustar usr/bin debian/docs0000644000000000000000000000001411402210234010021 0ustar README TODO debian/install0000644000000000000000000000002011402210234010534 0ustar duply usr/bin debian/man/0000755000000000000000000000000011631457675007760 5ustar debian/man/duply.10000644000000000000000000002465312153464024011173 0ustar .\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .ie \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .el \{\ . de IX .. .\} .\" ======================================================================== .\" .IX Title "DUPLY 1" .TH DUPLY 1 "2013-06-04" "Version 1.5.10" "duply documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" duply \- a shell frontend to duplicity for simplified backups .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBduply\fR \fIprofile\fR \fBcreate\fR .PP \&\fBduply\fR \fIprofile command [options ...]\fR .PP \&\fBduply\fR \fIprofile command[_command_...] [options ...]\fR .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fBDuply\fR deals as a wrapper for the mighty duplicity magic. It simplifies running duplicity with cron or on command line by: .PP .Vb 4 \& \- keeping recurring settings in profiles per backup job \& \- enabling batch operations eg. backup_verify_purge \& \- executing pre/post scripts for every command \& \- precondition checking for flawless duplicity operation .Ve .PP For each backup job one configuration profile must be created. The profile folder will be stored under \fI~/.duply/ (where '~' is the current users home directory). .PP \&\fIHint\fR: If the folder \fI/etc/duply\fR exists, the profiles for the super user root will be searched and created there. .SH "USAGE" .IX Header "USAGE" First time usage (profile creation): .PP .Vb 1 \& duply create .Ve .PP General usage in single mode (see \s-1EXAMPLES\s0): .PP .Vb 1 \& duply [ ...] .Ve .PP General usage in batch mode joining commands with '_' (see \s-1EXAMPLES\s0): .PP .Vb 1 \& duply _[_...] [ ...] .Ve .PP Non \fBduply\fR options are passed on to duplicity (see \s-1OPTIONS\s0). All config parameters can also be defined in the environment instead. .SH "PROFILE" .IX Header "PROFILE" .SS "location for profiles" .IX Subsection "location for profiles" Indicated by a path or a profile name i.e. \fIsample\fR, which is resolved to \&\fI~/.duply/sample\fR ('~' expands to environment variable \f(CW$HOME\fR). .PP Superuser root can place profiles under \fI/etc/duply\fR. Simply create the folder manually before running duply as superuser. .PP \&\s-1ATTENTION:\s0 Already existing profiles in root's profile folder will cease to work unless there are moved to the new location manually. .SS "using profiles" .IX Subsection "using profiles" Usually only the profile name will be used: .PP .Vb 1 \& duply humbug backup .Ve .PP Alternatively a \fIpath\fR might be used. This might be useful for quick testing, restoring or exotic locations. Shell expansion should work as usual: .PP .Vb 1 \& duply ~/.duplytest/humbug backup .Ve .PP \&\s-1ATTENTION:\s0 The path must contain at least one '/', e.g \fI./test\fR instead of only \fItest\fR. .SH "COMMANDS" .IX Header "COMMANDS" .IP "\fBusage\fR" 8 .IX Item "usage" Get usage help text. .IP "\fBcreate\fR" 8 .IX Item "create" Creates a configuration profile. .IP "\fBbackup\fR" 8 .IX Item "backup" Backup with pre/post script execution (as batch the same as: pre_bkp_post) .RS 8 .IP "\(bu" 2 as \fIfull\fR backup if parameter full_if_older matches or no earlier backup is found. .IP "\(bu" 2 as \fIincremental\fR backup in all other cases. .RE .RS 8 .RE .IP "\fBbkp\fR" 8 .IX Item "bkp" As above but without executing pre/post scripts. .IP "\fBfull\fR" 8 .IX Item "full" Force full backup. .IP "\fBincr\fR" 8 .IX Item "incr" Force incremental backup. .IP "\fBpre\fR" 8 .IX Item "pre" Execute only script '/pre' (for debugging purposes). .IP "\fBpost\fR" 8 .IX Item "post" Execute only script '/post' (for debugging purposes). .IP "\fBlist\fR \fI[age]\fR" 8 .IX Item "list [age]" List all files in backup (as it was at \fIage\fR, default: now). .IP "\fBstatus\fR" 8 .IX Item "status" Prints backup sets and chains currently in repository. .IP "\fBverify\fR" 8 .IX Item "verify" List files changed since latest backup. .IP "\fBrestore\fR \fItarget_path [age]\fR" 8 .IX Item "restore target_path [age]" Restore the complete backup to \fItarget_path\fR (as it was at \fIage\fR). .IP "\fBfetch\fR \fIsrc_path target_path [age]\fR" 8 .IX Item "fetch src_path target_path [age]" Fetch single file/folder from backup (as it was at \fIage\fR). .IP "\fBpurge\fR \fI[ \fI[\-\-force]\fR" 8 .IX Item "purge [ [--force]" List outdated backup archives (older than \fImax_age\fR). Use option \fI\-\-force\fR to actually delete these files. .IP "\fBpurge-full\fR \fI[ \fI[\-\-force]\fR" 8 .IX Item "purge-full [ [--force]" List outdated backup files. \fImax_full_backups\fR being the number of full backups and associated incrementals to keep, counting in reverse chronological order. Use option \fI\-\-force\fR to actually delete these files. .IP "\fBcleanup\fR \fI[\-\-force]\fR" 8 .IX Item "cleanup [--force]" List broken backup chain files archives (e.g. after unfinished run). Use option \fI\-\-force\fR to actually delete these files. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-\-force\fR" 4 .IX Item "--force" Passed to duplicity (see commands: purge, purge-full, cleanup). .IP "\fB\-\-preview\fR" 4 .IX Item "--preview" Do nothing but print out generated duplicity command lines. .IP "\fB\-\-disable\-encryption\fR" 4 .IX Item "--disable-encryption" Disable encryption (does override profile settings). .SH "PRE/POST SCRIPTS" .IX Header "PRE/POST SCRIPTS" All internal duply variables will be readable in the scripts. Some of interest might be .PP .Vb 2 \& CONFDIR, SOURCE, TARGET_URL_, \& GPG_, CMD_ .Ve .PP The CMD_* variables were introduced to allow different actions according to the command the scripts were attached to e.g. 'pre_bkp_post_pre_verify_post' will call the pre script two times, but with \s-1CMD_NEXT\s0 variable set to 'bkp' on the first and to 'verify' on the second run. .SH "EXAMPLES" .IX Header "EXAMPLES" Create profile 'humbug': .PP .Vb 1 \& duply humbug create .Ve .PP and then edit the resulting \fIconf\fR file of this profile. .PP Backup 'humbug' now: .PP .Vb 1 \& duply humbug backup .Ve .PP List available backup sets of profile 'humbug': .PP .Vb 1 \& duply humbug status .Ve .PP List and delete obsolete backup archives of 'humbug': .PP .Vb 1 \& duply humbug purge \-\-force .Ve .PP Restore latest backup of 'humbug' to /mnt/restore: .PP .Vb 1 \& duply humbug restore /mnt/restore .Ve .PP Restore /etc/passwd of 'humbug' from 4 days ago to /root/pw: .PP .Vb 1 \& duply humbug fetch etc/passwd /root/pw 4D .Ve .PP See \fIman duplicity\fR, section \s-1TIME\s0 \s-1FORMATS\s0 for the time format. .PP A one line \fIbatch job\fR on 'humbug' for cron execution: .PP .Vb 1 \& duply humbug backup_verify_purge \-\-force .Ve .SH "FILES" .IX Header "FILES" Files in the profile folder(~/.duply/): .PP .Vb 5 \& conf .......... main profile configuration file \& pre ........... pre script (see above for details) \& post .......... post script (see above for details) \& gpgkey.*.asc .. exported GnuPG key file(s) \& exclude ....... a globbing list of included or excluded files/folders .Ve .PP The rules for the \fIexclude\fR file can be found in \fIman duplicity\fR, section \s-1FILE\s0 \s-1SELECTION\s0). .SH "IMPORTANT" .IX Header "IMPORTANT" Copy the \fIwhole\fR profile folder after the first backup to a safe place. It contains everything needed to restore your backups. You will need it if you have to restore the backup from another system (e.g. after a system crash). Keep access to these files restricted as they contain \&\fIall\fR information (gpg data, ftp data) to access and modify your backups. .PP Repeat this step after \fIall\fR configuration changes. Some configuration options are crucial for restoration. .SH "BUGS" .IX Header "BUGS" This program is still in development. If you find bugs write a bug report on: http://sourceforge.net/projects/ftplicity/. .SH "AVAILABILITY" .IX Header "AVAILABILITY" For newer versions see http://sourceforge.net/projects/ftplicity/. .SH "COPYRIGHT and LICENSE" .IX Header "COPYRIGHT and LICENSE" Copyright (C) 2006 Christiane Ruetten, 2008\-2011 Edgar Soldin .PP This package is free software; you can redistribute it and/or modify it under the terms of the \s-1GNU\s0 General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. .PP On Debian systems, the complete text of the \s-1GNU\s0 General Public License version 2 can be found in the file `/usr/share/common\-licenses/GPL\-2'. .SH "AUTHOR" .IX Header "AUTHOR" Duply was written by Christiane Ruetten (initial version, named ftplicity) and Edgar Soldin. .PP This manual page was written by Joachim Wiedorn for the Debian project (and may be used by others). .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIduplicity\fR\|(1) debian/man/duply.pod0000644000000000000000000001633312153464024011611 0ustar =for header manpage: DUPLY section: 1 title: duply documentation version: Version 1.5.10 datum: 2013-06-04 =encoding utf8 =head1 NAME duply - a shell frontend to duplicity for simplified backups =head1 SYNOPSIS B I B B I B I =head1 DESCRIPTION B deals as a wrapper for the mighty duplicity magic. It simplifies running duplicity with cron or on command line by: - keeping recurring settings in profiles per backup job - enabling batch operations eg. backup_verify_purge - executing pre/post scripts for every command - precondition checking for flawless duplicity operation For each backup job one configuration profile must be created. The profile folder will be stored under F<~/.duply/> (where '~' is the current users home directory). I: If the folder F exists, the profiles for the super user root will be searched and created there. =head1 USAGE First time usage (profile creation): duply create General usage in single mode (see EXAMPLES): duply [ ...] General usage in batch mode joining commands with '_' (see EXAMPLES): duply _[_...] [ ...] Non B options are passed on to duplicity (see OPTIONS). All config parameters can also be defined in the environment instead. =head1 PROFILE =head2 location for profiles Indicated by a path or a profile name i.e. I, which is resolved to F<~/.duply/sample> ('~' expands to environment variable $HOME). Superuser root can place profiles under F. Simply create the folder manually before running duply as superuser. ATTENTION: Already existing profiles in root's profile folder will cease to work unless there are moved to the new location manually. =head2 using profiles Usually only the profile name will be used: duply humbug backup Alternatively a I might be used. This might be useful for quick testing, restoring or exotic locations. Shell expansion should work as usual: duply ~/.duplytest/humbug backup ATTENTION: The path must contain at least one '/', e.g F<./test> instead of only F. =head1 COMMANDS =over 8 =item B Get usage help text. =item B Creates a configuration profile. =item B Backup with pre/post script execution (as batch the same as: pre_bkp_post) =over 2 =item * as I backup if parameter full_if_older matches or no earlier backup is found. =item * as I backup in all other cases. =back =item B As above but without executing pre/post scripts. =item B Force full backup. =item B Force incremental backup. =item B

Execute only script '/pre' (for debugging purposes).

=item B

Execute only script '/post' (for debugging purposes).

=item B I<[age]>

List all files in backup (as it was at I, default: now).

=item B

Prints backup sets and chains currently in repository.

=item B

List files changed since latest backup.

=item B I

Restore the complete backup to I (as it was at I).

=item B I

Fetch single file/folder from backup (as it was at I).

=item B I<[]> I<[--force]>

List outdated backup archives (older than I).
Use option I<--force> to actually delete these files.

=item B I<[]> I<[--force]>

List outdated backup files. I being the
number of full backups and associated incrementals to keep,
counting in reverse chronological order. Use option I<--force>
to actually delete these files.

=item B I<[--force]>

List broken backup chain files archives (e.g. after unfinished run).
Use option I<--force> to actually delete these files.

=back


=head1 OPTIONS

=over 4

=item B<--force>

Passed to duplicity (see commands: purge, purge-full, cleanup).

=item B<--preview>

Do nothing but print out generated duplicity command lines.

=item B<--disable-encryption>

Disable encryption (does override profile settings).

=back

=head1 PRE/POST SCRIPTS

All internal duply variables will be readable in the scripts. 
Some of interest might be 

   CONFDIR, SOURCE, TARGET_URL_, 
   GPG_, CMD_

The CMD_* variables were introduced to allow different actions according to 
the command the scripts were attached to e.g. 'pre_bkp_post_pre_verify_post' 
will call the pre script two times, but with CMD_NEXT variable set 
to 'bkp' on the first and to 'verify' on the second run.


=head1 EXAMPLES

Create profile 'humbug':

    duply humbug create

and then edit the resulting F file of this profile.

Backup 'humbug' now:

    duply humbug backup

List available backup sets of profile 'humbug':

    duply humbug status

List and delete obsolete backup archives of 'humbug':

    duply humbug purge --force

Restore latest backup of 'humbug' to /mnt/restore:

    duply humbug restore /mnt/restore

Restore /etc/passwd of 'humbug' from 4 days ago to /root/pw:

    duply humbug fetch etc/passwd /root/pw 4D

See I, section TIME FORMATS for the time format.

A one line I on 'humbug' for cron execution:

    duply humbug backup_verify_purge --force


=head1 FILES

Files in the profile folder(~/.duply/):

  conf .......... main profile configuration file
  pre ........... pre script (see above for details)
  post .......... post script (see above for details)
  gpgkey.*.asc .. exported GnuPG key file(s)
  exclude ....... a globbing list of included or excluded files/folders

The rules for the F file can be found in I, 
section FILE SELECTION).


=head1 IMPORTANT

Copy the I profile folder after the first backup to a safe place.
It contains everything needed to restore your backups. You will need 
it if you have to restore the backup from another system (e.g. after a 
system crash). Keep access to these files restricted as they contain 
I information (gpg data, ftp data) to access and modify your backups.

Repeat this step after I configuration changes. Some configuration 
options are crucial for restoration.


=head1 BUGS

This program is still in development. If you find bugs write a bug report on:
  http://sourceforge.net/projects/ftplicity/.


=head1 AVAILABILITY

For newer versions see http://sourceforge.net/projects/ftplicity/.


=head1 COPYRIGHT and LICENSE

Copyright (C) 2006 Christiane Ruetten, 2008-2011 Edgar Soldin

This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by 
the Free Software Foundation; either version 2 of the License, or 
(at your option) any later version.

On Debian systems, the complete text of the GNU General Public License
version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.


=head1 AUTHOR

Duply was written by Christiane Ruetten (initial version, named ftplicity)
and Edgar Soldin.

This manual page was written by Joachim Wiedorn 
for the Debian project (and may be used by others).


=head1 SEE ALSO

duplicity(1)

=cut
debian/man/pod2manpage0000644000000000000000000000474211647227167012105 0ustar  #!/bin/bash
#
#       pod2manpage  -  convert pod file into manual page
#       
#       Copyright 2009-2011 Joachim Wiedorn 
#       
#       This program is free software; you can redistribute it and/or modify
#       it under the terms of the GNU General Public License as published by
#       the Free Software Foundation; either version 2 of the License, or
#       (at your option) any later version.
#       
#       This program is distributed in the hope that it will be useful,
#       but WITHOUT ANY WARRANTY; without even the implied warranty of
#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#       GNU General Public License for more details.
#       
#       You should have received a copy of the GNU General Public License
#       along with this program; if not, write to the Free Software
#       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
#       MA 02110-1301, USA.

set -e

if ! test /usr/bin/pod2man; then
	echo "$0: Programm pod2man not found on the system!"
	echo "$0: Please install perl (>= 5.6.0) on your system."
	exit 1
fi

if test -z "$1"; then
	echo "Usage: $0 "
	echo ""
	echo "       The file manpage.pod needs a header with six lines:"
	echo "       =for header"
	echo "       manpage: "
	echo "       section: "
	echo "       title:   "
	echo "       version: <version number>"
	echo "       datum:   <modification date>"
	echo ""
	exit 0
fi

if ! test -e "$1"; then
	echo "$0: File $1 not found - Abort!"
	exit 1
fi

NAME=`echo "$1" | sed -e 's/\.pod$//g'`
if ! test -e "${NAME}.pod"; then
	echo "$0: File $1 is not a podfile - Abort!"
	exit 1
fi

# read file header
SUCH=manpage
manpage=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/")
SUCH=section
section=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/")
SUCH=title
title=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/")
SUCH=version
version=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/")
SUCH=datum
datum=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/")

# check for utf8 encoding
mycoding=""
if [ `head -n20 $1 | grep ^=encoding | grep -c -i utf` -eq 1 ]; then
	mycoding="--utf8"
fi

# convert pod to manpage
pod2man --section="$section" --center "$title" \
	--release="$version" --date="$datum" ${mycoding} \
	${NAME}.pod  ${NAME}.${section}

#man ./${NAME}.${section}
echo "Manpage ${NAME}.${section} created."

������������������������������debian/manpages�������������������������������������������������������������������������������������0000644�0000000�0000000�00000000023�11402210234�010664� 0����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/man/duply.1
�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/�������������������������������������������������������������������������������������0000755�0000000�0000000�00000000000�12153461371�010620� 5����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/01_move-todo-into-file.patch���������������������������������������������������������0000644�0000000�0000000�00000006214�12153454770�015746� 0����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Package:     duply
Subject:     move TODO into extra file
Author:      Joachim Wiedorn <ad_debian at joonet.de>
Forwarded:   no
Last-Update: 2013-06-04

All infos are inside the executable script. I have moved the
TODO text from the bash script into an extra file for better
usability.
---

diff -urN s00/duply s01/duply
--- s00/duply	2013-03-26 17:45:30.000000000 +0100
+++ s01/duply	2013-06-04 23:19:05.063132739 +0200
@@ -15,27 +15,6 @@
 #  This program is licensed under GPLv2.                                      #
 #  Please read the accompanying license information in gpl.txt.               #
 ###############################################################################
-#  TODO/IDEAS/KNOWN PROBLEMS:
-#  - possibility to restore time frames (incl. deleted files)
-#    realizable by listing each backup and restore from 
-#    oldest to the newest, problem: not performant
-#  - search file in all backups function and show available
-#    versions with backups date (list old avail since 0.6.06)
-#  - edit profile opens conf file in vi 
-#  - implement log-fd interpretation
-#  - add a duplicity option check against the options pending 
-#    deprecation since 0.5.10 namely --time-separator
-#                               --short-filenames
-#                              --old-filenames
-#  - add 'exclude_<command>' list usage eg. exclude_verify
-#  - a download/install duplicity option
-#  - bug: on key import it tries to import again and fails because 
-#    of already existing key, probably caused by legacy gpgkey 
-#  - hint on install software if a piece is missing
-#  - featreq 2995409: Prevent concurrent runs for same profile
-#  - featreq 3042778: check success of commands and react in batches 
-#    e.g. backup_AND_verify_AND_purge, pre_and_bkp_and_post
-#  - import/export profile from/to .tgz function !!!
 #
 #  CHANGELOG:
 #  1.5.10 (26.03.2013)
diff -urN s00/TODO s01/TODO
--- s00/TODO	1970-01-01 01:00:00.000000000 +0100
+++ s01/TODO	2013-06-04 23:18:44.400351690 +0200
@@ -0,0 +1,22 @@
+TODO/IDEAS/KNOWN PROBLEMS
+-------------------------
+  - possibility to restore time frames (incl. deleted files)
+    realizable by listing each backup and restore from 
+    oldest to the newest, problem: not performant
+  - search file in all backups function and show available
+    versions with backups date (list old avail since 0.6.06)
+  - edit profile opens conf file in vi 
+  - implement log-fd interpretation
+  - add a duplicity option check against the options pending 
+    deprecation since 0.5.10 namely --time-separator
+                                    --short-filenames
+                                    --old-filenames
+  - add 'exclude_<command>' list usage eg. exclude_verify
+  - a download/install duplicity option
+  - bug: on key import it tries to import again and fails because 
+    of already existing key, probably caused by legacy gpgkey 
+  - hint on install software if a piece is missing
+  - featreq 2995409: Prevent concurrent runs for same profile
+  - featreq 3042778: check success of commands and react in batches 
+    e.g. backup_AND_verify_AND_purge, pre_and_bkp_and_post
+  - import/export profile from/to .tgz function !!!
������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/03_copy-readme-into-file.patch�������������������������������������������������������0000644�0000000�0000000�00000002265�12153456004�016236� 0����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Package:     duply
Subject:     copy README into extra file
Author:      Joachim Wiedorn <ad_debian at joonet.de>
Forwarded:   no
Last-Update: 2013-06-04

All infos are inside the executable script. I have added the
AUTHORS and README information from the bash script into
extra README file for better usability.
---

diff -urN s02/README s03/README
--- s02/README	1970-01-01 01:00:00.000000000 +0100
+++ s03/README	2013-06-04 23:28:22.713619996 +0200
@@ -0,0 +1,17 @@
+README for duply
+----------------
+
+duply (grown out of ftplicity), is a shell front end to duplicity that
+simplifies the usage by managing settings for backup jobs in profiles.
+It supports executing multiple commands in a batch mode to enable single
+line cron entries and executes pre/post backup scripts.
+Since version 1.5.0 all duplicity backends are supported. Hence the name
+changed from ftplicity to duply.
+
+See http://duply.net or http://ftplicity.sourceforge.net/ for more info.
+(c) 2006 Christiane Ruetten, Heise Zeitschriften Verlag, Germany
+(c) 2008-2012 Edgar Soldin (changes since version 1.3)
+
+LICENSE:
+This program is licensed under GPLv2.
+Please read the accompanying license information in gpl-2.0.txt.
�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/04_small-typo-in-script.patch��������������������������������������������������������0000644�0000000�0000000�00000001441�12153456272�016157� 0����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Package:     duply
Subject:     small typo in script
Author:      Joachim Wiedorn <ad_debian at joonet.de>
Forwarded:   http://sourceforge.net/support/tracker.php?aid=2933549
Last-Update: 2013-06-04

Correcting a small typo in comment, which made it to an 
UTF-8 file.
---

diff -urNa s03/duply s04/duply
--- s03/duply	2013-06-04 23:23:31.570102859 +0200
+++ s04/duply	2013-06-04 23:31:00.533479609 +0200
@@ -1492,7 +1492,7 @@
 		;;
 	*)
 		# all protocols with username in url, only username is in url, 
-		# pass is env var for secúrity, url_encode username to protect special chars
+		# pass is env var for security, url_encode username to protect special chars
 		var_isset 'TARGET_URL_USER' && 
 			BACKEND_CREDS="$(url_encode "${TARGET_URL_USER}")@"
 		# sortout backends way to handle password
�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/05_reduce-usage-text-in-script.patch�������������������������������������������������0000644�0000000�0000000�00000011565�12153457675�017432� 0����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Package:     duply
Subject:     reduce usage text in script
Author:      Joachim Wiedorn <ad_debian at joonet.de>
Forwarded:   no
Last-Update: 2013-06-04

All infos are inside the executable script. I have copied the
manpage text from the bash script into an extra manpage file
for better usability. I have leaved only some pieces of the
original text for quick overview of usage.
---

diff -urN s04/duply s05/duply
--- s04/duply	2013-06-04 23:31:00.533479609 +0200
+++ s05/duply	2013-06-04 23:43:30.299881421 +0200
@@ -110,50 +110,17 @@
   
 DESCRIPTION: 
   Duply deals as a wrapper for the mighty duplicity magic.
-  It simplifies running duplicity with cron or on command line by:
+  It simplifies running duplicity with cron or on command line.
 
-    - keeping recurring settings in profiles per backup job
-    - enabling batch operations eg. backup_verify_purge
-    - executing pre/post scripts for every command
-    - precondition checking for flawless duplicity operation
-
-  For each backup job one configuration profile must be created.
-  The profile folder will be stored under '~/.${ME_NAME}/<profile>'
-  (where ~ is the current users home directory).
-  Hint:  
-   If the folder '/etc/${ME_NAME}' exists, the profiles for the super
-   user root will be searched & created there.
-
-USAGE:
-  first time usage (profile creation):  
+  First time usage (profile creation):  
     $ME <profile> create
 
-  general usage in single or batch mode (see EXAMPLES):  
+  General usage in single or batch mode:
     $ME <profile> <command>[_<command>_...] [<options> ...]
 
   Non $ME options are passed on to duplicity (see OPTIONS).
   All conf parameters can also be defined in the environment instead.
 
-PROFILE:
-  Indicated by a path or a profile name (<profile>), which is resolved 
-  to '~/.${ME_NAME}/<profile>' (~ expands to environment variable \$HOME).
-
-  Superuser root can place profiles under '/etc/${ME_NAME}'. Simply create
-  the folder manually before running $ME as superuser.
-  Note:  
-    Already existing profiles in root's profile folder will cease to work
-    unless there are moved to the new location manually.
-
-  example 1:   $ME humbug backup
-
-  Alternatively a _path_ might be used e.g. useful for quick testing, 
-  restoring or exotic locations. Shell expansion should work as usual.
-  Hint:  
-    The path must contain at least one path separator '/', 
-    e.g. './test' instead of only 'test'.
-
-  example 2:   $ME ~/.${ME_NAME}/humbug backup
-
 COMMANDS:
   usage      get usage help text
 
@@ -185,59 +152,16 @@
              list broken backup chain files archives (e.g. after unfinished run)
               [use --force to actually delete these files]
 
-  changelog  print changelog / todo list
-  txt2man    feature for package maintainers - create a manpage based on the 
-             usage output. download txt2man from http://mvertes.free.fr/, put 
-             it in the PATH and run '$ME txt2man' to create a man page.
-
 OPTIONS:
   --force    passed to duplicity (see commands: purge, purge-full, cleanup)
   --preview  do nothing but print out generated duplicity command lines
   --disable-encryption  
              disable encryption, overrides profile settings
 
-PRE/POST SCRIPTS:
-  All internal duply variables will be readable in the scripts.
-  Some of interest might be
-
-    CONFDIR, SOURCE, TARGET_URL_<PROT|HOSTPATH|USER|PASS>, 
-    GPG_<KEYS_ENC|KEY_SIGN|PW>, CMD_<PREV|NEXT>
-
-  The CMD_* variables were introduced to allow different actions according to 
-  the command the scripts were attached to e.g. 'pre_bkp_post_pre_verify_post' 
-  will call the pre script two times, with CMD_NEXT variable set to 'bkp' 
-  on the first and to 'verify' on the second run.
-
-EXAMPLES:
-  create profile 'humbug':  
-    $ME humbug create (now edit the resulting conf file)
-  backup 'humbug' now:  
-    $ME humbug backup
-  list available backup sets of profile 'humbug':  
-    $ME humbug status
-  list and delete obsolete backup archives of 'humbug':  
-    $ME humbug purge --force
-  restore latest backup of 'humbug' to /mnt/restore:  
-    $ME humbug restore /mnt/restore
-  restore /etc/passwd of 'humbug' from 4 days ago to /root/pw:  
-    $ME humbug fetch etc/passwd /root/pw 4D
-    (see "duplicity manpage", section TIME FORMATS)
-  a one line batch job on 'humbug' for cron execution:  
-    $ME humbug backup_verify_purge --force
-
-FILES:
-  in profile folder '~/.${ME_NAME}/<profile>' or '/etc/${ME_NAME}'
-  conf             profile configuration file
-  pre,post         pre/post scripts (see above for details)
-  gpgkey.*.asc     exported GPG key files
-  exclude          a globbing list of included or excluded files/folders
-                   (see "duplicity manpage", section FILE SELECTION)
-
 $(hint_profile)
 
 SEE ALSO:
-  duplicity man page:
-    duplicity(1) or http://duplicity.nongnu.org/duplicity.1.html
+  man pages: duply(1), duplicity(1)
 USAGE_EOF
 }
 
�������������������������������������������������������������������������������������������������������������������������������������������debian/patches/series�������������������������������������������������������������������������������0000644�0000000�0000000�00000000241�12153457740�012037� 0����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������01_move-todo-into-file.patch
02_move-changelog-into-file.patch
03_copy-readme-into-file.patch
04_small-typo-in-script.patch
05_reduce-usage-text-in-script.patch
���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/02_move-changelog-into-file.patch����������������������������������������������������0000644�0000000�0000000�00000064074�12153461274�016736� 0����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Package:     duply
Subject:     move changelog into extra file
Author:      Joachim Wiedorn <ad_debian at joonet.de>
Forwarded:   no
Last-Update: 2013-06-04

All infos are inside the executable script. I have moved the
CHANGELOG text from the bash script into an extra file for
better usability.
---

diff -urN s01/changelog s02/changelog
--- s01/changelog	1970-01-01 01:00:00.000000000 +0100
+++ s02/changelog	2013-06-04 23:56:04.910363290 +0200
@@ -0,0 +1,277 @@
+CHANGELOG of duply
+------------------
+
+~~~ series 1.5 ~~~
+
+1.5.10 (26.03.2013)
+- minor indent and documentation fixes
+- bugfix: exclude filter failed on ubuntu, mawk w/o posix char class support
+- bugfix: fix url_decoding generally and for python3
+- bugfix 3609075: wrong script results in status line (thx David Epping)
+
+1.5.9 (22.11.2012)
+- bugfix 3588926: filter --exclude* params for restore/fetch ate too much
+- restore/fetch now also ignores --include* or --exclude='foobar' 
+
+1.5.8 (26.10.2012)
+- bugfix 3575487: implement proper cloud files support
+
+1.5.7 (10.06.2012)
+- bugfix 3531450: Cannot use space in target URL (file:///) anymore
+
+1.5.6 (24.5.2012)
+- commands purge, purge-full have no default value anymore for security 
+  reasons; instead max value can be given via cmd line or must be set
+  in profile; else an error is shown.
+- minor man page modifications
+
+versioning scheme will be simplified to [major].[minor].[patch] version
+with the next version raise.
+
+1.5.5.5 (4.2.2012)
+- bugfix 3479605: SEL context confused profile folder's permission check
+- colon ':' in url passphrase got ignored, added python driven url_decoding
+  for user & pass to better process special chars
+
+1.5.5.4 (16.10.2011)
+- bugfix 3421268: SFTP passwords from conf ignored and always prompted for
+- add support for separate sign passphrase (needs duplicity 0.6.14+)
+
+1.5.5.3 (1.10.2011)
+- bugfix 3416690: repaired preview threw echo1 error
+- fix unknown cmds error usage & friends if more than 2 params were given
+
+1.5.5.2 (23.9.2011)
+- bugfix 3409643: ssh key auth did ask for passphrase (--ssh-askpass ?)
+- bugfix: mawk does not support \W and did not split multikey definitions
+- all parameters should survive  single (') and double (") quotes now
+
+1.5.5.1 (7.6.2011)
+- featreq 3311881: add ftps as supported by duplicity 0.6.13 (thx mape2k)
+- bugfix 3312208: signing detection broke symmetric gpg test routine
+
+1.5.5 (2.5.2011)
+- bugfix: fetch problem with space char in path, escape all params 
+  containing non word chars
+- list available profiles, if given profile cannot be found
+- added --use-agent configuration hint
+- bugfix 3174133: --exclude* params in conf DUPL_PARAMS broke 
+  fetch/restore
+- version command now prints out 'using installed' info
+- featreq 3166169: autotrust imported keys, based on code submitted by 
+  Martin Ellis - imported keys are now automagically trusted ultimately 
+- new txt2man feature to create manpages for package maintainers
+
+1.5.4.2 (6.1.2011)
+- new command changelog
+- bugfix 3109884: freebsd awk segfaulted on printf '%*', use print again
+- bugfix: freebsd awk hangs on 'awk -W version' 
+- bugfix 3150244: mawk does not know '--version'
+- minor help text improvements
+- new env vars CMD_PREV,CMD_NEXT replacing CMD env var for scripts
+
+1.5.4.1 (4.12.2010)
+- output awk, python, bash version now in prolog
+- shebang uses /usr/bin/env now for freebsd compatibility, bash not in /bin/bash 
+- new --disable-encryption parameter, to override profile encr settings for one run
+- added exclude-if-present setting to conf template
+- bug 3126972: GPG_PW only needed for signing/symmetric encryption (even though duplicity still needs it)
+
+1.5.4 (15.11.2010)
+- as of 1.5.3 already, new ARCH_DIR config option
+- multiple key support
+- ftplicity-Feature Requests-2994929: separate encryption and signing key
+- key signing of symmetric encryption possible (duplicity patch committed)
+- gpg tests disable switch
+- gpg tests now previewable and more intelligent
+
+1.5.3 (1.11.2010)
+- bugfix 3056628: improve busybox compatibility, grep did not have -m param
+- bugfix 2995408: allow empty password for PGP key
+- bugfix 2996459: Duply erroneously escapes '-' symbol in username
+- url_encode function is now pythonized
+- rsync uses FTP_PASSWORD now if duplicity 0.6.10+ , else issue warning
+- feature 3059262: Make pre and post aware of parameters, 
+                   internal parameters + CMD of pre or post 
+
+1.5.2.3 (16.4.2010)
+- bugfix: date again, should now work virtually anywhere
+
+1.5.2.2 (3.4.2010)
+- minor bugfix: duplicity 0.6.8b version string now parsable
+- added INSTALL.txt
+
+1.5.2.1 (23.3.2010)
+- bugfix: date formatting is awked now and should work on all platforms
+
+1.5.2 (2.3.2010)
+- bugfix: errors print to STD_ERR now, failed tasks print an error message
+- added --name=duply_<profile> for duplicity 0.6.01+ to name cache folder
+- simplified & cleaned profileless commands, removed second instance
+- generalized separator time routines
+- added support for --no-encryption (GPG_KEY='disabled'), see conf examples
+- minor fixes
+
+1.5.1.5 (5.2.2010)
+- bugfix: added special handling of credentials for rsync, imap(s)
+
+1.5.1.4 (7.1.2010)
+- bugfix: nsecs defaults now to zeroes if date does not deliver [0-9]{9}
+- check if ncftp binary is available if url protocol is ftp
+- bugfix: duplicity output is now printed to screen directly to resolve
+          'mem alloc problem' bug report
+- bugfix: passwords will not be in the url anymore to solve the 'duply shows
+          sensitive data in process listing' bug report
+
+1.5.1.3 (24.12.2009) 'merry xmas'
+- bugfix: gpg pass now apostrophed to allow space and friends
+- bugfix: credentials are now url encoded to allow special chars in them
+          a note about url encoding has been added to the conf template
+
+1.5.1.2 (1.11.2009)
+- bugfix: open parenthesis in password broke duplicity execution
+- bugfix: ssh/scp backend does not always need credentials e.g. key auth
+
+1.5.1.1 (21.09.2009)
+- bugfix: fixed s3[+http] TARGET_PASS not needed routine
+- bugfix: TYPO in duply 1.5.1 prohibited the use of /etc/duply
+  see https://sourceforge.net/tracker/index.php?func=detail&aid=2864410&
+              group_id=217745&atid=1041147
+
+1.5.1 (21.09.2009) - duply (fka. ftplicity)
+- first things first: ftplicity (being able to support all backends since 
+  some time) will be called duply (fka. ftplicity) from now on. The addendum
+  is for the time being to circumvent confusion.
+- bugfix: exit code is 1 (error) not 0 (success), if at least on duplicity 
+          command failed
+- s3[+http] now supported natively by translating user/pass to access_key/
+  secret_key environment variables needed by duplicity s3 boto backend 
+- bugfix: additional output lines do not confuse version check anymore
+- list command supports now age parameter (patch by stefan on feature
+  request tracker)
+- bugfix: option/param pairs are now correctly passed on to duplicity
+- bugfix: s3[+http] needs no TARGET_PASS if command is read only
+
+1.5.0.2 (31.07.2009)
+- bugfix: insert password in target url didn't work with debian mawk
+          related to previous bug report
+
+1.5.0.1 (23.07.2009)
+- bugfix: gawk gensub dependency raised an error on debian's default mawk
+          replaced with match/substr command combination (bug report)
+          https://sf.net/tracker/?func=detail&atid=1041147&aid=2825388&
+                  group_id=217745
+
+1.5.0 (01.07.2009)
+- removed ftp limitation, all duplicity backends should work now
+- bugfix: date for separator failed on openwrt busybox date, added a 
+  detecting workaround, milliseconds are not available w/ busybox date
+
+~~~ series 1.4 ~~~
+
+1.4.2.1 (14.05.2009)
+- bugfix: free temp space detection failed with lvm, fixed awk parse routine
+
+1.4.2 (22.04.2009)
+- gpg keys are now exported as gpgkey.[id].asc , the suffix reflects the
+  armored ascii nature, the id helps if the key is switched for some reason
+  im/export routines are updated accordingly (import is backward compatible 
+  to the old profile/gpgkey files)         
+- profile argument is treated as path if it contains slashes 
+  (for details see usage)
+- non-ftplicity options (all but --preview currently) are now passed 
+  on to duplicity 
+- removed need for stat in secure_conf, it is ls based now
+- added profile folder readable check
+- added gpg version & home info output
+- awk utility availability is now checked, because it was mandatory already
+- tmp space is now checked on writability and space requirement
+  test fails on less than 25MB or configured $VOLSIZE, 
+  test warns if there is less than two times $VOLSIZE because 
+  that's required for --asynchronous-upload option  
+- gpg functionality is tested now before executing duplicity 
+  test drive contains encryption, decryption, comparison, cleanup
+  this is meant to detect non trusted or other gpg errors early
+- added possibility of doing symmetric encryption with duplicity
+  set GPG_KEY="" or simply comment it out
+- added hints in config template on the depreciation of 
+  --short-filenames, --time-separator duplicity options
+
+new versioning scheme 1.4.2b => 1.4.2, 
+beta b's are replaced by a patch count number e.g. 1.4.2.1 will be assigned
+to the first bug fixing version and 1.4.2.2 to the second and so on
+also the releases will now have a release date formatted (Day.Month.Year)
+
+1.4.1b1 (28.12.2008)
+        - bugfix: ftplicity changed filesystem permission of a folder
+          named exactly as the profile if existing in executing dir
+        - improved plausibility checking of config and profile folder
+        - secure_conf only acts if needed and prints a warning now
+
+1.4.1b  (02.11.2008)
+        - introduce status (duplicity collection-status) command
+        - pre/post script output printed always now, not only on errors
+        - new config parameter GPG_OPTS to pass gpg options
+          added examples & comments to profile template conf
+        - reworked separator times, added duration display
+        - added --preview switch, to preview generated command lines
+        - disabled MAX_AGE, MAX_FULL_BACKUPS, VERBOSITY in generated
+          profiles because they have reasonable defaults now if not set
+
+1.4.0b1 (16.06.2008)
+        - bugfix: incr forces incremental backups on duplicity,
+          therefore backup translates to pre_bkp_post now
+        - bugfix: new command bkp, which represents duplicity's 
+          default action (incr or full if full_if_older matches
+          or no earlier backup chain is found)
+
+new versioning scheme 1.4 => 1.4.0, added new minor revision number
+this is meant to slow down the rapid version growing but still keep 
+versions cleanly separated.
+only additional features will raise the new minor revision number. 
+all releases start as beta, each bugfix release will raise the beta 
+count, usually new features arrive before a version 'ripes' to stable
+
+1.4.0b (05.06.2008)
+  1.4b  - added startup info on version, time, selected profile
+        - added time output to separation lines
+        - introduced: command purge-full implements duplicity's 
+          remove-all-but-n-full functionality (patch by unknown),
+          uses config variable $MAX_FULL_BACKUPS (default = 1)
+        - purge config var $MAX_AGE defaults to 1M (month) now 
+        - command full does not execute pre/post anymore
+          use batch command pre_full_post if needed 
+        - introduced batch mode cmd1_cmd2_etc
+          (in turn removed the bvp command)
+        - unknown/undefined command issues a warning/error now
+        - bugfix: version check works with 0.4.2 and older now
+
+  1.3b3 - introduced pre/post commands to execute/debug scripts
+        - introduced bvp (backup, verify, purge)
+        - bugfix: removed need for awk gensub, now mawk compatible
+
+  1.3b2 - removed pre/post need executable bit set 
+        - profiles now under ~/.ftplicity as folders
+        - root can keep profiles in /etc/ftplicity, folder must be
+          created by hand, existing profiles must be moved there
+        - removed ftplicity in path requirement
+        - bugfix: bash < v.3 did not know '=~'
+        - bugfix: purge works again 
+
+  1.3   - introduces multiple profiles support
+        - modified some script errors/docs
+        - reordered gpg key check import routine
+        - added 'gpg key id not set' check
+        - added error_gpg (adds how to setup gpg key howto)
+        - bugfix: duplicity 0.4.4RC4+ parameter syntax changed
+        - duplicity_version_check routine introduced
+        - added time separator, shortnames, volsize, full_if_older 
+          duplicity options to config file (inspired by stevie 
+          from http://weareroot.de) 
+
+  1.1.1 - bugfix: encryption reactivated
+
+  1.1   - introduced config directory
+
+  1.0   - first release
+
diff -urN s01/duply s02/duply
--- s01/duply	2013-06-04 23:19:05.063132739 +0200
+++ s02/duply	2013-06-04 23:23:31.570102859 +0200
@@ -15,269 +15,6 @@
 #  This program is licensed under GPLv2.                                      #
 #  Please read the accompanying license information in gpl.txt.               #
 ###############################################################################
-#
-#  CHANGELOG:
-#  1.5.10 (26.03.2013)
-#  - minor indent and documentation fixes
-#  - bugfix: exclude filter failed on ubuntu, mawk w/o posix char class support
-#  - bugfix: fix url_decoding generally and for python3
-#  - bugfix 3609075: wrong script results in status line (thx David Epping)
-#
-#  1.5.9 (22.11.2012)
-#  - bugfix 3588926: filter --exclude* params for restore/fetch ate too much
-#  - restore/fetch now also ignores --include* or --exclude='foobar' 
-#
-#  1.5.8 (26.10.2012)
-#  - bugfix 3575487: implement proper cloud files support
-#
-#  1.5.7 (10.06.2012)
-#  - bugfix 3531450: Cannot use space in target URL (file:///) anymore
-#
-#  1.5.6 (24.5.2012)
-#  - commands purge, purge-full have no default value anymore for security 
-#    reasons; instead max value can be given via cmd line or must be set
-#    in profile; else an error is shown.
-#  - minor man page modifications
-#
-#  versioning scheme will be simplified to [major].[minor].[patch] version
-#  with the next version raise
-#
-#  1.5.5.5 (4.2.2012)
-#  - bugfix 3479605: SEL context confused profile folder's permission check
-#  - colon ':' in url passphrase got ignored, added python driven url_decoding
-#    for user & pass to better process special chars
-#
-#  1.5.5.4 (16.10.2011)
-#  - bugfix 3421268: SFTP passwords from conf ignored and always prompted for
-#  - add support for separate sign passphrase (needs duplicity 0.6.14+)
-#
-#  1.5.5.3 (1.10.2011)
-#  - bugfix 3416690: preview threw echo1 error
-#  - fix unknown cmds error usage & friends if more than 2 params were given
-#
-#  1.5.5.2 (23.9.2011)
-#  - bugfix 3409643: ssh key auth did ask for passphrase (--ssh-askpass ?)
-#  - bugfix: mawk does not support \W and did not split multikey definitions
-#  - all parameters should survive  single (') and double (") quotes now
-#
-#  1.5.5.1 (7.6.2011)
-#  - featreq 3311881: add ftps as supported by duplicity 0.6.13 (thx mape2k)
-#  - bugfix 3312208: signing detection broke symmetric gpg test routine
-#
-#  1.5.5 (2.5.2011)
-#  - bugfix: fetch problem with space char in path, escape all params 
-#    containing non word chars
-#  - list available profiles, if given profile cannot be found
-#  - added --use-agent configuration hint
-#  - bugfix 3174133: --exclude* params in conf DUPL_PARAMS broke 
-#    fetch/restore
-#  - version command now prints out 'using installed' info
-#  - featreq 3166169: autotrust imported keys, based on code submitted by 
-#    Martin Ellis - imported keys are now automagically trusted ultimately 
-#  - new txt2man feature to create manpages for package maintainers
-#
-#  1.5.4.2 (6.1.2011)
-#  - new command changelog
-#  - bugfix 3109884: freebsd awk segfaulted on printf '%*', use print again
-#  - bugfix: freebsd awk hangs on 'awk -W version' 
-#  - bugfix 3150244: mawk does not know '--version'
-#  - minor help text improvements
-#  - new env vars CMD_PREV,CMD_NEXT replacing CMD env var for scripts
-#
-#  1.5.4.1 (4.12.2010)
-#  - output awk, python, bash version now in prolog
-#  - shebang uses /usr/bin/env now for freebsd compatibility, bash not in /bin/bash 
-#  - new --disable-encryption parameter, to override profile encr settings for one run
-#  - added exclude-if-present setting to conf template
-#  - bug 3126972: GPG_PW only needed for signing/symmetric encryption (even though duplicity still needs it)
-#
-#  1.5.4 (15.11.2010)
-#  - as of 1.5.3 already, new ARCH_DIR config option
-#  - multiple key support
-#  - ftplicity-Feature Requests-2994929: separate encryption and signing key
-#  - key signing of symmetric encryption possible (duplicity patch committed)
-#  - gpg tests disable switch
-#  - gpg tests now previewable and more intelligent
-#
-#  1.5.3 (1.11.2010)
-#  - bugfix 3056628: improve busybox compatibility, grep did not have -m param
-#  - bugfix 2995408: allow empty password for PGP key
-#  - bugfix 2996459: Duply erroneously escapes '-' symbol in username
-#  - url_encode function is now pythonized
-#  - rsync uses FTP_PASSWORD now if duplicity 0.6.10+ , else issue warning
-#  - feature 3059262: Make pre and post aware of parameters, 
-#                     internal parameters + CMD of pre or post 
-#
-#  1.5.2.3 (16.4.2010)
-#  - bugfix: date again, should now work virtually anywhere
-#
-#  1.5.2.2 (3.4.2010)
-#  - minor bugfix: duplicity 0.6.8b version string now parsable
-#  - added INSTALL.txt
-#
-#  1.5.2.1 (23.3.2010)
-#  - bugfix: date formatting is awked now and should work on all platforms
-#
-#  1.5.2 (2.3.2010)
-#  - bugfix: errors print to STD_ERR now, failed tasks print an error message
-#  - added --name=duply_<profile> for duplicity 0.6.01+ to name cache folder
-#  - simplified & cleaned profileless commands, removed second instance
-#  - generalized separator time routines
-#  - added support for --no-encryption (GPG_KEY='disabled'), see conf examples
-#  - minor fixes
-#
-#  1.5.1.5 (5.2.2010)
-#  - bugfix: added special handling of credentials for rsync, imap(s)
-#
-#  1.5.1.4 (7.1.2010)
-#  - bugfix: nsecs defaults now to zeroes if date does not deliver [0-9]{9}
-#  - check if ncftp binary is available if url protocol is ftp
-#  - bugfix: duplicity output is now printed to screen directly to resolve
-#            'mem alloc problem' bug report
-#  - bugfix: passwords will not be in the url anymore to solve the 'duply shows
-#            sensitive data in process listing' bug report
-#
-#  1.5.1.3 (24.12.2009) 'merry xmas'
-#  - bugfix: gpg pass now apostrophed to allow space and friends
-#  - bugfix: credentials are now url encoded to allow special chars in them
-#            a note about url encoding has been added to the conf template
-#
-#  1.5.1.2 (1.11.2009)
-#  - bugfix: open parenthesis in password broke duplicity execution
-#  - bugfix: ssh/scp backend does not always need credentials e.g. key auth
-#
-#  1.5.1.1 (21.09.2009)
-#  - bugfix: fixed s3[+http] TARGET_PASS not needed routine
-#  - bugfix: TYPO in duply 1.5.1 prohibited the use of /etc/duply
-#    see https://sourceforge.net/tracker/index.php?func=detail&
-#                aid=2864410&group_id=217745&atid=1041147
-#
-#  1.5.1 (21.09.2009) - duply (fka. ftplicity)
-#  - first things first: ftplicity (being able to support all backends since 
-#    some time) will be called duply (fka. ftplicity) from now on. The addendum
-#    is for the time being to circumvent confusion.
-#  - bugfix: exit code is 1 (error) not 0 (success), if at least on duplicity 
-#            command failed
-#  - s3[+http] now supported natively by translating user/pass to access_key/
-#    secret_key environment variables needed by duplicity s3 boto backend 
-#  - bugfix: additional output lines do not confuse version check anymore
-#  - list command supports now age parameter (patch by stefan on feature 
-#    request tracker)
-#  - bugfix: option/param pairs are now correctly passed on to duplicity
-#  - bugfix: s3[+http] needs no TARGET_PASS if command is read only
-#
-#  1.5.0.2 (31.07.1009)
-#  - bugfix: insert password in target url didn't work with debian mawk
-#            related to previous bug report
-#
-#  1.5.0.1 (23.07.2009)
-#  - bugfix: gawk gensub dependency raised an error on debian's default mawk
-#            replaced with match/substr command combination (bug report)
-#            https://sf.net/tracker/?func=detail&atid=1041147&aid=2825388&
-#            group_id=217745
-#
-#  1.5.0 (01.07.2009)
-#  - removed ftp limitation, all duplicity backends should work now
-#  - bugfix: date for separator failed on openwrt busybox date, added a 
-#    detecting workaround, milliseconds are not available w/ busybox date
-#
-#  1.4.2.1 (14.05.2009)
-#  - bugfix: free temp space detection failed with lvm, fixed awk parse routine
-#
-#  1.4.2 (22.04.2009)
-#  - gpg keys are now exported as gpgkey.[id].asc , the suffix reflects the
-#    armored ascii nature, the id helps if the key is switched for some reason
-#    im/export routines are updated accordingly (import is backward compatible 
-#    to the old profile/gpgkey files)         
-#  - profile argument is treated as path if it contains slashes 
-#    (for details see usage)
-#  - non-ftplicity options (all but --preview currently) are now passed 
-#    on to duplicity 
-#  - removed need for stat in secure_conf, it is ls based now
-#  - added profile folder readable check
-#  - added gpg version & home info output
-#  - awk utility availability is now checked, because it was mandatory already
-#  - tmp space is now checked on writability and space requirement
-#    test fails on less than 25MB or configured $VOLSIZE, 
-#    test warns if there is less than two times $VOLSIZE because 
-#    that's required for --asynchronous-upload option  
-#  - gpg functionality is tested now before executing duplicity 
-#    test drive contains encryption, decryption, comparison, cleanup
-#    this is meant to detect non trusted or other gpg errors early
-#  - added possibility of doing symmetric encryption with duplicity
-#    set GPG_KEY="" or simply comment it out
-#  - added hints in config template on the depreciation of 
-#    --short-filenames, --time-separator duplicity options
-#
-#  new versioning scheme 1.4.2b => 1.4.2, 
-#  beta b's are replaced by a patch count number e.g. 1.4.2.1 will be assigned
-#  to the first bug fixing version and 1.4.2.2 to the second and so on
-#  also the releases will now have a release date formatted (Day.Month.Year)
-#
-#  1.4.1b1 - bugfix: ftplicity changed filesystem permission of a folder
-#            named exactly as the profile if existing in executing dir
-#          - improved plausibility checking of config and profile folder
-#          - secure_conf only acts if needed and prints a warning now
-#
-#  1.4.1b  - introduce status (duplicity collection-status) command
-#          - pre/post script output printed always now, not only on errors
-#          - new config parameter GPG_OPTS to pass gpg options
-#            added examples & comments to profile template conf
-#          - reworked separator times, added duration display
-#          - added --preview switch, to preview generated command lines
-#          - disabled MAX_AGE, MAX_FULL_BACKUPS, VERBOSITY in generated
-#            profiles because they have reasonable defaults now if not set
-#
-#  1.4.0b1 - bugfix: incr forces incremental backups on duplicity,
-#            therefore backup translates to pre_bkp_post now
-#          - bugfix: new command bkp, which represents duplicity's 
-#            default action (incr or full if full_if_older matches
-#            or no earlier backup chain is found)
-#
-#  new versioning scheme 1.4 => 1.4.0, added new minor revision number
-#  this is meant to slow down the rapid version growing but still keep 
-#  versions cleanly separated.
-#  only additional features will raise the new minor revision number. 
-#  all releases start as beta, each bugfix release will raise the beta 
-#  count, usually new features arrive before a version 'ripes' to stable
-#    
-#  1.4.0b
-#    1.4b  - added startup info on version, time, selected profile
-#          - added time output to separation lines
-#          - introduced: command purge-full implements duplicity's 
-#            remove-all-but-n-full functionality (patch by unknown),
-#            uses config variable $MAX_FULL_BACKUPS (default = 1)
-#          - purge config var $MAX_AGE defaults to 1M (month) now 
-#          - command full does not execute pre/post anymore
-#            use batch command pre_full_post if needed 
-#          - introduced batch mode cmd1_cmd2_etc
-#            (in turn removed the bvp command)
-#          - unknown/undefined command issues a warning/error now
-#          - bugfix: version check works with 0.4.2 and older now
-#    1.3b3 - introduced pre/post commands to execute/debug scripts
-#          - introduced bvp (backup, verify, purge)
-#          - bugfix: removed need for awk gensub, now mawk compatible
-#    1.3b2 - removed pre/post need executable bit set 
-#          - profiles now under ~/.ftplicity as folders
-#          - root can keep profiles in /etc/ftplicity, folder must be
-#            created by hand, existing profiles must be moved there
-#          - removed ftplicity in path requirement
-#          - bugfix: bash < v.3 did not know '=~'
-#          - bugfix: purge works again 
-#    1.3   - introduces multiple profiles support
-#          - modified some script errors/docs
-#          - reordered gpg key check import routine
-#          - added 'gpg key id not set' check
-#          - added error_gpg (adds how to setup gpg key howto)
-#          - bugfix: duplicity 0.4.4RC4+ parameter syntax changed
-#          - duplicity_version_check routine introduced
-#          - added time separator, shortnames, volsize, full_if_older 
-#            duplicity options to config file (inspired by stevie 
-#            from http://weareroot.de) 
-#    1.1.1 - bugfix: encryption reactivated
-#    1.1   - introduced config directory
-#    1.0   - first release
-###############################################################################
 
 
 # important definitions #######################################################
��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/rules����������������������������������������������������������������������������������������0000755�0000000�0000000�00000000062�11402210234�010231� 0����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/usr/bin/make -f
# -*- makefile -*-

%:
	dh $@

������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/source/��������������������������������������������������������������������������������������0000755�0000000�0000000�00000000000�11402210234�010453� 5����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/source/format��������������������������������������������������������������������������������0000644�0000000�0000000�00000000014�11402210234�011661� 0����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������3.0 (quilt)
��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/copyright������������������������������������������������������������������������������������0000644�0000000�0000000�00000002347�12153463537�011140� 0����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: duply
Upstream-Contact: Edgar Soldin <edso@users.sf.net>
Source: http://sourceforge.net/projects/ftplicity/


Files: *
Copyright: 2008-2013, Edgar Soldin  <edso@users.sf.net>
           2006, Christiane Ruetten (Heise Zeitschriften Verlag, Germany)
License: GPL-2+

Files: debian/*
Copyright: 2009-2013, Joachim Wiedorn <ad_debian@joonet.de>
License: GPL-2+

License: GPL-2+
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by 
  the Free Software Foundation; either version 2 of the License, or 
  (at your option) any later version.
  .
  This package is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  .
  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  .
  On Debian systems, the complete text of the GNU General Public License
  version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.

�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/watch����������������������������������������������������������������������������������������0000644�0000000�0000000�00000000145�11550162042�010213� 0����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# watch control file for uscan for package duply
version=3
http://sf.net/ftplicity/duply_(\d.+)\.tgz
���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/control��������������������������������������������������������������������������������������0000644�0000000�0000000�00000001506�12153460524�010575� 0����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Source: duply
Section: utils
Priority: optional
Maintainer: Joachim Wiedorn <ad_debian@joonet.de>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.4
Homepage: http://duply.net
Vcs-Git: git://anonscm.debian.org/collab-maint/duply.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/duply.git

Package: duply
Architecture: all
Depends: duplicity (>= 0.4.11), gnupg, ${misc:Depends}
Suggests: openssh-client
Description: easy to use frontend to the duplicity backup system
 duply is a shell front end to duplicity that simplifies the usage by managing
 settings for each backup job in profiles. It supports executing multiple
 commands in a batch mode to enable single line cron entries and allows the
 user to use pre/post backup scripts. All duplicity backends are supported.
 The previous name of duply was ftplicity.
������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/changelog������������������������������������������������������������������������������������0000644�0000000�0000000�00000010236�12153463747�011056� 0����������������������������������������������������������������������������������������������������ustar  ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������duply (1.5.10-1) unstable; urgency=low

  * New upstream release with many bugfixes. Closes: #698734
  * Full update of all patches.
  * debian/control:
    - Bump to Standards Version 3.9.4 (no changes).
    - Mov to debhelper >= 9 and compat level 9.
  * Update manpage debian/man/duply.1.
  * Update debian/copyright.

 -- Joachim Wiedorn <ad_debian@joonet.de>  Tue, 04 Jun 2013 23:46:53 +0200

duply (1.5.5.5-1) unstable; urgency=low

  * New upstream release.
  * Upstream bugfixes:
    - fix SEL context confused profile folder's permission check.
    - fix for use of colon ':' in url passphrase got ignored.
  * Update of some patches.
  * Update debian/copyright file.
  * debian/control: bump to Standards Version 3.9.3 (no changes).

 -- Joachim Wiedorn <ad_debian@joonet.de>  Tue, 08 May 2012 16:10:51 +0200

duply (1.5.5.4-1) unstable; urgency=medium

  * New upstream release.
  * Upstream bugfix:
    - fix ignoring SFTP passwords from conf. Closes: #643748  (part 2).

 -- Joachim Wiedorn <ad_debian@joonet.de>  Tue, 18 Oct 2011 09:36:05 +0200

duply (1.5.5.3-1) unstable; urgency=high

  * New upstream release.
  * Upstream bugfixes:
    - fix preview - failing because of echo1 error.
    - fix unknown cmds error usage and friends.

 -- Joachim Wiedorn <ad_debian@joonet.de>  Sun, 02 Oct 2011 16:55:33 +0200

duply (1.5.5.2-1) unstable; urgency=high

  * New upstream release.
  * Fix not accepting passwords from conf (Closes: #643748).

 -- Joachim Wiedorn <ad_debian@joonet.de>  Fri, 30 Sep 2011 22:45:04 +0200

duply (1.5.5.1-2) unstable; urgency=low

  * Fix support for mawk; remove dependency to gawk (Closes: #639392).
  * Fix usage of sshkeys (Closes: #641912).

 -- Joachim Wiedorn <ad_debian@joonet.de>  Tue, 20 Sep 2011 20:25:23 +0200

duply (1.5.5.1-1) unstable; urgency=low

  * New upstream release.
  * Update of all patches.
  * Update of man page.
  * debian/control:
    - Add gawk to package dependency (mawk is not enough). (Closes: #639392)
    - Move to debhelper (>= 8).
    - Update Vcs Git and Browser URLs.
  * Move to compatibility level 8.

 -- Joachim Wiedorn <ad_debian@joonet.de>  Tue, 06 Sep 2011 21:02:41 +0200

duply (1.5.4.2-1) unstable; urgency=low

  * New upstream release.
  * Update copyright file to newer standard (DEP-5).
  * Do not create links for ftplicity anymore.
  * Update of watch file.
  * debian/control:
    - Bump to Standards-Version 3.9.2 (no changes).
    - Add Vcs fields for git repository.
    - Add again DM-Upload-Allowed flag.
    - Update upstream homepage field.
    - Don't recommend ncftp (let this work to duplicity).
    - Only suggest openssh client.

 -- Joachim Wiedorn <ad_debian@joonet.de>  Sun, 10 Apr 2011 01:04:02 +0200

duply (1.5.2.3-1) unstable; urgency=low

  * New upstream release.
  * Update of all patches.
  * Now running also with mawk.

 -- Joachim Wiedorn <ad_debian@joonet.de>  Sat, 08 May 2010 16:59:10 +0200

duply (1.5.2.2-1) unstable; urgency=low

  * New upstream release (version 1.5.2.2_rev2).
  * Update of all patches.

 -- Joachim Wiedorn <ad_debian@joonet.de>  Mon, 05 Apr 2010 22:34:26 +0200

duply (1.5.2-1) unstable; urgency=low

  * New upstream release.
  * Update of all patches.
  * debian/control: 
    - set dependency to duplicity >= 0.4.11. (Closes: #573603)
    - write a better short description for the package.
  * debian/watch: 
    - use 'ftplicity' as project name. (Closes: #573629)

 -- Joachim Wiedorn <ad_debian@joonet.de>  Sat, 13 Mar 2010 11:43:00 +0100

duply (1.5.1.5-1) unstable; urgency=low

  * New upstream release.
  * Update of all patches.
  * Bump Standards-Version to 3.8.4 without changes.
  * debian/README.source: remove file - not needed with format 3.0.
  * debian/watch: use suffix .tgz instead of .tar.gz.

 -- Joachim Wiedorn <ad_debian@joonet.de>  Fri, 19 Feb 2010 22:02:00 +0100

duply (1.5.1.4-1) unstable; urgency=low

  * Initial Release. (Closes: #565544)
  * Move infos about TODO and CHANGELOG into extra files.
  * Copy infos about README into extra file.
  * Patch small UTF-8 typo in comment.
  * Move manpage text into extra file and reduce usage text.
  * Create link to old program name ftplicity.

 -- Joachim Wiedorn <ad_debian@joonet.de>  Wed, 20 Jan 2010 23:01:53 +0100
������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������