Marcus Rückert 2022-09-20 18:40:49 +00:00 committed by Git OBS Bridge
parent b445c210ae
commit afdc3fca1f
6 changed files with 123 additions and 73 deletions

View File

@ -1,25 +1,26 @@
Index: pgbackrest-release-2.37/src/configure Index: pgbackrest-release-2.41/src/configure
=================================================================== ===================================================================
--- pgbackrest-release-2.37.orig/src/configure --- pgbackrest-release-2.41.orig/src/configure
+++ pgbackrest-release-2.37/src/configure +++ pgbackrest-release-2.41/src/configure
@@ -3678,11 +3678,11 @@ fi @@ -3603,12 +3603,12 @@ then :
done printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
fi
-ac_fn_c_check_header_compile "$LINENO" "libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default"
+ac_fn_c_check_header_compile "$LINENO" "pgsql/libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default"
if test "x$ac_cv_header_libpq_fe_h" = xyes
then :
-ac_fn_c_check_header_mongrel "$LINENO" "libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default" else $as_nop
+ac_fn_c_check_header_mongrel "$LINENO" "pgsql/libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default"
if test "x$ac_cv_header_libpq_fe_h" = xyes; then :
else
- as_fn_error $? "header file <libpq-fe.h> is required" "$LINENO" 5 - as_fn_error $? "header file <libpq-fe.h> is required" "$LINENO" 5
+ as_fn_error $? "header file <pgsql/libpq-fe.h> is required" "$LINENO" 5 + as_fn_error $? "header file <pgsql/libpq-fe.h> is required" "$LINENO" 5
fi fi
Index: pgbackrest-release-2.37/src/postgres/client.c Index: pgbackrest-release-2.41/src/postgres/client.c
=================================================================== ===================================================================
--- pgbackrest-release-2.37.orig/src/postgres/client.c --- pgbackrest-release-2.41.orig/src/postgres/client.c
+++ pgbackrest-release-2.37/src/postgres/client.c +++ pgbackrest-release-2.41/src/postgres/client.c
@@ -3,7 +3,7 @@ Postgres Client @@ -3,7 +3,7 @@ Postgres Client
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#include "build.auto.h" #include "build.auto.h"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d1c641271bbbebb7adae72be24716bf0295f746d1a00c5f0a632ead7669b1a8d
size 5771539

3
pgbackrest-2.41.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a1f60045d7db39f491dcbbe0af5272c21e7424c040c0238b60bcaa632a9e721
size 5855195

View File

@ -1,7 +1,69 @@
-------------------------------------------------------------------
Tue Sep 20 18:33:00 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
- update to version 2.41
+ Bug Fixes:
- Fix incorrect time expiration being used for non-default
repositories. (Reviewed by Stefan Fercot. Reported by Adam
Brusselback.)
- Fix issue when listing directories recursively with a filter.
(Reviewed by Stephen Frost. Reported by Efremov Egor.)
+ Features:
- Backup key/value annotations. (Contributed by Stefan Fercot.
Reviewed by David Steele. Suggested by Adam Berlin.)
+ Improvements:
- Support --set in JSON output for info command. (Contributed
by Stefan Fercot. Reviewed by David Steele. Suggested by
Anton Kurochkin.)
- Update archive.info timestamps after a successful backup.
(Reviewed by Stefan Fercot. Suggested by Alex Richman.)
- Move standby timeline check after checkpoint. (Reviewed by
Stefan Fercot, Keith Fiske. Suggested by Keith Fiske.)
- Improve warning message on backup resume. (Suggested by
Cynthia Shang.)
+ Additional Notes
- Documentation Improvements:
- Add absolute path for kill in pgbackrest.service. (Suggested
by Don Seiler.)
- changes from 2.40 OpenSSL 3 Support
+ Improvements:
- OpenSSL 3 support. (Reviewed by Stephen Frost.)
- Create snapshot when listing contents of a path. (Reviewed by
John Morris, Stephen Frost.)
- Force target-timeline=current when restore type=immediate.
(Reviewed by Stephen Frost.)
- Truncate files during delta restore when they are larger than
expected. (Reviewed by Stephen Frost.)
- Disable incremental manifest save when resume=n. (Contributed
by Reid Thompson. Reviewed by David Steele.)
- Set backup percent complete to zero before copy start.
(Contributed by Reid Thompson. Reviewed by David Steele.)
- Use S3 IsTruncated flag to determine list continuation.
(Reviewed by John Morris, Soulou. Suggested by Christian
Montagne.)
+ Documentation Bug Fixes:
- Skip internal options in the configuration reference.
(Reported by Francisco Miguel Biete.)
+ Documentation Improvements:
- Add link to PostgreSQL configuration in repository host
section. (Reviewed by Stefan Fercot. Suggested by Julien
Cigar.)
+ Test Suite Improvements:
- Add experimental Meson build. (Reviewed by Eli Schwartz, Sam
Bassaly.)
- Allow any path to be passed to the --test-path option.
(Contributed by Andrey Sokolov. Reviewed by David Steele.)
- Fix compile error when DEBUG_EXEC_TIME is defined without
DEBUG. (Contributed by Andrey Sokolov. Reviewed by David
Steele.)
- refreshed patches to apply cleanly again:
- libpq-fe.h_localisation.patch
- use-run-pgbackrest.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 27 12:45:15 UTC 2022 - Bruno Friedmann <bruno@ioda-net.ch> Mon Jun 27 12:45:15 UTC 2022 - Bruno Friedmann <bruno@ioda-net.ch>
- update do version 2.39 - update to version 2.39
+ Bug Fixes: + Bug Fixes:
- Fix error thrown from FINALLY() causing an infinite loop. - Fix error thrown from FINALLY() causing an infinite loop.
- Error on all lock failures except another process holding the lock. - Error on all lock failures except another process holding the lock.

