guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#74184] [PATCH] gnu: darkhttpd: Update to 1.16.


From: Nicolas Graves
Subject: [bug#74184] [PATCH] gnu: darkhttpd: Update to 1.16.
Date: Sun, 03 Nov 2024 16:02:49 +0100

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!

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]