pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/py-borgbackup



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sat Dec  2 08:53:10 UTC 2017

Modified Files:
        pkgsrc/sysutils/py-borgbackup: Makefile PLIST distinfo

Log Message:
Update py-borgbackup to 1.1.3 (security release).

Version 1.1.3 (2017-11-27)
--------------------------

Compatibility notes:

- When upgrading from borg 1.0.x to 1.1.x, please note:

  - read all the compatibility notes for 1.1.0*, starting from 1.1.0b1.
  - borg upgrade: you do not need to and you also should not run it.
  - borg might ask some security-related questions once after upgrading.
    You can answer them either manually or via environment variable.
    One known case is if you use unencrypted repositories, then it will ask
    about a unknown unencrypted repository one time.
  - your first backup with 1.1.x might be significantly slower (it might
    completely read, chunk, hash a lot files) - this is due to the
    --files-cache mode change (and happens every time you change mode).
    You can avoid the one-time slowdown by using the pre-1.1.0rc4-compatible
    mode (but that is less safe for detecting changed files than the default).
    See the --files-cache docs for details.

Fixes:

- Security Fix for CVE-2017-15914: Incorrect implementation of access controls
  allows remote users to override repository restrictions in Borg servers.
  A user able to access a remote Borg SSH server is able to circumvent access
  controls post-authentication.
  Affected releases: 1.1.0, 1.1.1, 1.1.2. Releases 1.0.x are NOT affected.
- crc32: deal with unaligned buffer, add tests - this broke borg on older ARM
  CPUs that can not deal with unaligned 32bit memory accesses and raise a bus
  error in such cases. the fix might also improve performance on some CPUs as
  all 32bit memory accesses by the crc32 code are properly aligned now. #3317
- mount: fixed support of --consider-part-files and do not show .borg_part_N
  files by default in the mounted FUSE filesystem. #3347
- fixed cache/repo timestamp inconsistency message, highlight that information
  is obtained from security dir (deleting the cache will not bypass this error
  in case the user knows this is a legitimate repo).
- borgfs: don't show sub-command in borgfs help, #3287
- create: show an error when --dry-run and --stats are used together, #3298

New features:

- mount: added exclusion group options and paths, #2138

  Reused some code to support similar options/paths as borg extract offers -
  making good use of these to only mount a smaller subset of dirs/files can
  speed up mounting a lot and also will consume way less memory.

  borg mount [options] repo_or_archive mountpoint path [paths...]

  paths: you can just give some "root paths" (like for borg extract) to
  only partially populate the FUSE filesystem.

  new options: --exclude[-from], --pattern[s-from], --strip-components
- create/extract: support st_birthtime on platforms supporting it, #3272
- add "borg config" command for querying/setting/deleting config values, #3304

Other changes:

- clean up and simplify packaging (only package committed files, do not install
  .c/.h/.pyx files)
- docs:

  - point out tuning options for borg create, #3239
  - add instructions for using ntfsclone, zerofree, #81
  - move image backup-related FAQ entries to a new page
  - clarify key aliases for borg list --format, #3111
  - mention break-lock in checkpointing FAQ entry, #3328
  - document sshfs rename workaround, #3315
  - add FAQ about removing files from existing archives
  - add FAQ about different prune policies
  - usage and man page for borgfs, #3216
  - clarify create --stats duration vs. wall time, #3301
  - clarify encrypted key format for borg key export, #3296
  - update release checklist about security fixes
  - document good and problematic option placements, fix examples, #3356
  - add note about using --nobsdflags to avoid speed penalty related to
    bsdflags, #3239
  - move most of support section to www.borgbackup.org


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/sysutils/py-borgbackup/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/py-borgbackup/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/sysutils/py-borgbackup/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/py-borgbackup/Makefile
diff -u pkgsrc/sysutils/py-borgbackup/Makefile:1.13 pkgsrc/sysutils/py-borgbackup/Makefile:1.14
--- pkgsrc/sysutils/py-borgbackup/Makefile:1.13 Sun Nov 12 10:52:42 2017
+++ pkgsrc/sysutils/py-borgbackup/Makefile      Sat Dec  2 08:53:10 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2017/11/12 10:52:42 bsiegert Exp $
+# $NetBSD: Makefile,v 1.14 2017/12/02 08:53:10 bsiegert Exp $
 
