aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-06-12 20:56:56 +0800
committerlawrance <lawrance@FreeBSD.org>2005-06-12 20:56:56 +0800
commitff08a64c872c1e203e82c34afe7ce7fb641b51af (patch)
tree43a80cb83937965ee6b6beb8de2306ff5bad2b6f
parente41a9fadc22829a4f72ee35eb6bc6a9f3e9376e9 (diff)
downloadfreebsd-ports-gnome-ff08a64c872c1e203e82c34afe7ce7fb641b51af.tar.gz
freebsd-ports-gnome-ff08a64c872c1e203e82c34afe7ce7fb641b51af.tar.zst
freebsd-ports-gnome-ff08a64c872c1e203e82c34afe7ce7fb641b51af.zip
Add rdiff-backup-devel 0.13.6, local/remote mirroring+incremental
backup. PR: ports/82130 Submitted by: Peter Schuller <peter.schuller@infidyne.com>
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/rdiff-backup-devel/Makefile39
-rw-r--r--sysutils/rdiff-backup-devel/distinfo2
-rw-r--r--sysutils/rdiff-backup-devel/files/patch-setup.py30
-rw-r--r--sysutils/rdiff-backup-devel/pkg-descr12
-rw-r--r--sysutils/rdiff-backup-devel/pkg-message5
-rw-r--r--sysutils/rdiff-backup-devel/pkg-plist99
7 files changed, 188 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 6c7a6f3df6f3..031394d6c06b 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -405,6 +405,7 @@
SUBDIR += rclean
SUBDIR += rdate
SUBDIR += rdiff-backup
+ SUBDIR += rdiff-backup-devel
SUBDIR += readlink
SUBDIR += reoback
SUBDIR += rfstool
diff --git a/sysutils/rdiff-backup-devel/Makefile b/sysutils/rdiff-backup-devel/Makefile
new file mode 100644
index 000000000000..758264e90197
--- /dev/null
+++ b/sysutils/rdiff-backup-devel/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: rdiff-backup
+# Date created: Fri Jun 10 23:30:39 CEST 2005
+# Whom: Peter Schuller <peter.schuller@infidyne.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rdiff-backup-devel
+PORTVERSION= 0.13.6
+CATEGORIES= sysutils
+MASTER_SITES= http://www.nongnu.org/rdiff-backup/
+DISTNAME= rdiff-backup-${PORTVERSION}
+
+MAINTAINER= peter.schuller@infidyne.com
+COMMENT= Local/remote mirroring+incremental backup
+
+LIB_DEPENDS= rsync.1:${PORTSDIR}/net/librsync
+
+CONFLICTS= rdiff-backup-[0-9]*
+
+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
+ @${CAT} ${PKGMESSAGE}
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/rdiff-backup-devel/distinfo b/sysutils/rdiff-backup-devel/distinfo
new file mode 100644
index 000000000000..fe117bbd2454
--- /dev/null
+++ b/sysutils/rdiff-backup-devel/distinfo
@@ -0,0 +1,2 @@
+MD5 (rdiff-backup-0.13.6.tar.gz) = 97141e12bc8ac0ca873fae84b7f39ac1
+SIZE (rdiff-backup-0.13.6.tar.gz) = 145871
diff --git a/sysutils/rdiff-backup-devel/files/patch-setup.py b/sysutils/rdiff-backup-devel/files/patch-setup.py
new file mode 100644
index 000000000000..f704a62d2a40
--- /dev/null
+++ b/sysutils/rdiff-backup-devel/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-devel/pkg-descr b/sysutils/rdiff-backup-devel/pkg-descr
new file mode 100644
index 000000000000..0f36779040b9
--- /dev/null
+++ b/sysutils/rdiff-backup-devel/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-devel/pkg-message b/sysutils/rdiff-backup-devel/pkg-message
new file mode 100644
index 000000000000..ccec5521c908
--- /dev/null
+++ b/sysutils/rdiff-backup-devel/pkg-message
@@ -0,0 +1,5 @@
+### ---------------------------------------------------------------------- ###
+### Upgrading to unstable 0.13.x uses a different archive format. ###
+### So if you downgrade from 0.13.x you HAVE TO re-do the initial seed! ###
+### Sorry for the inconvenience. ###
+### ---------------------------------------------------------------------- ###
diff --git a/sysutils/rdiff-backup-devel/pkg-plist b/sysutils/rdiff-backup-devel/pkg-plist
new file mode 100644
index 000000000000..c2103b488cbc
--- /dev/null
+++ b/sysutils/rdiff-backup-devel/pkg-plist
@@ -0,0 +1,99 @@
+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/eas_acls.py
+%%PYTHON_SITELIBDIR%%/rdiff_backup/eas_acls.pyc
+%%PYTHON_SITELIBDIR%%/rdiff_backup/eas_acls.pyo
+%%PYTHON_SITELIBDIR%%/rdiff_backup/fs_abilities.py
+%%PYTHON_SITELIBDIR%%/rdiff_backup/fs_abilities.pyc
+%%PYTHON_SITELIBDIR%%/rdiff_backup/fs_abilities.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
+%%PYTHON_SITELIBDIR%%/rdiff_backup/user_group.py
+%%PYTHON_SITELIBDIR%%/rdiff_backup/user_group.pyc
+%%PYTHON_SITELIBDIR%%/rdiff_backup/user_group.pyo
+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/rdiff_backup