unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#46484] [PATCH 0/4] Update postgresql packages.
@ 2021-02-13  7:53 Léo Le Bouter via Guix-patches via
  2021-02-13  7:56 ` [bug#46484] [PATCH 1/4] gnu: postgresql-13: Update to 13.2 Léo Le Bouter via Guix-patches via
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Léo Le Bouter via Guix-patches via @ 2021-02-13  7:53 UTC (permalink / raw)
  To: 46484; +Cc: Léo Le Bouter

https://www.postgresql.org/about/news/postgresql-132-126-1111-1016-9621-and-9525-released-2165/

They all build successfully.

Léo Le Bouter (4):
  gnu: postgresql-13: Update to 13.2.
  gnu: postgresql-11: Update to 11.11.
  gnu: postgresql-10: Update to 10.16.
  gnu: postgresql-9.6: Update to 9.6.21.

 gnu/packages/databases.scm | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

-- 
2.30.1





^ permalink raw reply	[flat|nested] 11+ messages in thread

* [bug#46484] [PATCH 1/4] gnu: postgresql-13: Update to 13.2.
  2021-02-13  7:53 [bug#46484] [PATCH 0/4] Update postgresql packages Léo Le Bouter via Guix-patches via
@ 2021-02-13  7:56 ` Léo Le Bouter via Guix-patches via
  2021-02-13  7:56   ` [bug#46484] [PATCH 2/4] gnu: postgresql-11: Update to 11.11 Léo Le Bouter via Guix-patches via
                     ` (2 more replies)
  2021-02-13 18:27 ` [bug#46484] [PATCH 0/4] Update postgresql packages Leo Famulari
  2021-02-14 21:09 ` [bug#46484] [PATCH] gnu: postgresql-13: Update to 13.2 [security fixes] Léo Le Bouter via Guix-patches via
  2 siblings, 3 replies; 11+ messages in thread
From: Léo Le Bouter via Guix-patches via @ 2021-02-13  7:56 UTC (permalink / raw)
  To: 46484; +Cc: Léo Le Bouter

* gnu/packages/databases.scm (postgresql-13): Update to 13.2.
---
 gnu/packages/databases.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index e0577f1567..2f4de2c902 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1194,14 +1194,14 @@ developed in C/C++ to MariaDB and MySQL databases.")
 (define-public postgresql-13
   (package
     (name "postgresql")
-    (version "13.1")
+    (version "13.2")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://ftp.postgresql.org/pub/source/v"
                                   version "/postgresql-" version ".tar.bz2"))
               (sha256
                (base32
-                "07z6zwr58dckaa97yl9ml240z83d1lhgaxw9aq49i8lsp21mqd0j"))
+                "1z5d847jnajcfr3wa6jn52a8xjhamvwzmz18xlm5nvxqip8grmsz"))
               (patches (search-patches "postgresql-disable-resolve_symlinks.patch"))))
     (build-system gnu-build-system)
     (arguments
-- 
2.30.1





^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [bug#46484] [PATCH 2/4] gnu: postgresql-11: Update to 11.11.
  2021-02-13  7:56 ` [bug#46484] [PATCH 1/4] gnu: postgresql-13: Update to 13.2 Léo Le Bouter via Guix-patches via
@ 2021-02-13  7:56   ` Léo Le Bouter via Guix-patches via
  2021-02-13  7:56   ` [bug#46484] [PATCH 3/4] gnu: postgresql-10: Update to 10.16 Léo Le Bouter via Guix-patches via
  2021-02-13  7:56   ` [bug#46484] [PATCH 4/4] gnu: postgresql-9.6: Update to 9.6.21 Léo Le Bouter via Guix-patches via
  2 siblings, 0 replies; 11+ messages in thread
From: Léo Le Bouter via Guix-patches via @ 2021-02-13  7:56 UTC (permalink / raw)
  To: 46484; +Cc: Léo Le Bouter

* gnu/packages/databases.scm (postgresql-11): Update to 11.11.
---
 gnu/packages/databases.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 2f4de2c902..0234d9879c 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1246,14 +1246,14 @@ pictures, sounds, or video.")
   (package
     (inherit postgresql-13)
     (name "postgresql")
-    (version "11.6")
+    (version "11.11")
     (source (origin
               (inherit (package-source postgresql-13))
               (uri (string-append "https://ftp.postgresql.org/pub/source/v"
                                   version "/postgresql-" version ".tar.bz2"))
               (sha256
                (base32
-                "0w1iq488kpzfgfnlw4k32lz5by695mpnkq461jrgsr99z5zlz4j9"))))))
+                "0v0qk298nxmpzpgsxcsxma328hdkyzd7fwjs0zsn6zavl5zpnq20"))))))
 
 (define-public postgresql-10
   (package
-- 
2.30.1





^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [bug#46484] [PATCH 3/4] gnu: postgresql-10: Update to 10.16.
  2021-02-13  7:56 ` [bug#46484] [PATCH 1/4] gnu: postgresql-13: Update to 13.2 Léo Le Bouter via Guix-patches via
  2021-02-13  7:56   ` [bug#46484] [PATCH 2/4] gnu: postgresql-11: Update to 11.11 Léo Le Bouter via Guix-patches via
@ 2021-02-13  7:56   ` Léo Le Bouter via Guix-patches via
  2021-02-13  7:56   ` [bug#46484] [PATCH 4/4] gnu: postgresql-9.6: Update to 9.6.21 Léo Le Bouter via Guix-patches via
  2 siblings, 0 replies; 11+ messages in thread
From: Léo Le Bouter via Guix-patches via @ 2021-02-13  7:56 UTC (permalink / raw)
  To: 46484; +Cc: Léo Le Bouter

* gnu/packages/databases.scm (postgresql-10): Update to 10.16.
---
 gnu/packages/databases.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 0234d9879c..d2ddf3dfea 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1258,14 +1258,14 @@ pictures, sounds, or video.")
 (define-public postgresql-10
   (package
     (inherit postgresql-11)
-    (version "10.13")
+    (version "10.16")
     (source (origin
               (inherit (package-source postgresql-11))
               (uri (string-append "https://ftp.postgresql.org/pub/source/v"
                                   version "/postgresql-" version ".tar.bz2"))
               (sha256
                (base32
-                "1qal0yp7a90yzya7hl56gsmw5fvacplrdhpn7h9gnbyr1i2iyw2d"))))))
+                "1cvv8qw0gkkczqhiwx6ns7w88dwkvdz4cvb2d4ff14363f5p2p53"))))))
 
 (define-public postgresql-9.6
   (package
-- 
2.30.1





^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [bug#46484] [PATCH 4/4] gnu: postgresql-9.6: Update to 9.6.21.
  2021-02-13  7:56 ` [bug#46484] [PATCH 1/4] gnu: postgresql-13: Update to 13.2 Léo Le Bouter via Guix-patches via
  2021-02-13  7:56   ` [bug#46484] [PATCH 2/4] gnu: postgresql-11: Update to 11.11 Léo Le Bouter via Guix-patches via
  2021-02-13  7:56   ` [bug#46484] [PATCH 3/4] gnu: postgresql-10: Update to 10.16 Léo Le Bouter via Guix-patches via
@ 2021-02-13  7:56   ` Léo Le Bouter via Guix-patches via
  2 siblings, 0 replies; 11+ messages in thread
From: Léo Le Bouter via Guix-patches via @ 2021-02-13  7:56 UTC (permalink / raw)
  To: 46484; +Cc: Léo Le Bouter

* gnu/packages/databases.scm (postgresql-9.6): Update to 9.6.21.
---
 gnu/packages/databases.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index d2ddf3dfea..1b4d532ad1 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1270,14 +1270,14 @@ pictures, sounds, or video.")
 (define-public postgresql-9.6
   (package
     (inherit postgresql-10)
-    (version "9.6.16")
+    (version "9.6.21")
     (source (origin
               (inherit (package-source postgresql-10))
               (uri (string-append "https://ftp.postgresql.org/pub/source/v"
                                   version "/postgresql-" version ".tar.bz2"))
               (sha256
                (base32
-                "1rr2dgv4ams8r2lp13w85c77rkmzpb88fjlc28mvlw6zq2fblv2w"))))))
+                "0d0ngpadf1i7c0i2psaxcbmiwx8334ibcsn283n9fp4853pyl3wk"))))))
 
 (define-public postgresql postgresql-13)
 
