unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#45291] [PATCH] gnu: perl-lwp-protocol-https: Uncomment perl-mozilla-ca input.
@ 2020-12-17 11:46 Christopher Baines
  2021-01-03 14:20 ` Efraim Flashner
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Baines @ 2020-12-17 11:46 UTC (permalink / raw)
  To: 45291

If there's no explicit SSL configuration, the perl-mozilla-ca library acts as
a fallback.  Including this as an input fixes the use of HTTPS in things that
use perl-lwp-protocol-https, for example get-iplayer.

* gnu/packages/web.scm (perl-lwp-protocol-https)[propagated-inputs]: Uncomment
perl-mozilla-ca.
---
 gnu/packages/web.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 39820f7572..b4ebcc8846 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -3874,8 +3874,7 @@ exists it is used instead.")
     (propagated-inputs
      `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
        ("perl-libwww" ,perl-libwww)
-       ;; Users should instead make sure SSL_ca_path is set properly.
-       ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
+       ("perl-mozilla-ca" ,perl-mozilla-ca)
        ("perl-net-http" ,perl-net-http)))
     (home-page "https://metacpan.org/release/LWP-Protocol-https")
     (synopsis "HTTPS support for LWP::UserAgent")
-- 
2.29.2





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

* [bug#45291] [PATCH] gnu: perl-lwp-protocol-https: Uncomment perl-mozilla-ca input.
  2020-12-17 11:46 [bug#45291] [PATCH] gnu: perl-lwp-protocol-https: Uncomment perl-mozilla-ca input Christopher Baines
@ 2021-01-03 14:20 ` Efraim Flashner
  2021-01-03 18:22   ` bug#45291: " Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: Efraim Flashner @ 2021-01-03 14:20 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 45291

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

On Thu, Dec 17, 2020 at 11:46:19AM +0000, Christopher Baines wrote:
> If there's no explicit SSL configuration, the perl-mozilla-ca library acts as
> a fallback.  Including this as an input fixes the use of HTTPS in things that
> use perl-lwp-protocol-https, for example get-iplayer.
> 
> * gnu/packages/web.scm (perl-lwp-protocol-https)[propagated-inputs]: Uncomment
> perl-mozilla-ca.
> ---
>  gnu/packages/web.scm | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
> index 39820f7572..b4ebcc8846 100644
> --- a/gnu/packages/web.scm
> +++ b/gnu/packages/web.scm
> @@ -3874,8 +3874,7 @@ exists it is used instead.")
>      (propagated-inputs
>       `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
>         ("perl-libwww" ,perl-libwww)
> -       ;; Users should instead make sure SSL_ca_path is set properly.
> -       ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
> +       ("perl-mozilla-ca" ,perl-mozilla-ca)
>         ("perl-net-http" ,perl-net-http)))
>      (home-page "https://metacpan.org/release/LWP-Protocol-https")
>      (synopsis "HTTPS support for LWP::UserAgent")
> -- 
> 2.29.2

Works for me

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

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

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

* bug#45291: [PATCH] gnu: perl-lwp-protocol-https: Uncomment perl-mozilla-ca input.
  2021-01-03 14:20 ` Efraim Flashner
@ 2021-01-03 18:22   ` Christopher Baines
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2021-01-03 18:22 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 45291-done

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


Efraim Flashner <efraim@flashner.co.il> writes:

> On Thu, Dec 17, 2020 at 11:46:19AM +0000, Christopher Baines wrote:
>> If there's no explicit SSL configuration, the perl-mozilla-ca library acts as
>> a fallback.  Including this as an input fixes the use of HTTPS in things that
>> use perl-lwp-protocol-https, for example get-iplayer.
>> 
>> * gnu/packages/web.scm (perl-lwp-protocol-https)[propagated-inputs]: Uncomment
>> perl-mozilla-ca.
>> ---
>>  gnu/packages/web.scm | 3 +--
>>  1 file changed, 1 insertion(+), 2 deletions(-)
>> 
>> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
>> index 39820f7572..b4ebcc8846 100644
>> --- a/gnu/packages/web.scm
>> +++ b/gnu/packages/web.scm
>> @@ -3874,8 +3874,7 @@ exists it is used instead.")
>>      (propagated-inputs
>>       `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
>>         ("perl-libwww" ,perl-libwww)
>> -       ;; Users should instead make sure SSL_ca_path is set properly.
>> -       ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
>> +       ("perl-mozilla-ca" ,perl-mozilla-ca)
>>         ("perl-net-http" ,perl-net-http)))
>>      (home-page "https://metacpan.org/release/LWP-Protocol-https")
>>      (synopsis "HTTPS support for LWP::UserAgent")
>> -- 
>> 2.29.2
>
> Works for me

Great, pushed as d944f10ddd921a15e6cd17a968ca57f0109a1c36.

Thanks for taking a look!

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

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

end of thread, other threads:[~2021-01-03 18:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17 11:46 [bug#45291] [PATCH] gnu: perl-lwp-protocol-https: Uncomment perl-mozilla-ca input Christopher Baines
2021-01-03 14:20 ` Efraim Flashner
2021-01-03 18:22   ` bug#45291: " Christopher Baines

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