All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/poppler: use HTTPS for upstream URL
@ 2022-01-09  9:37 Peter Korsgaard
  2022-01-09 11:22 ` Peter Korsgaard
  2022-01-27 10:52 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-01-09  9:37 UTC (permalink / raw)
  To: buildroot; +Cc: Olivier Schonken

Fixes:
http://autobuild.buildroot.net/results/145/1456f9512371ecb5a0a374943178e4bd7b0967e8/

The HTTP URL returns a 308 redirect to HTTPS, which confuses old wget
versions (E.G.  s.b.o):

wget -d http://poppler.freedesktop.org/poppler-21.12.0.tar.xz
DEBUG output created by Wget 1.14 on linux-gnu.

URI encoding = ‘UTF-8’
Converted file name 'poppler-21.12.0.tar.xz' (UTF-8) -> 'poppler-21.12.0.tar.xz' (UTF-8)
Converted file name 'poppler-21.12.0.tar.xz' (UTF-8) -> 'poppler-21.12.0.tar.xz' (UTF-8)
--2022-01-09 09:28:02--  http://poppler.freedesktop.org/poppler-21.12.0.tar.xz
Resolving poppler.freedesktop.org (poppler.freedesktop.org)... 147.75.198.156
Caching poppler.freedesktop.org => 147.75.198.156
Connecting to poppler.freedesktop.org (poppler.freedesktop.org)|147.75.198.156|:80... connected.
Created socket 3.
Releasing 0x0000000001ceda80 (new refcount 1).

---request begin---
GET /poppler-21.12.0.tar.xz HTTP/1.1
User-Agent: Wget/1.14 (linux-gnu)
Accept: */*
Host: poppler.freedesktop.org
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 308 Permanent Redirect
Date: Sun, 09 Jan 2022 09:28:02 GMT
Content-Type: text/html
Content-Length: 164
Connection: keep-alive
Location: https://poppler.freedesktop.org/poppler-21.12.0.tar.xz

---response end---
308 Permanent Redirect
Registered socket 3 for persistent reuse.
Skipping 164 bytes of body: [<html>
<head><title>308 Permanent Redirect</title></head>
<body>
<center><h1>308 Permanent Redirect</h1></center>
<hr><center>nginx</center>
</body>
</html>
] done.
2022-01-09 09:28:02 ERROR 308: Permanent Redirect.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/poppler/Config.in  | 2 +-
 package/poppler/poppler.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/poppler/Config.in b/package/poppler/Config.in
index f59115813d..21c4d86cf6 100644
--- a/package/poppler/Config.in
+++ b/package/poppler/Config.in
@@ -10,7 +10,7 @@ config BR2_PACKAGE_POPPLER
 	  Poppler is a PDF rendering library based on the xpdf-3.0
 	  code base.
 
-	  http://poppler.freedesktop.org/
+	  https://poppler.freedesktop.org/
 
 if BR2_PACKAGE_POPPLER
 
diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
index 23f04f6e51..9e9bfc9cba 100644
--- a/package/poppler/poppler.mk
+++ b/package/poppler/poppler.mk
@@ -6,7 +6,7 @@
 
 POPPLER_VERSION = 21.12.0
 POPPLER_SOURCE = poppler-$(POPPLER_VERSION).tar.xz
-POPPLER_SITE = http://poppler.freedesktop.org
+POPPLER_SITE = https://poppler.freedesktop.org
 POPPLER_DEPENDENCIES = fontconfig host-pkgconf
 POPPLER_LICENSE = GPL-2.0+
 POPPLER_LICENSE_FILES = COPYING
-- 
2.20.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/poppler: use HTTPS for upstream URL
  2022-01-09  9:37 [Buildroot] [PATCH] package/poppler: use HTTPS for upstream URL Peter Korsgaard
@ 2022-01-09 11:22 ` Peter Korsgaard
  2022-01-27 10:52 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-01-09 11:22 UTC (permalink / raw)
  To: buildroot; +Cc: Olivier Schonken

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > Fixes:
 > http://autobuild.buildroot.net/results/145/1456f9512371ecb5a0a374943178e4bd7b0967e8/

 > The HTTP URL returns a 308 redirect to HTTPS, which confuses old wget
 > versions (E.G.  s.b.o):

 > wget -d http://poppler.freedesktop.org/poppler-21.12.0.tar.xz
 > DEBUG output created by Wget 1.14 on linux-gnu.

 > URI encoding = ‘UTF-8’
 > Converted file name 'poppler-21.12.0.tar.xz' (UTF-8) -> 'poppler-21.12.0.tar.xz' (UTF-8)
 > Converted file name 'poppler-21.12.0.tar.xz' (UTF-8) -> 'poppler-21.12.0.tar.xz' (UTF-8)
 > --2022-01-09 09:28:02--  http://poppler.freedesktop.org/poppler-21.12.0.tar.xz
 > Resolving poppler.freedesktop.org (poppler.freedesktop.org)... 147.75.198.156
 > Caching poppler.freedesktop.org => 147.75.198.156
 > Connecting to poppler.freedesktop.org (poppler.freedesktop.org)|147.75.198.156|:80... connected.
 > Created socket 3.
 > Releasing 0x0000000001ceda80 (new refcount 1).

 > ---request begin---
 > GET /poppler-21.12.0.tar.xz HTTP/1.1
 > User-Agent: Wget/1.14 (linux-gnu)
 > Accept: */*
 > Host: poppler.freedesktop.org
 > Connection: Keep-Alive

 > ---request end---
 > HTTP request sent, awaiting response...
 > ---response begin---
 > HTTP/1.1 308 Permanent Redirect
 > Date: Sun, 09 Jan 2022 09:28:02 GMT
 > Content-Type: text/html
 > Content-Length: 164
 > Connection: keep-alive
 > Location: https://poppler.freedesktop.org/poppler-21.12.0.tar.xz

 > ---response end---
 > 308 Permanent Redirect
 > Registered socket 3 for persistent reuse.
 > Skipping 164 bytes of body: [<html>
 > <head><title>308 Permanent Redirect</title></head>
 > <body>
 > <center><h1>308 Permanent Redirect</h1></center>
 > <hr><center>nginx</center>
 > </body>
 > </html>
 > ] done.
 > 2022-01-09 09:28:02 ERROR 308: Permanent Redirect.

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/poppler: use HTTPS for upstream URL
  2022-01-09  9:37 [Buildroot] [PATCH] package/poppler: use HTTPS for upstream URL Peter Korsgaard
  2022-01-09 11:22 ` Peter Korsgaard
@ 2022-01-27 10:52 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-01-27 10:52 UTC (permalink / raw)
  To: buildroot; +Cc: Olivier Schonken

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > Fixes:
 > http://autobuild.buildroot.net/results/145/1456f9512371ecb5a0a374943178e4bd7b0967e8/

 > The HTTP URL returns a 308 redirect to HTTPS, which confuses old wget
 > versions (E.G.  s.b.o):

 > wget -d http://poppler.freedesktop.org/poppler-21.12.0.tar.xz
 > DEBUG output created by Wget 1.14 on linux-gnu.

 > URI encoding = ‘UTF-8’
 > Converted file name 'poppler-21.12.0.tar.xz' (UTF-8) -> 'poppler-21.12.0.tar.xz' (UTF-8)
 > Converted file name 'poppler-21.12.0.tar.xz' (UTF-8) -> 'poppler-21.12.0.tar.xz' (UTF-8)
 > --2022-01-09 09:28:02--  http://poppler.freedesktop.org/poppler-21.12.0.tar.xz
 > Resolving poppler.freedesktop.org (poppler.freedesktop.org)... 147.75.198.156
 > Caching poppler.freedesktop.org => 147.75.198.156
 > Connecting to poppler.freedesktop.org (poppler.freedesktop.org)|147.75.198.156|:80... connected.
 > Created socket 3.
 > Releasing 0x0000000001ceda80 (new refcount 1).

 > ---request begin---
 > GET /poppler-21.12.0.tar.xz HTTP/1.1
 > User-Agent: Wget/1.14 (linux-gnu)
 > Accept: */*
 > Host: poppler.freedesktop.org
 > Connection: Keep-Alive

 > ---request end---
 > HTTP request sent, awaiting response...
 > ---response begin---
 > HTTP/1.1 308 Permanent Redirect
 > Date: Sun, 09 Jan 2022 09:28:02 GMT
 > Content-Type: text/html
 > Content-Length: 164
 > Connection: keep-alive
 > Location: https://poppler.freedesktop.org/poppler-21.12.0.tar.xz

 > ---response end---
 > 308 Permanent Redirect
 > Registered socket 3 for persistent reuse.
 > Skipping 164 bytes of body: [<html>
 > <head><title>308 Permanent Redirect</title></head>
 > <body>
 > <center><h1>308 Permanent Redirect</h1></center>
 > <hr><center>nginx</center>
 > </body>
 > </html>
 > ] done.
 > 2022-01-09 09:28:02 ERROR 308: Permanent Redirect.

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed to 2021.02.x and 2021.11.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-01-27 10:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-09  9:37 [Buildroot] [PATCH] package/poppler: use HTTPS for upstream URL Peter Korsgaard
2022-01-09 11:22 ` Peter Korsgaard
2022-01-27 10:52 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.