Hello community,

here is the log from the commit of package postgresql10 for openSUSE:Leap:15.2 
checked in at 2020-03-13 10:55:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/postgresql10 (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.postgresql10.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "postgresql10"

Fri Mar 13 10:55:03 2020 rev:41 rq:780988 version:10.12

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/postgresql10/postgresql10.changes      
2020-01-15 15:44:45.159299809 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.postgresql10.new.3160/postgresql10.changes    
2020-03-13 10:55:05.424336937 +0100
@@ -2 +2,26 @@
-Tue Aug 13 14:02:49 UTC 2019 - Reinhard Max <[email protected]>
+Sat Feb 15 03:17:46 UTC 2020 - Marcus Rueckert <[email protected]>
+
+- update to 10.12 (CVE-2020-1720, bsc#1163985)
+  https://www.postgresql.org/about/news/2011/
+  https://www.postgresql.org/docs/10/release-10-12.html
+
+-------------------------------------------------------------------
+Sun Dec 29 17:08:10 UTC 2019 - Lars Vogdt <[email protected]>
+
+- use (and package) sha256 checksum file for source
+
+-------------------------------------------------------------------
+Fri Dec 20 15:00:27 UTC 2019 - Marcus Rueckert <[email protected]>
+
+- update to 10.11:
+  https://www.postgresql.org/about/news/1994/
+  https://www.postgresql.org/docs/10/release-10-11.html
+
+-------------------------------------------------------------------
+Tue Oct 22 17:00:55 UTC 2019 - Marcus Rueckert <[email protected]>
+
+- add requires to the devel package for the libs that are returned
+  by pg_config --libs
+
+-------------------------------------------------------------------
+Mon Aug 12 13:28:18 UTC 2019 - Reinhard Max <[email protected]>
@@ -11 +36,6 @@
-Tue Jun 18 12:39:27 UTC 2019 - Reinhard Max <[email protected]>
+Fri Aug  2 08:53:15 UTC 2019 - Martin Liška <[email protected]>
+
+- Use FAT LTO objects in order to provide proper static library.
+
+-------------------------------------------------------------------
+Fri Jun 21 14:28:46 UTC 2019 - Marcus Rueckert <[email protected]>
@@ -15,3 +45,3 @@
-  * CVE-2019-10164, bsc#1138034: Fix buffer-overflow hazards in
-    SCRAM verifier parsing.
-  * Numerous other bug fixes.
+  * https://www.postgresql.org/about/news/1949/
+  * CVE-2019-10164 bsc#1138034: Stack-based buffer overflow via
+    setting a password
@@ -20 +50 @@
-Thu May 16 12:57:27 UTC 2019 - Reinhard Max <[email protected]>
+Fri May 10 12:14:00 UTC 2019 - Reinhard Max <[email protected]>
@@ -26,0 +57,4 @@
+
+-------------------------------------------------------------------
+Mon Feb 25 13:23:06 UTC 2019 - Reinhard Max <[email protected]>
+
@@ -34,0 +69,2 @@
+- Overhaul README.SUSE
+- Make the server-devel package exclusive across versions.
@@ -36,2 +72,2 @@
--------------------------------------------------------------------
-Tue Nov  6 11:16:24 UTC 2018 - Reinhard Max <[email protected]>
+------------------------------------------------------------------
+Fri Nov  9 09:09:28 UTC 2018 - Reinhard Max <[email protected]>
@@ -40,2 +75,0 @@
-  https://www.postgresql.org/docs/current/static/release-10-6.html
-
@@ -44,0 +79,12 @@
+  * Numerous bug fixes, see the release notes:
+    https://www.postgresql.org/docs/10/release-10-6.html
+  * Remove unneeded library dependencies from PGXS.
+
+-------------------------------------------------------------------
+Mon Oct 22 12:04:56 UTC 2018 - Reinhard Max <[email protected]>
+
+- Stop building the client libraries as they will henceforth be
+  provided by PostgreSQL 11.
+
+-------------------------------------------------------------------
+Wed Oct 17 16:23:19 UTC 2018 - Marcus Rueckert <[email protected]>
@@ -46 +92,2 @@
-  * Numerous bug fixes, see the release notes.
+- add provides for the new server-devel package that will be
+  introduced in postgresql 11
@@ -49 +96 @@
-Wed Aug  8 14:36:59 UTC 2018 - [email protected]
+Fri Aug 10 16:05:29 UTC 2018 - [email protected]

Old:
----
  postgresql-10.10.tar.bz2

New:
----
  postgresql-10.12.tar.bz2
  postgresql-10.12.tar.bz2.sha256

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ postgresql10.spec ++++++
--- /var/tmp/diff_new_pack.EcJSAV/_old  2020-03-13 10:55:06.308337567 +0100
+++ /var/tmp/diff_new_pack.EcJSAV/_new  2020-03-13 10:55:06.312337570 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package postgresql10
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -37,7 +37,7 @@
 %define libecpg_so libecpg.so.6
 %if "@BUILD_FLAVOR@" == "libs"
 %define buildmain 0
-%define buildlibs 1
+%define buildlibs 0
 %define builddevel 1
 %else
 %define buildmain 1
@@ -96,10 +96,11 @@
 Summary:        Basic Clients and Utilities for PostgreSQL
 License:        PostgreSQL
 Group:          Productivity/Databases/Tools
-Version:        10.10
+Version:        10.12
 Release:        0
 Source0:        
https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
-Source1:        baselibs.conf
+Source1:        
https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
+Source2:        baselibs.conf
 Source3:        postgresql-README.SUSE
 Source17:       postgresql-rpmlintrc
 Patch1:         postgresql-conf.patch
@@ -109,7 +110,7 @@
 Patch6:         postgresql-testsuite-int8.sql.patch
 Patch8:         postgresql-testsuite-keep-results-file.patch
 Patch9:         postgresql-var-run-socket.patch
-Url:            https://www.postgresql.org/
+URL:            https://www.postgresql.org/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Provides:       postgresql = %version-%release
 Provides:       postgresql-implementation = %version-%release
@@ -174,7 +175,10 @@
 %package devel
 Summary:        PostgreSQL development header files and libraries
 Group:          Development/Libraries/C and C++
+Provides:       postgresql%pgmajor-server-devel = %version-%release
 Provides:       postgresql-devel-implementation = %version-%release
+Provides:       postgresql-server-devel = %version-%release
+Provides:       postgresql-server-devel-implementation = %version-%release
 Requires:       %libecpg >= %version
 Requires:       %libpq >= %version
 Requires(post): postgresql-noarch >= %pgmajor
@@ -182,6 +186,16 @@
 # Installation of postgresql??-devel is exclusive
 Provides:       postgresql-devel-exclusive = %pgmajor
 Conflicts:      postgresql-devel-exclusive < %pgmajor
+Provides:       postgresql-server-devel-exclusive = %pgmajor
+Conflicts:      postgresql-server-devel-exclusive < %pgmajor
+# all libs returned from pg_config --libs
+Requires:       openssl-devel
+Requires:       zlib-devel
+%if 0%{?suse_version} == 1110
+Requires:       krb5-devel
+%else
+Requires:       pkgconfig(krb5)
+%endif
 
 %description devel
 PostgreSQL is an advanced object-relational database management system
@@ -353,6 +367,7 @@
 find -name .gitignore -delete
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 export PYTHON=python3
 PACKAGE_TARNAME=%name %configure \
         --bindir=%pgbindir \
@@ -505,6 +520,8 @@
     ln -sf $f.? $f
 done
 popd
+# Remove mostly unneeded buildtime requirements for server extensions
+sed -i '/^LIBS = /s/= .*/=/' %buildroot/%pglibdir/pgxs/src/Makefile.global
 %if %buildlibs
 %find_lang libpq5-%{pgmajor} libpq.lang
 %find_lang ecpglib6-%{pgmajor} libecpg.lang
@@ -557,6 +574,7 @@
 for pl in plperl plpython pltcl; do
     %find_lang $pl-%{pgmajor} $pl.lang
 done
+
 %endif
 ln -s /etc/alternatives/postgresql %buildroot/usr/lib/postgresql
 touch %buildroot/etc/alternatives/postgresql

++++++ postgresql-10.10.tar.bz2 -> postgresql-10.12.tar.bz2 ++++++
/work/SRC/openSUSE:Leap:15.2/postgresql10/postgresql-10.10.tar.bz2 
/work/SRC/openSUSE:Leap:15.2/.postgresql10.new.3160/postgresql-10.12.tar.bz2 
differ: char 11, line 1

++++++ postgresql-10.12.tar.bz2.sha256 ++++++
388f7f888c4fbcbdf424ec2bce52535195b426010b720af7bea767e23e594ae7  
postgresql-10.12.tar.bz2
++++++ postgresql-README.SUSE ++++++
--- /var/tmp/diff_new_pack.EcJSAV/_old  2020-03-13 10:55:06.376337616 +0100
+++ /var/tmp/diff_new_pack.EcJSAV/_new  2020-03-13 10:55:06.376337616 +0100
@@ -1,22 +1,41 @@
-Newer versions of PostgreSQL come with the pg_upgrade tool that
+Unix-Domain Socket Directory
+============================
+
+
+
+Upgrading PostgreSQL on openSUSE and SUSE Linux Enterprise Server
+=================================================================
+
+Current versions of PostgreSQL come with the pg_upgrade tool that
 simplifies and speeds up the migration of a PostgreSQL installation to
-a new version. Formerly dump and restore was needed that was much
-slower.
+a new version. Before version 9.1 dump and restore was needed which
+was much slower.
 
 pg_upgrade needs to have the server binaries of both versions
 available. To allow this, we had to change the way PostgreSQL is
 packaged as well as the naming of the packages, so that two or more
-versions of PostgreSQL can be installed in parallel.
+versions of PostgreSQL can be installed in parallel.  The package
+names for PostgreSQL contain numbers indicating the major version.
+
+In PostgreSQL terms for versions up to 9.6 the major version consisted
+of the first two components of the three-component version number,
+i.e. 8.3, 8.4, 9.0, or 9.1. So, the packages for Postgresql 9.1 are
+named postgresql91, postgresql91-server, etc. Inside the packages the
+files were moved from their standard locations to a versioned location
+such as /usr/lib/postgresql83/bin or /usr/lib/postgresql91/bin to
+avoid file conflicts if packages are installed in parallel.
+
+Starting with version 10 the PostgreSQL project changed their
+versioning scheme from from three components to two, which means one
+component for the major version and one for the minor.  So, the
+sequence of major version across the versioning scheme change will be:
+9.4, 9.5, 9.6, 10, 11, 12. For versions that use the new versioning
+scheme SUSE only puts the single component major version into the
+package name, so the postgresql96 package (containg version 9.6
+according to the old versioning scheme) will be followed by
+postgresql10, then postgresql11, and so on.
 
-Starting with version 9.1, PostgreSQL package names contain numbers
-indicating the major version. In PostgreSQL terms the major version
-consists of the first two components of the version number, i.e. 8.3,
-8.4, 9.0, or 9.1. So, the packages for Postgresql 9.1 are named
-postgresql91, postgresql91-server, etc. Inside the packages the files
-were moved from their standard locations to a versioned location such
-as /usr/lib/postgresql83/bin or /usr/lib/postgresql91/bin to avoid
-file conflicts if packages are installed in parallel. The
-update-alternatives mechanism creates and maintains symbolic links
+The update-alternatives mechanism creates and maintains symbolic links
 that cause one version (by default the highest installed version) to
 re-appear in the standard locations. By default, database data are
 stored under /var/lib/pgsql/data on SUSE Linux.
@@ -26,14 +45,12 @@
 
  1. If not already done, the packages of the old PostgreSQL version
  must be upgraded to the new packaging scheme through a maintenance
- update. For SLE11 this means to install the patch that upgrades
- PostgreSQL from version 8.3.14 to 8.3.19 or higher.
+ update.
 
  2. The packages of the new PostgreSQL major version need to be
- installed. For SLE11 this means to install postgresql91-server and
- all the packages it depends on. As pg_upgrade is contained in
- postgresql91-contrib, that one has to be installed as well, at least
- until the migration is done.
+ installed. As pg_upgrade is contained in postgresql91-contrib, that
+ one has to be installed as well, at least until the migration is
+ done.
 
  3. Unless pg_upgrade is used in link mode, the server must have
  enough free disk space to temporarily hold a copy of the database
@@ -44,17 +61,20 @@
  database in the instance to be migrated, but be aware that it might
  take very long.
 
-Upstream documentation about pg_upgrade including step by step
-instructions for performing a database migration can be found under
-file:///usr/share/doc/packages/postgresql91/html/pgupgrade.html (if
-the postgresql91-docs package is installed), or online under
-http://www.postgresql.org/docs/9.1/static/pgupgrade.html .
+The latest upstream documentation for pg_upgrade including step by
+step instructions for performing a database migration can be found
+online under https://www.postgresql.org/docs/current/pgupgrade.html ,
+or locally under
+file:///usr/share/doc/packages/postgresqlXX/html/pgupgrade.html , if
+the postgresqlXX-docs package is installed. XX is a place holder for
+the respective major version here.
 
 NOTE: The online documentation starts with explaining how you can
 install PostgreSQL from the upstream sources (which is not necessary
-on SLES) and also uses other directory names (/usr/local instead of
-the update-alternatives based path as described above).
-
-For background information about the inner workings of pg_admin and a
-performance comparison with the old dump and restore method, see
-http://momjian.us/main/writings/pgsql/pg_upgrade.pdf .
\ No newline at end of file
+when you install the SUSE RPMs) and also uses other directory names
+(/usr/local instead of the update-alternatives based path as described
+above).
+
+For background information about the inner workings of pg_upgrade and
+a performance comparison with the old dump and restore method, see
+http://momjian.us/main/writings/pgsql/pg_upgrade.pdf .


Reply via email to