Added package configuration variables for all other packages, added check for gpg2/gpg, other minor changes