diff options
author | leeym <leeym@FreeBSD.org> | 2003-07-03 16:32:25 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-07-03 16:32:25 +0800 |
commit | f26a049968e5f0aa73e2c96ec0fa31d738ff03e5 (patch) | |
tree | 3635099c16d381cd418742b1943039f5b264ab64 /sysutils/rdiff-backup | |
parent | 69d98f0f8881e8ddfafd86ef97c58c569cf6e65e (diff) | |
download | freebsd-ports-gnome-f26a049968e5f0aa73e2c96ec0fa31d738ff03e5.tar.gz freebsd-ports-gnome-f26a049968e5f0aa73e2c96ec0fa31d738ff03e5.tar.zst freebsd-ports-gnome-f26a049968e5f0aa73e2c96ec0fa31d738ff03e5.zip |
add rdiff-backup
WWW: http://rdiff-backup.stanford.edu/
PR: 53234
Submitted by: Gerhard Haering <gh@ghaering.de>
Diffstat (limited to 'sysutils/rdiff-backup')
-rw-r--r-- | sysutils/rdiff-backup/Makefile | 36 | ||||
-rw-r--r-- | sysutils/rdiff-backup/distinfo | 1 | ||||
-rw-r--r-- | sysutils/rdiff-backup/files/patch-setup.py | 30 | ||||
-rw-r--r-- | sysutils/rdiff-backup/pkg-descr | 12 | ||||
-rw-r--r-- | sysutils/rdiff-backup/pkg-plist | 90 |
5 files changed, 169 insertions, 0 deletions
diff --git a/sysutils/rdiff-backup/Makefile b/sysutils/rdiff-backup/Makefile new file mode 100644 index 000000000000..7d4fcff8130c --- /dev/null +++ b/sysutils/rdiff-backup/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: rdiff-backup +# Date created: Wed Jun 11 19:53:46 CEST 2003 +# Whom: Gerhard Häring <gh@ghaering.de> +# +# $FreeBSD$ +# + +PORTNAME= rdiff-backup +PORTVERSION= 0.12.0 +CATEGORIES= sysutils +MASTER_SITES= http://rdiff-backup.stanford.edu/ +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= gh@ghaering.de +COMMENT= Local/remote mirroring+incremental backup + +LIB_DEPENDS= rsync.1:${PORTSDIR}/net/librsync + +USE_PYTHON= yes +USE_PYDISTUTILS=yes + +MAN1= rdiff-backup.1 + +DOCFILES= CHANGELOG README COPYING FAQ.html +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME} + +post-install: + ${INSTALL_MAN} ${WRKSRC}/rdiff-backup.1 ${PREFIX}/man/man1 +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ${DOCFILES} + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/sysutils/rdiff-backup/distinfo b/sysutils/rdiff-backup/distinfo new file mode 100644 index 000000000000..685273fef5c8 --- /dev/null +++ b/sysutils/rdiff-backup/distinfo @@ -0,0 +1 @@ +MD5 (rdiff-backup-0.12.0.tar.gz) = b579fd0438772df1e26c9fc1d1347188 diff --git a/sysutils/rdiff-backup/files/patch-setup.py b/sysutils/rdiff-backup/files/patch-setup.py new file mode 100644 index 000000000000..f704a62d2a40 --- /dev/null +++ b/sysutils/rdiff-backup/files/patch-setup.py @@ -0,0 +1,30 @@ +--- setup.py.orig Thu Jun 26 15:27:30 2003 ++++ setup.py Thu Jul 3 15:09:19 2003 +@@ -41,6 +41,10 @@ + 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,9 @@ + 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,), +- ['CHANGELOG', 'COPYING', 'README', 'FAQ.html'])]) ++) + diff --git a/sysutils/rdiff-backup/pkg-descr b/sysutils/rdiff-backup/pkg-descr new file mode 100644 index 000000000000..1e5ded28dfa9 --- /dev/null +++ b/sysutils/rdiff-backup/pkg-descr @@ -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 (if it is +running as root), and modification times. Finally, 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. + +WWW: http://rdiff-backup.stanford.edu/ diff --git a/sysutils/rdiff-backup/pkg-plist b/sysutils/rdiff-backup/pkg-plist new file mode 100644 index 000000000000..ea48405e5e5c --- /dev/null +++ b/sysutils/rdiff-backup/pkg-plist @@ -0,0 +1,90 @@ +bin/rdiff-backup +%%PYTHON_SITELIBDIR%%/rdiff_backup/C.so +%%PYTHON_SITELIBDIR%%/rdiff_backup/FilenameMapping.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/FilenameMapping.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/FilenameMapping.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/Globals.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/Globals.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/Globals.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/Hardlink.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/Hardlink.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/Hardlink.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/Main.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/Main.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/Main.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/Rdiff.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/Rdiff.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/Rdiff.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/Security.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/Security.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/Security.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/SetConnections.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/SetConnections.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/SetConnections.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/TempFile.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/TempFile.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/TempFile.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/Time.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/Time.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/Time.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/__init__.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/__init__.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/__init__.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/_librsync.so +%%PYTHON_SITELIBDIR%%/rdiff_backup/backup.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/backup.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/backup.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/connection.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/connection.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/connection.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/increment.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/increment.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/increment.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/iterfile.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/iterfile.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/iterfile.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/lazy.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/lazy.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/lazy.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/librsync.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/librsync.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/librsync.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/log.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/log.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/log.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/manage.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/manage.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/manage.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/metadata.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/metadata.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/metadata.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/regress.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/regress.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/regress.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/restore.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/restore.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/restore.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/robust.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/robust.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/robust.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/rorpiter.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/rorpiter.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/rorpiter.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/rpath.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/rpath.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/rpath.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/selection.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/selection.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/selection.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/static.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/static.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/static.pyo +%%PYTHON_SITELIBDIR%%/rdiff_backup/statistics.py +%%PYTHON_SITELIBDIR%%/rdiff_backup/statistics.pyc +%%PYTHON_SITELIBDIR%%/rdiff_backup/statistics.pyo +%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/FAQ.html +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%PYTHON_SITELIBDIR%%/rdiff_backup |