Commit Graph

45 Commits

Author SHA256 Message Date
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
Dominique Leuenberger
428c6ea16c Accepting request 845768 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/845768
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=2
2020-11-03 14:59:41 +00:00
Reinhard Max
ddf7e05633 - 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/postgresql13?expand=0&rev=3
2020-11-03 14:10:14 +00:00
Dominique Leuenberger
a5916e462a Accepting request 843221 from server:database:postgresql
Initial packaging of PostgreSQL 13

OBS-URL: https://build.opensuse.org/request/show/843221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql13?expand=0&rev=1
2020-10-24 13:16:10 +00:00
Reinhard Max
dd8ef976ef - Initial packaging of PostgreSQL 13:
* https://www.postgresql.org/about/news/2077/
  * https://www.postgresql.org/docs/13/release-13.html

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=1
2020-09-25 07:12:04 +00:00