summaryrefslogtreecommitdiff
path: root/sysutils/rdiff-backup/Makefile
diff options
context:
space:
mode:
authoragc <agc>2002-10-15 15:16:02 +0000
committeragc <agc>2002-10-15 15:16:02 +0000
commitb3fb0d836a3a29b5bc681bd9f31380af61ac958a (patch)
tree61166cd3f2b353103065c8fa138c4347a229d1bb /sysutils/rdiff-backup/Makefile
parent9806403106000904b5e5b3dbd6da425117d7b0aa (diff)
downloadpkgsrc-b3fb0d836a3a29b5bc681bd9f31380af61ac958a.tar.gz
Initial import of rdiff-backup-0.10.1 into the NetBSD Packages Collection.
Provided in PR 18577 by David.S at idiom dot com, some modifications by me to use buildlink2 files, and to specify the correct version of python required. 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.
Diffstat (limited to 'sysutils/rdiff-backup/Makefile')
-rw-r--r--sysutils/rdiff-backup/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/sysutils/rdiff-backup/Makefile b/sysutils/rdiff-backup/Makefile
new file mode 100644
index 00000000000..551fef9dcfd
--- /dev/null
+++ b/sysutils/rdiff-backup/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/10/15 15:16:02 agc Exp $
+#
+
+DISTNAME= rdiff-backup-0.10.1
+CATEGORIES= sysutils net
+MASTER_SITES= http://rdiff-backup.stanford.edu/
+
+MAINTAINER= davids@idiom.com
+HOMEPAGE= http://rdiff-backup.stanford.edu/
+COMMENT= remote incremental backup utility
+
+PYTHON_VERSION_REQD= 22
+USE_BUILDLINK2= yes
+
+post-patch:
+ @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+ < ${WRKSRC}/setup.py > ${WRKSRC}/local_setup.py
+
+do-build:
+ cd ${WRKSRC}; ${PYTHONBIN} local_setup.py build
+
+do-install:
+ cd ${WRKSRC}; ${PYTHONBIN} local_setup.py install \
+ --prefix=${PREFIX} --skip-build
+
+.include "../../devel/librsync/buildlink2.mk"
+.include "../../lang/python/application.mk"
+
+.include "../../mk/bsd.pkg.mk"