-- 
2.30.1





^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [bug#46484] [PATCH 0/4] Update postgresql packages.
  2021-02-13  7:53 [bug#46484] [PATCH 0/4] Update postgresql packages Léo Le Bouter via Guix-patches via
  2021-02-13  7:56 ` [bug#46484] [PATCH 1/4] gnu: postgresql-13: Update to 13.2 Léo Le Bouter via Guix-patches via
@ 2021-02-13 18:27 ` Leo Famulari
  2021-02-14 14:10   ` Léo Le Bouter via Guix-patches via
  2021-02-14 21:09 ` [bug#46484] [PATCH] gnu: postgresql-13: Update to 13.2 [security fixes] Léo Le Bouter via Guix-patches via
  2 siblings, 1 reply; 11+ messages in thread
From: Leo Famulari @ 2021-02-13 18:27 UTC (permalink / raw)
  To: 46484; +Cc: lle-bout

On Sat, Feb 13, 2021 at 08:53:10AM +0100, Léo Le Bouter via Guix-patches via wrote:
> https://www.postgresql.org/about/news/postgresql-132-126-1111-1016-9621-and-9525-released-2165/
> 
> They all build successfully.

Thanks!

There are some system tests that exercise postgres, both postgresql-10
and postgresql. Can you make sure they (or some of them) still pass?

Maybe something like this:

`make check-system TESTS="postgresql zabbix guix-data-service cuirass"

If you aren't sure which tests to try, grep in 'gnu/tests' for
"postgres" and poke around.

And let us know if you don't have the computing resources to run them.
I can test the patches on the build farm in that case.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [bug#46484] [PATCH 0/4] Update postgresql packages.
  2021-02-13 18:27 ` [bug#46484] [PATCH 0/4] Update postgresql packages Leo Famulari
@ 2021-02-14 14:10   ` Léo Le Bouter via Guix-patches via
  2021-02-14 18:59     ` Leo Famulari
  0 siblings, 1 reply; 11+ messages in thread
From: Léo Le Bouter via Guix-patches via @ 2021-02-14 14:10 UTC (permalink / raw)
  To: leo, 46484

[-- Attachment #1: Type: text/plain, Size: 800 bytes --]

> Can you make sure they (or some of them) still pass?

I ran this:

$ TESTS="postgresql zabbix guix-data-service" ./pre-inst-env guix build
-m etc/system-tests.scm 

And it did complete successfully!

/gnu/store/fz735r2c6rxdfjc214zvjayqin4i9aa4-postgresql-test
/gnu/store/h1pjyfp0bcfsswqcr4dvgsfzmj02p378-guix-data-service-test
/gnu/store/5xpdc8gmj5cbglm6dblasrl61m4w1xvz-zabbix-test

However, cuirass test did not work with an unrelated error:

$ TESTS="cuirass" ./pre-inst-env guix build -m etc/system-tests.scm 
guix build: warning: failed to load '(gnu tests cuirass)':
In procedure abi-check: #<record-type <cuirass-remote-worker-
configuration>>: record ABI mismatch; recompilation needed
Selected 0 system tests...

Does that sound good to you for the package upgrades?

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [bug#46484] [PATCH 0/4] Update postgresql packages.
  2021-02-14 14:10   ` Léo Le Bouter via Guix-patches via
@ 2021-02-14 18:59     ` Leo Famulari
  2021-02-14 20:00       ` bug#46484: " Leo Famulari
  0 siblings, 1 reply; 11+ messages in thread
From: Leo Famulari @ 2021-02-14 18:59 UTC (permalink / raw)
  To: Léo Le Bouter; +Cc: 46484

On Sun, Feb 14, 2021 at 03:10:11PM +0100, Léo Le Bouter wrote:
> > Can you make sure they (or some of them) still pass?
> 
> I ran this:
> 
> $ TESTS="postgresql zabbix guix-data-service" ./pre-inst-env guix build
> -m etc/system-tests.scm 
> 
> And it did complete successfully!
> 
> /gnu/store/fz735r2c6rxdfjc214zvjayqin4i9aa4-postgresql-test
> /gnu/store/h1pjyfp0bcfsswqcr4dvgsfzmj02p378-guix-data-service-test
> /gnu/store/5xpdc8gmj5cbglm6dblasrl61m4w1xvz-zabbix-test
> 
> However, cuirass test did not work with an unrelated error:
> 
> $ TESTS="cuirass" ./pre-inst-env guix build -m etc/system-tests.scm 
> guix build: warning: failed to load '(gnu tests cuirass)':
> In procedure abi-check: #<record-type <cuirass-remote-worker-
> configuration>>: record ABI mismatch; recompilation needed
> Selected 0 system tests...

Usually this means you should do `make clean-go && make`, to delete the
compiled Guile objects and rebuild everything with the new ABI.

I'll try it on a powerful server and report back shortly.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#46484: [PATCH 0/4] Update postgresql packages.
  2021-02-14 18:59     ` Leo Famulari
@ 2021-02-14 20:00       ` Leo Famulari
  0 siblings, 0 replies; 11+ messages in thread
From: Leo Famulari @ 2021-02-14 20:00 UTC (permalink / raw)
  To: Léo Le Bouter; +Cc: 46484-done, Léo Le Bouter via Guix-patches via

On Sun, Feb 14, 2021 at 01:59:03PM -0500, Leo Famulari wrote:
> I'll try it on a powerful server and report back shortly.

Success!

I pushed the update of postgresql-13 to staging and the rest to the
master branch as 6941dbf958a2294e0a058af3498df9c46a6a1e50

The guidelines about which branch to push changes to are in the
Submitting Patches section of the manual:

https://guix.gnu.org/manual/devel/en/html_node/Submitting-Patches.html

Postgresql 13 qualifies for the staging branch:

$ guix refresh -l postgresql@13
Building the following 625 packages would ensure 1160 dependent packages are rebuilt: [...]




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [bug#46484] [PATCH] gnu: postgresql-13: Update to 13.2 [security fixes].
  2021-02-13  7:53 [bug#46484] [PATCH 0/4] Update postgresql packages Léo Le Bouter via Guix-patches via
  2021-02-13  7:56 ` [bug#46484] [PATCH 1/4] gnu: postgresql-13: Update to 13.2 Léo Le Bouter via Guix-patches via
  2021-02-13 18:27 ` [bug#46484] [PATCH 0/4] Update postgresql packages Leo Famulari
@ 2021-02-14 21:09 ` Léo Le Bouter via Guix-patches via
  2021-02-14 21:16   ` bug#46484: " Leo Famulari
  2 siblings, 1 reply; 11+ messages in thread
From: Léo Le Bouter via Guix-patches via @ 2021-02-14 21:09 UTC (permalink / raw)
  To: 46484; +Cc: Léo Le Bouter, Leo Famulari

Fixes CVE-2021-3393 and CVE-2021-20229.

* gnu/packages/databases.scm (postgresql-13.2): New variable.
(postgresql-13)[replacement]: New field.

Signed-off-by: Leo Famulari <leo@famulari.name>
---
 gnu/packages/databases.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 9e7e11b380..604b6ad7d6 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1203,6 +1203,7 @@ developed in C/C++ to MariaDB and MySQL databases.")
                (base32
                 "07z6zwr58dckaa97yl9ml240z83d1lhgaxw9aq49i8lsp21mqd0j"))
               (patches (search-patches "postgresql-disable-resolve_symlinks.patch"))))
+    (replacement postgresql-13.2)
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags '("--with-uuid=e2fs" "--with-openssl"
@@ -1242,6 +1243,20 @@ TIMESTAMP.  It also supports storage of binary large objects, including
 pictures, sounds, or video.")
     (license (license:x11-style "file://COPYRIGHT"))))
 
+(define-public postgresql-13.2
+  (package
+    (inherit postgresql-13)
+    (name "postgresql")
+    (version "13.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://ftp.postgresql.org/pub/source/v"
+                                  version "/postgresql-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "1z5d847jnajcfr3wa6jn52a8xjhamvwzmz18xlm5nvxqip8grmsz"))
+              (patches (search-patches "postgresql-disable-resolve_symlinks.patch"))))))
+
 (define-public postgresql-11
   (package
     (inherit postgresql-13)
-- 
2.30.1





^ permalink raw reply related	[flat|nested] 11+ messages in thread

* bug#46484: [PATCH] gnu: postgresql-13: Update to 13.2 [security fixes].
  2021-02-14 21:09 ` [bug#46484] [PATCH] gnu: postgresql-13: Update to 13.2 [security fixes] Léo Le Bouter via Guix-patches via
@ 2021-02-14 21:16   ` Leo Famulari
  0 siblings, 0 replies; 11+ messages in thread
From: Leo Famulari @ 2021-02-14 21:16 UTC (permalink / raw)
  To: Léo Le Bouter; +Cc: 46484-done

On Sun, Feb 14, 2021 at 10:09:13PM +0100, Léo Le Bouter wrote:
> Fixes CVE-2021-3393 and CVE-2021-20229.
> 
> * gnu/packages/databases.scm (postgresql-13.2): New variable.
> (postgresql-13)[replacement]: New field.
> 
> Signed-off-by: Leo Famulari <leo@famulari.name>

Thanks! Pushed as 392e230d5e63fe0f5d7aa9b5085516250630d879




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-02-14 21:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-13  7:53 [bug#46484] [PATCH 0/4] Update postgresql packages Léo Le Bouter via Guix-patches via
2021-02-13  7:56 ` [bug#46484] [PATCH 1/4] gnu: postgresql-13: Update to 13.2 Léo Le Bouter via Guix-patches via
2021-02-13  7:56   ` [bug#46484] [PATCH 2/4] gnu: postgresql-11: Update to 11.11 Léo Le Bouter via Guix-patches via
2021-02-13  7:56   ` [bug#46484] [PATCH 3/4] gnu: postgresql-10: Update to 10.16 Léo Le Bouter via Guix-patches via
2021-02-13  7:56   ` [bug#46484] [PATCH 4/4] gnu: postgresql-9.6: Update to 9.6.21 Léo Le Bouter via Guix-patches via
2021-02-13 18:27 ` [bug#46484] [PATCH 0/4] Update postgresql packages Leo Famulari
2021-02-14 14:10   ` Léo Le Bouter via Guix-patches via
2021-02-14 18:59     ` Leo Famulari
2021-02-14 20:00       ` bug#46484: " Leo Famulari
2021-02-14 21:09 ` [bug#46484] [PATCH] gnu: postgresql-13: Update to 13.2 [security fixes] Léo Le Bouter via Guix-patches via
2021-02-14 21:16   ` bug#46484: " Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).