Commit Graph

111 Commits

Author SHA256 Message Date
Reinhard Max
160833f625 - boo#1190740: Add constraints file with 8GB memory for s390x as
a workaround for a memory issue with LLVM

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=57
2021-10-21 15:49:58 +00:00
Dominique Leuenberger
24230bb91f Accepting request 923704 from server:database:postgresql
- Let genlists skip non-existing binaries to avoid lots of version
  conditionals in the file lists.
- Remove postgresql-testsuite-int8.sql.patch, because its purpose
  is unclear. This affects only the test subpackage.

OBS-URL: https://build.opensuse.org/request/show/923704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=18
2021-10-12 19:48:02 +00:00
Reinhard Max
7421b994f5 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=56 2021-10-05 12:23:17 +00:00
Reinhard Max
56e55fb99e OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=55 2021-10-05 11:43:41 +00:00
Reinhard Max
5e0b2cbf48 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=54 2021-10-05 11:27:36 +00:00
Reinhard Max
a14408b01b - Let genlists skip non-existing binaries to avoid lots of version
conditionals in the file lists.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=53
2021-09-27 14:16:03 +00:00
Dominique Leuenberger
54827c9569 Accepting request 917541 from server:database:postgresql
- bsc#1185952: fix build with llvm12 on s390x.
  0001-jit-Workaround-potential-datalayout-mismatch-on-s390.patch 
- bsc#1179945: Re-enable icu for PostgreSQL 10.

