immortalwrt/include
Petr Štetiar 603d5f21ab
download: handle possibly invalid local tarballs
Currently it's assumed, that already downloaded tarballs are always
fine, so no checksum checking is performed and the tarball is used even
if it might be corrupted.

From now on, we're going to always check the downloaded tarballs before
considering them valid.

Steps to reproduce:

 1. Remove cached tarball

   rm dl/libubox-2020-08-06-9e52171d.tar.xz

 2. Download valid tarball again

   make package/libubox/download

 3. Invalidate the tarball

   sed -i 's/PKG_MIRROR_HASH:=../PKG_MIRROR_HASH:=ff/' package/libs/libubox/Makefile

 4. Now compile with corrupt tarball source

   make package/libubox/{clean,compile}

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-11-28 19:08:14 +08:00
..
site fix permisson 2019-08-16 15:09:42 +08:00
autotools.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
cmake.mk build: support cmake verbose for host builds 2020-11-21 17:42:22 +08:00
debug.mk Revert "files: sync from openwrt v19.07 (#2690)" 2020-02-03 12:33:25 +08:00
depends.mk fix permisson 2019-08-16 15:09:42 +08:00
device_table.txt fix permission 2019-09-30 13:52:50 +08:00
download.mk build: prevent excessive re-evaluation of PKG_VERSION 2020-10-17 11:51:24 +08:00
feeds.mk build: FeedSourcesAppend add kmod feed to snapshot 2020-10-31 10:23:48 +08:00
hardened-ld-pie.specs fix permission 2019-09-30 13:52:50 +08:00
hardening.mk Revert "files: sync from openwrt v19.07 (#2690)" 2020-02-03 12:33:25 +08:00
host-build.mk download: handle possibly invalid local tarballs 2020-11-28 19:08:14 +08:00
image-commands.mk scripts: mkits.sh make it possible to specify fdt@# 2020-09-26 11:33:12 +08:00
image-legacy.mk fix permisson 2019-08-16 15:09:42 +08:00
image.mk build: store SOURCE_DATE_EPOCH in JSON info files 2020-11-14 23:34:48 +08:00
kernel-build.mk build: filter out more autogenerated kernel config options 2020-11-14 13:52:03 +08:00
kernel-defaults.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
kernel-version.mk kernel: bump to 4.9.244, 4.14.207, 4.19.158 2020-11-21 21:15:35 +08:00
kernel.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
netfilter.mk kernel/iptables: add modules for qos-gargoyle 2020-02-25 23:03:16 +08:00
nls.mk fix permisson 2019-08-16 15:09:42 +08:00
package-bin.mk fix permisson 2019-08-16 15:09:42 +08:00
package-defaults.mk build: allow file modes per binary package 2020-09-10 17:18:58 +08:00
package-dumpinfo.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
package-ipkg.mk build: use mkhash for IPK metadata checksums 2020-11-28 19:07:01 +08:00
package-seccomp.mk fix permisson 2019-08-16 15:09:42 +08:00
package.mk download: handle possibly invalid local tarballs 2020-11-28 19:08:14 +08:00
prereq-build.mk prereq-build: add python 3.9 support 2020-11-28 18:29:36 +08:00
prereq.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
quilt.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
rootfs.mk treewide: replace which with command -v 2020-08-13 23:30:21 +08:00
scan.awk fix permisson 2019-08-16 15:09:42 +08:00
scan.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
shell.sh add luci-app-haproxy & luci-app-udpspeederv2 2019-05-25 21:05:51 +08:00
subdir.mk fix permisson 2019-08-16 15:09:42 +08:00
target.mk build: filter out more autogenerated kernel config options 2020-11-14 13:52:03 +08:00
toolchain-build.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
toplevel.mk build: detect broken make version on macOS 2020-11-21 17:41:47 +08:00
u-boot.mk u-boot.mk: switch download to https 2020-04-27 08:55:20 +08:00
uclibc++.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
unpack.mk build: add zstd support to pack/unpack functions 2020-05-31 19:37:36 +08:00
verbose.mk fix permisson 2019-08-16 15:09:42 +08:00
version.mk build: switch VERSION_REPO to HTTPS 2020-09-01 17:33:44 +08:00