import duplicity

Duplicity incrementally backs up files and directory by encrypting
tar-format volumes with GnuPG and uploading them to a remote (or local)
file server.  Currently local, ftp, ssh/scp, rsync, WebDAV, WebDAVs, HSi
and Amazon S3 backends are available.  Because duplicity uses librsync,
the incremental archives are space efficient and only record the parts
of files that have changed since the last backup.  Currently duplicity
supports deleted files, full unix permissions, directories, symbolic
links, fifos, etc., but not hard links.

The duplicity package also includes the rdiffdir utility.  Rdiffdir is
an extension of librsync's rdiff to directories - it can be used to
produce signatures and deltas of directories as well as regular files.
These signatures and deltas are in GNU tar format.

based on the original submission from Bruno Bigras <bruno@burnbox.net>

feedback and ok wcmaier@ merdely@
This commit is contained in:
okan 2008-06-09 18:27:45 +00:00
parent 9420c52758
commit 8e6a03f69c
5 changed files with 129 additions and 0 deletions

View File

@ -0,0 +1,42 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/06/09 18:27:45 okan Exp $
COMMENT = encrypted backup using rsync algorithm
MODPY_EGG_VERSION = 0.4.11
DISTNAME = duplicity-${MODPY_EGG_VERSION}
CATEGORIES = sysutils
HOMEPAGE = http://www.nongnu.org/duplicity/
MASTER_SITES = http://savannah.nongnu.org/download/duplicity/ \
http://download.savannah.gnu.org/releases/duplicity/ \
http://nongnu.askapache.com/duplicity/ \
http://nongnu.bigsearcher.com/duplicity/ \
http://mirror.publicns.net/pub/nongnu/duplicity/ \
http://nongnu.mirror.ironie.org/releases/duplicity/ \
http://savannah.c3sl.ufpr.br/duplicity/ \
http://savannah.releasenotes.org/duplicity/ \
http://www.de-mirrors.de/nongnu/duplicity/ \
http://ftp.cc.uoc.gr/mirrors/nongnu.org/duplicity/ \
http://ftp.twaren.net/Unix/NonGNU/duplicity/
MAINTAINER = Bruno Bigras <bruno@burnbox.net>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/python
LIB_DEPENDS += rsync::net/librsync
RUN_DEPENDS += ::devel/py-pexpect \
::net/py-boto \
::net/ncftp \
::security/py-gnupg
MAKE_ENV += LIBRSYNC_DIR=${LOCALBASE}
NO_REGRESS = Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (duplicity-0.4.11.tar.gz) = iJG7T6K10/BT5vLEqReC8g==
RMD160 (duplicity-0.4.11.tar.gz) = BoHWJw8xKUCDxGrJ41kscJPFam4=
SHA1 (duplicity-0.4.11.tar.gz) = 4SmCss/OzKJ7npVlK052Z1jH72s=
SHA256 (duplicity-0.4.11.tar.gz) = kboTPn5YnTCyYUFLLV1OpVuvANAqPRu/6WO+C/fBn88=
SIZE (duplicity-0.4.11.tar.gz) = 125827

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-setup_py,v 1.1.1.1 2008/06/09 18:27:45 okan Exp $
--- setup.py.orig Mon May 5 10:40:53 2008
+++ setup.py Tue Jun 3 17:42:07 2008
@@ -48,8 +48,6 @@ setup(name="duplicity",
library_dirs=libdir_list,
libraries=["rsync"])],
scripts = ['rdiffdir', 'duplicity'],
- data_files = [('share/man/man1', ['duplicity.1', 'rdiffdir.1']),
- ('share/doc/duplicity-%s' % version_string,
- ['COPYING', 'README', 'CHANGELOG'])])
+ data_files = [('man/man1', ['duplicity.1', 'rdiffdir.1'])])

View File

@ -0,0 +1,13 @@
Duplicity incrementally backs up files and directory by encrypting
tar-format volumes with GnuPG and uploading them to a remote (or local)
file server. Currently local, ftp, ssh/scp, rsync, WebDAV, WebDAVs, HSi
and Amazon S3 backends are available. Because duplicity uses librsync,
the incremental archives are space efficient and only record the parts
of files that have changed since the last backup. Currently duplicity
supports deleted files, full unix permissions, directories, symbolic
links, fifos, etc., but not hard links.
The duplicity package also includes the rdiffdir utility. Rdiffdir is
an extension of librsync's rdiff to directories - it can be used to
produce signatures and deltas of directories as well as regular files.
These signatures and deltas are in GNU tar format.

View File

@ -0,0 +1,56 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/06/09 18:27:45 okan Exp $
bin/duplicity
bin/rdiffdir
lib/python${MODPY_VERSION}/site-packages/duplicity/
lib/python${MODPY_VERSION}/site-packages/duplicity-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/duplicity/__init__.py
lib/python${MODPY_VERSION}/site-packages/duplicity/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/_librsync.so
lib/python${MODPY_VERSION}/site-packages/duplicity/backends.py
lib/python${MODPY_VERSION}/site-packages/duplicity/backends.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/collections.py
lib/python${MODPY_VERSION}/site-packages/duplicity/collections.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/commandline.py
lib/python${MODPY_VERSION}/site-packages/duplicity/commandline.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/diffdir.py
lib/python${MODPY_VERSION}/site-packages/duplicity/diffdir.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/dup_temp.py
lib/python${MODPY_VERSION}/site-packages/duplicity/dup_temp.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/dup_time.py
lib/python${MODPY_VERSION}/site-packages/duplicity/dup_time.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/file_naming.py
lib/python${MODPY_VERSION}/site-packages/duplicity/file_naming.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/globals.py
lib/python${MODPY_VERSION}/site-packages/duplicity/globals.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/gpg.py
lib/python${MODPY_VERSION}/site-packages/duplicity/gpg.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/lazy.py
lib/python${MODPY_VERSION}/site-packages/duplicity/lazy.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/librsync.py
lib/python${MODPY_VERSION}/site-packages/duplicity/librsync.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/log.py
lib/python${MODPY_VERSION}/site-packages/duplicity/log.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/manifest.py
lib/python${MODPY_VERSION}/site-packages/duplicity/manifest.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/misc.py
lib/python${MODPY_VERSION}/site-packages/duplicity/misc.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/patchdir.py
lib/python${MODPY_VERSION}/site-packages/duplicity/patchdir.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/path.py
lib/python${MODPY_VERSION}/site-packages/duplicity/path.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/robust.py
lib/python${MODPY_VERSION}/site-packages/duplicity/robust.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/selection.py
lib/python${MODPY_VERSION}/site-packages/duplicity/selection.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/static.py
lib/python${MODPY_VERSION}/site-packages/duplicity/static.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/statistics.py
lib/python${MODPY_VERSION}/site-packages/duplicity/statistics.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/tarfile.py
lib/python${MODPY_VERSION}/site-packages/duplicity/tarfile.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/tempdir.py
lib/python${MODPY_VERSION}/site-packages/duplicity/tempdir.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/urlparse_2_5.py
lib/python${MODPY_VERSION}/site-packages/duplicity/urlparse_2_5.pyc
@man man/man1/duplicity.1
@man man/man1/rdiffdir.1