Update to 0.26: This release doesn't include anything as significant as the metadata support added in 0.25, but it has quite a few bug fixes and internal improvements, in addition to these notable changes: - When --meta is specified to the fuse command, instead of generic data, the originally saved mode, uid, git, atime, mtime, and ctime will be reported for the archive paths. - When --browser is specified to the web command, a browser window will be opened for the repository. - The -x/--xdev/--one-filesystem options now include the mountpoint itself in the traversal (matching rsyc, tar, etc.). - Empty lines in --exclude-rx-from files will be ignored. Previously they would cause all paths to be excluded. - The index and restore commands now support --exclude-rx-from. - Relative filesystem --excludes like "--exclude bar" should now work. Previously --excludes had to be absolute. - The drecurse command now supports --exclude-rx and --exclude-rx-from. - The --compress option should now work for remote repositories. - Streams saved via "bup split" will now show up as a single file named "data" at the top level of the VFS, instead of as a subtree (i.e. when examined via ftp, ls, and fuse). - The ls command now supports -n, -A, -F, --file-type, --numeric-ids, and detailed -l options. - The save dates are now taken from the corresponding git commit's author date, not the committer date. - The tornado server, required by the web command, is no longer included. See the README for installation instructions. Note that the metadata support is still somewhat immature. For example, we still need to add better support for cross-filesystem-type save/restore (which is too noisy), etc. Please give this release a try and let us know what's broken. If you're new to bup, start with the README (and then HACKING if you'd like to help further): https://github.com/bup/bup/blob/master/README.md https://github.com/bup/bup/blob/master/HACKING http://anonscm.debian.org/gitweb/?p=users/rlb/bup.git;a=blob;f=README.md;hb=refs/heads/master http://anonscm.debian.org/gitweb/?p=users/rlb/bup.git;a=blob;f=HACKING;hb=refs/heads/master And although I probably sound like a broken record -- while we expect bup to work fairly well, I still don't recommend it as your sole backup strategy. I'd still suggest a periodic tar/rsync/etc. backstop.diff -r1.18 -r1.19 pkgsrc/sysutils/bup/Makefile
(wiz)
@@ -1,36 +1,34 @@ | @@ -1,36 +1,34 @@ | |||
1 | # $NetBSD: Makefile,v 1.18 2014/05/29 23:37:27 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.19 2014/09/06 21:29:45 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= bup-0.25 | 3 | DISTNAME= bup-0.26 | |
4 | PKGREVISION= 4 | |||
5 | CATEGORIES= sysutils | 4 | CATEGORIES= sysutils | |
6 | MASTER_SITES= # manually packaged since master site is git repository | 5 | MASTER_SITES= # https://github.com/bup/bup/releases/ | |
7 | # and only available via https | |||
8 | # https://github.com/bup/bup/releases/ | |||
9 | # doc tarball: switch to "man" branch before downloading | 6 | # doc tarball: switch to "man" branch before downloading | |
10 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME:S/bup/bup-man/}.zip | 7 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME:S/bup/bup-man/}${EXTRACT_SUFX} | |
11 | 8 | |||
12 | MAINTAINER= wiz@NetBSD.org | 9 | MAINTAINER= wiz@NetBSD.org | |
13 | HOMEPAGE= http://github.com/bup/bup | 10 | HOMEPAGE= http://github.com/bup/bup | |
14 | COMMENT= Highly efficient file backup system based on the git packfile format | 11 | COMMENT= Highly efficient file backup system based on the git packfile format | |
15 | LICENSE= gnu-gpl-v2 | 12 | LICENSE= gnu-gpl-v2 | |
16 | 13 | |||
17 | DEPENDS+= par2-[0-9]*:../../archivers/par2 | 14 | DEPENDS+= par2-[0-9]*:../../archivers/par2 | |
18 | DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline | 15 | DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline | |
16 | DEPENDS+= ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado | |||
19 | DEPENDS+= git-base-[0-9]*:../../devel/git-base | 17 | DEPENDS+= git-base-[0-9]*:../../devel/git-base | |
20 | 18 | |||
21 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-fuse-bindings | 19 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-fuse-bindings | |
22 | 20 | |||
23 | DOCDIR= ${WRKDIR}/bup-man | 21 | DOCDIR= ${WRKDIR}/bup-0.26 | |
24 | 22 | |||
25 | TEST_TARGET= test | 23 | TEST_TARGET= test | |
26 | 24 | |||
27 | MAKE_FLAGS+= PREFIX=${PREFIX} | 25 | MAKE_FLAGS+= PREFIX=${PREFIX} | |
28 | MAKE_FLAGS+= PYTHON=${PYTHONBIN} | 26 | MAKE_FLAGS+= PYTHON=${PYTHONBIN} | |
29 | MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR} | 27 | MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR} | |
30 | 28 | |||
31 | USE_TOOLS+= bash gmake perl | 29 | USE_TOOLS+= bash gmake perl | |
32 | REPLACE_PERL= format-subst.pl wvtestrun | 30 | REPLACE_PERL= format-subst.pl wvtestrun | |
33 | REPLACE_PYTHON+= cmd/bloom-cmd.py | 31 | REPLACE_PYTHON+= cmd/bloom-cmd.py | |
34 | REPLACE_PYTHON+= cmd/cat-file-cmd.py | 32 | REPLACE_PYTHON+= cmd/cat-file-cmd.py | |
35 | REPLACE_PYTHON+= cmd/daemon-cmd.py | 33 | REPLACE_PYTHON+= cmd/daemon-cmd.py | |
36 | REPLACE_PYTHON+= cmd/damage-cmd.py | 34 | REPLACE_PYTHON+= cmd/damage-cmd.py | |
@@ -52,57 +50,43 @@ REPLACE_PYTHON+= cmd/mux-cmd.py | @@ -52,57 +50,43 @@ REPLACE_PYTHON+= cmd/mux-cmd.py | |||
52 | REPLACE_PYTHON+= cmd/newliner-cmd.py | 50 | REPLACE_PYTHON+= cmd/newliner-cmd.py | |
53 | REPLACE_PYTHON+= cmd/on--server-cmd.py | 51 | REPLACE_PYTHON+= cmd/on--server-cmd.py | |
54 | REPLACE_PYTHON+= cmd/on-cmd.py | 52 | REPLACE_PYTHON+= cmd/on-cmd.py | |
55 | REPLACE_PYTHON+= cmd/random-cmd.py | 53 | REPLACE_PYTHON+= cmd/random-cmd.py | |
56 | REPLACE_PYTHON+= cmd/restore-cmd.py | 54 | REPLACE_PYTHON+= cmd/restore-cmd.py | |
57 | REPLACE_PYTHON+= cmd/save-cmd.py | 55 | REPLACE_PYTHON+= cmd/save-cmd.py | |
58 | REPLACE_PYTHON+= cmd/server-cmd.py | 56 | REPLACE_PYTHON+= cmd/server-cmd.py | |
59 | REPLACE_PYTHON+= cmd/split-cmd.py | 57 | REPLACE_PYTHON+= cmd/split-cmd.py | |
60 | REPLACE_PYTHON+= cmd/tag-cmd.py | 58 | REPLACE_PYTHON+= cmd/tag-cmd.py | |
61 | REPLACE_PYTHON+= cmd/tick-cmd.py | 59 | REPLACE_PYTHON+= cmd/tick-cmd.py | |
62 | REPLACE_PYTHON+= cmd/version-cmd.py | 60 | REPLACE_PYTHON+= cmd/version-cmd.py | |
63 | REPLACE_PYTHON+= cmd/web-cmd.py | 61 | REPLACE_PYTHON+= cmd/web-cmd.py | |
64 | REPLACE_PYTHON+= cmd/xstat-cmd.py | 62 | REPLACE_PYTHON+= cmd/xstat-cmd.py | |
65 | REPLACE_PYTHON+= lib/tornado/__init__.py | |||
66 | REPLACE_PYTHON+= lib/tornado/auth.py | |||
67 | REPLACE_PYTHON+= lib/tornado/autoreload.py | |||
68 | REPLACE_PYTHON+= lib/tornado/database.py | |||
69 | REPLACE_PYTHON+= lib/tornado/escape.py | |||
70 | REPLACE_PYTHON+= lib/tornado/httpclient.py | |||
71 | REPLACE_PYTHON+= lib/tornado/httpserver.py | |||
72 | REPLACE_PYTHON+= lib/tornado/httputil.py | |||
73 | REPLACE_PYTHON+= lib/tornado/ioloop.py | |||
74 | REPLACE_PYTHON+= lib/tornado/iostream.py | |||
75 | REPLACE_PYTHON+= lib/tornado/locale.py | |||
76 | REPLACE_PYTHON+= lib/tornado/options.py | |||
77 | REPLACE_PYTHON+= lib/tornado/s3server.py | |||
78 | REPLACE_PYTHON+= lib/tornado/template.py | |||
79 | REPLACE_PYTHON+= lib/tornado/test/test_ioloop.py | |||
80 | REPLACE_PYTHON+= lib/tornado/web.py | |||
81 | REPLACE_PYTHON+= lib/tornado/websocket.py | |||
82 | REPLACE_PYTHON+= lib/tornado/wsgi.py | |||
83 | REPLACE_PYTHON+= main.py | 63 | REPLACE_PYTHON+= main.py | |
84 | REPLACE_PYTHON+= wvtest.py | 64 | REPLACE_PYTHON+= wvtest.py | |
85 | 65 | |||
66 | REPLACE_PYTHON+= t/cleanup-mounts-under | |||
86 | REPLACE_PYTHON+= t/hardlink-sets | 67 | REPLACE_PYTHON+= t/hardlink-sets | |
87 | REPLACE_PYTHON+= t/id-other-than | 68 | REPLACE_PYTHON+= t/id-other-than | |
88 | REPLACE_PYTHON+= t/mksock | 69 | REPLACE_PYTHON+= t/mksock | |
70 | REPLACE_PYTHON+= t/ns-timestamp-resolutions | |||
89 | REPLACE_PYTHON+= t/root-status | 71 | REPLACE_PYTHON+= t/root-status | |
72 | REPLACE_PYTHON+= t/test-ls.sh | |||
90 | REPLACE_PYTHON+= t/unknown-owner | 73 | REPLACE_PYTHON+= t/unknown-owner | |
91 | 74 | |||
92 | SUBST_CLASSES+= python-c | 75 | SUBST_CLASSES+= python-c | |
93 | SUBST_SED.python-c+= -e 's,python -c,${PYTHONBIN} -c,' | 76 | SUBST_SED.python-c+= -e 's,python -c,${PYTHONBIN} -c,' | |
94 | SUBST_STAGE.python-c= pre-configure | 77 | SUBST_STAGE.python-c= pre-configure | |
95 | SUBST_FILES.python-c+= t/lib.sh | 78 | SUBST_FILES.python-c+= t/lib.sh | |
79 | SUBST_FILES.python-c+= t/test-ls.sh | |||
96 | SUBST_FILES.python-c+= t/test-meta.sh | 80 | SUBST_FILES.python-c+= t/test-meta.sh | |
97 | SUBST_MESSAGE.python-c= Fixing python executable in tests. | 81 | SUBST_MESSAGE.python-c= Fixing python executable in tests. | |
98 | 82 | |||
99 | REPLACE_BASH+= cmd/import-rdiff-backup-cmd.sh | 83 | REPLACE_BASH+= cmd/import-rdiff-backup-cmd.sh | |
100 | REPLACE_BASH+= t/compare-trees | 84 | REPLACE_BASH+= t/compare-trees | |
101 | REPLACE_BASH+= t/configure-sampledata | 85 | REPLACE_BASH+= t/configure-sampledata | |
102 | REPLACE_BASH+= t/force-delete | 86 | REPLACE_BASH+= t/force-delete | |
103 | REPLACE_BASH+= t/subtree-hash | 87 | REPLACE_BASH+= t/subtree-hash | |
104 | REPLACE_BASH+= t/test-cat-file.sh | 88 | REPLACE_BASH+= t/test-cat-file.sh | |
105 | REPLACE_BASH+= t/test-command-without-init-fails.sh | 89 | REPLACE_BASH+= t/test-command-without-init-fails.sh | |
106 | REPLACE_BASH+= t/test-index-check-device.sh | 90 | REPLACE_BASH+= t/test-index-check-device.sh | |
107 | REPLACE_BASH+= t/test-meta.sh | 91 | REPLACE_BASH+= t/test-meta.sh | |
108 | REPLACE_BASH+= t/test-redundant-saves.sh | 92 | REPLACE_BASH+= t/test-redundant-saves.sh |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2013/12/31 11:03:12 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2014/09/06 21:29:45 wiz Exp $ | |
2 | bin/bup | 2 | bin/bup | |
3 | lib/bup/bup/__init__.py | 3 | lib/bup/bup/__init__.py | |
4 | lib/bup/bup/_helpers.so | 4 | lib/bup/bup/_helpers.so | |
5 | lib/bup/bup/_version.py | 5 | lib/bup/bup/_version.py | |
6 | lib/bup/bup/bloom.py | 6 | lib/bup/bup/bloom.py | |
7 | lib/bup/bup/client.py | 7 | lib/bup/bup/client.py | |
8 | lib/bup/bup/csetup.py | 8 | lib/bup/bup/csetup.py | |
9 | lib/bup/bup/drecurse.py | 9 | lib/bup/bup/drecurse.py | |
10 | lib/bup/bup/git.py | 10 | lib/bup/bup/git.py | |
11 | lib/bup/bup/hashsplit.py | 11 | lib/bup/bup/hashsplit.py | |
12 | lib/bup/bup/helpers.py | 12 | lib/bup/bup/helpers.py | |
13 | lib/bup/bup/hlinkdb.py | 13 | lib/bup/bup/hlinkdb.py | |
14 | lib/bup/bup/index.py | 14 | lib/bup/bup/index.py | |
@@ -46,44 +46,26 @@ lib/bup/cmd/bup-mux | @@ -46,44 +46,26 @@ lib/bup/cmd/bup-mux | |||
46 | lib/bup/cmd/bup-newliner | 46 | lib/bup/cmd/bup-newliner | |
47 | lib/bup/cmd/bup-on | 47 | lib/bup/cmd/bup-on | |
48 | lib/bup/cmd/bup-on--server | 48 | lib/bup/cmd/bup-on--server | |
49 | lib/bup/cmd/bup-random | 49 | lib/bup/cmd/bup-random | |
50 | lib/bup/cmd/bup-restore | 50 | lib/bup/cmd/bup-restore | |
51 | lib/bup/cmd/bup-save | 51 | lib/bup/cmd/bup-save | |
52 | lib/bup/cmd/bup-server | 52 | lib/bup/cmd/bup-server | |
53 | lib/bup/cmd/bup-split | 53 | lib/bup/cmd/bup-split | |
54 | lib/bup/cmd/bup-tag | 54 | lib/bup/cmd/bup-tag | |
55 | lib/bup/cmd/bup-tick | 55 | lib/bup/cmd/bup-tick | |
56 | lib/bup/cmd/bup-version | 56 | lib/bup/cmd/bup-version | |
57 | lib/bup/cmd/bup-web | 57 | lib/bup/cmd/bup-web | |
58 | lib/bup/cmd/bup-xstat | 58 | lib/bup/cmd/bup-xstat | |
59 | lib/bup/tornado/__init__.py | |||
60 | lib/bup/tornado/auth.py | |||
61 | lib/bup/tornado/autoreload.py | |||
62 | lib/bup/tornado/database.py | |||
63 | lib/bup/tornado/escape.py | |||
64 | lib/bup/tornado/httpclient.py | |||
65 | lib/bup/tornado/httpserver.py | |||
66 | lib/bup/tornado/httputil.py | |||
67 | lib/bup/tornado/ioloop.py | |||
68 | lib/bup/tornado/iostream.py | |||
69 | lib/bup/tornado/locale.py | |||
70 | lib/bup/tornado/options.py | |||
71 | lib/bup/tornado/s3server.py | |||
72 | lib/bup/tornado/template.py | |||
73 | lib/bup/tornado/web.py | |||
74 | lib/bup/tornado/websocket.py | |||
75 | lib/bup/tornado/win32_support.py | |||
76 | lib/bup/tornado/wsgi.py | |||
77 | lib/bup/web/list-directory.html | 59 | lib/bup/web/list-directory.html | |
78 | lib/bup/web/static/styles.css | 60 | lib/bup/web/static/styles.css | |
79 | man/man1/bup-bloom.1 | 61 | man/man1/bup-bloom.1 | |
80 | man/man1/bup-cat-file.1 | 62 | man/man1/bup-cat-file.1 | |
81 | man/man1/bup-daemon.1 | 63 | man/man1/bup-daemon.1 | |
82 | man/man1/bup-damage.1 | 64 | man/man1/bup-damage.1 | |
83 | man/man1/bup-drecurse.1 | 65 | man/man1/bup-drecurse.1 | |
84 | man/man1/bup-fsck.1 | 66 | man/man1/bup-fsck.1 | |
85 | man/man1/bup-ftp.1 | 67 | man/man1/bup-ftp.1 | |
86 | man/man1/bup-fuse.1 | 68 | man/man1/bup-fuse.1 | |
87 | man/man1/bup-help.1 | 69 | man/man1/bup-help.1 | |
88 | man/man1/bup-import-rdiff-backup.1 | 70 | man/man1/bup-import-rdiff-backup.1 | |
89 | man/man1/bup-import-rsnapshot.1 | 71 | man/man1/bup-import-rsnapshot.1 |
@@ -1,11 +1,10 @@ | @@ -1,11 +1,10 @@ | |||
1 | $NetBSD: distinfo,v 1.6 2014/03/19 17:50:00 gdt Exp $ | 1 | $NetBSD: distinfo,v 1.7 2014/09/06 21:29:45 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (bup-0.25.tar.gz) = f32ba39582d0e8875632f282c54f7377ed2a4df9 | 3 | SHA1 (bup-0.26.tar.gz) = 86e636818590fe40e1074c67545bb74de6e8306b | |
4 | RMD160 (bup-0.25.tar.gz) = d578dc87330c49090c25a212d6c5fe4561c8ad0c | 4 | RMD160 (bup-0.26.tar.gz) = 206d301677a359b3e904e89d5a12e82829d12565 | |
5 | Size (bup-0.25.tar.gz) = 399332 bytes | 5 | Size (bup-0.26.tar.gz) = 342754 bytes | |
6 | SHA1 (bup-man-0.25.zip) = cd76ad005e85aa568d95b9c2938d2716e3b03365 | 6 | SHA1 (bup-man-0.26.tar.gz) = 17dc3136b56cd7427c1668681f86565e42ff1a74 | |
7 | RMD160 (bup-man-0.25.zip) = 8d023cc394ae006ec1a24924176d72a52208558f | 7 | RMD160 (bup-man-0.26.tar.gz) = ff8cfc15609134055c651679ad7b6609a3959c23 | |
8 | Size (bup-man-0.25.zip) = 40779 bytes | 8 | Size (bup-man-0.26.tar.gz) = 4410896 bytes | |
9 | SHA1 (patch-Makefile) = b37a1f2d584c987430e948c5c04d97def8a5334c | 9 | SHA1 (patch-Makefile) = 3208d663af3e5e129499282d14e10abd94f56805 | |
10 | SHA1 (patch-config_configure) = 9360a8be2cef559d93f1a5301f1f397f31da7d72 | 10 | SHA1 (patch-config_configure) = 9360a8be2cef559d93f1a5301f1f397f31da7d72 | |
11 | SHA1 (patch-lib_bup___helpers.c) = df146a325e4ca912552f09176a605c26267cfe8b |
@@ -1,22 +1,15 @@ | @@ -1,22 +1,15 @@ | |||
1 | $NetBSD: patch-Makefile,v 1.5 2014/03/19 13:15:13 gdt Exp $ | 1 | $NetBSD: patch-Makefile,v 1.6 2014/09/06 21:29:45 wiz Exp $ | |
2 | 2 | |||
3 | Pass PYTHON through to configure. | 3 | Pass PYTHON through to configure. | |
4 | 4 | |||
5 | --- Makefile.orig 2013-12-10 01:30:45.000000000 +0000 | 5 | --- Makefile.orig 2013-12-20 09:43:15.000000000 +0000 | |
6 | +++ Makefile | 6 | +++ Makefile | |
7 | @@ -1,5 +1,5 @@ | |||
8 | OS:=$(shell uname | sed 's/[-_].*//') | |||
9 | -CFLAGS := -Wall -O2 -Werror $(PYINCLUDE) $(CFLAGS) | |||
10 | +CFLAGS := -Wall -O2 -Werror -Wno-unknown-pragmas $(PYINCLUDE) $(CFLAGS) | |||
11 | SOEXT:=.so | |||
12 | ||||
13 | ifeq ($(OS),CYGWIN) | |||
14 | @@ -67,7 +67,7 @@ install: all | 7 | @@ -67,7 +67,7 @@ install: all | |
15 | 8 | |||
16 | config/config.h: config/Makefile config/configure config/configure.inc \ | 9 | config/config.h: config/Makefile config/configure config/configure.inc \ | |
17 | $(wildcard config/*.in) | 10 | $(wildcard config/*.in) | |
18 | - cd config && $(MAKE) config.h | 11 | - cd config && $(MAKE) config.h | |
19 | + cd config && $(MAKE) PYTHON=$(PYTHON) config.h | 12 | + cd config && $(MAKE) PYTHON=$(PYTHON) config.h | |
20 | 13 | |||
21 | lib/bup/_helpers$(SOEXT): \ | 14 | lib/bup/_helpers$(SOEXT): \ | |
22 | config/config.h \ | 15 | config/config.h \ |