Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package postgresql16 for openSUSE:Factory checked in at 2024-11-15 15:43:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql16 (Old) and /work/SRC/openSUSE:Factory/.postgresql16.new.2017 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql16" Fri Nov 15 15:43:16 2024 rev:11 rq:1224292 version:16.5 Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql16/postgresql16.changes 2024-09-27 17:10:43.696742719 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql16.new.2017/postgresql16.changes 2024-11-15 15:43:31.235121031 +0100 @@ -1,0 +2,22 @@ +Wed Nov 13 13:56:14 UTC 2024 - Reinhard Max <[email protected]> + +- Upgrade to 16.5: + * CVE-2024-10976, bsc#1233323: Ensure cached plans are marked as + dependent on the calling role when RLS applies to a + non-top-level table reference. + * CVE-2024-10977, bsc#1233325: Make libpq discard error messages + received during SSL or GSS protocol negotiation. + * CVE-2024-10978, bsc#1233326: Fix unintended interactions + between SET SESSION AUTHORIZATION and SET ROLE + * CVE-2024-10979, bsc#1233327: Prevent trusted PL/Perl code from + changing environment variables. + * obsoletes postgresql-testsuite-timezone-fix.patch + * https://www.postgresql.org/about/news/p-2955/ + * https://www.postgresql.org/docs/release/16.5/ + +------------------------------------------------------------------- +Tue Nov 5 11:56:16 UTC 2024 - Reinhard Max <[email protected]> + +- Sync spec file from postgresql17. + +------------------------------------------------------------------- @@ -19 +41 @@ - * https://www.postgresql.org/about/news/postgresql-164-158-1413-1316-1220-and-17-beta-3-released-2910/ + * https://www.postgresql.org/about/news/p-2910/ Old: ---- postgresql-16.4.tar.bz2 postgresql-16.4.tar.bz2.sha256 postgresql-testsuite-timezone-fix.patch New: ---- postgresql-16.5.tar.bz2 postgresql-16.5.tar.bz2.sha256 BETA DEBUG BEGIN: Old: changing environment variables. * obsoletes postgresql-testsuite-timezone-fix.patch * https://www.postgresql.org/about/news/p-2955/ BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql16.spec ++++++ --- /var/tmp/diff_new_pack.dbHc6j/_old 2024-11-15 15:43:31.851146834 +0100 +++ /var/tmp/diff_new_pack.dbHc6j/_new 2024-11-15 15:43:31.851146834 +0100 @@ -16,11 +16,13 @@ # -%define pgversion 16.4 +%define pgversion 16.5 %define pgmajor 16 %define buildlibs 0 %define tarversion %{pgversion} -%define latest_supported_llvm_ver 18 +%define oldest_supported_llvm_ver 10 +# To be able to use cmake(LLVM) < ... +%define latest_supported_llvm_ver_plus_one 19 ### CUT HERE ### %define pgname postgresql%pgmajor @@ -73,6 +75,12 @@ %bcond_without libzstd %endif +%if %{without derived} +BuildRequires: bison +BuildRequires: docbook-xsl-stylesheets +BuildRequires: flex +BuildRequires: perl +%endif %if %mini %bcond_with selinux %if %pgmajor >= 16 @@ -94,12 +102,6 @@ %if %{with liblz4} BuildRequires: pkgconfig(liblz4) %endif -%if %{without derived} -BuildRequires: bison -BuildRequires: docbook-xsl-stylesheets -BuildRequires: flex -BuildRequires: perl -%endif %if %{with libzstd} BuildRequires: pkgconfig(libzstd) @@ -144,13 +146,8 @@ %endif %if %{with llvm} BuildRequires: gcc-c++ -%if 0%{?product_libs_llvm_ver} > %{latest_supported_llvm_ver} -BuildRequires: clang%{latest_supported_llvm_ver} -BuildRequires: llvm%{latest_supported_llvm_ver}-devel -%else -BuildRequires: clang -BuildRequires: llvm-devel -%endif +BuildRequires: (cmake(Clang) >= %{oldest_supported_llvm_ver} with cmake(Clang) < %{latest_supported_llvm_ver_plus_one}) +BuildRequires: (cmake(LLVM) >= %{oldest_supported_llvm_ver} with cmake(LLVM) < %{latest_supported_llvm_ver_plus_one}) %endif BuildRequires: libxslt-devel BuildRequires: openldap2-devel @@ -193,7 +190,6 @@ Patch10: postgresql-llvm-optional.patch Patch11: 0001-jit-Workaround-potential-datalayout-mismatch-on-s390.patch %endif -Patch12: postgresql-testsuite-timezone-fix.patch URL: https://www.postgresql.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: postgresql = %version-%release @@ -528,7 +524,6 @@ %patch -P 10 %patch -P 11 %endif -%patch -P 12 -p1 touch -r tmp configure rm tmp find src/test/ -name '*.orig' -delete @@ -612,6 +607,7 @@ make DESTDIR=%buildroot PACKAGE_TARNAME=%pgname -C src/include install make DESTDIR=%buildroot PACKAGE_TARNAME=%pgname -C src/interfaces install rm -rf %buildroot%pgincludedir/server +rm -rf %buildroot%pgdatadir %else make DESTDIR=%buildroot PACKAGE_TARNAME=%pgname install install-docs %if 0 @@ -774,8 +770,6 @@ %endif popd -mkdir -p %buildroot%pgmandir/man1 -cp -a doc/src/sgml/man1/ecpg.1 %buildroot%pgmandir/man1/ecpg.1pg%pgmajor %find_lang ecpg-$VLANG devel.files # The devel subpackage is exclusive across versions # and not handled by update-alternatives. @@ -793,8 +787,10 @@ # Build up the file lists for the libpq and libecpg packages cat > libpq.files <<EOF %defattr(-,root,root) +%if !%mini %dir %pgdatadir %pgdatadir/pg_service.conf.sample +%endif EOF find %buildroot -name 'libpq*.so.*' -printf '/%%P\n' >> libpq.files %find_lang libpq5-$VLANG libpq.files @@ -980,12 +976,13 @@ %_libdir/pkgconfig/* %_libdir/lib*.so %pgincludedir + %if %{with server_devel} %exclude %pgincludedir/server %endif -%doc %pgmandir/man1/ecpg.1* %if !%mini +%doc %pgmandir/man1/ecpg.1* %if %{with server_devel} %files server-devel -f server-devel.files %endif ++++++ postgresql-16.4.tar.bz2 -> postgresql-16.5.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/postgresql16/postgresql-16.4.tar.bz2 /work/SRC/openSUSE:Factory/.postgresql16.new.2017/postgresql-16.5.tar.bz2 differ: char 11, line 1 ++++++ postgresql-16.4.tar.bz2.sha256 -> postgresql-16.5.tar.bz2.sha256 ++++++ --- /work/SRC/openSUSE:Factory/postgresql16/postgresql-16.4.tar.bz2.sha256 2024-09-23 15:19:14.238015669 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql16.new.2017/postgresql-16.5.tar.bz2.sha256 2024-11-15 15:43:31.207119859 +0100 @@ -1 +1 @@ -971766d645aa73e93b9ef4e3be44201b4f45b5477095b049125403f9f3386d6f postgresql-16.4.tar.bz2 +a6cbbb7037f98cb8afa7d3970b7c48040cf02b115e39253a0c037a8bb8e778f0 postgresql-16.5.tar.bz2
