guix-patches
[Top][All Lists]
Advanced

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

[bug#55656] [PATCH 2/2] gnu: Add perl-http-daemon-ssl.


From: Attila Lendvai
Subject: [bug#55656] [PATCH 2/2] gnu: Add perl-http-daemon-ssl.
Date: Thu, 26 May 2022 15:05:41 +0200

---
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")
-- 
2.35.1






reply via email to

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