From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@buildroot.org
Cc: Olivier Schonken <olivier.schonken@gmail.com>
Subject: [Buildroot] [PATCH] package/poppler: use HTTPS for upstream URL
Date: Sun, 9 Jan 2022 10:37:33 +0100 [thread overview]
Message-ID: <20220109093735.4860-1-peter@korsgaard.com> (raw)
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
next reply other threads:[~2022-01-09 9:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-09 9:37 Peter Korsgaard [this message]
2022-01-09 11:22 ` [Buildroot] [PATCH] package/poppler: use HTTPS for upstream URL Peter Korsgaard
2022-01-27 10:52 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220109093735.4860-1-peter@korsgaard.com \
--to=peter@korsgaard.com \
--cc=buildroot@buildroot.org \
--cc=olivier.schonken@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox