unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55656] [PATCH] gnu: perl-http-daemon: Update to 6.14.
@ 2022-05-26 13:03 Attila Lendvai
  2022-05-26 13:05 ` [bug#55656] [PATCH 2/2] gnu: Add perl-http-daemon-ssl Attila Lendvai
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Attila Lendvai @ 2022-05-26 13:03 UTC (permalink / raw)
  To: 55656; +Cc: Attila Lendvai

---
 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





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#55656] [PATCH 2/2] gnu: Add perl-http-daemon-ssl.
  2022-05-26 13:03 [bug#55656] [PATCH] gnu: perl-http-daemon: Update to 6.14 Attila Lendvai
@ 2022-05-26 13:05 ` Attila Lendvai
  2022-05-27  9:47   ` Christopher Baines
  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
  2 siblings, 1 reply; 6+ messages in thread
From: Attila Lendvai @ 2022-05-26 13:05 UTC (permalink / raw)
  To: 55656; +Cc: Attila Lendvai

---
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





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#55656] [PATCH 2/2] gnu: Add perl-http-daemon-ssl.
  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
  2022-05-27 11:44     ` Attila Lendvai
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Baines @ 2022-05-27  9:47 UTC (permalink / raw)
  To: Attila Lendvai; +Cc: 55656

[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#55656] [PATCH] gnu: perl-http-daemon: Update to 6.14.
  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 10:03 ` Christopher Baines
  2023-09-02  0:08 ` Vagrant Cascadian
  2 siblings, 0 replies; 6+ messages in thread
From: Christopher Baines @ 2022-05-27 10:03 UTC (permalink / raw)
  To: Attila Lendvai; +Cc: 55656

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


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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#55656] [PATCH 2/2] gnu: Add perl-http-daemon-ssl.
  2022-05-27  9:47   ` Christopher Baines
@ 2022-05-27 11:44     ` Attila Lendvai
  0 siblings, 0 replies; 6+ messages in thread
From: Attila Lendvai @ 2022-05-27 11:44 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 55656

> 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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#55656] [PATCH] gnu: perl-http-daemon: Update to 6.14.
  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 10:03 ` [bug#55656] [PATCH] gnu: perl-http-daemon: Update to 6.14 Christopher Baines
@ 2023-09-02  0:08 ` Vagrant Cascadian
  2 siblings, 0 replies; 6+ messages in thread
From: Vagrant Cascadian @ 2023-09-02  0:08 UTC (permalink / raw)
  To: Attila Lendvai, 55656; +Cc: control

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

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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-09-02  0:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).