From patchwork Sun Feb 14 21:09:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?L=C3=A9o_Le_Bouter?= X-Patchwork-Id: 27059 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BCB7C27BC45; Sun, 14 Feb 2021 21:10:34 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1CDD727BC2E for ; Sun, 14 Feb 2021 21:10:34 +0000 (GMT) Received: from localhost ([::1]:46008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBOf3-000327-B5 for patchwork@mira.cbaines.net; Sun, 14 Feb 2021 16:10:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBOeY-00031N-BR for guix-patches@gnu.org; Sun, 14 Feb 2021 16:10:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lBOeY-0003xD-3Z for guix-patches@gnu.org; Sun, 14 Feb 2021 16:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lBOeX-0007Me-TI for guix-patches@gnu.org; Sun, 14 Feb 2021 16:10:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46484] [PATCH] gnu: postgresql-13: Update to 13.2 [security fixes]. References: <20210213075314.12511-1-lle-bout@zaclys.net> In-Reply-To: <20210213075314.12511-1-lle-bout@zaclys.net> Resent-From: =?utf-8?q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Feb 2021 21:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46484 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46484@debbugs.gnu.org Cc: =?utf-8?q?L=C3=A9o?= Le Bouter , Leo Famulari Received: via spool by 46484-submit@debbugs.gnu.org id=B46484.161333698228267 (code B ref 46484); Sun, 14 Feb 2021 21:10:01 +0000 Received: (at 46484) by debbugs.gnu.org; 14 Feb 2021 21:09:42 +0000 Received: from localhost ([127.0.0.1]:36869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBOeD-0007Lr-Ox for submit@debbugs.gnu.org; Sun, 14 Feb 2021 16:09:42 -0500 Received: from mail.zaclys.net ([178.33.93.72]:53959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBOeC-0007Lc-8W for 46484@debbugs.gnu.org; Sun, 14 Feb 2021 16:09:41 -0500 Received: from localhost.localdomain (82-64-145-38.subs.proxad.net [82.64.145.38]) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 11EL9SeM057188 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sun, 14 Feb 2021 22:09:34 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 11EL9SeM057188 Authentication-Results: mail.zaclys.net; dmarc=fail (p=reject dis=none) header.from=zaclys.net Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1613336974; bh=BXLvfdBxyBzG02djyYrVn1RBa8Ln1+fFctfmHGusWl8=; h=From:To:Cc:Subject:Date:From; b=hkZHnPfCNK0/ZhVyKC38QADxoI99vKPEgNRbr5GFfCpChZr1Jljrqah9mPJwlJjPr CfQi9CzIxesOCqrRykWjWfl5ucF2emAiCe3hQD2jzMPBG4dkt4GvmPW0vqyHnMSXQy czM8o69TpTzNJ45aaXrQK5YLW8pe/pAO0UxCUM48= Date: Sun, 14 Feb 2021 22:09:13 +0100 Message-Id: <20210214210913.18688-1-lle-bout@zaclys.net> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: =?utf-8?q?L=C3=A9o?= Le Bouter X-ACL-Warn: , =?utf-8?q?L=C3=A9o?= Le Bouter via Guix-patches X-Patchwork-Original-From: =?utf-8?q?L=C3=A9o?= Le Bouter via Guix-patches via From: =?utf-8?q?L=C3=A9o_Le_Bouter?= X-getmail-retrieved-from-mailbox: Patches 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 --- 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)