Commit Graph

54 Commits

Author SHA256 Message Date
Dominique Leuenberger
35209748fa Accepting request 935205 from server:database:postgresql
- Add a llvmjit-devel subpackage to pull in the right versions
  of clang and llvm for building extensions. 
- Fix some mistakes in the interdependencies between the
  implementation packages and their noarch counterpart.
- Update the BuildIgnore section.

OBS-URL: https://build.opensuse.org/request/show/935205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=14
2021-12-06 22:59:24 +00:00
Reinhard Max
9f00a57e21 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=48 2021-12-02 13:44:09 +00:00
Reinhard Max
b86d3596f2 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=47 2021-11-30 19:03:55 +00:00
Reinhard Max
0eec778c1a OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=46 2021-11-30 18:52:48 +00:00
Reinhard Max
b0156e7b60 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=45 2021-11-30 17:13:10 +00:00
Reinhard Max
99c63d9f7d - Add a llvmjit-devel subpackage to pull in the right versions
of clang and llvm for building extensions.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=44
2021-11-30 16:49:34 +00:00
Dominique Leuenberger
7c70ce31d1 Accepting request 930950 from server:database:postgresql
- bsc#1192516: Upgrade to 13.5:
  * Make the server reject extraneous data after an SSL or GSS
    encryption handshake (CVE-2021-23214).
  * Make libpq reject extraneous data after an SSL or GSS
    encryption handshake (CVE-2021-23222).
  * https://www.postgresql.org/docs/13/release-13-4.html

OBS-URL: https://build.opensuse.org/request/show/930950
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=13
2021-11-13 21:48:09 +00:00
Reinhard Max
4c09c871a7 - bsc#1192516: Upgrade to 13.5:
* Make the server reject extraneous data after an SSL or GSS
    encryption handshake (CVE-2021-23214).
  * Make libpq reject extraneous data after an SSL or GSS
    encryption handshake (CVE-2021-23222).
  * https://www.postgresql.org/docs/13/release-13-4.html

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=43
2021-11-11 14:58:14 +00:00
Reinhard Max
8563bdf93b Accepting request 926787 from home:AdaLovelace:branches:openSUSE:Factory:zSystems
- 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/request/show/926787
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=42
2021-10-21 15:47:16 +00:00
Dominique Leuenberger
75560c4a56 Accepting request 923701 from server:database:postgresql
- Stop building the mini and lib packages as they are now coming
  from postgresql14.
- 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/923701
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=12
2021-10-12 19:48:00 +00:00
Reinhard Max
1d2ea82175 - Remove postgresql-testsuite-int8.sql.patch, because its purpose
is unclear. This affects only the test subpackage.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=41
2021-10-06 14:15:37 +00:00
Reinhard Max
c5a36ee1e0 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=40 2021-10-05 11:44:09 +00:00
Reinhard Max
1b8b7fdba8 - Simplify file list generation.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=39
2021-10-05 11:16:03 +00:00
Reinhard Max
755759be37 - Stop building the mini and lib packages as they are now coming
from postgresql14.
- 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/postgresql13?expand=0&rev=38
2021-09-27 14:07:11 +00:00
Dominique Leuenberger
c37f70a862 Accepting request 917542 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 13.4:
  https://www.postgresql.org/docs/13/release-13-4.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/917542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=11
2021-09-13 14:24:18 +00:00
Reinhard Max
c1e38579a0 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=37 2021-08-31 16:07:32 +00:00
Reinhard Max
aa996e2b71 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=36 2021-08-31 14:29:22 +00:00
Reinhard Max
07888665b7 - bsc#1179945: Re-enable icu for PostgreSQL 10.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=35
2021-08-31 14:27:29 +00:00
Reinhard Max
f0bdd3e8f4 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=34 2021-08-31 11:46:39 +00:00
Reinhard Max
ce0f41cf96 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=33 2021-08-31 11:18:12 +00:00
Reinhard Max
f38a89dc2c - 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/postgresql13?expand=0&rev=32
2021-08-31 11:16:37 +00:00
Reinhard Max
23b6a7a2e6 * bsc#1185952: Adjust JIT code to prepare for forthcoming LLVM
API change

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=31
2021-08-30 16:30:47 +00:00
Reinhard Max
89ffdce7a6 Sync spec file with other versions
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=30
2021-08-27 17:22:58 +00:00
Reinhard Max
ddaaeade55 - 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/postgresql13?expand=0&rev=29
2021-08-25 11:38:21 +00:00
941a1ba132 fix scriptlet syntax
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=28
2021-08-24 13:34:44 +00:00
fd986d30f5 fix header
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=27
2021-08-24 13:32:33 +00:00
307efe692c 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/postgresql13?expand=0&rev=26
2021-08-24 13:27:52 +00:00
Dominique Leuenberger
d9047459a0 Accepting request 894524 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/894524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=10
2021-05-21 19:49:30 +00:00
Reinhard Max
0e79a44e5d - 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/postgresql13?expand=0&rev=24
2021-05-19 16:13:51 +00:00
Dominique Leuenberger
a60805dda7 Accepting request 893135 from server:database:postgresql
- Upgrade to version 13.3:
  * https://www.postgresql.org/docs/13/release-13-3.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/893135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=9