- Upgrade to version 12.8:
  * https://www.postgresql.org/docs/12/release-12-8.html
  * CVE-2021-3677 (boo#1189748)
    The planner could create an incorrect plan in cases where two
    ProjectionPaths were stacked on top of each other. The only
    known way to trigger that situation involves parallel sort
    operations, but there may be other instances. The result would
    be crashes or incorrect query results. Disclosure of server
    memory contents is also possible.

- bsc#1187751: Make the dependency of postgresqlXX-server-devel on
  llvm and clang optional (postgresql-llvm-optional.patch).

OBS-URL: https://build.opensuse.org/request/show/917541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=17
2021-09-13 14:24:17 +00:00
Reinhard Max
f596acf83c OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=52 2021-08-31 16:14:13 +00:00
Reinhard Max
9728ec8991 - bsc#1179945: Re-enable icu for PostgreSQL 10.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=51
2021-08-31 14:26:25 +00:00
Reinhard Max
8d6c053616 - bsc#1185952: fix build with llvm12 on s390x.
0001-jit-Workaround-potential-datalayout-mismatch-on-s390.patch

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=50
2021-08-31 11:46:19 +00:00
Reinhard Max
df48f463ed Sync spec file with other versions
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=49
2021-08-27 17:22:37 +00:00
Reinhard Max
eab86d3b60 - bsc#1187751: Make the dependency of postgresqlXX-server-devel on
llvm and clang optional (postgresql-llvm-optional.patch).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=48
2021-08-25 11:41:54 +00:00
7f6dd520bb fix scriptlet syntax
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=47
2021-08-24 13:35:00 +00:00
b697d2e35a fix header
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=46
2021-08-24 13:32:32 +00:00
46748b2993 https://www.postgresql.org/about/news/postgresql-134-128-1113-1018-9623-and-14-beta-3-released-2277/
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=45
2021-08-24 13:27:45 +00:00
Dominique Leuenberger
9d15e08e37 Accepting request 894525 from server:database:postgresql
- bsc#1185952: llvm12 breaks PostgreSQL 11 and 12 on s390x.
  Use llvm11 as a workaround.

OBS-URL: https://build.opensuse.org/request/show/894525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=16
2021-05-21 19:49:31 +00:00
Reinhard Max
76c6700bd8 - bsc#1185952: llvm12 breaks PostgreSQL 11 and 12 on s390x.
Use llvm11 as a workaround.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=43
2021-05-19 16:13:25 +00:00
Dominique Leuenberger
5f6b4c04ee Accepting request 893134 from server:database:postgresql
- Upgrade to version 12.7:
  * https://www.postgresql.org/docs/12/release-12-7.html
  * CVE-2021-32027, bsc#1185924:
    Prevent integer overflows in array subscripting calculations.
  * CVE-2021-32028, bsc#1185925: Fix mishandling of “junk”
    columns in INSERT ... ON CONFLICT ... UPDATE target lists.
  * CVE-2021-32029, bsc#1185926: Fix possibly-incorrect
    computation of UPDATE ... RETURNING
    "pg_psql_temporary_savepoint" does not exist”.
- Don't use %_stop_on_removal, because it was meant to be private
  and got removed from openSUSE. %_restart_on_update is also
  private, but still supported and needed for now (bsc#1183168).

  only be delivered on PackageHub for now (boo#1183118).

OBS-URL: https://build.opensuse.org/request/show/893134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=15
2021-05-18 16:26:39 +00:00
Reinhard Max
427a29ad96 - Upgrade to version 12.7:
* https://www.postgresql.org/docs/12/release-12-7.html
  * CVE-2021-32027, bsc#1185924:
    Prevent integer overflows in array subscripting calculations.
  * CVE-2021-32028, bsc#1185925: Fix mishandling of “junk”
    columns in INSERT ... ON CONFLICT ... UPDATE target lists.
  * CVE-2021-32029, bsc#1185926: Fix possibly-incorrect
    computation of UPDATE ... RETURNING
    "pg_psql_temporary_savepoint" does not exist”.
- Don't use %_stop_on_removal, because it was meant to be private
  and got removed from openSUSE. %_restart_on_update is also
  private, but still supported and needed for now (bsc#1183168).

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=41
2021-05-14 11:50:49 +00:00
Dominique Leuenberger
2b3497fc19 Accepting request 885324 from server:database:postgresql
- Re-enable build of the llvmjit subpackage on SLE, but it will
  only be delivered on PackageHub for now.

OBS-URL: https://build.opensuse.org/request/show/885324
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=14
2021-04-22 16:03:17 +00:00
OBS User buildservice-autocommit
63590d5202 Accepting request 885324 from server:database:postgresql
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/885324
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=40
2021-04-22 16:03:17 +00:00
OBS User buildservice-autocommit
b3cc671876 Updating link to change in openSUSE:Factory/postgresql12 revision 14.0
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=3084cf90e5fa3b4106361e8fe6b461fb
2021-04-22 16:03:17 +00:00
Reinhard Max
4e36d2e308 Add bug reference
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=39
2021-04-14 14:17:57 +00:00
Reinhard Max
c4e0c83cd3 - Re-enable build of the llvmjit subpackage on SLE, but it will
only be delivered on PackageHub for now.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=38
2021-03-15 19:41:14 +00:00
Dominique Leuenberger
a488b9683e Accepting request 878017 from server:database:postgresql
- Remove leftover PreReq on chkconfig, we stopped using it long
  time ago.

OBS-URL: https://build.opensuse.org/request/show/878017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=13
2021-03-11 19:08:01 +00:00
Reinhard Max
4ed098edd6 - Remove leftover PreReq on chkconfig, we stopped using it long
time ago.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=36
2021-03-09 14:19:16 +00:00
Dominique Leuenberger
aa53753b29 Accepting request 873822 from server:database:postgresql
- boo#1179945: Disable icu for PostgreSQL 10 (and older) on TW.

Upgrade to version 12.6:
  * https://www.postgresql.org/docs/12/release-12-6.html  
  * Reindexing might be needed after applying this update.
  * CVE-2021-3393, bsc#1182040: Fix information leakage in
    constraint-violation error messages.
  * Obsoletes postgresql-icu68.patch.

OBS-URL: https://build.opensuse.org/request/show/873822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=12
2021-02-23 19:17:52 +00:00
Reinhard Max
33034dc643 - boo#1179945: Disable icu for PostgreSQL 10 (and older) on TW.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=34
2021-02-19 15:57:01 +00:00
Reinhard Max
6017c5a148 Upgrade to version 12.6:
* https://www.postgresql.org/docs/12/release-12-6.html  
  * Reindexing might be needed after applying this update.
  * CVE-2021-3393, bsc#1182040: Fix information leakage in
    constraint-violation error messages.
  * Obsoletes postgresql-icu68.patch.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=33
2021-02-12 12:12:41 +00:00
Dominique Leuenberger
28db3a9166 Accepting request 861015 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/861015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=11
2021-01-08 16:34:04 +00:00
Reinhard Max
6ec26430e7 Accepting request 861004 from home:gmbr3:branches:server:database:postgresql
Correct

OBS-URL: https://build.opensuse.org/request/show/861004
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=31
2021-01-07 11:09:53 +00:00
Reinhard Max
47425da66d Accepting request 855794 from home:gmbr3:StagingI
- Add icu-68.patch: fix build with ICU 68

OBS-URL: https://build.opensuse.org/request/show/855794
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=30
2021-01-07 10:23:08 +00:00
Dominique Leuenberger
81a8d83dc2 Accepting request 854083 from server:database:postgresql
- bsc#1178961: %ghost the symlinks to pg_config and ecpg.
- boo#1179765: BuildRequire libpq5 and libecpg6 when not building
  them to avoid dangling symlinks in the devel package.

OBS-URL: https://build.opensuse.org/request/show/854083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=10
2020-12-10 14:56:43 +00:00
Reinhard Max
fab8a88489 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=28 2020-12-08 16:13:43 +00:00
Reinhard Max
fe1981634c - BuildRequire libpq5 and libecpg6 when not building them to avoid
dangling symlinks in the devel package.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=27
2020-11-20 11:54:36 +00:00
Reinhard Max
890fb5a7f0 - bsc#1178961: %ghost the symlinks to pg_config and ecpg.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=26
2020-11-20 10:01:45 +00:00
Dominique Leuenberger
d866f6230a Accepting request 848146 from server:database:postgresql
- Upgrade to version 12.5:
  * CVE-2020-25695, bsc#1178666: Block DECLARE CURSOR ... WITH HOLD
    and firing of deferred triggers within index expressions and
    materialized view queries.
  * CVE-2020-25694, bsc#1178667:
    a) Fix usage of complex connection-string parameters in pg_dump,
    pg_restore, clusterdb, reindexdb, and vacuumdb.
    b) When psql's \connect command re-uses connection parameters,
    ensure that all non-overridden parameters from a previous
    connection string are re-used.
  * CVE-2020-25696, bsc#1178668: Prevent psql's \gset command from
    modifying specially-treated variables.
  * Fix recently-added timetz test case so it works when the USA
    is not observing daylight savings time.
    (obsoletes postgresql-timetz.patch)
  * https://www.postgresql.org/about/news/2111/
  * https://www.postgresql.org/docs/12/release-12-5.html

OBS-URL: https://build.opensuse.org/request/show/848146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=9
2020-11-15 14:25:08 +00:00
Reinhard Max
901b3754a1 - Upgrade to version 12.5:
* CVE-2020-25695, bsc#1178666: Block DECLARE CURSOR ... WITH HOLD
    and firing of deferred triggers within index expressions and
    materialized view queries.
  * CVE-2020-25694, bsc#1178667:
    a) Fix usage of complex connection-string parameters in pg_dump,
    pg_restore, clusterdb, reindexdb, and vacuumdb.
    b) When psql's \connect command re-uses connection parameters,
    ensure that all non-overridden parameters from a previous
    connection string are re-used.
  * CVE-2020-25696, bsc#1178668: Prevent psql's \gset command from
    modifying specially-treated variables.
  * Fix recently-added timetz test case so it works when the USA
    is not observing daylight savings time.
    (obsoletes postgresql-timetz.patch)
  * https://www.postgresql.org/about/news/2111/
  * https://www.postgresql.org/docs/12/release-12-5.html

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=24
2020-11-12 14:27:36 +00:00
Dominique Leuenberger
bc56a98092 Accepting request 845766 from server:database:postgresql
- Fix a DST problem in the test suite: postgresql-timetz.patch
  https://postgr.es/m/16689-57701daa23b377bf@postgresql.org

