all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: Attila Lendvai <attila@lendvai.name>
Cc: 55656@debbugs.gnu.org
Subject: [bug#55656] [PATCH 2/2] gnu: Add perl-http-daemon-ssl.
Date: Fri, 27 May 2022 10:47:53 +0100	[thread overview]
Message-ID: <87v8trs3ty.fsf@cbaines.net> (raw)
In-Reply-To: <20220526130543.28222-1-attila@lendvai.name>

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


Attila Lendvai <attila@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?

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

  reply	other threads:[~2022-05-27  9:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-26 13:03 [bug#55656] [PATCH] gnu: perl-http-daemon: Update to 6.14 Attila Lendvai
2022-05-26 13:05 ` [bug#55656] [PATCH 2/2] gnu: Add perl-http-daemon-ssl Attila Lendvai
2022-05-27  9:47   ` Christopher Baines [this message]
2022-05-27 11:44     ` Attila Lendvai
2022-05-27 10:03 ` [bug#55656] [PATCH] gnu: perl-http-daemon: Update to 6.14 Christopher Baines
2023-09-02  0:08 ` Vagrant Cascadian

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

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

  git send-email \
    --in-reply-to=87v8trs3ty.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=55656@debbugs.gnu.org \
    --cc=attila@lendvai.name \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.