2021-05-18 16:26:40 +00:00
Reinhard Max
87942f240c - Upgrade to version 13.3:
* https://www.postgresql.org/docs/13/release-13-3.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/postgresql13?expand=0&rev=22
2021-05-14 11:51:10 +00:00
Dominique Leuenberger
2a9d2aba7a Accepting request 885325 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/885325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=8
2021-04-22 16:03:18 +00:00
OBS User buildservice-autocommit
11a5e058a0 Accepting request 885325 from server:database:postgresql
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/885325
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=21
2021-04-22 16:03:18 +00:00
OBS User buildservice-autocommit
910ec4bedb Updating link to change in openSUSE:Factory/postgresql13 revision 8.0
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=21e8b93c147efa4220d2904167292f0d
2021-04-22 16:03:18 +00:00
Reinhard Max
c7efb1704c Add bug reference
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=20
2021-04-14 14:18:20 +00:00
Reinhard Max
8c0d5c510c - 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/postgresql13?expand=0&rev=19
2021-03-15 19:41:39 +00:00
Dominique Leuenberger
28aa56fa3b Accepting request 878016 from server:database:postgresql
- Remove leftover PreReq on chkconfig, we stopped using it long
  time ago.

OBS-URL: https://build.opensuse.org/request/show/878016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=7
2021-03-11 19:07:57 +00:00
Reinhard Max
35033e90c1 - Remove leftover PreReq on chkconfig, we stopped using it long
time ago.

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

- Upgrade to version 13.2:
  * https://www.postgresql.org/docs/13/release-13-2.html
  * Updating stored views and reindexing might be needed after
    applying this update.
  * CVE-2021-3393, bsc#1182040: Fix information leakage in
    constraint-violation error messages.
  * CVE-2021-20229, bsc#1182039: Fix failure to check per-column
    SELECT privileges in some join queries.
  * Obsoletes postgresql-icu68.patch.

OBS-URL: https://build.opensuse.org/request/show/873842
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=6
2021-02-23 19:17:54 +00:00
Reinhard Max
3de008322d - boo#1179945: Disable icu for PostgreSQL 10 (and older) on TW.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=15
2021-02-19 15:59:21 +00:00
Reinhard Max
06f40ac3ca - Upgrade to version 13.2:
* https://www.postgresql.org/docs/13/release-13-2.html
  * Updating stored views and reindexing might be needed after
    applying this update.
  * CVE-2021-3393, bsc#1182040: Fix information leakage in
    constraint-violation error messages.
  * CVE-2021-20229, bsc#1182039: Fix failure to check per-column
    SELECT privileges in some join queries.
  * Obsoletes postgresql-icu68.patch.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=14
2021-02-12 19:15:05 +00:00
Dominique Leuenberger
9a2ab8f107 Accepting request 861016 from server:database:postgresql
OBS-URL: https://build.opensuse.org/request/show/861016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=5
2021-01-08 16:34:06 +00:00
Reinhard Max
9c719ea9cb Accepting request 861005 from home:gmbr3:branches:server:database:postgresql
Correct

OBS-URL: https://build.opensuse.org/request/show/861005
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=12
2021-01-07 11:10:14 +00:00
Reinhard Max
135a1037aa Accepting request 855793 from home:gmbr3:StagingI
- Add icu-68.patch: fix build with ICU 68

OBS-URL: https://build.opensuse.org/request/show/855793
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=11
2021-01-07 10:23:15 +00:00
Dominique Leuenberger
31f98a1410 Accepting request 854082 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/854082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=4
2020-12-10 14:56:40 +00:00
Reinhard Max
52d5e75e4e OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=9 2020-12-08 16:13:10 +00:00
Reinhard Max
369f5fe45c - 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/postgresql13?expand=0&rev=8
2020-11-20 11:53:36 +00:00
Reinhard Max
7f5f09222b - bsc#1178961: %ghost the symlinks to pg_config and ecpg.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=7
2020-11-20 10:52:37 +00:00
Dominique Leuenberger
ecc8159cc1 Accepting request 848147 from server:database:postgresql
- Upgrade to version 13.1:
  * 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/13/release-13-1.html

OBS-URL: https://build.opensuse.org/request/show/848147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=3
2020-11-15 14:25:20 +00:00
Reinhard Max
c3158f0802 - Upgrade to version 13.1:
* 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/13/release-13-1.html

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=5
2020-11-12 14:28:15 +00:00