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

To reply to this bug, email your comments to 55656 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#55656; Package guix-patches. (Thu, 26 May 2022 13:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Attila Lendvai <attila <at> lendvai.name>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 26 May 2022 13:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Attila Lendvai <attila <at> lendvai.name>
To: guix-patches <at> gnu.org
Cc: Attila Lendvai <attila <at> lendvai.name>
Subject: [PATCH] gnu: perl-http-daemon: Update to 6.14.
Date: Thu, 26 May 2022 15:03:32 +0200
---
 gnu/packages/web.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index ffcb709e82..0186ac06e5 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -3462,18 +3462,19 @@ (define-public perl-http-cookies
 (define-public perl-http-daemon
   (package
     (name "perl-http-daemon")
-    (version "6.01")
+    (version "6.14")
     (source (origin
              (method url-fetch)
              (uri (string-append
-                   "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
+                   "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Daemon-"
                    version ".tar.gz"))
              (sha256
               (base32
-               "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
+               "079fkcq2vdrzdf0bml52kz73n9gdv1xg0qf72c9v505v7izpwxph"))))
     (build-system perl-build-system)
     (propagated-inputs
-     (list perl-http-message perl-lwp-mediatypes))
+     (list perl-http-message perl-lwp-mediatypes perl-module-build-tiny
+           perl-test-needs))
     (license license:perl-license)
     (synopsis "Perl simple http server class")
     (description
-- 
2.35.1





Information forwarded to guix-patches <at> gnu.org:
bug#55656; Package guix-patches. (Thu, 26 May 2022 13:08:02 GMT) Full text and rfc822 format available.

Message #8 received at 55656 <at> debbugs.gnu.org (full text, mbox):

From: Attila Lendvai <attila <at> lendvai.name>
To: 55656 <at> debbugs.gnu.org
Cc: Attila Lendvai <attila <at> lendvai.name>
Subject: [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





Information forwarded to guix-patches <at> gnu.org:
bug#55656; Package guix-patches. (Fri, 27 May 2022 09:50:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Attila Lendvai <attila <at> lendvai.name>
Cc: guix-patches <at> gnu.org, 55656 <at> debbugs.gnu.org
Subject: Re: [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)]

Information forwarded to guix-patches <at> gnu.org:
bug#55656; Package guix-patches. (Fri, 27 May 2022 09:50:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#55656; Package guix-patches. (Fri, 27 May 2022 10:07:01 GMT) Full text and rfc822 format available.

Message #17 received at 55656 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Attila Lendvai <attila <at> lendvai.name>
Cc: 55656 <at> debbugs.gnu.org
Subject: Re: [bug#55656] [PATCH] gnu: perl-http-daemon: Update to 6.14.
Date: Fri, 27 May 2022 11:03:19 +0100
[Message part 1 (text/plain, inline)]
Attila Lendvai <attila <at> lendvai.name> writes:

> ---
>  gnu/packages/web.scm | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
> index ffcb709e82..0186ac06e5 100644
> --- a/gnu/packages/web.scm
> +++ b/gnu/packages/web.scm
> @@ -3462,18 +3462,19 @@ (define-public perl-http-cookies
>  (define-public perl-http-daemon
>    (package
>      (name "perl-http-daemon")
> -    (version "6.01")
> +    (version "6.14")
>      (source (origin
>               (method url-fetch)
>               (uri (string-append
> -                   "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
> +                   "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Daemon-"
>                     version ".tar.gz"))
>               (sha256
>                (base32
> -               "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
> +               "079fkcq2vdrzdf0bml52kz73n9gdv1xg0qf72c9v505v7izpwxph"))))
>      (build-system perl-build-system)
>      (propagated-inputs
> -     (list perl-http-message perl-lwp-mediatypes))
> +     (list perl-http-message perl-lwp-mediatypes perl-module-build-tiny
> +           perl-test-needs))
>      (license license:perl-license)
>      (synopsis "Perl simple http server class")
>      (description

This looks good to me, but because this is an input to wget, which seems
to have a lot of dependent packages (~900), this probably needs to go to
the staging branch.

Unfortunately, staging is frozen at the moment, so I'm not sure if it's
the right time to push it.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#55656; Package guix-patches. (Fri, 27 May 2022 11:45:02 GMT) Full text and rfc822 format available.

Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Attila Lendvai <attila <at> lendvai.name>
To: Christopher Baines <mail <at> cbaines.net>
Cc: guix-patches <at> gnu.org, 55656 <at> debbugs.gnu.org
Subject: Re: [bug#55656] [PATCH 2/2] gnu: Add perl-http-daemon-ssl.
Date: Fri, 27 May 2022 11:44:07 +0000
> 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.





Information forwarded to guix-patches <at> gnu.org:
bug#55656; Package guix-patches. (Fri, 27 May 2022 11:45:03 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#55656; Package guix-patches. (Sat, 02 Sep 2023 00:10:01 GMT) Full text and rfc822 format available.

Message #26 received at 55656 <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> debian.org>
To: Attila Lendvai <attila <at> lendvai.name>, 55656 <at> debbugs.gnu.org
Cc: control <at> debbugs.gnu.org
Subject: Re: [bug#55656] [PATCH] gnu: perl-http-daemon: Update to 6.14.
Date: Fri, 01 Sep 2023 17:08:49 -0700
[Message part 1 (text/plain, inline)]
retitle 55656 gnu: Add perl-http-daemon-ssl
thanks

On 2022-05-26, Attila Lendvai wrote:
> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
> index ffcb709e82..0186ac06e5 100644
> --- a/gnu/packages/web.scm
> +++ b/gnu/packages/web.scm
> @@ -3462,18 +3462,19 @@ (define-public perl-http-cookies
>  (define-public perl-http-daemon
>    (package
>      (name "perl-http-daemon")
> -    (version "6.01")
> +    (version "6.14")

perl-http-daemon was updated in:

80d84f76cdcf8115ef6f659353131ce1dce58cc4 gnu: perl-http-daemon: Update to 6.14.
c888e9028db76e52a7f2fccef84d68a7e3564837 gnu: perl-http-daemon: Update to 6.14.

The remaining issue is "gnu: Add perl-http-daemon-ssl." so retitling
appropriately.

live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]

Changed bug title to 'gnu: Add perl-http-daemon-ssl' from '[PATCH] gnu: perl-http-daemon: Update to 6.14.' Request was from Vagrant Cascadian <vagrant <at> debian.org> to control <at> debbugs.gnu.org. (Sat, 02 Sep 2023 00:10:02 GMT) Full text and rfc822 format available.

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

Previous Next


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