gnu: postgresql: Update to 13.2 [security fixes].

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>
This commit is contained in:
Léo Le Bouter 2021-02-14 22:09:13 +01:00 committed by Leo Famulari
parent 79a641a8c5
commit 392e230d5e
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -1194,6 +1194,7 @@ (define-public mariadb-connector-c
(define-public postgresql-13
(package
(name "postgresql")
(replacement postgresql-13.2)
(version "13.1")
(source (origin
(method url-fetch)
@ -1242,6 +1243,20 @@ (define-public postgresql-13
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)