This patch adds integrity checks for the packages of the libports repository. Issue #748
Fixes #681
Fixes #669