Accepting request 1187048 from home:priand:branches:Archiving:Backup
- update to version 1.4.0
- adjust copyright header
- add two new variable definitions needed by borgbackup >= 1.4.0:
"BORG_LIBXXHASH_PREFIX=" and "BORG_LIBACL_PREFIX="
- change requirements for
libacl-devel to >= 2.2.47
python3-Cython to >=3.0.10
python3-base to >= 3.9
python3-msgpack to >= 1.0.3 and <= 1.1.0
python3-llfuse to >= 1.3.8
- remove obsolete conflict for python3-msgpack = 1.0.1
- add %{borg_libacl_prefix} and %{borg_libxxhash_prefix} to the
%build and the %install section
- Upgrade Notes borg 1.2.x to 1.4.x:
* If you currently use borg 1.2.5+: no upgrade steps needed (if
you already did them when upgrading to that version,
otherwise see below).
* If you currently use borg 1.2.0 .. 1.2.4, read and follow
“Pre-1.2.5 archives spoofing vulnerability (CVE-2023-36811)”
section in the changelog, see link below.
- Compatibility notes:
* By default, borg 1.4 will behave quite similar to borg 1.2
(it was forked off from 1.2-maint branch at 1.2.7).
* the slashdot hack: be careful not to accidentally give paths
containing /./ to “borg create” if you do not want to trigger
this feature (which strips the left part of the path from
archived items).
* BORG_EXIT_CODES=modern is a feature that borg script, wrapper
and GUI authors may want to use to get more specific error
and warning return codes from borg. In that case, of course
they will need to make sure to correctly deal with these new
codes, see the internals/frontends docs.
- Update to version 1.4:
* BORG_EXIT_CODES=modern: optional more specific return codes
(for errors and warnings)
* borg create: add the "slashdot hack" to strip recursion root
prefixes
* borg version REPO: show version of borg client and server
- Other bigger changes:
* ACL code: refactor, improve acl_get / acl_set error handling
* removed bundled 3rd party code (lz4/zstd/xxhash)
* modernised python packaging (use pyproject.toml, use less
setup.py)
* use pyinstaller 6.7.0 and python 3.11 for the binary builds
* new naming convention for fat binaries (include glibc version
for linux)
Full changelog:
https://borgbackup.readthedocs.io/en/1.4-maint/changes.html
OBS-URL: https://build.opensuse.org/request/show/1187048
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgbackup?expand=0&rev=113
This commit is contained in:
@@ -1,3 +1,63 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 12 09:23:48 UTC 2024 - Andreas Prittwitz <m4ng4n@gmx.de>
|
||||
|
||||
- update to version 1.4.0
|
||||
- adjust copyright header
|
||||
- add two new variable definitions needed by borgbackup >= 1.4.0:
|
||||
"BORG_LIBXXHASH_PREFIX=" and "BORG_LIBACL_PREFIX="
|
||||
- change requirements for
|
||||
libacl-devel to >= 2.2.47
|
||||
python3-Cython to >=3.0.10
|
||||
python3-base to >= 3.9
|
||||
python3-msgpack to >= 1.0.3 and <= 1.1.0
|
||||
python3-llfuse to >= 1.3.8
|
||||
- remove obsolete conflict for python3-msgpack = 1.0.1
|
||||
- add %{borg_libacl_prefix} and %{borg_libxxhash_prefix} to the
|
||||
%build and the %install section
|
||||
|
||||
- Upgrade Notes borg 1.2.x to 1.4.x:
|
||||
|
||||
* If you currently use borg 1.2.5+: no upgrade steps needed (if
|
||||
you already did them when upgrading to that version,
|
||||
otherwise see below).
|
||||
|
||||
* If you currently use borg 1.2.0 .. 1.2.4, read and follow
|
||||
“Pre-1.2.5 archives spoofing vulnerability (CVE-2023-36811)”
|
||||
section in the changelog, see link below.
|
||||
|
||||
- Compatibility notes:
|
||||
* By default, borg 1.4 will behave quite similar to borg 1.2
|
||||
(it was forked off from 1.2-maint branch at 1.2.7).
|
||||
* the slashdot hack: be careful not to accidentally give paths
|
||||
containing /./ to “borg create” if you do not want to trigger
|
||||
this feature (which strips the left part of the path from
|
||||
archived items).
|
||||
* BORG_EXIT_CODES=modern is a feature that borg script, wrapper
|
||||
and GUI authors may want to use to get more specific error
|
||||
and warning return codes from borg. In that case, of course
|
||||
they will need to make sure to correctly deal with these new
|
||||
codes, see the internals/frontends docs.
|
||||
|
||||
- Update to version 1.4:
|
||||
* BORG_EXIT_CODES=modern: optional more specific return codes
|
||||
(for errors and warnings)
|
||||
* borg create: add the "slashdot hack" to strip recursion root
|
||||
prefixes
|
||||
* borg version REPO: show version of borg client and server
|
||||
|
||||
- Other bigger changes:
|
||||
* ACL code: refactor, improve acl_get / acl_set error handling
|
||||
* removed bundled 3rd party code (lz4/zstd/xxhash)
|
||||
* modernised python packaging (use pyproject.toml, use less
|
||||
setup.py)
|
||||
* use pyinstaller 6.7.0 and python 3.11 for the binary builds
|
||||
* new naming convention for fat binaries (include glibc version
|
||||
for linux)
|
||||
|
||||
Full changelog:
|
||||
|
||||
https://borgbackup.readthedocs.io/en/1.4-maint/changes.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 30 10:49:48 UTC 2024 - Andreas Prittwitz <m4ng4n@gmx.de>
|
||||
|
||||
|
||||
+13
-12
@@ -2,7 +2,7 @@
|
||||
# spec file for package borgbackup
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2016-2023 LISA GmbH, Bingen, Germany.
|
||||
# Copyright (c) 2016-2024 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -22,6 +22,9 @@
|
||||
# needed when building without the packaged algorithms
|
||||
%define borg_liblz4_prefix BORG_LIBLZ4_PREFIX=%{_includedir}
|
||||
%define borg_libzstd_prefix BORG_LIBZSTD_PREFIX=%{_includedir}
|
||||
# new defintion needed with borgbackup >= 1.4.0
|
||||
%define borg_libxxhash_prefix BORG_LIBXXHASH_PREFIX=%{_includedir}
|
||||
%define borg_libacl_prefix BORG_LIBACL_PREFIX=%{_includedir}
|
||||
%if 0%{?suse_version} >= 1500
|
||||
# use new compression libs (lz4, zstd)
|
||||
%bcond_without borg_newcompr
|
||||
@@ -41,7 +44,7 @@
|
||||
%bcond_with borg_sysblake2
|
||||
%endif
|
||||
Name: borgbackup
|
||||
Version: 1.2.8
|
||||
Version: 1.4.0
|
||||
Release: 0
|
||||
Summary: Deduplicating backup program with compression and authenticated encryption
|
||||
License: BSD-3-Clause
|
||||
@@ -59,11 +62,11 @@ BuildRequires: bash
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: fish
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libacl-devel
|
||||
BuildRequires: libacl-devel >= 2.2.47
|
||||
BuildRequires: openssl-devel >= 1.1.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3-Cython >= 0.29.33
|
||||
BuildRequires: python3-base >= 3.8
|
||||
BuildRequires: python3-Cython >= 3.0.10
|
||||
BuildRequires: python3-base >= 3.9
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-packaging
|
||||
BuildRequires: python3-setuptools
|
||||
@@ -85,16 +88,14 @@ BuildRequires: libzstd-devel >= 1.3.0
|
||||
# msgpack is not included with borg version >= 1.2.0 anymore
|
||||
# The metadata is very specific about the version, the command will fail if msgpack is out of range -- boo#1198267
|
||||
# See https://github.com/borgbackup/borg/blob/1.2.1/setup.py#L68 and update this for every version bump!
|
||||
BuildRequires: (python3-msgpack >= 0.5.6 with python3-msgpack <= 1.0.8)
|
||||
BuildConflicts: python3-msgpack = 1.0.1
|
||||
Conflicts: python3-msgpack = 1.0.1
|
||||
BuildRequires: (python3-msgpack >= 1.0.3 with python3-msgpack <= 1.1.0)
|
||||
Requires: python3-packaging
|
||||
Requires: (python3-msgpack >= 0.5.6 with python3-msgpack <= 1.0.8)
|
||||
Requires: (python3-msgpack >= 1.0.3 with python3-msgpack <= 1.1.0)
|
||||
%if 0%{?suse_version} > 1500
|
||||
# upstream recommends a "Requires" if pyfuse3 is available
|
||||
Requires: python3-pyfuse3 >= 3.1.1
|
||||
%else
|
||||
Recommends: python3-llfuse
|
||||
Recommends: python3-llfuse >= 1.3.8
|
||||
%endif
|
||||
# /SECTION
|
||||
# SECTION docs requirements
|
||||
@@ -204,12 +205,12 @@ find src/ -name '*.pyx' | sed -e 's/.pyx/.c/g' | xargs rm -f
|
||||
cp -a %{_datadir}/licenses/%{python_flavor}-msgpack/COPYING LICENSE.msgpack
|
||||
|
||||
%build
|
||||
%{borg_openssl_prefix} %{borg_libzstd_prefix} %{borg_liblz4_prefix} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" python3 setup.py build
|
||||
%{borg_openssl_prefix} %{borg_libzstd_prefix} %{borg_liblz4_prefix} %{borg_libxxhash_prefix} %{borg_libacl_prefix} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" python3 setup.py build
|
||||
export PYTHONPATH=$(pwd)/build/lib.linux-$(uname -m)-%{py3_ver}
|
||||
%make_build -C docs html man && rm docs/_build/html/.buildinfo
|
||||
|
||||
%install
|
||||
%{borg_openssl_prefix} %{borg_liblz4_prefix} %{borg_libzstd_prefix} python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%{borg_libacl_prefix} %{borg_libxxhash_prefix} %{borg_openssl_prefix} %{borg_liblz4_prefix} %{borg_libzstd_prefix} python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
# install all man pages
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
install -m 0644 docs/man/borg*.1 %{buildroot}%{_mandir}/man1
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d39d22b0d2cb745584d68608a179b6c75f7b40e496e96feb789e41d34991f4aa
|
||||
size 4369117
|
||||
@@ -1,17 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQJHBAABCAAxFiEEL4Gv+6sE4R/o7mXUJDrPqVH3jgEFAmYG/jQTHHR3QHdhbGRt
|
||||
YW5uLWVkdi5kZQAKCRAkOs+pUfeOAZ8GD/9sSYBPIYCq5JefmVp3e9Ig6kE4JK+c
|
||||
6lSMJy9qVUbYqkwLJrXp50BVKTkpZHpUhMdPyu3GxoHiCQXqbOQJlE3sUVk32Wn1
|
||||
Pv9LpDPORk47mgymaIJ/NiUh00BoKBkEVdNm1lwApjkzikUU2WcuUJg4F91eS/so
|
||||
/kLyP+I1jCAI7Jr0lzY8NsfoFAAJ2j7ypaopJW/GU7jIoJSstSnCglyAU0o5CaF0
|
||||
RCZw4TCKTQxAtKSPmtPcFbqfXsVIrMpumJnN3jMuBoyoJyS5tPMdPUWg487mRo8/
|
||||
udxkUDOAAXnTA0BVirIqHqrkc1UDESQHGn70pnwmLJXMwEwRtgOUmifwztSyowBY
|
||||
JhTRuB7wWWEzNKIaEcjjZD3KFMdDjGHkvCCFEL/mqYoP8Q2/E0ACHbcaDHYsiKxD
|
||||
9OetETvWW5y8/kedmoEda/Xpowbr4oGQwAFpvb5RrcEb32DYIka6ChJ+LTYxZecC
|
||||
8myDADmwT2eYuw5EkQtEnMvcQpytM39IPzLG0OGusiGXBCwOS/16dvmpTqHTV4Ms
|
||||
iMvWPAXZ3G1+4tGj/siQCtzjI984fUuLk3lSLFnHmd6srQFcqQPUEzN/ROaJFlAz
|
||||
8AlThOxcjhF8BhL2suOgeMTe1TOo4UwO073oewJ9Z2BZoiXJRF8emv2iaYU7j6BP
|
||||
jwmYRD5GYP8iHA==
|
||||
=AZ7G
|
||||
-----END PGP SIGNATURE-----
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c54c45155643fa66fed7f9ff2d134ea0a58d0ac197c18781ddc2fb236bf6ed29
|
||||
size 3798511
|
||||
@@ -0,0 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQJHBAABCAAxFiEEL4Gv+6sE4R/o7mXUJDrPqVH3jgEFAmaEepITHHR3QHdhbGRt
|
||||
YW5uLWVkdi5kZQAKCRAkOs+pUfeOAa+sD/4ykFePnQmYEpi/KYcntuXqY4w7eLe1
|
||||
bxRHF9AdJVzfEw5YV0Kjsvj6XyyoxSLNz2zh6KS6mpUTZqvU9FBRumHG0gj4N/50
|
||||
FOKUU8Auf0jWj8GpB7JrifUsLFUrRmc0DI+2lQLrruRSt9tXqRyYmBGImcT95tH0
|
||||
Zd5F+AY/GM6RXbibD2Ud3SyeMJwzHMVb6PTyT2NxvHJ52LAYe+1PNesQAHD8VvSL
|
||||
IPHhTc2myNr+LEBtRfnwYOfKxAZKO2wrTFvZHXTmNnkJB5zRtnOGLQrwplHyuI54
|
||||
MU1h9uLfZJREL6PkMcg99jxzCy6yUZTzC6/dibTll/VTGbpJR5Tv2WQh99A06dg1
|
||||
vJruTeLryUuAH8Duuf+4h9yUHOQpryyK0TFosGOqSBwceZXq+lAU9kXpOrezEFrm
|
||||
rs0TNudsv5/98qvsff8wgGmIsoUxfsx4B8z2hCr8dDYqN/nb8Byz59wriT5IIyh8
|
||||
a75qA5wv374ch+hSc/9V8la6Dnsrmo2aac6FuuyV/550MyTU82MB1PF2spALf0lQ
|
||||
ahmbtqcLobycxui4URTQ8cRuU+ZkudP2PvIkV8UpehnOy6YykqBuNf3IhSYeBQg7
|
||||
p4CEr0BK7VZxXsbnB2Vtpgu+/jPotCMxWcdIsG2K4ZfvzVnoIVwSKQ5vPvF+6WlB
|
||||
7rnYwBT4/M7GKQ==
|
||||
=yin2
|
||||
-----END PGP SIGNATURE-----
|
||||
Reference in New Issue
Block a user