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.37/src/configure
@@ -3678,11 +3678,11 @@ fi
done
--- pgbackrest-release-2.41.orig/src/configure
+++ pgbackrest-release-2.41/src/configure
@@ -3603,12 +3603,12 @@ then :
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"
+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
else $as_nop
- 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
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.37/src/postgres/client.c
--- pgbackrest-release-2.41.orig/src/postgres/client.c
+++ pgbackrest-release-2.41/src/postgres/client.c
@@ -3,7 +3,7 @@ Postgres Client
***********************************************************************************************************************************/
#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>
- update do version 2.39
- update to version 2.39
+ Bug Fixes:
- Fix error thrown from FINALLY() causing an infinite loop.
- 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
Name: pgbackrest
Version: 2.39
Version: 2.41
Release: 0
Summary: Reliable PostgreSQL Backup & Restore
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.37/CODING.md
--- pgbackrest-release-2.41.orig/CODING.md
+++ pgbackrest-release-2.41/CODING.md
@@ -260,11 +260,11 @@ Continuation characters should be aligne
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.
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.37/doc/resource/git-history.cache
@@ -3311,7 +3311,7 @@
--- pgbackrest-release-2.41.orig/doc/resource/git-history.cache
+++ pgbackrest-release-2.41/doc/resource/git-history.cache
@@ -5339,7 +5339,7 @@
{
"commit": "a1365b26d4c2383eaacea3714eeb521435ca79aa",
"date": "2021-01-18 23:41:09 -0500",
@ -29,7 +29,7 @@ Index: pgbackrest-release-2.37/doc/resource/git-history.cache
},
{
"commit": "8322dfd7af97e307b952cfb37e6a65b65f55be0f",
@@ -6127,8 +6127,8 @@
@@ -8155,8 +8155,8 @@
{
"commit": "3fbfcba811499a59b943dd893eef9ff52090f7b6",
"date": "2020-03-16 17:27:01 -0400",
@ -40,7 +40,7 @@ Index: pgbackrest-release-2.37/doc/resource/git-history.cache
},
{
"commit": "46911c64c19dc8ff76d2a6ff4548fc01647043e0",
@@ -8028,7 +8028,7 @@
@@ -10056,7 +10056,7 @@
"commit": "45881c74aeff4bb25559ec0254fa7fc1960d9cab",
"date": "2019-10-08 12:06:30 -0400",
"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",
@@ -16515,7 +16515,7 @@
@@ -18543,7 +18543,7 @@
"commit": "18fd25233b1db7b3197f5d8dc537d239dcfc7aba",
"date": "2016-04-14 09:30:54 -0400",
"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",
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.37/doc/xml/coding.xml
@@ -331,13 +331,13 @@ void storagePathCreate(const Storage *th
--- pgbackrest-release-2.41.orig/doc/xml/coding.xml
+++ pgbackrest-release-2.41/doc/xml/coding.xml
@@ -351,13 +351,13 @@ void storagePathCreate(const Storage *th
<p>This function can be called without variable parameters:</p>
<code-block type="c">
@ -78,11 +78,11 @@ Index: pgbackrest-release-2.37/doc/xml/coding.xml
</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>
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.37/doc/xml/release.xml
@@ -9425,7 +9425,7 @@
--- pgbackrest-release-2.41.orig/doc/xml/release.xml
+++ pgbackrest-release-2.41/doc/xml/release.xml
@@ -10545,7 +10545,7 @@
<release-item-contributor id="david.steele"/>
</release-item-contributor-list> -->
@ -91,36 +91,23 @@ Index: pgbackrest-release-2.37/doc/xml/release.xml
</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.37/src/build/config/config.yaml
@@ -766,7 +766,7 @@ option:
--- pgbackrest-release-2.41.orig/src/build/config/config.yaml
+++ pgbackrest-release-2.41/src/build/config/config.yaml
@@ -802,7 +802,7 @@ option:
lock-path:
section: global
type: path
- default: /tmp/pgbackrest
+ default: /run/pgbackrest
command:
annotate: {}
archive-get: {}
archive-push: {}
Index: pgbackrest-release-2.37/src/config/parse.auto.c
Index: pgbackrest-release-2.41/test/Vagrantfile
===================================================================
--- pgbackrest-release-2.37.orig/src/config/parse.auto.c
+++ pgbackrest-release-2.37/src/config/parse.auto.c
@@ -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
--- pgbackrest-release-2.41.orig/test/Vagrantfile
+++ pgbackrest-release-2.41/test/Vagrantfile
@@ -54,12 +54,12 @@ Vagrant.configure(2) do |config|
sudo /etc/init.d/virtualbox-guest-utils stop
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
#-----------------------------------------------------------------------------------------------------------------------
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.37/test/ci.pl
@@ -206,8 +206,8 @@ eval
--- pgbackrest-release-2.41.orig/test/ci.pl
+++ pgbackrest-release-2.41/test/ci.pl
@@ -207,8 +207,8 @@ eval
$strPackage .= " libdbd-pg-perl";
}
@ -154,16 +141,16 @@ Index: pgbackrest-release-2.37/test/ci.pl
processEnd();
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.37/test/src/module/command/helpTest.c
@@ -227,7 +227,7 @@ testRun(void)
" --delta restore or backup using checksums [default=n]\n"
" --io-timeout I/O timeout [default=60]\n"
" --lock-path path where lock files are stored\n"
- " [default=/tmp/pgbackrest]\n"
+ " [default=/run/pgbackrest]\n"
" --neutral-umask use a neutral umask [default=y]\n"
" --process-max max processes to use for compress/transfer\n"
" [default=1]\n"
--- pgbackrest-release-2.41.orig/test/src/module/command/helpTest.c
+++ pgbackrest-release-2.41/test/src/module/command/helpTest.c
@@ -236,7 +236,7 @@ testRun(void)
" [default=n]\n"
" --io-timeout I/O timeout [default=60]\n"
" --lock-path path where lock files are stored\n"
- " [default=/tmp/pgbackrest]\n"
+ " [default=/run/pgbackrest]\n"
" --neutral-umask use a neutral umask [default=y]\n"
" --process-max max processes to use for compress/transfer\n"
" [default=1]\n"