From: Paul Spooren Date: Wed, 25 Nov 2020 08:06:37 +0000 (-1000) Subject: opkg: purge package from cache on hash mismatch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7c114f33dd8c6eea5cebe6cf524f4e16154b623c;p=openwrt%2Fstaging%2Frobimarko.git opkg: purge package from cache on hash mismatch 61b3c62 opkg_verify_integrity: better logging and error conditions f73d42f download: purge cached packages that have incorrect checksum 1c1480e download: factor out the logic for building cache filenames 293b1ce libopkg: factor out checksum and size verification a786e25 download: remove compatibility with old cache naming scheme Signed-off-by: Paul Spooren --- diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile index 79e2932042..eb9543c4ea 100644 --- a/package/system/opkg/Makefile +++ b/package/system/opkg/Makefile @@ -9,14 +9,14 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=opkg -PKG_RELEASE:=2 +PKG_RELEASE:=1 PKG_FLAGS:=essential PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://git.openwrt.org/project/opkg-lede.git -PKG_SOURCE_DATE:=2020-11-03 -PKG_SOURCE_VERSION:=da9746aaa28fdc63a6e062bf00b25eba52bc8e5f -PKG_MIRROR_HASH:=9c42a8f7dbce4d50b01c3cd10e1974611ffdd9547c27f8f5725b6237433f54e2 +PKG_SOURCE_DATE:=2020-11-24 +PKG_SOURCE_VERSION:=61b3c62d1c0dbbdcee2d67f56fb112f0af80527a +PKG_MIRROR_HASH:=4237d525104ba4369a281d71b96307410d592e2aaa6d689306bf7d948def951b PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=COPYING