Created attachment 182453 [details] bup shar file Dear FreeBSD committer, I submit a port for making backups (as attic, zbackup or borbackup). See https://github.com/bup/bup Thanks.
Created attachment 182596 [details] New version of shar file Dear Martin, Since the first version of the shar, I have noticed some issues: 1. bup does not support python3. Thus, we need to stick to USES=python:2 instead of python:2.6+. 2. As consequence of (1), it is not possible to make use of "fuse" option, as it only works with python:3+. Thus, it has been removed from OPTIONS_DEFINE. 3. I have added support for test suite, with a proper patch (files/patch-t_test-sparse-files that warns about zfs and sparse files). Sorry for the annoyances. Regards.
Hi, thanks for the update. I'll look in to it later today.
Assignee timeout. Give back to the pool.
Created attachment 192779 [details] py-bup port with fixes changes suggested into you port Makefile
Hi, I did some fixes in your port, including making portlint happy. I also suggest to make the DOCS option available by default, it doesn't change that much the port size and is not too much work for builder. The IGNORE section suggests you define the port to be built and install manually or with portupgrade, can you confirm that ? Otherwise this section hasn't too much sense.
Hi, sorry for the late replay. I agree with your comments. Please remove the IGNORE section, with port flavors does not apply (I believe). Only a final minor tweak: the proper content of files/patch-t_test-sparse-files is: --- t/test-sparse-files.sh.orig 2017-05-14 11:27:06 UTC +++ t/test-sparse-files.sh @@ -31,6 +31,13 @@ if [ "$probe_size" -ge "$((data_size / 1 exit 0 fi +if [ "$(current-filesystem)" == "zfs" ]; then + WVSTART "WARNING!! If zfs compression is enabled in the current " \ + "filesytem, sparse test might fail!!. " \ + " See https://groups.google.com/forum/#!topic/bup-list/NZCJ5wHwbFE" +fi + + WVSTART "sparse restore on $(current-filesystem), assuming ${block_size}B blocks" WVPASS bup init Regards
A commit references this bug: Author: rodrigo Date: Thu May 24 22:37:36 UTC 2018 New revision: 470813 URL: https://svnweb.freebsd.org/changeset/ports/470813 Log: Add new port archivers/py-bup. A very efficient backup system based on the git packfile format. PR: 219174 Submitted by: jjuanino@gmail.com Changes: head/archivers/Makefile head/archivers/py-bup/ head/archivers/py-bup/Makefile head/archivers/py-bup/distinfo head/archivers/py-bup/files/ head/archivers/py-bup/files/patch-Makefile head/archivers/py-bup/files/patch-t_test-sparse-files head/archivers/py-bup/pkg-descr head/archivers/py-bup/pkg-plist
Committed, thanks and sorry for the delay.