Solved How to resolve checksum error on port build

I need to build an older version of samba. To do this I need to build its dependencies. I am using Poudriere and am down to the last two dependencies needed before samba will build. However, I cannot get past this error:

Code:
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by trousers-0.3.14_1 for building
=> SHA256 Checksum mismatch for trousers-0.3.14.tar.gz.

How do I fix this so that the build can proceed past this point and complete?
 
The checksums are in the distinfo file -- if you downgrade manually, you must include all the files from the port directory.

There's also the (hopefully very rare) case that a distfile is changed by upstream after release. In that case, it should help to move the original distinfo file out of the way and do make fetch && make makesum in the port directory to create a new one.
 
Back
Top