Backporting opkg fixes to 19.07

Baptiste Jonglez baptiste at bitsofnetworks.org
Sun Jan 24 06:41:46 EST 2021


Hi,

I would like to backport the opkg fix for https://bugs.openwrt.org/index.php?do=details&task_id=2690
to 19.07.

The opkg package in 19.07 is a bit old, it's using:

f2166a8 libopkg: implement lightweight package listing logic

Since there were several other changes in opkg master, I would create a
new openwrt-19.07 branch in opkg based on f2166a8, and backport these commits:

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

And maybe also this fix for another issue:

66f458d libopkg: fix md5sum calculation

As far as I can tell, it shouldn't cause issues such as ABI breakage, but
I prefer if somebody can double-check...

Thanks,
Baptiste
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210124/7ec1bb99/attachment.sig>


More information about the openwrt-devel mailing list