summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authortonnerre <tonnerre>2010-04-28 00:29:21 +0000
committertonnerre <tonnerre>2010-04-28 00:29:21 +0000
commitc2f538878ce7ea28da6beb8aabd1a6c856ce0868 (patch)
tree9b33f01256f784a9ab047308a1ab58edbae774de /sysutils
parentc38de1c4e728fd0ba20113a2d5d4827632a81638 (diff)
downloadpkgsrc-c2f538878ce7ea28da6beb8aabd1a6c856ce0868.tar.gz
Import bcollect version 0.6.0.
bcollect is a tool for backing up remote hosts to local directories. It can keep a defined number of copies for specific backup intervals to give you a backlog of available backups for restoring data. bcollect keeps its backups directly accessible as files and directories so you can search through them and access files with regular tools and just copy files back as needed. In order to save space, bcollect uses hardlinks between different instances of the same backed-up host so multiple backups don't take up the same space multiple times. Only files which are actually different between two backups actually occupy space. If the file has not been changed, a reference will be created to the original file.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/bcollect/DESCR13
-rw-r--r--sysutils/bcollect/Makefile21
-rw-r--r--sysutils/bcollect/PLIST3
-rw-r--r--sysutils/bcollect/distinfo6
-rw-r--r--sysutils/bcollect/patches/patch-aa13
5 files changed, 56 insertions, 0 deletions
diff --git a/sysutils/bcollect/DESCR b/sysutils/bcollect/DESCR
new file mode 100644
index 00000000000..fa810af4a1a
--- /dev/null
+++ b/sysutils/bcollect/DESCR
@@ -0,0 +1,13 @@
+bcollect is a tool for backing up remote hosts to local directories. It
+can keep a defined number of copies for specific backup intervals to
+give you a backlog of available backups for restoring data.
+
+bcollect keeps its backups directly accessible as files and directories
+so you can search through them and access files with regular tools and
+just copy files back as needed.
+
+In order to save space, bcollect uses hardlinks between different
+instances of the same backed-up host so multiple backups don't take up
+the same space multiple times. Only files which are actually different
+between two backups actually occupy space. If the file has not been
+changed, a reference will be created to the original file.
diff --git a/sysutils/bcollect/Makefile b/sysutils/bcollect/Makefile
new file mode 100644
index 00000000000..a080817c710
--- /dev/null
+++ b/sysutils/bcollect/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/04/28 00:29:21 tonnerre Exp $
+
+DISTNAME= bcollect-0.6.0
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.ancient-solutions.com/pub/bsdprojects/bcollect/
+
+MAINTAINER= tonnerre@NetBSD.org
+HOMEPAGE= http://bcollect.ancient-solutions.com/
+COMMENT= Incremental remote backup tool
+
+PKG_DESTDIR_SUPPORT= destdir
+GNU_CONFIGURE= yes
+USE_TOOLS+= lex yacc
+
+CONF_FILES+= ${PREFIX}/share/examples/bcollect/bcollect.conf \
+ ${PKG_SYSCONFDIR}/bcollect.conf
+
+DEPENDS+= rsync>=3.0.0:../../net/rsync
+
+.include "../../devel/clib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/bcollect/PLIST b/sysutils/bcollect/PLIST
new file mode 100644
index 00000000000..a7c09d12103
--- /dev/null
+++ b/sysutils/bcollect/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/04/28 00:29:21 tonnerre Exp $
+bin/bcollect
+share/examples/bcollect/bcollect.conf
diff --git a/sysutils/bcollect/distinfo b/sysutils/bcollect/distinfo
new file mode 100644
index 00000000000..d4170017ace
--- /dev/null
+++ b/sysutils/bcollect/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/04/28 00:29:21 tonnerre Exp $
+
+SHA1 (bcollect-0.6.0.tar.gz) = d8df7f0220c82e268e48fea18e5daf018c806830
+RMD160 (bcollect-0.6.0.tar.gz) = 0baa1d33cac38cafc331401bf8e974d11fe2687f
+Size (bcollect-0.6.0.tar.gz) = 204248 bytes
+SHA1 (patch-aa) = 94d56d05594b529c56833e7879ef2dc4a5bfb945
diff --git a/sysutils/bcollect/patches/patch-aa b/sysutils/bcollect/patches/patch-aa
new file mode 100644
index 00000000000..02d7f47c03a
--- /dev/null
+++ b/sysutils/bcollect/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/04/28 00:29:21 tonnerre Exp $
+
+--- examples/Makefile.in.orig 2010-02-23 19:56:00.000000000 +0000
++++ examples/Makefile.in
+@@ -156,7 +156,7 @@ psdir = @psdir@
+ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ srcdir = @srcdir@
+-sysconfdir = @sysconfdir@
++sysconfdir = @prefix@/share/examples/bcollect
+ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@