GNU bug report logs - #55656
gnu: Add perl-http-daemon-ssl

Previous Next

Package: guix-patches;

Reported by: Attila Lendvai <attila <at> lendvai.name>

Date: Thu, 26 May 2022 13:05:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Christopher Baines <mail <at> cbaines.net>
To: Attila Lendvai <attila <at> lendvai.name>
Cc: 55656 <at> debbugs.gnu.org
Subject: [bug#55656] [PATCH 2/2] gnu: Add perl-http-daemon-ssl.
Date: Fri, 27 May 2022 10:47:53 +0100
[Message part 1 (text/plain, inline)]
Attila Lendvai <attila <at> lendvai.name> writes:

> ---
> i've decided to send this patch together with the perl-http-daemon,
> because they depend on each other. pardon the missing 1/2 annotation
> on the first patch.
>
> this will be needed by an upcoming ddclient update.
>
>  gnu/packages/web.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>
> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
> index 0186ac06e5..3d642aec26 100644
> --- a/gnu/packages/web.scm
> +++ b/gnu/packages/web.scm
> @@ -3483,6 +3483,33 @@ (define-public perl-http-daemon
>  IO::Socket::INET, so you can perform socket operations directly on it too.")
>      (home-page "https://metacpan.org/release/HTTP-Daemon")))
>  
> +(define-public perl-http-daemon-ssl
> +  (package
> +    (name "perl-http-daemon-ssl")
> +    (version "1.04")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "mirror://cpan/authors/id/A/AU/AUFFLICK/HTTP-Daemon-SSL-"
> +             version
> +             ".tar.gz"))
> +       (sha256
> +        (base32 "0bn2blg2dzbyqnvbxs4ch2chqnfn9xvmnl6kvy988k4k5m10bbky"))))
> +    (build-system perl-build-system)
> +    (propagated-inputs
> +     (list perl-http-daemon perl-io-socket-ssl))
> +    (arguments
> +     ;; The tests want to connect to a local HTTPS server; see SSL_SERVER_ADDR.
> +     `(#:tests? #f))
> +    (home-page "https://metacpan.org/release/HTTP-Daemon-SSL")
> +    (synopsis "Perl simple http server class with SSL support")
> +    (description
> +     "Instances of the HTTP::Daemon::SSL class are HTTP/1.1 servers that listen
> +on a socket for incoming requests.  The HTTP::Daemon::SSL is a sub-class of
> +IO::Socket::SSL, so you can perform socket operations directly on it too.")
> +    (license license:perl-license)))
> +
>  (define-public perl-http-date
>    (package
>      (name "perl-http-date")

Looking at what Debian ship for this, I think they use
https://github.com/aufflick/p5-http-daemon-ssl as the source, which
looks to still be very old, but maybe have some fixes over the 1.04
version.

Does that look like it could be sensible to use?
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 1 year and 288 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.