From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CDafCaSDE2foIwEAqHPOHw:P1 (envelope-from ) for ; Sat, 19 Oct 2024 10:02:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CDafCaSDE2foIwEAqHPOHw (envelope-from ) for ; Sat, 19 Oct 2024 12:02:12 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=H7MXS05q; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=hOEVYQzx; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729332132; a=rsa-sha256; cv=none; b=K8LJlbtusS5KiW+f4/R3/WLmx25eQ1UFHSdcnMTMqJw8vuhbbbso9A9Vu7ohqlDDAU4p47 +FveCvMnCLO3r6Tcvy3wvFuW2DAx0ZSNOGoQP5IW2fxjMZaWnp9p4wo1J3zFj3S1LWE/UW Qm1c36T+Vgwd3KmgWH8U8+eBgvD65/POhR7WqKWaZubhC48s/c7CyQ8pZOOHka5Vz26GYq keT7n7qONEnHOTNy0aGcE4lxD7yB1Nzb0v/l2Wv0UUzMlBFuRblYPBJ0+RRpOa9h4UdlTo i033RNjJSX4PXDg59RkYGf3SOFc3oJVn0WWdpngCjnBQdJjMOc4DWB1MHENQvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=H7MXS05q; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=hOEVYQzx; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729332132; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8MoWQFjzzlohnA0O91kPNdRNGvRMmKhJicKFMIaYa1Q=; b=oA1LYJ6NxD6Lk0x0uOazNgJD+8D9D4mVpjNHtXIUdUi+kPvPacriLgzFlaSkKPhG9LLwtl 8Qbm5vLYeusXY9E9TrcvDJ6RhG5OaJPYGCInobPUojXoi2Uraj37I3bFl5B1SCjQBVihhb xHbWDmwg7lgo2VsjCFIlLyMpDQ9A2TGUpeIuJtCCBfMhsddkneQJswi/oXvvD62NoAPWTs MzcZ3H69U5YOhhHwzxCOaIQtOAf9LMXTbGFceF/+Xgc+TvIm0eMma4B6eVJEVZpRn7gIfe Zc1aJ+rk0wvwFf0WWLAqD6ElXsFPpv1iNLIa5Y3/JwaJbT04B6/rDpnG16EhfQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E8D2853AE for ; Sat, 19 Oct 2024 12:02:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t26HO-0002X4-P7; Sat, 19 Oct 2024 06:01:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t26HC-0002WG-Sz for guix-patches@gnu.org; Sat, 19 Oct 2024 06:01:41 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t26HC-00079k-L5 for guix-patches@gnu.org; Sat, 19 Oct 2024 06:01:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=8MoWQFjzzlohnA0O91kPNdRNGvRMmKhJicKFMIaYa1Q=; b=H7MXS05q4JZkqkROYr+4AfxaaeEsTCHx2Jp3QqNMmPYnVVKLKm671ZLwwvQojVZAz/ig5HKITFdgtUmnd7GrlFKVx0iGADMs/24gAxOMlSLkrC8ylIxg95x+SPAg6xin/yCdI9XFluNnXogPx9GWLtk1c6YhWtgU1y/3Z+T6pfX/PsYOMsql3p33YpYzl7y3OEbXSeUWctanQ1328WRXD43xrQdnCA6FABzRjZST5Cs1ca/k93jAat/tKrCSIJ0owD6Bemp+UQFzrWdl5sLZpwgKbfTX7LpxHsKDrX1ABrH2zc5hheAPScrHnMkqH3LB/LlfwItyDV6wtEftPsXfXg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t26Ha-0006wy-3Z for guix-patches@gnu.org; Sat, 19 Oct 2024 06:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73692] [PATCH v6 1/2] gnu: timescaledb: Update to 2.16.1. [security fixes] References: <20241008062619.24136-1-ngraves@ngraves.fr> In-Reply-To: <20241008062619.24136-1-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Oct 2024 10:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73692 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73692@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 73692-submit@debbugs.gnu.org id=B73692.172933208026639 (code B ref 73692); Sat, 19 Oct 2024 10:02:02 +0000 Received: (at 73692) by debbugs.gnu.org; 19 Oct 2024 10:01:20 +0000 Received: from localhost ([127.0.0.1]:41510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t26Gt-0006vZ-JZ for submit@debbugs.gnu.org; Sat, 19 Oct 2024 06:01:19 -0400 Received: from 8.mo576.mail-out.ovh.net ([46.105.56.233]:49163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t26Gp-0006vO-CD for 73692@debbugs.gnu.org; Sat, 19 Oct 2024 06:01:18 -0400 Received: from director8.ghost.mail-out.ovh.net (unknown [10.109.176.198]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4XVxsY57D2z1qd7 for <73692@debbugs.gnu.org>; Sat, 19 Oct 2024 10:00:49 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-jsn42 (unknown [10.110.164.45]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id AF3CB1FE71; Sat, 19 Oct 2024 10:00:48 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-5b5ff79f4f-jsn42 with ESMTPSA id uxCdDlCDE2eZfQAAnWFO2Q (envelope-from ); Sat, 19 Oct 2024 10:00:48 +0000 X-OVh-ClientIp: 90.110.172.34 Date: Sat, 19 Oct 2024 12:00:39 +0200 Message-ID: <20241019100044.32070-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 9462344295325098722 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehhedgvdegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeffgeetfffgffejgeejvdffgfdtvdeuueetgfefuedvjeegvdegjeejveeuueevnecukfhppeduvdejrddtrddtrddupdeltddruddutddrudejvddrfeegpdefjedrheelrddugedvrdeljeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefieelvdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=8MoWQFjzzlohnA0O91kPNdRNGvRMmKhJicKFMIaYa1Q=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1729332049; v=1; b=hOEVYQzxt2z0luLJmjQrWcJVue2lh+sPxEK2fDxBzs0RZckM7DPUudhny4L6PwPF5nrbUaaW o/itjyYC9W88SV8EbPfd6qTJqZozWTy54sAObXiAwKIVGlzKE+MHH2AzSK6/zoMMHxp7yti5799 QJqiVwQ9Kk/wn43QXFjtUGRCR1GN3FmSjs2urH4Ada7YpLgECUd8c6AKT9u3EBO9mbiv6phR/ky ku/bR547QgWJcfx4Woz6y2YGLispUPvJrvUk5gv3moWGmvlbEkL3+LJoanUHhSSUE3ez/nPu1eX V1dAZNA4eD75U74TrpZ9bl/e26eWT/82rw1iqwDamLctw== 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.99 X-Spam-Score: 0.99 X-Migadu-Queue-Id: E8D2853AE X-Migadu-Scanner: mx12.migadu.com X-TUID: l+txXbJ00Itl This fixes CVE-2023-25149. * gnu/packages/databases.scm (timescaledb): Update to 2.16.1. [arguments]<#:phases>: Remove comment and symlink trick in 'prepare-tests phase. --- gnu/packages/databases.scm | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index f05566becd..df346893b8 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1412,7 +1412,7 @@ (define-public postgresql postgresql-14) (define-public timescaledb (package (name "timescaledb") - (version "2.8.1") + (version "2.16.1") (source (origin (method git-fetch) (uri (git-reference @@ -1421,7 +1421,7 @@ (define-public timescaledb (file-name (git-file-name name version)) (sha256 (base32 - "1gbadna0ilmqad7sbrixm12wd71h43njhsbp1kh5lispb6drdb6r")) + "1v17x00a15il4r3rbr0waqjv1nwzy6rcqxgfi2hdk1x235s5dg5h")) (modules '((guix build utils))) (snippet ;; Remove files carrying the proprietary TIMESCALE license. @@ -1476,22 +1476,7 @@ (define-public timescaledb (pg-union (string-append (getcwd) "/../pg-union"))) (match inputs (((names . directories) ...) - ;; PG will only load extensions from its own $libdir, - ;; which it calculates based on argv[0]. As of - ;; PostgreSQL 13.6, it calls 'canonicalize_path' on - ;; argv[0] so a merge symlink is not enough to trick - ;; it; thus, the code below makes a full copy of PG - ;; and friends such that 'pg_config --libdir', for - ;; instance, points to PG-UNION, allowing it to load - ;; the timescaledb extension. - ;; TODO: The above comment and the #:symlink trick can - ;; be removed in the next rebuild cycle. - (union-build pg-union (cons #$output directories) - #:symlink - (lambda (old new) - (if (file-is-directory? old) - (copy-recursively old new) - (copy-file old new)))))) + (union-build pg-union (cons #$output directories)))) (setenv "PATH" (string-append pg-union "/bin:" (getenv "PATH"))) (invoke "initdb" "-D" pg-data) -- 2.46.0