forked from pool/postgresql12
- 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
This commit is contained in:
parent
b95779b302
commit
fa961be7d5
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:94ed64a6179048190695c86ec707cc25d016056ce10fc9d229267d9a8f1dcf41
|
||||
size 20439892
|
@ -1 +0,0 @@
|
||||
94ed64a6179048190695c86ec707cc25d016056ce10fc9d229267d9a8f1dcf41 postgresql-12.3.tar.bz2
|
3
postgresql-12.4.tar.bz2
Normal file
3
postgresql-12.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bee93fbe2c32f59419cb162bcc0145c58da9a8644ee154a30b9a5ce47de606cc
|
||||
size 20669776
|
1
postgresql-12.4.tar.bz2.sha256
Normal file
1
postgresql-12.4.tar.bz2.sha256
Normal file
@ -0,0 +1 @@
|
||||
bee93fbe2c32f59419cb162bcc0145c58da9a8644ee154a30b9a5ce47de606cc postgresql-12.4.tar.bz2
|
@ -1,70 +0,0 @@
|
||||
Index: src/test/regress/expected/horology.out
|
||||
===================================================================
|
||||
--- src/test/regress/expected/horology.out.orig
|
||||
+++ src/test/regress/expected/horology.out
|
||||
@@ -652,26 +652,26 @@ SELECT (timestamp with time zone 'tomorr
|
||||
(1 row)
|
||||
|
||||
-- timestamp with time zone, interval arithmetic around DST change
|
||||
-SET TIME ZONE 'CST7CDT';
|
||||
-SELECT timestamp with time zone '2005-04-02 12:00-07' + interval '1 day' as "Apr 3, 12:00";
|
||||
+SET TIME ZONE 'CST6CDT';
|
||||
+SELECT timestamp with time zone '2005-04-02 12:00-06' + interval '1 day' as "Apr 3, 12:00";
|
||||
Apr 3, 12:00
|
||||
------------------------------
|
||||
Sun Apr 03 12:00:00 2005 CDT
|
||||
(1 row)
|
||||
|
||||
-SELECT timestamp with time zone '2005-04-02 12:00-07' + interval '24 hours' as "Apr 3, 13:00";
|
||||
+SELECT timestamp with time zone '2005-04-02 12:00-06' + interval '24 hours' as "Apr 3, 13:00";
|
||||
Apr 3, 13:00
|
||||
------------------------------
|
||||
Sun Apr 03 13:00:00 2005 CDT
|
||||
(1 row)
|
||||
|
||||
-SELECT timestamp with time zone '2005-04-03 12:00-06' - interval '1 day' as "Apr 2, 12:00";
|
||||
+SELECT timestamp with time zone '2005-04-03 12:00-05' - interval '1 day' as "Apr 2, 12:00";
|
||||
Apr 2, 12:00
|
||||
------------------------------
|
||||
Sat Apr 02 12:00:00 2005 CST
|
||||
(1 row)
|
||||
|
||||
-SELECT timestamp with time zone '2005-04-03 12:00-06' - interval '24 hours' as "Apr 2, 11:00";
|
||||
+SELECT timestamp with time zone '2005-04-03 12:00-05' - interval '24 hours' as "Apr 2, 11:00";
|
||||
Apr 2, 11:00
|
||||
------------------------------
|
||||
Sat Apr 02 11:00:00 2005 CST
|
||||
Index: src/test/regress/pg_regress.c
|
||||
===================================================================
|
||||
--- src/test/regress/pg_regress.c.orig
|
||||
+++ src/test/regress/pg_regress.c
|
||||
@@ -64,7 +64,7 @@ static char *shellprog = SHELLPROG;
|
||||
*/
|
||||
#ifndef WIN32
|
||||
const char *basic_diff_opts = "";
|
||||
-const char *pretty_diff_opts = "-U3";
|
||||
+const char *pretty_diff_opts = "-U5";
|
||||
#else
|
||||
const char *basic_diff_opts = "-w";
|
||||
const char *pretty_diff_opts = "-w -U3";
|
||||
Index: src/test/regress/sql/horology.sql
|
||||
===================================================================
|
||||
--- src/test/regress/sql/horology.sql.orig
|
||||
+++ src/test/regress/sql/horology.sql
|
||||
@@ -122,11 +122,11 @@ SELECT (timestamp with time zone 'tomorr
|
||||
SELECT (timestamp with time zone 'tomorrow' > 'now') as "True";
|
||||
|
||||
-- timestamp with time zone, interval arithmetic around DST change
|
||||
-SET TIME ZONE 'CST7CDT';
|
||||
-SELECT timestamp with time zone '2005-04-02 12:00-07' + interval '1 day' as "Apr 3, 12:00";
|
||||
-SELECT timestamp with time zone '2005-04-02 12:00-07' + interval '24 hours' as "Apr 3, 13:00";
|
||||
-SELECT timestamp with time zone '2005-04-03 12:00-06' - interval '1 day' as "Apr 2, 12:00";
|
||||
-SELECT timestamp with time zone '2005-04-03 12:00-06' - interval '24 hours' as "Apr 2, 11:00";
|
||||
+SET TIME ZONE 'CST6CDT';
|
||||
+SELECT timestamp with time zone '2005-04-02 12:00-06' + interval '1 day' as "Apr 3, 12:00";
|
||||
+SELECT timestamp with time zone '2005-04-02 12:00-06' + interval '24 hours' as "Apr 3, 13:00";
|
||||
+SELECT timestamp with time zone '2005-04-03 12:00-05' - interval '1 day' as "Apr 2, 12:00";
|
||||
+SELECT timestamp with time zone '2005-04-03 12:00-05' - interval '24 hours' as "Apr 2, 11:00";
|
||||
RESET TIME ZONE;
|
||||
|
||||
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 12:01:34 UTC 2020 - Reinhard Max <max@suse.com>
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 16 12:21:43 UTC 2020 - Reinhard Max <max@suse.com>
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define pgversion 12.3
|
||||
%define pgversion 12.4
|
||||
%define pgmajor 12
|
||||
%define pgsuffix %pgmajor
|
||||
%define buildlibs 1
|
||||
@ -136,7 +136,6 @@ Source2: baselibs.conf
|
||||
Source3: postgresql-README.SUSE
|
||||
Source17: postgresql-rpmlintrc
|
||||
Patch1: postgresql-conf.patch
|
||||
Patch2: postgresql-regress.patch
|
||||
# PL/Perl needs to be linked with rpath (bsc#578053)
|
||||
Patch4: postgresql-plperl-keep-rpath.patch
|
||||
Patch6: postgresql-testsuite-int8.sql.patch
|
||||
@ -445,7 +444,6 @@ included in the postgresql-server package.
|
||||
# confuse PostgreSQL's build system
|
||||
touch -r configure tmp
|
||||
%patch1
|
||||
%patch2
|
||||
%patch4
|
||||
%patch6
|
||||
%patch8 -p1
|
||||
@ -842,7 +840,6 @@ fi
|
||||
%pgdocdir/extension
|
||||
%dir %pgdatadir
|
||||
%dir %pgcontribdir
|
||||
/usr/lib/postgresql
|
||||
|
||||
%files server -f server.files
|
||||
%defattr(-,root,root)
|
||||
@ -857,7 +854,6 @@ fi
|
||||
%pgdatadir/tsearch_data
|
||||
%exclude %pgdatadir/tsearch_data/*.rules
|
||||
%dir %pgdatadir
|
||||
/usr/lib/postgresql
|
||||
%pgdatadir/timezone*
|
||||
%pgdatadir/*.*
|
||||
%if %buildlibs
|
||||
@ -877,6 +873,7 @@ fi
|
||||
|
||||
%if %{with llvm}
|
||||
%files llvmjit
|
||||
%defattr(-,root,root)
|
||||
%pglibdir/llvm*
|
||||
%pglibdir/bitcode/*
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user