Commit Graph

60 Commits

Author SHA256 Message Date
Reinhard Max
79bc144101 - 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/postgresql12?expand=0&rev=79
2023-04-18 14:04:58 +00:00
Reinhard Max
9da35c824e - Update to 12.14:
* CVE-2022-41862, bsc#1208102: memory leak in libpq
  * https://www.postgresql.org/about/news/2592/
  * https://www.postgresql.org/docs/12/release-12-14.html
- Bump latest_supported_llvm_ver to 15.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=77
2023-02-09 14:39:22 +00:00
Reinhard Max
290ea0293c - bsc#1205300: Update to 12.13:
* https://www.postgresql.org/about/news/2543/
  * https://www.postgresql.org/docs/12/release-12-13.html
- Sync spec file with postgresql15.

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=75
2022-11-10 16:35:13 +00:00
Reinhard Max
5224d7ae28 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=73 2022-09-23 16:03:25 +00:00
Reinhard Max
9aed76975f - Sync spec file with postgresql15.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=72
2022-09-23 14:12:50 +00:00
Reinhard Max
9805c47fe5 - Add generic mechanism to pin to latest supported LLVM version.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=71
2022-09-23 12:44:56 +00:00
Reinhard Max
bf8c3b5bee Accepting request 1003030 from openSUSE:Factory:RISCV
- Disable LLVM JIT on riscv64

OBS-URL: https://build.opensuse.org/request/show/1003030
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=70
2022-09-13 11:52:41 +00:00
Reinhard Max
8bb87708c2 - - Update to 12.12:
* bsc#1202368, CVE-2022-2625: Extension scripts replace objects
    not belonging to the extension.
  * https://www.postgresql.org/docs/release/12.12/

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=68
2022-08-15 09:56:25 +00:00
Reinhard Max
bd272e6ae4 - Update to 12.11:
* bsc#1199475, CVE-2022-1552: Confine additional operations
    within "security restricted operation" sandboxes.
  * https://www.postgresql.org/docs/12/release-12-11.html
  * https://www.postgresql.org/docs/12/release-12-9.html

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=66
2022-05-12 14:52:46 +00:00
Reinhard Max
897680f1c8 - bsc#1198166: Pin to llvm13 until the next patchlevel update.
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=64
2022-04-13 12:22:11 +00:00
Reinhard Max
132983986f - bsc#1195680: Upgrade to 12.10:
* https://www.postgresql.org/docs/12/release-12-10.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/postgresql12?expand=0&rev=63
2022-02-10 15:27:35 +00:00
Reinhard Max
98305df086 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=62 2021-12-02 13:44:40 +00:00
Reinhard Max
5c98a5fbfa OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=61 2021-11-30 19:04:11 +00:00
Reinhard Max
f45f54fc58 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=60 2021-11-30 17:13:25 +00:00
Reinhard Max
b438339ef4 - 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/postgresql12?expand=0&rev=59
2021-11-30 16:50:45 +00:00
Reinhard Max
34f0cffed2 - bsc#1192516: Upgrade to version 12.9:
* 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/12/release-12-0.html

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=58
2021-11-11 14:44:37 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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