abuild -f doesn't verify checksums
Versions abuild-3.1.0-r3
What happens Build an aport with -f does not verify the checksums.
What I expected I’ve expected it to verify them, since the help sounds like it will build again if a package already exists. But it’s unexpected to me, that the checksums don’t get verified.
abuild -h says:
-f Force specified cmd, even if they are already done
How to reproduce
mkdir hello-world
cd hello-world
wget https://raw.githubusercontent.com/postmarketOS/pmbootstrap/a876a428dde66a334aec8da446df5b23ae35ddf1/aports/main/hello-world/APKBUILD
wget https://raw.githubusercontent.com/postmarketOS/pmbootstrap/a876a428dde66a334aec8da446df5b23ae35ddf1/aports/main/hello-world/Makefile
wget https://raw.githubusercontent.com/postmarketOS/pmbootstrap/a876a428dde66a334aec8da446df5b23ae35ddf1/aports/main/hello-world/main.c
echo "// modification" >> main.c
abuild # checksums get verified
abuild -f # checksums don't get verified!
(from redmine: issue id 8257, created on 2017-12-07, closed on 2019-03-06)