diff --git a/libpq-fe.h_localisation.patch b/libpq-fe.h_localisation.patch index 32ea663..3b790b7 100644 --- a/libpq-fe.h_localisation.patch +++ b/libpq-fe.h_localisation.patch @@ -1,7 +1,7 @@ -Index: pgbackrest-release-2.52.1/src/postgres/client.c +Index: pgbackrest-release-2.53/src/postgres/client.c =================================================================== ---- pgbackrest-release-2.52.1.orig/src/postgres/client.c -+++ pgbackrest-release-2.52.1/src/postgres/client.c +--- pgbackrest-release-2.53.orig/src/postgres/client.c ++++ pgbackrest-release-2.53/src/postgres/client.c @@ -3,7 +3,7 @@ Postgres Client ***********************************************************************************************************************************/ #include "build.auto.h" @@ -11,10 +11,10 @@ Index: pgbackrest-release-2.52.1/src/postgres/client.c #include "common/debug.h" #include "common/log.h" -Index: pgbackrest-release-2.52.1/src/configure +Index: pgbackrest-release-2.53/src/configure =================================================================== ---- pgbackrest-release-2.52.1.orig/src/configure -+++ pgbackrest-release-2.52.1/src/configure +--- pgbackrest-release-2.53.orig/src/configure ++++ pgbackrest-release-2.53/src/configure @@ -3655,12 +3655,12 @@ else $as_nop as_fn_error $? "library 'pq' is required" "$LINENO" 5 fi diff --git a/pgbackrest-2.52.1.tar.gz b/pgbackrest-2.52.1.tar.gz deleted file mode 100644 index 19c61ab..0000000 --- a/pgbackrest-2.52.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:edfdbfd5a40913990c27f00f4df7da0d146452b7bc4eaefc44995f53f5a9356a -size 2680590 diff --git a/pgbackrest-2.53.tar.gz b/pgbackrest-2.53.tar.gz new file mode 100644 index 0000000..34842ed --- /dev/null +++ b/pgbackrest-2.53.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cbb4fd81729dc3b562fd0f0a3c0dbf39f8b97b8140de9898bc8d2a19884b7a12 +size 2693089 diff --git a/pgbackrest.changes b/pgbackrest.changes index edb1b9e..78d6fee 100644 --- a/pgbackrest.changes +++ b/pgbackrest.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Jul 23 10:00:46 UTC 2024 - Andrea Manzini + +- update to version 2.53 + * IMPORTANT NOTE: The log-level-stderr option default has been changed from warn to off. + This makes it easier to capture errors when only redirecting stdout. + To preserve the prior behavior set log-level-stderr=warn + * Fixed SFTP renaming failure when file already exists + * Allow backups to run concurrently on different repositories + * Support IP-based SANs for TLS certificate validation. + * Default log-level-stderr option to off + * Allow alternative WAL segment sizes for PostgreSQL ≤ 10 + * Add hint to check SFTP authorization log + * Documentation Improvements: Clarify archive-push multi-repo behavior + ------------------------------------------------------------------- Wed Jun 26 07:19:48 UTC 2024 - Andrea Manzini diff --git a/pgbackrest.spec b/pgbackrest.spec index c9fb04f..3c13c95 100644 --- a/pgbackrest.spec +++ b/pgbackrest.spec @@ -19,7 +19,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.52.1 +Version: 2.53 Release: 0 Summary: Reliable PostgreSQL Backup & Restore License: MIT @@ -45,6 +45,7 @@ BuildRequires: libyaml-devel BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(bzip2) +BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(libpq) BuildRequires: pkgconfig(libssh2) BuildRequires: pkgconfig(libxml-2.0) diff --git a/use-run-pgbackrest.patch b/use-run-pgbackrest.patch index f142102..7177bbc 100644 --- a/use-run-pgbackrest.patch +++ b/use-run-pgbackrest.patch @@ -1,7 +1,7 @@ -Index: pgbackrest-release-2.52.1/CODING.md +Index: pgbackrest-release-2.53/CODING.md =================================================================== ---- pgbackrest-release-2.52.1.orig/CODING.md -+++ pgbackrest-release-2.52.1/CODING.md +--- pgbackrest-release-2.53.orig/CODING.md ++++ pgbackrest-release-2.53/CODING.md @@ -268,11 +268,11 @@ Continuation characters should be aligne This function can be called without variable parameters: @@ -16,11 +16,11 @@ Index: pgbackrest-release-2.52.1/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.52.1/doc/resource/git-history.cache +Index: pgbackrest-release-2.53/doc/resource/git-history.cache =================================================================== ---- pgbackrest-release-2.52.1.orig/doc/resource/git-history.cache -+++ pgbackrest-release-2.52.1/doc/resource/git-history.cache -@@ -7806,7 +7806,7 @@ +--- pgbackrest-release-2.53.orig/doc/resource/git-history.cache ++++ pgbackrest-release-2.53/doc/resource/git-history.cache +@@ -8044,7 +8044,7 @@ { "commit": "a1365b26d4c2383eaacea3714eeb521435ca79aa", "date": "2021-01-18 23:41:09 -0500", @@ -29,7 +29,7 @@ Index: pgbackrest-release-2.52.1/doc/resource/git-history.cache }, { "commit": "8322dfd7af97e307b952cfb37e6a65b65f55be0f", -@@ -10622,8 +10622,8 @@ +@@ -10860,8 +10860,8 @@ { "commit": "3fbfcba811499a59b943dd893eef9ff52090f7b6", "date": "2020-03-16 17:27:01 -0400", @@ -40,7 +40,7 @@ Index: pgbackrest-release-2.52.1/doc/resource/git-history.cache }, { "commit": "46911c64c19dc8ff76d2a6ff4548fc01647043e0", -@@ -12523,7 +12523,7 @@ +@@ -12761,7 +12761,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.52.1/doc/resource/git-history.cache }, { "commit": "77b0c6c993a0e6ff45a6a99f343c3709a016d152", -@@ -21010,7 +21010,7 @@ +@@ -21248,7 +21248,7 @@ "commit": "18fd25233b1db7b3197f5d8dc537d239dcfc7aba", "date": "2016-04-14 09:30:54 -0400", "subject": "New simpler configuration and consistent project/exe/path naming.", @@ -58,10 +58,10 @@ Index: pgbackrest-release-2.52.1/doc/resource/git-history.cache }, { "commit": "885797e4b58a675487a3531ba16908c1d1e9f970", -Index: pgbackrest-release-2.52.1/doc/xml/coding.xml +Index: pgbackrest-release-2.53/doc/xml/coding.xml =================================================================== ---- pgbackrest-release-2.52.1.orig/doc/xml/coding.xml -+++ pgbackrest-release-2.52.1/doc/xml/coding.xml +--- pgbackrest-release-2.53.orig/doc/xml/coding.xml ++++ pgbackrest-release-2.53/doc/xml/coding.xml @@ -365,13 +365,13 @@ void storagePathCreate(const Storage *th