OBS-URL: https://build.opensuse.org/request/show/845766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=8
2020-11-03 14:59:39 +00:00
Reinhard Max
32bef6ae73 - Fix a DST problem in the test suite: postgresql-timetz.patch
https://postgr.es/m/16689-57701daa23b377bf@postgresql.org

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=22
2020-11-03 14:08:59 +00:00
Dominique Leuenberger
e67152f6a0 Accepting request 843220 from server:database:postgresql
- Stop building the mini and lib packages as they are now coming
  from postgresql13.

OBS-URL: https://build.opensuse.org/request/show/843220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=7
2020-10-24 13:16:06 +00:00
Reinhard Max
6c2b8011dc - Stop building the mini and lib packages as they are now coming
from postgresql13.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=20
2020-09-25 07:35:56 +00:00
Dominique Leuenberger
bbfe02218a Accepting request 826609 from server:database:postgresql
- update to 12.4:
  * CVE-2020-14349, bsc#1175193: Set a secure search_path in
    logical replication walsenders and apply workers
  * CVE-2020-14350, bsc#1175194: Make contrib modules' installation
    scripts more secure.
  * https://www.postgresql.org/docs/12/release-12-4.html
- Remove postgresql-regress.patch, it does not apply anymore and
  it does not seem to be needed anymore.
