unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: 66359@debbugs.gnu.org
Subject: [bug#66359] [PATCH] gnu: curl: Update to 8.3.0.
Date: Thu, 5 Oct 2023 10:19:16 +0300	[thread overview]
Message-ID: <ZR5jdDlKpE3lgvDC@3900XT> (raw)
In-Reply-To: <fd95e1915f991c76b2a589971e76e3bbf049df04.1696486469.git.liliana.prikler@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2174 bytes --]

On Thu, Oct 05, 2023 at 08:11:34AM +0200, Liliana Marie Prikler wrote:
> According to upstream, the current version has 19 security issues.
> See also <https://curl.se/docs/vuln-7.85.0.html>.
> 
> * gnu/packages/curl.scm (curl/fixed): New variable.
> (curl): Use it as replacement.
> ---
>  gnu/packages/curl.scm | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
> index 4e3c563570..dd612ce356 100644
> --- a/gnu/packages/curl.scm
> +++ b/gnu/packages/curl.scm
> @@ -65,6 +65,7 @@ (define-public curl
>    (package
>      (name "curl")
>      (version "7.85.0")
> +    (replacement curl/fixed)
>      (source (origin
>                (method url-fetch)
>                (uri (string-append "https://curl.se/download/curl-"
> @@ -154,6 +155,20 @@ (define-public curl
>                                     "See COPYING in the distribution."))
>      (home-page "https://curl.haxx.se/")))
>  
> +(define curl/fixed
> +  (let ((%version "8.3.0"))
> +    (package
> +      (inherit curl)
> +      (version "8.3.0-0")               ; add -0 for grafting

'7.85.0' is 6 characters, bit '8.3.0-0' is 7 characters. I think I'd go
with '8.3.0A' to keep with previous (tribal knowledge) version mangling
schemes.

> +      (source (origin
> +                (method url-fetch)
> +                (uri (string-append "https://curl.se/download/curl-"
> +                                    %version ".tar.xz"))
> +                (sha256
> +                 (base32
> +                  "0qza6yf20y2l4aaxkn8dfw8p3fls1mxljvdb0m8z1i6ncxvn4v9p"))
> +                (patches (search-patches "curl-use-ssl-cert-env.patch")))))))
> +
>  (define-public curl-ssh
>    (package/inherit curl
>      (arguments
> 
> base-commit: e71864793021051cff35597abd59bb2d5649977d
> -- 
> 2.41.0

Once the version string is the same length (your choice how!) then LGTM!

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-10-05  7:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-05  6:11 [bug#66359] [PATCH] gnu: curl: Update to 8.3.0 Liliana Marie Prikler
2023-10-05  7:19 ` Efraim Flashner [this message]
2023-10-05  7:44   ` bug#66359: " Liliana Marie Prikler
2023-10-05 16:26 ` [bug#66359] " Simon Tournier
2023-10-06  8:54   ` Liliana Marie Prikler
2023-10-06  9:09     ` Simon Tournier
2023-10-06  9:55       ` Liliana Marie Prikler
2023-10-06 10:15         ` Simon Tournier
2023-10-09 12:33         ` [bug#66359] meaning of %something? (was Re: [bug#66359] [PATCH] gnu: curl: Update to 8.3.0.) Simon Tournier
2023-10-09 16:57           ` Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZR5jdDlKpE3lgvDC@3900XT \
    --to=efraim@flashner.co.il \
    --cc=66359@debbugs.gnu.org \
    --cc=liliana.prikler@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).