From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IJ/XDnmbJ2eIMQAAe85BDQ:P1 (envelope-from ) for ; Sun, 03 Nov 2024 15:49:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id IJ/XDnmbJ2eIMQAAe85BDQ (envelope-from ) for ; Sun, 03 Nov 2024 16:49:13 +0100 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=ZQ7Ke5th; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=P97WzPX3; 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=1730648953; a=rsa-sha256; cv=none; b=T8cl1vDwNfRFuakzy08XxTnO3akOPLnS4LQpO5V1yxuw4uXThtMMWJHuf8rCBLBIDeOO6c jloQNCcfwxuj91smvSywr8NNRMdCzrLkn7X/k+pLljU0ynH2ZXe3TQUD/5LwQJ5pW8ECbF ooQzu9peZ8OODr0j4nl7V9cEph5DCEeWlFnVfHrgoFvYbU3ETe3QfiDB+5ZWELmOcf+Ss+ ctssM6JejoV4Ao90lI/lOkj/Di04rfE2R7WNewA+MDZIOdoZQonx3KwBHRFn7Cj2S6QoOG mBfF/ITGCVbXXpGI2EnH9aEYL98PKPCimAnwG+U8FOpehOwAu8rKh6yvbfouJw== 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=ZQ7Ke5th; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=P97WzPX3; 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=1730648953; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=s1dsslyMzRJaNGejrpgsgnuCkqElOzBYbRS35NPwfnM=; b=nIpP9PLFPIs0FNNJDrXs4TC0egnJEhIp24BMQQ8ju0n0RaAPnYvcaERw55WRtOBCl0tiIJ 3IRdjB7q/Q7MRhH7fT4bJQQj2JDGV0zlBgEA2vt9kTKC7Lf2u4Qf+vwPSXUXJ5r4nX7dcY JedCfW3+E6bcdwFY3sK4lIYYzOYkzAQKoKVH6tGpSlH2dqtCE4PZ+7PjMuTHI4kb1gG5+R 2L9CMAI2o+u2R0KEvtZikqQ0YJv1Zl82QlaULGx0amYrvD9+48aWudz71aNklV6clrbIYz nc6WamKE3D6B7/jIk8E0xuFHL15BegbF+2JzQTbNO7iXdImpTlf7Ai0IhSa6tA== 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 C727C74353 for ; Sun, 03 Nov 2024 16:49:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7cqe-0006lW-G4; Sun, 03 Nov 2024 10:49:04 -0500 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 1t7cqc-0006l9-3j for guix-patches@gnu.org; Sun, 03 Nov 2024 10:49:03 -0500 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 1t7cqb-00057B-Rf for guix-patches@gnu.org; Sun, 03 Nov 2024 10:49:01 -0500 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:References:In-Reply-To:From:To:Subject; bh=s1dsslyMzRJaNGejrpgsgnuCkqElOzBYbRS35NPwfnM=; b=ZQ7Ke5thBjPeocYDFD/kqwBA16H5AQrvDcn2FQu2CoM/98QPVyQgtIa31HtVHkdNtnpIum5M5a3Z3DfpdeTBnUJw54Ooghsn/zreSbJktXz7gqnOO7ubU/Ukf23Y/3szcJ6ApXJMCGBgxhXVMFqrq6yatWrv+P1TFjDWfnXyxhyHSHLl3dzlfpDGrIADmJpKYWItmKqZhfcrqmP8IBGOlNdEQC/VvT2A/Sz2evOORGohDQjOIAAj8B2ZmXF/ze6JhLUSAo9PXH0WitPBIIBO0cFmDW/mQXm3/FngjWp1CneSe9SJnbsnc2J9LVt3kk6skJeIXZpSOcMQU1MOj+1bXA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t7cqb-0003I1-JE for guix-patches@gnu.org; Sun, 03 Nov 2024 10:49:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74184] [PATCH] gnu: darkhttpd: Update to 1.16. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 Nov 2024 15:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74184 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Zheng Junjie , 74184@debbugs.gnu.org Received: via spool by 74184-submit@debbugs.gnu.org id=B74184.173064888712603 (code B ref 74184); Sun, 03 Nov 2024 15:49:01 +0000 Received: (at 74184) by debbugs.gnu.org; 3 Nov 2024 15:48:07 +0000 Received: from localhost ([127.0.0.1]:32971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7cpj-0003HD-AA for submit@debbugs.gnu.org; Sun, 03 Nov 2024 10:48:07 -0500 Received: from 4.mo582.mail-out.ovh.net ([87.98.184.159]:43567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7cpf-0003Gv-M8 for 74184@debbugs.gnu.org; Sun, 03 Nov 2024 10:48:06 -0500 Received: from director8.ghost.mail-out.ovh.net (unknown [10.108.9.3]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4XhJsF55rMz1J41 for <74184@debbugs.gnu.org>; Sun, 3 Nov 2024 15:48:01 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-ctmxf (unknown [10.110.168.229]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id ECCCA1FE61; Sun, 3 Nov 2024 15:47:58 +0000 (UTC) Received: from ngraves.fr ([37.59.142.109]) by ghost-submission-5b5ff79f4f-ctmxf with ESMTPSA id HEfxMi6bJ2eFXQsA9ZFolw (envelope-from ); Sun, 03 Nov 2024 15:47:58 +0000 X-OVh-ClientIp: 86.246.19.221 In-Reply-To: <877c9kqs12.fsf@ngraves.fr> References: <877c9kqs12.fsf@ngraves.fr> Date: Sun, 03 Nov 2024 16:47:58 +0100 Message-ID: <87y120pbdd.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 11182719352061747815 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelgedgkedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufgjfhffkfggtgesthdtredttddttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeeijefgffffudeivefgudeihfdtgfeljefhvdevhfegkeejvedthfdtfeeljeehgfenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeegudekgeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=s1dsslyMzRJaNGejrpgsgnuCkqElOzBYbRS35NPwfnM=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730648881; v=1; b=P97WzPX3B1dec+cIxDJgdNDb3PqFhn5/uA/oxmUUiUvTVtv/dmMTn9YLmVLugfrii+j1Gmad b5GGqu+chyOyeVI3wsN9BLvFCg2m113Ywod27JAjd9xXxKWy3gkmxW7L5BU+X8mD88YqWEkhblN ep5wHSOtJO6BRxtla9IZ2MeYTnGwJwXt0V3jgC0/lX9w6ePQL6P5Vlm7VZpEQsNmox2K0DZGwau WIpV0fvfiD8Vu7mEofqH25lpVGnG4B8lOHAsaPJrzFsq6MlHszYzpqCCvzXibqw7r3iL0pGNcYX qbyvoJ6o8VV9f7V28QTSJrRvcnAYDUFiy8QvtuvUhjzqw== 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.42 X-Spam-Score: -3.42 X-Migadu-Queue-Id: C727C74353 X-Migadu-Scanner: mx10.migadu.com X-TUID: qzf/HBcoKvEk On 2024-11-03 16:02, Nicolas Graves wrote: > Hi Zheng, > > I have a patch for this in 74035, which introduces security fixes for > nearly all packages that have a CVE and have only a few dependent > packages. > > For some reason, QA didn't accept it, I can resubmit a patch. > > Given the state of CI, and the time it takes to build guix, I think it's > better to focus on this kind of small series for the time being. I > would have to resubmit it so that QA accepts it, but in the meantime, > feel free to review that! Actually, to be more precise, the work I did on CVEs can be found in the following patch series : - 74034 adds properties for the guix lint cve checker so that we can be more flexible when ignoring CVEs, then adds those properties for a bunch of packages. - 74035 adds quick&easy security fixes - 74050 is the remaining part of 74034 before its v2, so that it makes it clearer what is linked to the guix lint cve checker and what is not And I also have some more focussed contributions for other packages: 73988, 73699, 73896 The particular case of postgresql: - 74038 (probably should wait for some branch to pick that up), 74058 (should be merged rapidly IMO) I think 74035 is a good start because it's independent from the rest, quite easy to review and build, and fixes a lot of CVEs. > > Best, > Nicolas > > On 2024-11-03 19:23, Zheng Junjie wrote: > >> * gnu/packages/web.scm (darkhttpd): Update to 1.16. >> [native-inputs]: Add which and python-minimal. >> [arguments]: Use G-expression. Add #:test-target "test" >> >> Change-Id: Ieb4f73d15e42efbdbb5bc310f37ff7b2763e7b36 >> --- >> gnu/packages/web.scm | 27 ++++++++++++++------------- >> 1 file changed, 14 insertions(+), 13 deletions(-) >> >> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm >> index 34739bf088e..4848a7738de 100644 >> --- a/gnu/packages/web.scm >> +++ b/gnu/packages/web.scm >> @@ -6417,7 +6417,7 @@ (define-public surfraw >> (define-public darkhttpd >> (package >> (name "darkhttpd") >> - (version "1.13") >> + (version "1.16") >> (source >> (origin >> (method git-fetch) >> @@ -6426,20 +6426,21 @@ (define-public darkhttpd >> (commit (string-append "v" version)))) >> (file-name (git-file-name name version)) >> (sha256 >> - (base32 "0w11xq160q9yyffv4mw9ncp1n0dl50d9plmwxb0yijaaxls9i4sk")))) >> + (base32 "15mmq1v8p50mm9wx5w6g4rlr40b7d044lw7rs1wyzdiw9lcnihvm")))) >> (build-system gnu-build-system) >> (arguments >> - `(#:make-flags >> - (list (string-append "CC=" ,(cc-for-target))) >> - #:tests? #f ; No test suite >> - #:phases >> - (modify-phases %standard-phases >> - (delete 'configure) ; no configure script >> - (replace 'install >> - (lambda* (#:key outputs #:allow-other-keys) >> - (install-file "darkhttpd" >> - (string-append (assoc-ref outputs "out") >> - "/bin"))))))) >> + (list #:make-flags >> + #~(list (string-append "CC=" #$(cc-for-target))) >> + #:test-target "test" >> + #:phases >> + #~(modify-phases %standard-phases >> + (delete 'configure) ; no configure script >> + (replace 'install >> + (lambda* (#:key outputs #:allow-other-keys) >> + (install-file "darkhttpd" >> + (string-append #$output "/bin"))))))) >> + (native-inputs >> + (list which python-minimal)) >> (synopsis "Simple static web server") >> (description "darkhttpd is a simple static web server. It is >> standalone and does not need inetd or ucspi-tcp. It does not need any >> >> base-commit: a26ba23cdd476cb5eb8378c4785ccf1bc4145f17 >> prerequisite-patch-id: bc4ec5762b626a7ae22d68aac1744a4f1c6ffcff >> prerequisite-patch-id: d9314911732a6e7420aee9888a6335b1fee67274 >> prerequisite-patch-id: 2004d3d10bba51deea93634b8a5ddeae1d049287 -- Best regards, Nicolas Graves