How do I verify the integrity of a package? And how do I configure yum to add a site

How do I verify the integrity of a package? And how do I configure yum to add a site

you can test the integrity of an installed packge using the pkgchk command

editeditedit

whould this be it rpm -qaVl