Message ID | 20220526130543.28222-1-attila@lendvai.name |
---|---|
State | New |
Headers | show |
Series | [bug#55656] gnu: perl-http-daemon: Update to 6.14. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
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?
> 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? i cannot answer that, unfortunately. i needed this package to update ddclient, and just blindly ran `guix import cpan HTTP::Daemon::SSL`. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- Life is too short to spend time with people who suck the happiness out of you.
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")