-DISTNAME=      borgbackup-1.1.2
+DISTNAME=      borgbackup-1.1.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/borgbackup/}

Index: pkgsrc/sysutils/py-borgbackup/PLIST
diff -u pkgsrc/sysutils/py-borgbackup/PLIST:1.7 pkgsrc/sysutils/py-borgbackup/PLIST:1.8
--- pkgsrc/sysutils/py-borgbackup/PLIST:1.7     Sun Nov 12 10:52:42 2017
+++ pkgsrc/sysutils/py-borgbackup/PLIST Sat Dec  2 08:53:10 2017
@@ -1,13 +1,6 @@
-@comment $NetBSD: PLIST,v 1.7 2017/11/12 10:52:42 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.8 2017/12/02 08:53:10 bsiegert Exp $
 bin/borg-${PYVERSSUFFIX}
 bin/borgfs-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/borg/__init__.py
 ${PYSITELIB}/borg/__main__.py
 ${PYSITELIB}/borg/__init__.pyo
@@ -52,45 +45,17 @@ ${PYSITELIB}/borg/version.pyo
 ${PYSITELIB}/borg/version.pyc
 ${PYSITELIB}/borg/xattr.pyo
 ${PYSITELIB}/borg/xattr.pyc
-${PYSITELIB}/borg/_chunker.c
-${PYSITELIB}/borg/_endian.h
-${PYSITELIB}/borg/_hashindex.c
 ${PYSITELIB}/borg/_version.py
 ${PYSITELIB}/borg/algorithms/__init__.py
 ${PYSITELIB}/borg/algorithms/__init__.pyo
 ${PYSITELIB}/borg/algorithms/__init__.pyc
-${PYSITELIB}/borg/algorithms/blake2-libselect.h
-${PYSITELIB}/borg/algorithms/blake2/COPYING
-${PYSITELIB}/borg/algorithms/blake2/README.md
-${PYSITELIB}/borg/algorithms/blake2/blake2-impl.h
-${PYSITELIB}/borg/algorithms/blake2/blake2.h
-${PYSITELIB}/borg/algorithms/blake2/blake2b-ref.c
-${PYSITELIB}/borg/algorithms/checksums.c
-${PYSITELIB}/borg/algorithms/checksums.pyx
 ${PYSITELIB}/borg/algorithms/checksums.so
-${PYSITELIB}/borg/algorithms/crc32_clmul.c
-${PYSITELIB}/borg/algorithms/crc32_dispatch.c
-${PYSITELIB}/borg/algorithms/crc32_slice_by_8.c
-${PYSITELIB}/borg/algorithms/xxh64/xxhash.c
-${PYSITELIB}/borg/algorithms/xxh64/xxhash.h
 ${PYSITELIB}/borg/archive.py
-${PYSITELIB}/borg/archiver.build/.sconsign.dblite
 ${PYSITELIB}/borg/archiver.py
 ${PYSITELIB}/borg/cache.py
-${PYSITELIB}/borg/cache_sync/cache_sync.c
-${PYSITELIB}/borg/cache_sync/sysdep.h
-${PYSITELIB}/borg/cache_sync/unpack.h
-${PYSITELIB}/borg/cache_sync/unpack_define.h
-${PYSITELIB}/borg/cache_sync/unpack_template.h
-${PYSITELIB}/borg/chunker.c
-${PYSITELIB}/borg/chunker.pyx
 ${PYSITELIB}/borg/chunker.so
-${PYSITELIB}/borg/compress.c
-${PYSITELIB}/borg/compress.pyx
 ${PYSITELIB}/borg/compress.so
 ${PYSITELIB}/borg/constants.py
-${PYSITELIB}/borg/crc32.c
-${PYSITELIB}/borg/crypto.c
 ${PYSITELIB}/borg/crypto/__init__.py
 ${PYSITELIB}/borg/crypto/__init__.pyo
 ${PYSITELIB}/borg/crypto/__init__.pyc
