gnu: postgresql: Remove graft for 10.8.

* gnu/packages/databases.scm (postgresql): Update to 10.8.
[replacement]: Remove.
(postgresql-10.8): Remove variable.
This commit is contained in:
Marius Bakke 2019-05-24 22:48:59 +02:00
parent ddb4062784
commit 224d2e2efd
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 2 additions and 19 deletions

View File

@ -800,15 +800,14 @@ as a drop-in replacement of MySQL.")
(define-public postgresql (define-public postgresql
(package (package
(name "postgresql") (name "postgresql")
(version "10.7") (version "10.8")
(replacement postgresql-10.8)
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://ftp.postgresql.org/pub/source/v" (uri (string-append "https://ftp.postgresql.org/pub/source/v"
version "/postgresql-" version ".tar.bz2")) version "/postgresql-" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"1piyfcrcqscjhnnwn91kdvr764s7d0qz4lgygf9bl6qc71ji1vdz")) "0pfdmy4w95b49w9rkn8dwvzmi2brpqfvbxd04y0k0s0xvymc565i"))
(patches (search-patches "postgresql-disable-resolve_symlinks.patch")))) (patches (search-patches "postgresql-disable-resolve_symlinks.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
@ -844,22 +843,6 @@ TIMESTAMP. It also supports storage of binary large objects, including
pictures, sounds, or video.") pictures, sounds, or video.")
(license (license:x11-style "file://COPYRIGHT")))) (license (license:x11-style "file://COPYRIGHT"))))
;; This release fixes CVE-2019-10129 and CVE-2019-10130. See
;; <https://www.postgresql.org/about/news/1939/> for details.
;; TODO: Remove this in the next rebuild cycle.
(define-public postgresql-10.8
(package
(inherit postgresql)
(version "10.8")
(source (origin
(method url-fetch)
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
version "/postgresql-" version ".tar.bz2"))
(sha256
(base32
"0pfdmy4w95b49w9rkn8dwvzmi2brpqfvbxd04y0k0s0xvymc565i"))
(patches (search-patches "postgresql-disable-resolve_symlinks.patch"))))))
(define-public postgresql-9.6 (define-public postgresql-9.6
(package (package
(inherit postgresql) (inherit postgresql)