View File

@ -20,7 +20,7 @@
%define services pgbackrest.target pgbackrest-diff@.service pgbackrest-full@.service pgbackrest-incr@.service pgbackrest.service pgbackrest-diff@.timer pgbackrest-full@.timer pgbackrest-incr@.timer %define services pgbackrest.target pgbackrest-diff@.service pgbackrest-full@.service pgbackrest-incr@.service pgbackrest.service pgbackrest-diff@.timer pgbackrest-full@.timer pgbackrest-incr@.timer
Name: pgbackrest Name: pgbackrest
Version: 2.39 Version: 2.41
Release: 0 Release: 0
Summary: Reliable PostgreSQL Backup & Restore Summary: Reliable PostgreSQL Backup & Restore
License: MIT License: MIT

View File

@ -1,7 +1,7 @@
Index: pgbackrest-release-2.37/CODING.md Index: pgbackrest-release-2.41/CODING.md
=================================================================== ===================================================================
--- pgbackrest-release-2.37.orig/CODING.md --- pgbackrest-release-2.41.orig/CODING.md
+++ pgbackrest-release-2.37/CODING.md +++ pgbackrest-release-2.41/CODING.md
@@ -260,11 +260,11 @@ Continuation characters should be aligne @@ -260,11 +260,11 @@ Continuation characters should be aligne
This function can be called without variable parameters: This function can be called without variable parameters:
@ -16,11 +16,11 @@ Index: pgbackrest-release-2.37/CODING.md
``` ```
If the majority of functions in a module or object are variadic it is best to provide macros for all functions even if they do not have variable parameters. Do not use the base function when variadic macros exist. If the majority of functions in a module or object are variadic it is best to provide macros for all functions even if they do not have variable parameters. Do not use the base function when variadic macros exist.
Index: pgbackrest-release-2.37/doc/resource/git-history.cache Index: pgbackrest-release-2.41/doc/resource/git-history.cache
=================================================================== ===================================================================
--- pgbackrest-release-2.37.orig/doc/resource/git-history.cache --- pgbackrest-release-2.41.orig/doc/resource/git-history.cache
+++ pgbackrest-release-2.37/doc/resource/git-history.cache +++ pgbackrest-release-2.41/doc/resource/git-history.cache
@@ -3311,7 +3311,7 @@ @@ -5339,7 +5339,7 @@
{ {
"commit": "a1365b26d4c2383eaacea3714eeb521435ca79aa", "commit": "a1365b26d4c2383eaacea3714eeb521435ca79aa",
"date": "2021-01-18 23:41:09 -0500", "date": "2021-01-18 23:41:09 -0500",
@ -29,7 +29,7 @@ Index: pgbackrest-release-2.37/doc/resource/git-history.cache
}, },
{ {
"commit": "8322dfd7af97e307b952cfb37e6a65b65f55be0f", "commit": "8322dfd7af97e307b952cfb37e6a65b65f55be0f",
@@ -6127,8 +6127,8 @@ @@ -8155,8 +8155,8 @@
{ {
"commit": "3fbfcba811499a59b943dd893eef9ff52090f7b6", "commit": "3fbfcba811499a59b943dd893eef9ff52090f7b6",
"date": "2020-03-16 17:27:01 -0400", "date": "2020-03-16 17:27:01 -0400",
@ -40,7 +40,7 @@ Index: pgbackrest-release-2.37/doc/resource/git-history.cache
}, },
{ {
"commit": "46911c64c19dc8ff76d2a6ff4548fc01647043e0", "commit": "46911c64c19dc8ff76d2a6ff4548fc01647043e0",
@@ -8028,7 +8028,7 @@ @@ -10056,7 +10056,7 @@
"commit": "45881c74aeff4bb25559ec0254fa7fc1960d9cab", "commit": "45881c74aeff4bb25559ec0254fa7fc1960d9cab",
"date": "2019-10-08 12:06:30 -0400", "date": "2019-10-08 12:06:30 -0400",
"subject": "Allow most unit tests to run outside of a container.", "subject": "Allow most unit tests to run outside of a container.",
@ -49,7 +49,7 @@ Index: pgbackrest-release-2.37/doc/resource/git-history.cache
}, },
{ {
"commit": "77b0c6c993a0e6ff45a6a99f343c3709a016d152", "commit": "77b0c6c993a0e6ff45a6a99f343c3709a016d152",
@@ -16515,7 +16515,7 @@ @@ -18543,7 +18543,7 @@
"commit": "18fd25233b1db7b3197f5d8dc537d239dcfc7aba", "commit": "18fd25233b1db7b3197f5d8dc537d239dcfc7aba",
"date": "2016-04-14 09:30:54 -0400", "date": "2016-04-14 09:30:54 -0400",
"subject": "New simpler configuration and consistent project/exe/path naming.", "subject": "New simpler configuration and consistent project/exe/path naming.",
@ -58,11 +58,11 @@ Index: pgbackrest-release-2.37/doc/resource/git-history.cache
}, },
{ {
"commit": "885797e4b58a675487a3531ba16908c1d1e9f970", "commit": "885797e4b58a675487a3531ba16908c1d1e9f970",
Index: pgbackrest-release-2.37/doc/xml/coding.xml Index: pgbackrest-release-2.41/doc/xml/coding.xml
=================================================================== ===================================================================
--- pgbackrest-release-2.37.orig/doc/xml/coding.xml --- pgbackrest-release-2.41.orig/doc/xml/coding.xml
+++ pgbackrest-release-2.37/doc/xml/coding.xml +++ pgbackrest-release-2.41/doc/xml/coding.xml
@@ -331,13 +331,13 @@ void storagePathCreate(const Storage *th @@ -351,13 +351,13 @@ void storagePathCreate(const Storage *th
<p>This function can be called without variable parameters:</p> <p>This function can be called without variable parameters:</p>
<code-block type="c"> <code-block type="c">
@ -78,11 +78,11 @@ Index: pgbackrest-release-2.37/doc/xml/coding.xml
</code-block> </code-block>
<p>If the majority of functions in a module or object are variadic it is best to provide macros for all functions even if they do not have variable parameters. Do not use the base function when variadic macros exist.</p> <p>If the majority of functions in a module or object are variadic it is best to provide macros for all functions even if they do not have variable parameters. Do not use the base function when variadic macros exist.</p>
Index: pgbackrest-release-2.37/doc/xml/release.xml Index: pgbackrest-release-2.41/doc/xml/release.xml
=================================================================== ===================================================================
--- pgbackrest-release-2.37.orig/doc/xml/release.xml --- pgbackrest-release-2.41.orig/doc/xml/release.xml
+++ pgbackrest-release-2.37/doc/xml/release.xml +++ pgbackrest-release-2.41/doc/xml/release.xml
@@ -9425,7 +9425,7 @@ @@ -10545,7 +10545,7 @@
<release-item-contributor id="david.steele"/> <release-item-contributor id="david.steele"/>
</release-item-contributor-list> --> </release-item-contributor-list> -->
@ -91,36 +91,23 @@ Index: pgbackrest-release-2.37/doc/xml/release.xml
</release-item> </release-item>
<release-item> <release-item>
Index: pgbackrest-release-2.37/src/build/config/config.yaml Index: pgbackrest-release-2.41/src/build/config/config.yaml
=================================================================== ===================================================================
--- pgbackrest-release-2.37.orig/src/build/config/config.yaml --- pgbackrest-release-2.41.orig/src/build/config/config.yaml
+++ pgbackrest-release-2.37/src/build/config/config.yaml +++ pgbackrest-release-2.41/src/build/config/config.yaml
@@ -766,7 +766,7 @@ option: @@ -802,7 +802,7 @@ option:
lock-path: lock-path:
section: global section: global
type: path type: path
- default: /tmp/pgbackrest - default: /tmp/pgbackrest
+ default: /run/pgbackrest + default: /run/pgbackrest
command: command:
annotate: {}
archive-get: {} archive-get: {}
archive-push: {} Index: pgbackrest-release-2.41/test/Vagrantfile
Index: pgbackrest-release-2.37/src/config/parse.auto.c
=================================================================== ===================================================================
--- pgbackrest-release-2.37.orig/src/config/parse.auto.c --- pgbackrest-release-2.41.orig/test/Vagrantfile
+++ pgbackrest-release-2.37/src/config/parse.auto.c +++ pgbackrest-release-2.41/test/Vagrantfile
@@ -11,7 +11,7 @@ Rule Strings
static const StringPub parseRuleValueStr[] =
{
- PARSE_RULE_STRPUB("/tmp/pgbackrest"),
+ PARSE_RULE_STRPUB("/run/pgbackrest"),
PARSE_RULE_STRPUB("/var/lib/pgbackrest"),
PARSE_RULE_STRPUB("/var/log/pgbackrest"),
PARSE_RULE_STRPUB("/var/spool/pgbackrest"),
Index: pgbackrest-release-2.37/test/Vagrantfile
===================================================================
--- pgbackrest-release-2.37.orig/test/Vagrantfile
+++ pgbackrest-release-2.37/test/Vagrantfile
@@ -54,12 +54,12 @@ Vagrant.configure(2) do |config| @@ -54,12 +54,12 @@ Vagrant.configure(2) do |config|
sudo /etc/init.d/virtualbox-guest-utils stop sudo /etc/init.d/virtualbox-guest-utils stop
sudo /usr/sbin/VBoxService --timesync-set-on-restore --timesync-interval 5000 --timesync-set-threshold 1 sudo /usr/sbin/VBoxService --timesync-set-on-restore --timesync-interval 5000 --timesync-set-threshold 1
@ -139,11 +126,11 @@ Index: pgbackrest-release-2.37/test/Vagrantfile
# Mount tmpfs at /home/vagrant/test for faster testing # Mount tmpfs at /home/vagrant/test for faster testing
#----------------------------------------------------------------------------------------------------------------------- #-----------------------------------------------------------------------------------------------------------------------
Index: pgbackrest-release-2.37/test/ci.pl Index: pgbackrest-release-2.41/test/ci.pl
=================================================================== ===================================================================
--- pgbackrest-release-2.37.orig/test/ci.pl --- pgbackrest-release-2.41.orig/test/ci.pl
+++ pgbackrest-release-2.37/test/ci.pl +++ pgbackrest-release-2.41/test/ci.pl
@@ -206,8 +206,8 @@ eval @@ -207,8 +207,8 @@ eval
$strPackage .= " libdbd-pg-perl"; $strPackage .= " libdbd-pg-perl";
} }
@ -154,12 +141,12 @@ Index: pgbackrest-release-2.37/test/ci.pl
processEnd(); processEnd();
processBegin('install test packages'); processBegin('install test packages');
Index: pgbackrest-release-2.37/test/src/module/command/helpTest.c Index: pgbackrest-release-2.41/test/src/module/command/helpTest.c
=================================================================== ===================================================================
--- pgbackrest-release-2.37.orig/test/src/module/command/helpTest.c --- pgbackrest-release-2.41.orig/test/src/module/command/helpTest.c
+++ pgbackrest-release-2.37/test/src/module/command/helpTest.c +++ pgbackrest-release-2.41/test/src/module/command/helpTest.c
@@ -227,7 +227,7 @@ testRun(void) @@ -236,7 +236,7 @@ testRun(void)
" --delta restore or backup using checksums [default=n]\n" " [default=n]\n"
" --io-timeout I/O timeout [default=60]\n" " --io-timeout I/O timeout [default=60]\n"
" --lock-path path where lock files are stored\n" " --lock-path path where lock files are stored\n"
- " [default=/tmp/pgbackrest]\n" - " [default=/tmp/pgbackrest]\n"