From 9c9172f66f696948ea64ba0a7f21e3ce777487765b36b18bf007aa206c746806 Mon Sep 17 00:00:00 2001 From: Bruno Friedmann Date: Fri, 1 May 2020 16:28:44 +0000 Subject: [PATCH] - update to version 2.26 : Non-blocking TLS + Bug Fix : Remove empty subexpression from manifest regular expression. MacOS was not happy about this though other platforms seemed to work fine. + Improvements: - N on-blocking TLS implementation. - Only limit backup copy size for WAL-logged files. The prior behavior could possibly lead to postgresql.conf or postgresql.auto.conf being truncated in the backup. - TCP keep-alive options are configurable. - Add io-timeout option. - update to version 2.25 : LZ4 Compression Support + Features: - Add lz4 compression support. Note that setting compress-type=lz4 will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. - Add --dry-run option to the expire command. Use dry-run to see which backups/archive would be removed by the expire command without actually removing anything. + Improvements: - Improve performance of remote manifest build. - Fix detection of keepalive options on Linux. - Add configure host detection to set standards flags correctly. - Remove compress/compress-level options from commands where unused. - Limit backup file copy size to size reported at backup start. If a file grows during the backup it will be reconstructed by WAL replay during recovery so there is no need to copy the additional data. - Packaging: + Add new requirement lz4 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=31 --- libpq-fe.h_localisation.patch | 21 +++++++++++++++++++-- pgbackrest-2.24.tar.gz | 3 --- pgbackrest-2.26.tar.gz | 3 +++ pgbackrest.changes | 35 +++++++++++++++++++++++++++++++++++ pgbackrest.spec | 3 ++- 5 files changed, 59 insertions(+), 6 deletions(-) delete mode 100644 pgbackrest-2.24.tar.gz create mode 100644 pgbackrest-2.26.tar.gz diff --git a/libpq-fe.h_localisation.patch b/libpq-fe.h_localisation.patch index 692cdf3..3026d39 100644 --- a/libpq-fe.h_localisation.patch +++ b/libpq-fe.h_localisation.patch @@ -1,6 +1,23 @@ +diff -rup a/src/configure b/src/configure +--- a/src/configure 2020-04-20 21:44:31.000000000 +0200 ++++ b/src/configure 2020-05-01 18:04:29.395666444 +0200 +@@ -3746,11 +3746,11 @@ fi + done + + +-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 +- as_fn_error $? "header file is required" "$LINENO" 5 ++ as_fn_error $? "header file is required" "$LINENO" 5 + fi + + diff -rup a/src/postgres/client.c b/src/postgres/client.c ---- a/src/postgres/client.c 2020-02-25 23:05:45.000000000 +0100 -+++ b/src/postgres/client.c 2020-03-24 15:30:19.361417162 +0100 +--- a/src/postgres/client.c 2020-04-20 21:44:31.000000000 +0200 ++++ b/src/postgres/client.c 2020-05-01 18:05:20.732221835 +0200 @@ -3,7 +3,7 @@ Postgres Client ***********************************************************************************************************************************/ #include "build.auto.h" diff --git a/pgbackrest-2.24.tar.gz b/pgbackrest-2.24.tar.gz deleted file mode 100644 index 5823e2f..0000000 --- a/pgbackrest-2.24.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ce1b059dee69039a8cfd0bd707394a88e9320a2519f02c09de45cfe85904fdb -size 5290197 diff --git a/pgbackrest-2.26.tar.gz b/pgbackrest-2.26.tar.gz new file mode 100644 index 0000000..cb641ed --- /dev/null +++ b/pgbackrest-2.26.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f02e934627ea8ed425cea31a6ce57c30d0bb07d6639873983ccb14d7096d49ad +size 5354188 diff --git a/pgbackrest.changes b/pgbackrest.changes index e9aca00..2ce63b8 100644 --- a/pgbackrest.changes +++ b/pgbackrest.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Fri May 1 16:13:03 UTC 2020 - Bruno Friedmann + +- update to version 2.26 : Non-blocking TLS + + Bug Fix : Remove empty subexpression from manifest regular + expression. MacOS was not happy about this though other + platforms seemed to work fine. + + Improvements: + - N on-blocking TLS implementation. + - Only limit backup copy size for WAL-logged files. The prior + behavior could possibly lead to postgresql.conf or + postgresql.auto.conf being truncated in the backup. + - TCP keep-alive options are configurable. + - Add io-timeout option. +- update to version 2.25 : LZ4 Compression Support + + Features: + - Add lz4 compression support. Note that setting + compress-type=lz4 will make new backups and archive incompatible + (unrestorable) with prior versions of pgBackRest. + - Add --dry-run option to the expire command. Use dry-run to see + which backups/archive would be removed by the expire command + without actually removing anything. + + Improvements: + - Improve performance of remote manifest build. + - Fix detection of keepalive options on Linux. + - Add configure host detection to set standards flags correctly. + - Remove compress/compress-level options from commands where unused. + - Limit backup file copy size to size reported at backup start. + If a file grows during the backup it will be reconstructed by + WAL replay during recovery so there is no need to copy the + additional data. +- Packaging: + + Add new requirement lz4 + + Redo patch libpq-fe.h_localisation.patch to include configure + ------------------------------------------------------------------- Tue Mar 24 14:34:27 UTC 2020 - Bruno Friedmann diff --git a/pgbackrest.spec b/pgbackrest.spec index 9a5b13c..7404a74 100644 --- a/pgbackrest.spec +++ b/pgbackrest.spec @@ -22,7 +22,7 @@ %define make_build %{_bindir}/make %{?_smp_mflags} %endif Name: pgbackrest -Version: 2.24 +Version: 2.26 Release: 0 Summary: Reliable PostgreSQL Backup & Restore License: MIT @@ -34,6 +34,7 @@ Patch0: libpq-fe.h_localisation.patch BuildRequires: openssl-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(libpq) +BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(libxml-2.0) %{perl_requires} %if %{_arch} == "i586"