This function can be called without variable parameters:

@@ -78,10 +78,10 @@ Index: pgbackrest-release-2.52.1/doc/xml/coding.xml

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.52.1/doc/xml/release/2016/1.00.xml +Index: pgbackrest-release-2.53/doc/xml/release/2016/1.00.xml =================================================================== ---- pgbackrest-release-2.52.1.orig/doc/xml/release/2016/1.00.xml -+++ pgbackrest-release-2.52.1/doc/xml/release/2016/1.00.xml +--- pgbackrest-release-2.53.orig/doc/xml/release/2016/1.00.xml ++++ pgbackrest-release-2.53/doc/xml/release/2016/1.00.xml @@ -43,7 +43,7 @@ --> @@ -91,11 +91,11 @@ Index: pgbackrest-release-2.52.1/doc/xml/release/2016/1.00.xml -Index: pgbackrest-release-2.52.1/src/build/config/config.yaml +Index: pgbackrest-release-2.53/src/build/config/config.yaml =================================================================== ---- pgbackrest-release-2.52.1.orig/src/build/config/config.yaml -+++ pgbackrest-release-2.52.1/src/build/config/config.yaml -@@ -844,7 +844,7 @@ option: +--- pgbackrest-release-2.53.orig/src/build/config/config.yaml ++++ pgbackrest-release-2.53/src/build/config/config.yaml +@@ -867,7 +867,7 @@ option: lock-path: section: global type: path @@ -104,10 +104,10 @@ Index: pgbackrest-release-2.52.1/src/build/config/config.yaml command: annotate: {} archive-get: {} -Index: pgbackrest-release-2.52.1/src/config/parse.auto.c.inc +Index: pgbackrest-release-2.53/src/config/parse.auto.c.inc =================================================================== ---- pgbackrest-release-2.52.1.orig/src/config/parse.auto.c.inc -+++ pgbackrest-release-2.52.1/src/config/parse.auto.c.inc +--- pgbackrest-release-2.53.orig/src/config/parse.auto.c.inc ++++ pgbackrest-release-2.53/src/config/parse.auto.c.inc @@ -11,7 +11,7 @@ Rule Strings static const StringPub parseRuleValueStr[] = @@ -117,11 +117,11 @@ Index: pgbackrest-release-2.52.1/src/config/parse.auto.c.inc PARSE_RULE_STRPUB("/var/lib/pgbackrest"), // val/str PARSE_RULE_STRPUB("/var/log/pgbackrest"), // val/str PARSE_RULE_STRPUB("/var/spool/pgbackrest"), // val/str -Index: pgbackrest-release-2.52.1/test/ci.pl +Index: pgbackrest-release-2.53/test/ci.pl =================================================================== ---- pgbackrest-release-2.52.1.orig/test/ci.pl -+++ pgbackrest-release-2.52.1/test/ci.pl -@@ -202,8 +202,8 @@ eval +--- pgbackrest-release-2.53.orig/test/ci.pl ++++ pgbackrest-release-2.53/test/ci.pl +@@ -196,8 +196,8 @@ eval $strPackage .= " libdbd-pg-perl"; } @@ -132,23 +132,23 @@ Index: pgbackrest-release-2.52.1/test/ci.pl processEnd(); processBegin('install test packages'); -Index: pgbackrest-release-2.52.1/test/src/module/command/helpTest.c +Index: pgbackrest-release-2.53/test/src/module/command/helpTest.c =================================================================== ---- pgbackrest-release-2.52.1.orig/test/src/module/command/helpTest.c -+++ pgbackrest-release-2.52.1/test/src/module/command/helpTest.c +--- pgbackrest-release-2.53.orig/test/src/module/command/helpTest.c ++++ pgbackrest-release-2.53/test/src/module/command/helpTest.c @@ -246,7 +246,7 @@ testRun(void) " [default=n]\n" - " --io-timeout I/O timeout [default=60]\n" + " --io-timeout I/O timeout [default=1m]\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\n" " compress/transfer [default=1]\n" -Index: pgbackrest-release-2.52.1/test/Vagrantfile +Index: pgbackrest-release-2.53/test/Vagrantfile =================================================================== ---- pgbackrest-release-2.52.1.orig/test/Vagrantfile -+++ pgbackrest-release-2.52.1/test/Vagrantfile +--- pgbackrest-release-2.53.orig/test/Vagrantfile ++++ pgbackrest-release-2.53/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