- Pack the /usr/lib/postgresql symlink only into the main package.

- Let postgresqlXX conflict with postgresql-noarch < 12.0.1 to get
  a clean and complete cutover to the new packaging schema.

OBS-URL: https://build.opensuse.org/request/show/826609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=6
2020-08-15 19:14:03 +00:00
Reinhard Max
fa961be7d5 - update to 12.4:
* CVE-2020-14349, bsc#1175193: Set a secure search_path in
    logical replication walsenders and apply workers
  * CVE-2020-14350, bsc#1175194: Make contrib modules' installation
    scripts more secure.
  * https://www.postgresql.org/docs/12/release-12-4.html
- Remove postgresql-regress.patch, it does not apply anymore and
  it does not seem to be needed anymore.
- Pack the /usr/lib/postgresql symlink only into the main package.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=18
2020-08-13 21:06:11 +00:00
Reinhard Max
b95779b302 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=17 2020-06-17 13:56:30 +00:00
Dominique Leuenberger
ebdc9989a6 Accepting request 812779 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/812779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=5
2020-06-11 07:57:58 +00:00
Reinhard Max
d824c5935f Accepting request 812775 from home:rmax:branches:server:database:postgresql
Fix dependencies between -devel-mini and the packages it embeds

OBS-URL: https://build.opensuse.org/request/show/812775
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=15
2020-06-09 06:48:18 +00:00
Reinhard Max
eebdc7ceb0 Accepting request 811573 from home:rmax:branches:server:database:postgresql
- update to 12.3 (bsc#1171924).
  https://www.postgresql.org/about/news/2038/
  https://www.postgresql.org/docs/12/release-12-3.html
- Unify the spec file to work across all current PostgreSQL
  versions to simplify future maintenance.

- Temporarily disable JIT support on SLE until support status of
  clang has been clarified.
- We only need clang for LLVM, not clang-devel.

OBS-URL: https://build.opensuse.org/request/show/811573
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=14
2020-06-04 17:47:22 +00:00
Reinhard Max
ea31700f9d Accepting request 805799 from home:z1trus:branches:server:database:postgresql
- update to 12.3
  https://www.postgresql.org/about/news/2038/
  https://www.postgresql.org/docs/12/release-12-3.html

OBS-URL: https://build.opensuse.org/request/show/805799
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=13
2020-05-20 14:57:03 +00:00
Dominique Leuenberger
471a34195c Accepting request 779839 from server:database:postgresql
- Fix a few mistakes in the spec file.

OBS-URL: https://build.opensuse.org/request/show/779839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql12?expand=0&rev=4
2020-02-29 20:23:28 +00:00