@@ -105,17 +70,11 @@ ${PYSITELIB}/borg/crypto/nonces.pyc
 ${PYSITELIB}/borg/crypto/file_integrity.py
 ${PYSITELIB}/borg/crypto/key.py
 ${PYSITELIB}/borg/crypto/keymanager.py
-${PYSITELIB}/borg/crypto/low_level.c
-${PYSITELIB}/borg/crypto/low_level.pyx
 ${PYSITELIB}/borg/crypto/low_level.so
 ${PYSITELIB}/borg/crypto/nonces.py
 ${PYSITELIB}/borg/fuse.py
-${PYSITELIB}/borg/hashindex.c
-${PYSITELIB}/borg/hashindex.pyx
 ${PYSITELIB}/borg/hashindex.so
 ${PYSITELIB}/borg/helpers.py
-${PYSITELIB}/borg/item.c
-${PYSITELIB}/borg/item.pyx
 ${PYSITELIB}/borg/item.so
 ${PYSITELIB}/borg/locking.py
 ${PYSITELIB}/borg/logger.py
@@ -129,14 +88,6 @@ ${PYSITELIB}/borg/platform/__init__.pyc
 ${PYSITELIB}/borg/platform/base.pyo
 ${PYSITELIB}/borg/platform/base.pyc
 ${PYSITELIB}/borg/platform/base.py
-${PYSITELIB}/borg/platform/darwin.c
-${PYSITELIB}/borg/platform/darwin.pyx
-${PYSITELIB}/borg/platform/freebsd.c
-${PYSITELIB}/borg/platform/freebsd.pyx
-${PYSITELIB}/borg/platform/linux.c
-${PYSITELIB}/borg/platform/linux.pyx
-${PYSITELIB}/borg/platform/posix.c
-${PYSITELIB}/borg/platform/posix.pyx
 ${PYSITELIB}/borg/platform/posix.so
 ${PYSITELIB}/borg/remote.py
 ${PYSITELIB}/borg/repository.py
@@ -227,3 +178,10 @@ ${PYSITELIB}/borg/testsuite/xattr.py
 ${PYSITELIB}/borg/upgrader.py
 ${PYSITELIB}/borg/version.py
 ${PYSITELIB}/borg/xattr.py
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt

Index: pkgsrc/sysutils/py-borgbackup/distinfo
diff -u pkgsrc/sysutils/py-borgbackup/distinfo:1.8 pkgsrc/sysutils/py-borgbackup/distinfo:1.9
--- pkgsrc/sysutils/py-borgbackup/distinfo:1.8  Sun Nov 12 10:52:42 2017
+++ pkgsrc/sysutils/py-borgbackup/distinfo      Sat Dec  2 08:53:10 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2017/11/12 10:52:42 bsiegert Exp $
+$NetBSD: distinfo,v 1.9 2017/12/02 08:53:10 bsiegert Exp $
 
-SHA1 (borgbackup-1.1.2.tar.gz) = 1fef77e343442db2daf621eb3769bc831ca91b9c
-RMD160 (borgbackup-1.1.2.tar.gz) = 1c31ef1d0f983aee673e580d7fba06bec3c4fd50
-SHA512 (borgbackup-1.1.2.tar.gz) = e818c4750c00559bc60196446e2c8fb01d8225b307982a9b6d3b38148d6ad7aa4766a6b9f06fee3954fbc34a4ff298ad6e49a758223906cc1d3d39c3d82dcec9
-Size (borgbackup-1.1.2.tar.gz) = 19860535 bytes
+SHA1 (borgbackup-1.1.3.tar.gz) = 4c1451467d49319fbc827a0d42665a8a9e9a985f
+RMD160 (borgbackup-1.1.3.tar.gz) = 33125a91cf45eebffad85513b32d4dc6417de295
+SHA512 (borgbackup-1.1.3.tar.gz) = 8378e4f805bfb3e9a4e454f5ccfa58eef0517f13a2e8a2c3c6cbdb0304b763fa67152963b17d677daff09590eb777f12fbe1f3f69c3459bcc68781e5a747cb49
+Size (borgbackup-1.1.3.tar.gz) = 2942183 bytes



Home | Main Index | Thread Index | Old Index