The poor man's daily snapshot script. With feedback from Giovanni Bechis

and ajacoutot@. ok ajacoutot@.
This commit is contained in:
matthieu 2008-03-29 11:42:40 +00:00
parent 1562c0f0d0
commit c018712379
5 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/03/29 11:42:40 matthieu Exp $
COMMENT= poor man's daily snapshot
DISTNAME= glastree-1.04
HOMEPAGE= http://www.igmus.org/code/
MASTER_SITES= http://www.igmus.org/files/
CATEGORIES= sysutils
# Public domain
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= ::devel/p5-Date-Calc
BUILD_DEPENDS= ${RUN_DEPENDS}
REGRESS_TARGET= test
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (glastree-1.04.tar.gz) = AhyPnpUhvQQeGETxIe3/pA==
RMD160 (glastree-1.04.tar.gz) = u0Xucx/CCnkcBvYwPA9PkTgNhXo=
SHA1 (glastree-1.04.tar.gz) = GwpQZtVrCyqksXtB5LDZD0mBuis=
SHA256 (glastree-1.04.tar.gz) = Bn0B2YrhVfH6G6JaJ91y0n1EVdcRB8Pm5vHNxBoOD9M=
SIZE (glastree-1.04.tar.gz) = 5846

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2008/03/29 11:42:40 matthieu Exp $
--- Makefile.orig Sat Jan 19 20:44:06 2008
+++ Makefile Sat Jan 19 20:46:14 2008
@@ -8,7 +8,7 @@
#
INSTALL = install
-INSTROOT = /usr/local
+INSTROOT = ${PREFIX}
INSTBIN = bin
INSTMAN = man

View File

@ -0,0 +1,9 @@
The poor man's daily snapshot, glastree builds live backup trees, with
branches for each day. Users directly browse the past to recover older
documents or retrieve lost files. Hard links serve to compress out
unchanged files, while modified ones are copied verbatim. A prune
utility effects a constant, sliding window.
Satoru Takabayashi has writen a similar program, in Ruby, pdumpfs.
Inspired by Plan9, of course.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/03/29 11:42:40 matthieu Exp $
bin/glastree
bin/glastreeprune
@man man/man1/glastree.1
@man man/man1/glastreeprune.1