2022-02-05 10:05:42 by Adam Ciarcinski | Files touched by this commit (1) |
Log message:
bup: mark as not for Python 2.7
|
2021-11-30 06:31:56 by Masatake Daimon | Files touched by this commit (1) |
Log message:
bup now supports Python 3
sysutils/py-fuse-bindings was the only dependency that required Python
2, which is now ported to Python 3.
|
2021-10-26 13:20:30 by Nia Alarie | Files touched by this commit (630) |
Log message:
sysutils: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
|
2021-10-26 02:19:28 by Greg Troxel | Files touched by this commit (1) |
Log message:
bup: Wrap bup's build system slightly better
Note that bup fails to build on macOS 10.13 with cwrappers (not really
understood).
|
2021-10-07 16:58:44 by Nia Alarie | Files touched by this commit (630) |
Log message:
sysutils: Remove SHA1 hashes for distfiles
|
2021-05-24 21:56:06 by Thomas Klausner | Files touched by this commit (3575) |
Log message:
*: recursive bump for perl 5.34
|
2021-03-21 14:04:49 by Greg Troxel | Files touched by this commit (1) |
Log message:
sysutils/bup: Use VERSIONED_DEPENDENCIES for py-test
|
2021-03-15 17:02:12 by Greg Troxel | Files touched by this commit (1) | |
Log message:
sysutils/bup: Update to 0.32
(This commit message rides a trivial comment change, and is what
should have been on the 0.32 update earlier. Thanks again to wiz who
amazingly reads all the commit messages carefully.)
Notable changes in 0.32 since 0.31)
===================================
* Python 3 is now preferred. Python 2 support is deprecated, and it's
possible that we'll stop new development for Python 2 fairly soon.
If so, we'll probably continue to fix bugs in the last Python 2
compatible version for a while, but please make plans to migrate.
At the moment, ./configure doesn't explicitly look for any python
newer than python3.8 by default (though one might be selected by the
eventual python3 fallback). If desired, you can explicitly select a
version like this:
PYTHON=python3.9 ./configure
* With Python 3.9, the command line reported in tools like `ps` and
`top` will be `python...` rather than `bup...`. This was caused by
an upstream change that appears to have been reverted. We're likely
to avoid the issue entirely in a future relese.
Bugs
----
* A number of Python 3 compatibility problems have been fixed.
* `bup web` should no longer crash when attempting to listen on IPV6
interfaces.
* `bup restore -vv` should no longer crash when printing paths with
Python 3.
* `bup --prune-older --pretend` should format the plus/minus lines
correctly now.
* The `TTY_WIDTH` should now be correctly propagated to subprocesses
and remotes..
* Errors encountered while writing packfiles should be handled more
carefully.
* Some issues with the handling of integral type signs and sizes on
the C side have been fixed.
Build and install
-----------------
* The tests are now handled by pytest. See the
[README](../README#getting-started) for the additional dependency
information and further instructions.
Thanks to (at least)
====================
Christian Brabandt, Greg Troxel, Gustavo Goretkin, Jean-Paul Marmorat,
Johannes Berg, Karl-Philipp Richter, Rob Browning, and danpawlik
|
2021-03-15 14:35:42 by Greg Troxel | Files touched by this commit (1) |
Log message:
sysutils/bup: Add py-test as pseudo-TEST_DEPENDS
|
2021-03-15 14:32:35 by Greg Troxel | Files touched by this commit (2) |
Log message:
=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for bup-0.32.tar.gz
=> Checksum RMD160 OK for bup-0.32.tar.gz
=> Checksum SHA512 OK for bup-0.32.tar.gz
=> Checksum SHA1 OK for bup-man-3ba5796ca63d291c8389ffae8db9e69c65787b36.tar.gz
=> Checksum RMD160 OK for bup-man-3ba5796ca63d291c8389ffae8db9e69c65787b36.tar.gz
=> Checksum SHA512 OK for bup-man-3ba5796ca63d291c8389ffae8db9e69c65787b36.tar.gz
work -> /tmp/work/sysutils/bup/work
===> Installing dependencies for bup-0.32
==========================================================================
The supported build options for bup are:
fuse
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable. Its current value is shown:
PKG_OPTIONS.bup (not defined)
==========================================================================
==========================================================================
The following variables will affect the build process of this package,
bup-0.32. Their current value is shown below:
* PYTHON_VERSION_DEFAULT = 38
Based on these variables, the following variables have been set:
* PYPACKAGE = python27
* TERMCAP_TYPE = termcap
You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing. Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency bash-[0-9]*: found bash-5.1.4
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency ccache-[0-9]*: found ccache-3.7.12
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency rsync-[0-9]*: found rsync-3.2.3
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency par2-[0-9]*: found par2-0.8.1
=> Full dependency py27-tornado-[0-9]*: found py27-tornado-5.1.1
=> Full dependency git-base-[0-9]*: found git-base-2.30.1
=> Full dependency perl>=5.0: found perl-5.32.1
=> Full dependency readline>=6.0: found readline-8.1
=> Full dependency python27>=2.7.1nb2: found python27-2.7.18nb3
===> Checking for vulnerabilities in bup-0.32
===> Overriding tools for bup-0.32
===> Extracting for bup-0.32
===> Patching for bup-0.32
=> Applying pkgsrc patches for bup-0.32
=> Verifying \
/home/n0/gdt/pkgsrc-current/pkgsrc/sysutils/bup/patches/patch-lib_bup_bupsplit.h
**************************************
Ignoring patch file \
/home/n0/gdt/pkgsrc-current/pkgsrc/sysutils/bup/patches/patch-lib_bup_bupsplit.h: \
no checksum found
**************************************
=> Verifying \
/home/n0/gdt/pkgsrc-current/pkgsrc/sysutils/bup/patches/patch-lib_bup_hashsplit. \
py
**************************************
Ignoring patch file \
/home/n0/gdt/pkgsrc-current/pkgsrc/sysutils/bup/patches/patch-lib_bup_hashsplit.py: \
no checksum found
**************************************
===> Creating toolchain wrappers for bup-0.32
===> Configuring for bup-0.32
=> Replacing bash interpreter in cmd/import-rdiff-backup-cmd.sh \
t/compare-trees t/configure-sampledata t/force-delete t/subtree-hash \
t/test-cat-file.sh t/test-command-without-init-fails.sh \
t/test-index-check-device.sh t/test-meta.sh t/test-redundant-saves.sh \
t/test-restore-single-file.sh t/test-rm-between-index-and-save.sh \
t/test-save-creates-no-unrefs.sh t/test.sh wvtest-bup.sh.
WARNING: [replace-interpreter] Skipping non-existent file \
"t/compare-trees".
WARNING: [replace-interpreter] Skipping non-existent file \
"t/configure-sampledata".
WARNING: [replace-interpreter] Skipping non-existent file "t/force-delete".
WARNING: [replace-interpreter] Skipping non-existent file "t/subtree-hash".
WARNING: [replace-interpreter] Skipping non-existent file \
"t/test-cat-file.sh".
WARNING: [replace-interpreter] Skipping non-existent file \
"t/test-command-without-init-fails.sh".
WARNING: [replace-interpreter] Skipping non-existent file \
"t/test-index-check-device.sh".
WARNING: [replace-interpreter] Skipping non-existent file "t/test-meta.sh".
WARNING: [replace-interpreter] Skipping non-existent file \
"t/test-redundant-saves.sh".
WARNING: [replace-interpreter] Skipping non-existent file \
"t/test-restore-single-file.sh".
WARNING: [replace-interpreter] Skipping non-existent file \
"t/test-rm-between-index-and-save.sh".
WARNING: [replace-interpreter] Skipping non-existent file \
"t/test-save-creates-no-unrefs.sh".
WARNING: [replace-interpreter] Skipping non-existent file "t/test.sh".
INFO: [replace-interpreter] Nothing changed in wvtest-bup.sh.
=> Replacing Perl interpreter in wvtest.
WARNING: [replace-interpreter] Skipping non-existent file "wvtest".
=> Checking for portability problems in extracted files
===> Building for bup-0.32
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Warning: pandoc not found; skipping manpage generation
MAKE="/usr/pkg/bin/gmake" ./configure
Makefile:67: warning: undefined variable 'bup_readline_ldflags'
Configuring for [bup]
Looking for cpp (/tmp/work/sysutils/bup/work/.cwrapper/bin/cpp) ok
checking for install (/tmp/work/sysutils/bup/work/.tools/bin/install)
checking the C compiler (gcc) ok
ignoring bogus LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib \
-Wl,-R/usr/lib "
checking for make (/usr/pkg/bin/gmake)
checking for git (/usr/pkg/bin/git)
checking for header sys/stat.h (found)
checking for header sys/types.h (found)
checking for header unistd.h (found)
checking for header sys/mman.h (found)
checking for header linux/fs.h (not found)
checking for header sys/ioctl.h (found)
checking for the utimensat function (found)
checking for the utimes function (found)
checking for the lutimes function (found)
checking for __builtin_mul_overflow (found)
checking for the mincore function (found)
checking for MINCORE_INCORE (not found)
checking mincore buf type (char)
checking for readline (yes)
checking that struct stat has a st_atim field (yes)
checking that struct stat has a st_mtim field (yes)
checking that struct stat has a st_ctim field (yes)
checking that struct stat has a st_atimensec field (yes)
checking that struct stat has a st_mtimensec field (yes)
checking that struct stat has a st_ctimensec field (yes)
checking that struct tm has a tm_gmtoff field (yes)
checking for libacl (yes)
checking for header sys/acl.h (not found)
checking for header acl/libacl.h (not found)
checking for the acl_get_file function (not found)
checking for the acl_from_text function (not found)
checking for the acl_set_file function (not found)
checking for the acl_extended_file function (not found)
checking for the acl_to_any_text function (not found)
checking for complete acl support (no)
looking for sed (/tmp/work/sysutils/bup/work/.tools/bin/sed)
generating config.vars
found: python (/usr/pkg/bin/python2.7, Python 2.7.18)
found: git (/usr/pkg/bin/git, (git version 2.30.1)
found: readline support (e.g. bup ftp)
not found: POSIX ACL support
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Warning: pandoc not found; skipping manpage generation
cd lib/bup && /tmp/work/sysutils/bup/work/bup-0.32/config/bin/python \
csetup.py build "-D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas \
-Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 \
-I/usr/pkg/include -I/usr/include" "-L/usr/pkg/lib -Wl,-R/usr/pkg/lib \
-L/usr/lib -Wl,-R/usr/lib -lreadline"
running build
running build_ext
building '_helpers' extension
creating build
creating build/temp.netbsd-9.1_STABLE-amd64-2.7
gcc -fno-strict-aliasing -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include \
-I/usr/pkg/include -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include \
-I/usr/pkg/include -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare \
-O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include \
-I/usr/include -I/usr/pkg/include -I/usr/include -fPIC \
-I/usr/pkg/include/python2.7 -c _helpers.c -o \
build/temp.netbsd-9.1_STABLE-amd64-2.7/_helpers.o -D_FILE_OFFSET_BITS=64 \
-Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 \
-D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include
gcc -fno-strict-aliasing -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include \
-I/usr/pkg/include -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include \
-I/usr/pkg/include -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare \
-O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include \
-I/usr/include -I/usr/pkg/include -I/usr/include -fPIC \
-I/usr/pkg/include/python2.7 -c bupsplit.c -o \
build/temp.netbsd-9.1_STABLE-amd64-2.7/bupsplit.o -D_FILE_OFFSET_BITS=64 \
-Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 \
-D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include
creating build/lib.netbsd-9.1_STABLE-amd64-2.7
gcc -shared -L/tmp/work/lang/python27/work/Python-2.7.18 -pthread -L/usr/lib \
-Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib \
-Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib \
-lreadline -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare -O2 -Wall \
-Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include \
-I/usr/pkg/include -I/usr/include \
build/temp.netbsd-9.1_STABLE-amd64-2.7/_helpers.o \
build/temp.netbsd-9.1_STABLE-amd64-2.7/bupsplit.o -L/usr/pkg/lib -lpython2.7 -o \
build/lib.netbsd-9.1_STABLE-amd64-2.7/_helpers.so -L/usr/pkg/lib \
-Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lreadline -L/usr/pkg/lib \
-Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lreadline
ld: /tmp/work/sysutils/bup/work/.buildlink/lib/libpython2.7.so: warning: \
warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
ld: /tmp/work/sysutils/bup/work/.buildlink/lib/libpython2.7.so: warning: \
warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
/tmp/work/sysutils/bup/work/bup-0.32/config/bin/python -c \
"import glob; assert(len(glob.glob('lib/bup/build/*/_helpers*.so')) == \
1)"
cp lib/bup/build/*/_helpers*.so "lib/bup/_helpers.so"
rm -f cmd/bup-get
ln -s get-cmd.py cmd/bup-get
rm -f cmd/bup-tag
ln -s tag-cmd.py cmd/bup-tag
rm -f cmd/bup-gc
ln -s gc-cmd.py cmd/bup-gc
rm -f cmd/bup-ls
ln -s ls-cmd.py cmd/bup-ls
rm -f cmd/bup-random
ln -s random-cmd.py cmd/bup-random
rm -f cmd/bup-fsck
ln -s fsck-cmd.py cmd/bup-fsck
rm -f cmd/bup-version
ln -s version-cmd.py cmd/bup-version
rm -f cmd/bup-ftp
ln -s ftp-cmd.py cmd/bup-ftp
rm -f cmd/bup-features
ln -s features-cmd.py cmd/bup-features
rm -f cmd/bup-meta
ln -s meta-cmd.py cmd/bup-meta
rm -f cmd/bup-fuse
ln -s fuse-cmd.py cmd/bup-fuse
rm -f cmd/bup-margin
ln -s margin-cmd.py cmd/bup-margin
rm -f cmd/bup-on--server
ln -s on--server-cmd.py cmd/bup-on--server
rm -f cmd/bup-index
ln -s index-cmd.py cmd/bup-index
rm -f cmd/bup-memtest
ln -s memtest-cmd.py cmd/bup-memtest
rm -f cmd/bup-import-duplicity
ln -s import-duplicity-cmd.py cmd/bup-import-duplicity
rm -f cmd/bup-restore
ln -s restore-cmd.py cmd/bup-restore
rm -f cmd/bup-daemon
ln -s daemon-cmd.py cmd/bup-daemon
rm -f cmd/bup-midx
ln -s midx-cmd.py cmd/bup-midx
rm -f cmd/bup-help
ln -s help-cmd.py cmd/bup-help
rm -f cmd/bup-server
ln -s server-cmd.py cmd/bup-server
rm -f cmd/bup-web
ln -s web-cmd.py cmd/bup-web
rm -f cmd/bup-xstat
ln -s xstat-cmd.py cmd/bup-xstat
rm -f cmd/bup-join
ln -s join-cmd.py cmd/bup-join
rm -f cmd/bup-rm
ln -s rm-cmd.py cmd/bup-rm
rm -f cmd/bup-bloom
ln -s bloom-cmd.py cmd/bup-bloom
rm -f cmd/bup-damage
ln -s damage-cmd.py cmd/bup-damage
rm -f cmd/bup-split
ln -s split-cmd.py cmd/bup-split
rm -f cmd/bup-list-idx
ln -s list-idx-cmd.py cmd/bup-list-idx
rm -f cmd/bup-save
ln -s save-cmd.py cmd/bup-save
rm -f cmd/bup-tick
ln -s tick-cmd.py cmd/bup-tick
rm -f cmd/bup-init
ln -s init-cmd.py cmd/bup-init
rm -f cmd/bup-prune-older
ln -s prune-older-cmd.py cmd/bup-prune-older
rm -f cmd/bup-cat-file
ln -s cat-file-cmd.py cmd/bup-cat-file
rm -f cmd/bup-drecurse
ln -s drecurse-cmd.py cmd/bup-drecurse
rm -f cmd/bup-on
ln -s on-cmd.py cmd/bup-on
rm -f cmd/bup-mux
ln -s mux-cmd.py cmd/bup-mux
rm -f cmd/bup-import-rdiff-backup
ln -s import-rdiff-backup-cmd.sh cmd/bup-import-rdiff-backup
rm -f cmd/bup-import-rsnapshot
ln -s import-rsnapshot-cmd.sh cmd/bup-import-rsnapshot
dev/configure-sampledata --setup
*** Please use pkgtools/verifypc to sanity check dependencies.
===> Installing for bup-0.32
=> Generating pre-install file lists
=> Creating installation directories
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Warning: pandoc not found; skipping manpage generation
install -d /tmp/work/sysutils/bup/work/.destdir/usr/pkg/bin \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/cmd \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/web \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/web/static
test -z "" || install -d \
/tmp/work/sysutils/bup/work/.destdir/tmp/work/sysutils/bup/work/.destdir/usr/pkg \
/man/man1
test -z "" || install -m 0644 \
/tmp/work/sysutils/bup/work/.destdir/tmp/work/sysutils/bup/work/.destdir/usr/pkg \
/man/man1
test -z "" || install -d \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/share/doc/bup
test -z "" || install -m 0644 \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/share/doc/bup
dev/install-python-script lib/cmd/bup \
"/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/cmd/bup"
set -e; \
for cmd in $(ls cmd/bup-*); do \
dev/install-python-script "$cmd" \
"/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/$cmd"; \
done
cd "/tmp/work/sysutils/bup/work/.destdir/usr/pkg/bin" && \
ln -sf "$(/usr/pkg/bin/python2.7 -c 'import os; \
print(os.path.relpath("/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup \
/cmd/bup"))')"
set -e; \
install -pm 0644 \
lib/bup/*.py \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup
install -pm 0755 \
lib/bup/*.so \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup
install -pm 0644 \
lib/web/static/* \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/web/static/
install -pm 0644 \
lib/web/*.html \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/web/
if test -e lib/bup/checkout_info.py; then \
install -pm 0644 lib/bup/checkout_info.py \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup/source_info.py; \
else \
! grep -qF '$Format' lib/bup/source_info.py; \
install -pm 0644 lib/bup/source_info.py \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup/; \
fi
/usr/bin/install -c -o gdt -g users -m 644 \
/tmp/work/sysutils/bup/work/bup-3ba5796ca63d291c8389ffae8db9e69c65787b36/*.1 \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/man/man1
/usr/bin/install -c -o gdt -g users -m 644 \
/tmp/work/sysutils/bup/work/bup-0.32/DESIGN \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/share/doc/bup
/usr/bin/install -c -o gdt -g users -m 644 \
/tmp/work/sysutils/bup/work/bup-0.32/README \
/tmp/work/sysutils/bup/work/.destdir/usr/pkg/share/doc/bup
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for bup-0.32
=> Checking for non-existent script interpreters in bup-0.32
=> Checking file permissions in bup-0.32
=> Checking for missing run-time search paths in bup-0.32
=> Checking for work-directory references in bup-0.32
=> Creating binary package /tmp/work/sysutils/bup/work/.packages/bup-0.32.tgz
===> Building binary package for bup-0.32
=> Creating binary package \
/home/n0/gdt/pkgsrc-current/pkgsrc/packages/All/bup-0.32.tgz
|