Import rdiff-backup-1.0.5
rdiff-backup backs up one directory to another, possibly over a network. The target directory ends up a copy of the source directory, but extra reverse diffs are stored in a special subdirectory of that target directory, so you can still recover files lost some time ago. The idea is to combine the best features of a mirror and an incremental backup. rdiff-backup also preserves subdirectories, hard links, dev files, permissions, uid/gid ownership, modification times, extended attributes, acls, and resource forks. Also, rdiff-backup can operate in a bandwidth efficient manner over a pipe, like rsync. Thus you can use rdiff-backup and ssh to securely back a hard drive up to a remote location, and only the differences will be transmitted. Finally, rdiff-backup is easy to use and settings have sensical defaults. ok mbalmer@
This commit is contained in:
parent
26a21ce500
commit
cc5ecdbd65
24
sysutils/rdiff-backup/Makefile
Normal file
24
sysutils/rdiff-backup/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/08/31 10:23:51 jsg Exp $
|
||||
|
||||
COMMENT= "incremental backup"
|
||||
DISTNAME= rdiff-backup-1.0.5
|
||||
|
||||
CATEGORIES= sysutils
|
||||
HOMEPAGE= http://www.nongnu.org/rdiff-backup/
|
||||
MAINTAINER= Jonathan Gray <jsg@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
LIB_DEPENDS+= rsync::net/librsync
|
||||
|
||||
MASTER_SITES= http://savannah.nongnu.org/download/rdiff-backup/
|
||||
|
||||
MODULES= lang/python
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
5
sysutils/rdiff-backup/distinfo
Normal file
5
sysutils/rdiff-backup/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (rdiff-backup-1.0.5.tar.gz) = +ioWX6B6lL5SxS41Rbx3WA==
|
||||
RMD160 (rdiff-backup-1.0.5.tar.gz) = ILAglvLawEwG12M3EmJSodhPS40=
|
||||
SHA1 (rdiff-backup-1.0.5.tar.gz) = TTPvPZNTLOF0ZyjixWh9o1T6/Ow=
|
||||
SHA256 (rdiff-backup-1.0.5.tar.gz) = MOmediFis2mMLE+9BNfH1fywiszyAO+Ia+VgIm+vWlA=
|
||||
SIZE (rdiff-backup-1.0.5.tar.gz) = 152215
|
32
sysutils/rdiff-backup/patches/patch-setup_py
Normal file
32
sysutils/rdiff-backup/patches/patch-setup_py
Normal file
@ -0,0 +1,32 @@
|
||||
$OpenBSD: patch-setup_py,v 1.1.1.1 2007/08/31 10:23:51 jsg Exp $
|
||||
--- setup.py.orig Sun Nov 12 18:32:01 2006
|
||||
+++ setup.py Sat Aug 11 21:31:44 2007
|
||||
@@ -41,6 +41,10 @@ if os.name == 'posix':
|
||||
if '-lrsync' in LIBS:
|
||||
libname = []
|
||||
|
||||
+LOCALBASE = os.getenv("LOCALBASE", "/usr/local")
|
||||
+include_dirs = ["%s/include" % LOCALBASE]
|
||||
+library_dirs = ["%s/lib" % LOCALBASE]
|
||||
+
|
||||
setup(name="rdiff-backup",
|
||||
version=version_string,
|
||||
description="Local/remote mirroring+incremental backup",
|
||||
@@ -51,12 +55,11 @@ setup(name="rdiff-backup",
|
||||
ext_modules = [Extension("rdiff_backup.C", ["cmodule.c"]),
|
||||
Extension("rdiff_backup._librsync",
|
||||
["_librsyncmodule.c"],
|
||||
- include_dirs=incdir_list,
|
||||
- library_dirs=libdir_list,
|
||||
- libraries=libname,
|
||||
- extra_link_args=lflags_arg)],
|
||||
+ libraries=["rsync"],
|
||||
+ include_dirs=include_dirs,
|
||||
+ library_dirs=library_dirs)],
|
||||
scripts = ['rdiff-backup'],
|
||||
- data_files = [('share/man/man1', ['rdiff-backup.1']),
|
||||
- ('share/doc/rdiff-backup-%s' % (version_string,),
|
||||
+ data_files = [('man/man1', ['rdiff-backup.1']),
|
||||
+ ('share/doc/rdiff-backup',
|
||||
['CHANGELOG', 'COPYING', 'README', 'FAQ.html'])])
|
||||
|
12
sysutils/rdiff-backup/pkg/DESCR
Normal file
12
sysutils/rdiff-backup/pkg/DESCR
Normal file
@ -0,0 +1,12 @@
|
||||
rdiff-backup backs up one directory to another, possibly over a network.
|
||||
The target directory ends up a copy of the source directory, but extra
|
||||
reverse diffs are stored in a special subdirectory of that target
|
||||
directory, so you can still recover files lost some time ago. The idea
|
||||
is to combine the best features of a mirror and an incremental backup.
|
||||
rdiff-backup also preserves subdirectories, hard links, dev files,
|
||||
permissions, uid/gid ownership, modification times, extended attributes,
|
||||
acls, and resource forks. Also, rdiff-backup can operate in a bandwidth
|
||||
efficient manner over a pipe, like rsync. Thus you can use rdiff-backup
|
||||
and ssh to securely back a hard drive up to a remote location, and only
|
||||
the differences will be transmitted. Finally, rdiff-backup is easy to
|
||||
use and settings have sensical defaults.
|
3
sysutils/rdiff-backup/pkg/PFRAG.shared
Normal file
3
sysutils/rdiff-backup/pkg/PFRAG.shared
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/08/31 10:23:51 jsg Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/C.so
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/_librsync.so
|
70
sysutils/rdiff-backup/pkg/PLIST
Normal file
70
sysutils/rdiff-backup/pkg/PLIST
Normal file
@ -0,0 +1,70 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/08/31 10:23:51 jsg Exp $
|
||||
%%SHARED%%
|
||||
bin/rdiff-backup
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/FilenameMapping.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/FilenameMapping.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/Globals.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/Globals.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/Hardlink.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/Hardlink.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/Main.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/Main.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/Rdiff.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/Rdiff.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/Security.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/Security.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/SetConnections.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/SetConnections.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/TempFile.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/TempFile.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/Time.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/Time.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/backup.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/backup.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/connection.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/connection.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/eas_acls.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/eas_acls.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/fs_abilities.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/fs_abilities.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/increment.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/increment.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/iterfile.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/iterfile.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/lazy.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/lazy.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/librsync.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/librsync.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/log.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/log.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/manage.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/manage.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/metadata.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/metadata.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/regress.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/regress.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/restore.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/restore.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/robust.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/robust.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/rorpiter.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/rorpiter.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/rpath.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/rpath.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/selection.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/selection.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/static.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/static.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/statistics.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/statistics.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/user_group.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rdiff_backup/user_group.pyc
|
||||
@man man/man1/rdiff-backup.1
|
||||
share/doc/rdiff-backup/
|
||||
share/doc/rdiff-backup/CHANGELOG
|
||||
share/doc/rdiff-backup/COPYING
|
||||
share/doc/rdiff-backup/FAQ.html
|
||||
share/doc/rdiff-backup/README
|
Loading…
Reference in New Issue
Block a user