Commit Graph

46 Commits

Author SHA256 Message Date
Reinhard Max
27d68739ef - Restore the independence of mini builds from the main build after
the -mini name change from April 4, 2023.
- Adjust icu handling to prepare for PostgreSQL 16.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=71
2023-05-26 12:03:19 +00:00
Reinhard Max
bbfa0902cb - Overhaul postgresql-README.SUSE and move it from the binary
package to the noarch wrapper package.
- Change the unix domain socket location from /var/run to /run.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=70
2023-05-15 14:54:20 +00:00
Reinhard Max
da8e82d62f - Update to 13.11:
* bsc#1211228, CVE-2023-2454:
    Prevent CREATE SCHEMA from defeating changes in search_path
  * bsc#1211229, CVE-2023-2455: Enforce row-level security
    policies correctly after inlining a set-returning function
  * https://www.postgresql.org/about/news/2637/
  * https://www.postgresql.org/docs/13/release-13-11.html

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=68
2023-05-11 13:19:18 +00:00
Reinhard Max
9bae41c993 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=66 2023-04-19 13:26:38 +00:00
Reinhard Max
72a9f7df76 - bsc#1210303: Stop using the obsolete internal %_restart_on_update
macro and drop support for sysv init to simplify the scriptlets.

- Include -mini in Name: to avoid conflicts in the source package
  name and OBS internal dependency tracking.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=65
2023-04-18 14:02:56 +00:00
Reinhard Max
a7d87b9745 - Update to 13.10:
* CVE-2022-41862, bsc#1208102: memory leak in libpq
  * https://www.postgresql.org/about/news/2592/
  * https://www.postgresql.org/docs/13/release-13-10.html
- Bump latest_supported_llvm_ver to 15.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=63
2023-02-09 14:32:13 +00:00
Reinhard Max
15ffedd5be - bsc#1205300: Update to 13.9:
* https://www.postgresql.org/about/news/2543/
  * https://www.postgresql.org/docs/13/release-13-9.html
- Sync spec file with postgresql15.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=61
2022-11-10 16:35:33 +00:00
Reinhard Max
9c479b5d8f OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=59 2022-09-23 16:02:47 +00:00
Reinhard Max
879372ccb0 - Sync spec file with postgresql15.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=58
2022-09-23 14:11:55 +00:00
Reinhard Max
d3bcbd2969 - Add generic mechanism to pin to latest supported LLVM version.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=57
2022-09-23 12:44:57 +00:00
Reinhard Max
f9502278b0 Accepting request 1003037 from openSUSE:Factory:RISCV
- Disable LLVM JIT on riscv64

OBS-URL: https://build.opensuse.org/request/show/1003037
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=56
2022-09-13 11:53:01 +00:00
Reinhard Max
69b889ecd3 - Update to 13.8:
* bsc#1202368, CVE-2022-2625: Extension scripts replace objects
    not belonging to the extension.
  * https://www.postgresql.org/docs/release/13.8/

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=54
2022-08-15 09:56:04 +00:00
Reinhard Max
8b2b5f1dc1 - Upgrade to 13.7:
* bsc#1199475, CVE-2022-1552: Confine additional operations
    within "security restricted operation" sandboxes.
  * https://www.postgresql.org/docs/13/release-13-7.html
  * https://www.postgresql.org/docs/13/release-13-5.html

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=52
2022-05-12 14:53:06 +00:00
Reinhard Max
6112eb24ea - bsc#1198166: Pin to llvm13 until the next patchlevel update.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=50
2022-04-13 12:21:23 +00:00
Reinhard Max
5c58c0aebe - bsc#1195680: Upgrade to 13.6:
* https://www.postgresql.org/docs/13/release-13-6.html
  * Reindexing might be needed after applying this upgrade, so
    please read the release notes carefully.
- boo#1190740: Add constraints file with 12GB of memory for s390x
  as a workaround

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql13?expand=0&rev=49
2022-02-10 15:27:11 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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