Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pgbackrest for openSUSE:Factory checked in at 2023-06-01 17:19:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pgbackrest (Old) and /work/SRC/openSUSE:Factory/.pgbackrest.new.2531 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pgbackrest" Thu Jun 1 17:19:46 2023 rev:6 rq:1090154 version:2.46 Changes: -------- --- /work/SRC/openSUSE:Factory/pgbackrest/pgbackrest.changes 2023-03-27 18:17:01.403341885 +0200 +++ /work/SRC/openSUSE:Factory/.pgbackrest.new.2531/pgbackrest.changes 2023-06-01 17:19:57.954318835 +0200 @@ -1,0 +2,16 @@ +Sun May 28 19:30:47 UTC 2023 - Andrea Manzini <andrea.manz...@suse.com> + +- update to version 2.46 + * Features: + + Block incremental backup. (Reviewed by John Morris, Stephen Frost, Stefan Fercot.) + + SFTP support for repository storage. (Contributed by Reid Thompson. Reviewed by Stephen Frost, David Steele.) + + PostgreSQL 16 support. (Reviewed by Stefan Fercot.) + * Improvements: + + Allow page header checks to be skipped. (Reviewed by David Christensen. Suggested by David Christensen.) + + Avoid chown() on recovery files during restore. (Reviewed by Stefan Fercot, Marcelo Henrique Neppel. Suggested by Marcelo Henrique Neppel.) + + Add error retry detail for HTTP retries. + * Documentation Improvements: + + Add warning about using recovery type=none. (Reviewed by Stefan Fercot.) + + Add note about running stanza-create on already-created repositories. + +------------------------------------------------------------------- Old: ---- pgbackrest-2.45.tar.gz New: ---- pgbackrest-2.46.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pgbackrest.spec ++++++ --- /var/tmp/diff_new_pack.OuIOcE/_old 2023-06-01 17:19:58.502322084 +0200 +++ /var/tmp/diff_new_pack.OuIOcE/_new 2023-06-01 17:19:58.510322132 +0200 @@ -18,17 +18,15 @@ %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.45 +Version: 2.46 Release: 0 Summary: Reliable PostgreSQL Backup & Restore License: MIT Group: Productivity/Databases/Tools -URL: http://www.pgbackrest.org +URL: https://www.pgbackrest.org Source: https://github.com/%{name}/%{name}/archive/release/%{version}/%{name}-%{version}.tar.gz Source1: pgbackrest.conf - Source10: pgbackrest-diff@.service Source11: pgbackrest-diff@.timer Source12: pgbackrest-full@.service @@ -38,28 +36,25 @@ Source16: pgbackrest.service Source17: pgbackrest.target Source18: pgbackrest.tmpfiles.d - Source98: README.SUSE Source99: series - Patch0: libpq-fe.h_localisation.patch Patch1: use-run-pgbackrest.patch BuildRequires: libyaml-devel BuildRequires: openssl-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(bzip2) +BuildRequires: pkgconfig(libpq) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(systemd) +# This is a bit awkward as we only need this for directory ownership +Requires(pre): postgresql-server %if 0%{?suse_version} >= 1500 BuildRequires: pkgconfig(liblz4) %endif -BuildRequires: pkgconfig(libpq) -BuildRequires: pkgconfig(libxml-2.0) %if 0%{?is_opensuse} || 0%{?sle_version} >= 150100 BuildRequires: pkgconfig(libzstd) %endif -BuildRequires: pkgconfig(systemd) - -# This is a bit awkward as we only need this for directory ownership -Requires(pre): postgresql-server %description pgBackRest aims to be a simple, reliable backup and restore system for @@ -90,7 +85,7 @@ pushd src %configure # make_build doesn't work on sle12, as long we want to support that we can not use the macro here -make %{?_smp_mflags} +%make_build popd %install ++++++ libpq-fe.h_localisation.patch ++++++ --- /var/tmp/diff_new_pack.OuIOcE/_old 2023-06-01 17:19:58.546322344 +0200 +++ /var/tmp/diff_new_pack.OuIOcE/_new 2023-06-01 17:19:58.554322392 +0200 @@ -1,7 +1,7 @@ -Index: pgbackrest-release-2.45/src/configure +Index: pgbackrest-release-2.46/src/configure =================================================================== ---- pgbackrest-release-2.45.orig/src/configure -+++ pgbackrest-release-2.45/src/configure +--- pgbackrest-release-2.46.orig/src/configure ++++ pgbackrest-release-2.46/src/configure @@ -3603,12 +3603,12 @@ then : printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h @@ -17,10 +17,10 @@ fi -Index: pgbackrest-release-2.45/src/postgres/client.c +Index: pgbackrest-release-2.46/src/postgres/client.c =================================================================== ---- pgbackrest-release-2.45.orig/src/postgres/client.c -+++ pgbackrest-release-2.45/src/postgres/client.c +--- pgbackrest-release-2.46.orig/src/postgres/client.c ++++ pgbackrest-release-2.46/src/postgres/client.c @@ -3,7 +3,7 @@ Postgres Client ***********************************************************************************************************************************/ #include "build.auto.h" ++++++ pgbackrest-2.45.tar.gz -> pgbackrest-2.46.tar.gz ++++++ ++++ 36206 lines of diff (skipped) ++++++ use-run-pgbackrest.patch ++++++ --- /var/tmp/diff_new_pack.OuIOcE/_old 2023-06-01 17:19:59.582328486 +0200 +++ /var/tmp/diff_new_pack.OuIOcE/_new 2023-06-01 17:19:59.586328510 +0200 @@ -1,8 +1,7 @@ -Index: pgbackrest-release-2.45/CODING.md -=================================================================== ---- pgbackrest-release-2.45.orig/CODING.md -+++ pgbackrest-release-2.45/CODING.md -@@ -268,11 +268,11 @@ Continuation characters should be aligne +diff --color -ur pgbackrest-release-2.46.orig/CODING.md pgbackrest-release-2.46/CODING.md +--- pgbackrest-release-2.46.orig/CODING.md 2023-05-22 10:13:13.000000000 +0200 ++++ pgbackrest-release-2.46/CODING.md 2023-05-28 21:20:39.162416107 +0200 +@@ -268,11 +268,11 @@ This function can be called without variable parameters: ```c @@ -16,11 +15,10 @@ ``` 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.45/doc/resource/git-history.cache -=================================================================== ---- pgbackrest-release-2.45.orig/doc/resource/git-history.cache -+++ pgbackrest-release-2.45/doc/resource/git-history.cache -@@ -6279,7 +6279,7 @@ +diff --color -ur pgbackrest-release-2.46.orig/doc/resource/git-history.cache pgbackrest-release-2.46/doc/resource/git-history.cache +--- pgbackrest-release-2.46.orig/doc/resource/git-history.cache 2023-05-22 10:13:13.000000000 +0200 ++++ pgbackrest-release-2.46/doc/resource/git-history.cache 2023-05-28 21:20:02.622040915 +0200 +@@ -6567,7 +6567,7 @@ { "commit": "a1365b26d4c2383eaacea3714eeb521435ca79aa", "date": "2021-01-18 23:41:09 -0500", @@ -29,7 +27,7 @@ }, { "commit": "8322dfd7af97e307b952cfb37e6a65b65f55be0f", -@@ -9095,8 +9095,8 @@ +@@ -9383,8 +9383,8 @@ { "commit": "3fbfcba811499a59b943dd893eef9ff52090f7b6", "date": "2020-03-16 17:27:01 -0400", @@ -40,16 +38,16 @@ }, { "commit": "46911c64c19dc8ff76d2a6ff4548fc01647043e0", -@@ -10996,7 +10996,7 @@ +@@ -11284,7 +11284,7 @@ "commit": "45881c74aeff4bb25559ec0254fa7fc1960d9cab", "date": "2019-10-08 12:06:30 -0400", "subject": "Allow most unit tests to run outside of a container.", -- "body": "Three major changes were required to get this working:\n\n1) Provide the path to pgbackrest in the build directory when running outside a container. Tests in a container will continue to install and run against /usr/bin/pgbackrest.\n\n1) Set a per-test lock path so tests don't conflict on the default /tmp/pgbackrest path. Also set a per-test log-path while we are at it.\n\n2) Use localhost instead of a custom host for TLS test connections. Tests in containers will continue to update /etc/hosts and use the custom host.\n\nAdd infrastructure and update harnessCfgLoad*() to get the correct exe and paths loaded for testing.\n\nSince new tests are required to verify that running outside a container works, also rework the tests in Travis CI to provide coverage within a reasonable amount of time. Mainly, break up to doc tests by VM and run an abbreviated unit test suite on co6 and co7." -+ "body": "Three major changes were required to get this working:\n\n1) Provide the path to pgbackrest in the build directory when running outside a container. Tests in a container will continue to install and run against /usr/bin/pgbackrest.\n\n1) Set a per-test lock path so tests don't conflict on the default /run/pgbackrest path. Also set a per-test log-path while we are at it.\n\n2) Use localhost instead of a custom host for TLS test connections. Tests in containers will continue to update /etc/hosts and use the custom host.\n\nAdd infrastructure and update harnessCfgLoad*() to get the correct exe and paths loaded for testing.\n\nSince new tests are required to verify that running outside a container works, also rework the tests in Travis CI to provide coverage within a reasonable amount of time. Mainly, break up to doc tests by VM and run an abbreviated unit test suite on co6 and co7." +- "body": "Three major changes were required to get this working:\n\n1) Provide the path to pgbackrest in the build directory when running outside a container. Tests in a container will continue to install and run against /usr/bin/pgbackrest.\n\n1) Set a per-test lock path so tests don't conflict on the default /tmp/pgbackrest path. Also set a per-test log-path while we are at it.\n\n2) Use localhost instead of a custom host for TLS test connections. Tests in containers will continue to update /etc/hosts and use the custom host.\n\nAdd infrastructure and update harnessCfgLoad*() to get the correct exe and paths loaded for testing.\n\nSince new tests are required to verify that running outside a container works, also rework the tests in Travis CI to provide coverage within a reasonable amount of time. Mainly, break up to doc tests by VM and run an abbreviated unit test suite on co6 and co7." ++ "body": "Three major changes were required to get this working:\n\n1) Provide the path to pgbackrest in the build directory when running outside a container. Tests in a container will continue to install and run against /usr/bin/pgbackrest.\n\n1) Set a per-test lock path so tests don't conflict on the default /run/pgbackrest path. Also set a per-test log-path while we are at it.\n\n2) Use localhost instead of a custom host for TLS test connections. Tests in containers will continue to update /etc/hosts and use the custom host.\n\nAdd infrastructure and update harnessCfgLoad*() to get the correct exe and paths loaded for testing.\n\nSince new tests are required to verify that running outside a container works, also rework the tests in Travis CI to provide coverage within a reasonable amount of time. Mainly, break up to doc tests by VM and run an abbreviated unit test suite on co6 and co7." }, { "commit": "77b0c6c993a0e6ff45a6a99f343c3709a016d152", -@@ -19483,7 +19483,7 @@ +@@ -19771,7 +19771,7 @@ "commit": "18fd25233b1db7b3197f5d8dc537d239dcfc7aba", "date": "2016-04-14 09:30:54 -0400", "subject": "New simpler configuration and consistent project/exe/path naming.", @@ -58,11 +56,10 @@ }, { "commit": "885797e4b58a675487a3531ba16908c1d1e9f970", -Index: pgbackrest-release-2.45/doc/xml/coding.xml -=================================================================== ---- pgbackrest-release-2.45.orig/doc/xml/coding.xml -+++ pgbackrest-release-2.45/doc/xml/coding.xml -@@ -365,13 +365,13 @@ void storagePathCreate(const Storage *th +diff --color -ur pgbackrest-release-2.46.orig/doc/xml/coding.xml pgbackrest-release-2.46/doc/xml/coding.xml +--- pgbackrest-release-2.46.orig/doc/xml/coding.xml 2023-05-22 10:13:13.000000000 +0200 ++++ pgbackrest-release-2.46/doc/xml/coding.xml 2023-05-28 21:18:27.561053697 +0200 +@@ -365,13 +365,13 @@ <p>This function can be called without variable parameters:</p> <code-block type="c"> @@ -77,25 +74,24 @@ +storagePathCreateP(storageLocal(), "/run/pgbackrest", .errorOnExists = true, .mode = 0777); </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.45/doc/xml/release.xml -=================================================================== ---- pgbackrest-release-2.45.orig/doc/xml/release.xml -+++ pgbackrest-release-2.45/doc/xml/release.xml -@@ -11018,7 +11018,7 @@ + <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> +diff --color -ur pgbackrest-release-2.46.orig/doc/xml/release.xml pgbackrest-release-2.46/doc/xml/release.xml +--- pgbackrest-release-2.46.orig/doc/xml/release.xml 2023-05-22 10:13:13.000000000 +0200 ++++ pgbackrest-release-2.46/doc/xml/release.xml 2023-05-28 21:19:14.985551780 +0200 +@@ -11136,7 +11136,7 @@ <release-item-contributor id="david.steele"/> </release-item-contributor-list> --> -- <p>Lock files are now stored in <path>/tmp/pgbackrest</path> by default. These days <path>/run/pgbackrest</path> is the preferred location but that would require init scripts which are not part of this release. The <setting>lock-path</setting> option can be used to configure the lock directory.</p> -+ <p>Lock files are now stored in <path>/run/pgbackrest</path> by default. These days <path>/run/pgbackrest</path> is the preferred location but that would require init scripts which are not part of this release. The <setting>lock-path</setting> option can be used to configure the lock directory.</p> +- <p>Lock files are now stored in <path>/tmp/pgbackrest</path> by default. These days <path>/run/pgbackrest</path> is the preferred location but that would require init scripts which are not part of this release. The <setting>lock-path</setting> option can be used to configure the lock directory.</p> ++ <p>Lock files are now stored in <path>/run/pgbackrest</path> by default. These days <path>/run/pgbackrest</path> is the preferred location but that would require init scripts which are not part of this release. The <setting>lock-path</setting> option can be used to configure the lock directory.</p> </release-item> <release-item> -Index: pgbackrest-release-2.45/src/build/config/config.yaml -=================================================================== ---- pgbackrest-release-2.45.orig/src/build/config/config.yaml -+++ pgbackrest-release-2.45/src/build/config/config.yaml -@@ -826,7 +826,7 @@ option: +Only in pgbackrest-release-2.46.orig/: patches +diff --color -ur pgbackrest-release-2.46.orig/src/build/config/config.yaml pgbackrest-release-2.46/src/build/config/config.yaml +--- pgbackrest-release-2.46.orig/src/build/config/config.yaml 2023-05-22 10:13:13.000000000 +0200 ++++ pgbackrest-release-2.46/src/build/config/config.yaml 2023-05-28 21:21:14.126750421 +0200 +@@ -834,7 +834,7 @@ lock-path: section: global type: path @@ -104,11 +100,48 @@ command: annotate: {} archive-get: {} -Index: pgbackrest-release-2.45/test/Vagrantfile -=================================================================== ---- pgbackrest-release-2.45.orig/test/Vagrantfile -+++ pgbackrest-release-2.45/test/Vagrantfile -@@ -54,12 +54,12 @@ Vagrant.configure(2) do |config| +diff --color -ur pgbackrest-release-2.46.orig/src/config/parse.auto.c.inc pgbackrest-release-2.46/src/config/parse.auto.c.inc +--- pgbackrest-release-2.46.orig/src/config/parse.auto.c.inc 2023-05-22 10:13:13.000000000 +0200 ++++ pgbackrest-release-2.46/src/config/parse.auto.c.inc 2023-05-28 21:22:00.283175880 +0200 +@@ -11,7 +11,7 @@ + + static const StringPub parseRuleValueStr[] = + { +- PARSE_RULE_STRPUB("/tmp/pgbackrest"), // val/str ++ PARSE_RULE_STRPUB("/run/pgbackrest"), // val/str + PARSE_RULE_STRPUB("/var/lib/pgbackrest"), // val/str + PARSE_RULE_STRPUB("/var/log/pgbackrest"), // val/str + PARSE_RULE_STRPUB("/var/spool/pgbackrest"), // val/str +diff --color -ur pgbackrest-release-2.46.orig/test/ci.pl pgbackrest-release-2.46/test/ci.pl +--- pgbackrest-release-2.46.orig/test/ci.pl 2023-05-22 10:13:13.000000000 +0200 ++++ pgbackrest-release-2.46/test/ci.pl 2023-05-28 21:12:52.581888810 +0200 +@@ -208,8 +208,8 @@ + $strPackage .= " libdbd-pg-perl"; + } + +- processBegin('/tmp/pgbackrest owned by root so tests cannot use it'); +- processExec('sudo mkdir -p /tmp/pgbackrest && sudo chown root:root /tmp/pgbackrest && sudo chmod 700 /tmp/pgbackrest'); ++ processBegin('/run/pgbackrest owned by root so tests cannot use it'); ++ processExec('sudo mkdir -p /run/pgbackrest && sudo chown root:root /run/pgbackrest && sudo chmod 700 /run/pgbackrest'); + processEnd(); + + processBegin('install test packages'); +diff --color -ur pgbackrest-release-2.46.orig/test/src/module/command/helpTest.c pgbackrest-release-2.46/test/src/module/command/helpTest.c +--- pgbackrest-release-2.46.orig/test/src/module/command/helpTest.c 2023-05-22 10:13:13.000000000 +0200 ++++ pgbackrest-release-2.46/test/src/module/command/helpTest.c 2023-05-28 21:20:59.282613590 +0200 +@@ -244,7 +244,7 @@ + " [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\n" + " compress/transfer [default=1]\n" +diff --color -ur pgbackrest-release-2.46.orig/test/Vagrantfile pgbackrest-release-2.46/test/Vagrantfile +--- pgbackrest-release-2.46.orig/test/Vagrantfile 2023-05-22 10:13:13.000000000 +0200 ++++ pgbackrest-release-2.46/test/Vagrantfile 2023-05-28 21:15:25.519182880 +0200 +@@ -54,12 +54,12 @@ sudo /etc/init.d/virtualbox-guest-utils stop sudo /usr/sbin/VBoxService --timesync-set-on-restore --timesync-interval 5000 --timesync-set-threshold 1 @@ -126,32 +159,4 @@ # Mount tmpfs at /home/vagrant/test for faster testing #----------------------------------------------------------------------------------------------------------------------- -Index: pgbackrest-release-2.45/test/ci.pl -=================================================================== ---- pgbackrest-release-2.45.orig/test/ci.pl -+++ pgbackrest-release-2.45/test/ci.pl -@@ -208,8 +208,8 @@ eval - $strPackage .= " libdbd-pg-perl"; - } - -- processBegin('/tmp/pgbackrest owned by root so tests cannot use it'); -- processExec('sudo mkdir -p /tmp/pgbackrest && sudo chown root:root /tmp/pgbackrest && sudo chmod 700 /tmp/pgbackrest'); -+ processBegin('/run/pgbackrest owned by root so tests cannot use it'); -+ processExec('sudo mkdir -p /run/pgbackrest && sudo chown root:root /run/pgbackrest && sudo chmod 700 /run/pgbackrest'); - processEnd(); - - processBegin('install test packages'); -Index: pgbackrest-release-2.45/test/src/module/command/helpTest.c -=================================================================== ---- pgbackrest-release-2.45.orig/test/src/module/command/helpTest.c -+++ pgbackrest-release-2.45/test/src/module/command/helpTest.c -@@ -243,7 +243,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"