aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2021-03-06 10:04:46 +0100
committerPeter Korsgaard <peter@korsgaard.com>2021-03-06 11:11:59 +0100
commitb83184de674a6d68e110d5666685edb0a7374d74 (patch)
tree493bcc5160eb12fb9f16fb7f33138401e0cb42e3
parent5742a0f33e285e27c5ae37b32cf5570bfa856946 (diff)
downloadbuildroot-b83184de674a6d68e110d5666685edb0a7374d74.tar.bz2
package/libjpeg: switch to s.b.o. as source site
Fixes #13581 The tarball for version 9d, released 2020-01-12, has been silently replaced upstream (a unicode BOM was removed from a few files), causing hash mismatch. This means that all our versions since 2020.02 will fail the hash check, and fallback to using s.b.o. so we can't update the copy we have on s.b.o. As a consequence, we can't update the hash in master (soon 2021.02) otherwise it would not match what we have on s.b.o. This means that users will see hash mismatch by default, which is not very nice. Although we can't do anything for all previous releases, we can still try to paper over the problem for the future ones, like 2021.02, by switching the upstream to be s.b.o. Sigh... :-( Reported-by: Nick Shaforostov <mshaforostov@airmusictech.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/libjpeg/libjpeg.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/libjpeg/libjpeg.mk b/package/libjpeg/libjpeg.mk
index 389ecb6299..bd463ad40a 100644
--- a/package/libjpeg/libjpeg.mk
+++ b/package/libjpeg/libjpeg.mk
@@ -5,7 +5,11 @@
################################################################################
LIBJPEG_VERSION = 9d
-LIBJPEG_SITE = http://www.ijg.org/files
+# 9d was released 2020-01-12, but the tarball was replaced upstream circa
+# 2021-03, causing hash mismatch. Until there is a new version released,
+# use our cached copy from s.b.o.
+#LIBJPEG_SITE = http://www.ijg.org/files
+LIBJPEG_SITE = http://sources.buildroot.org/libjpeg/
LIBJPEG_SOURCE = jpegsrc.v$(LIBJPEG_VERSION).tar.gz
LIBJPEG_LICENSE = IJG
LIBJPEG_LICENSE_FILES = README