Add per repo mirror type, and use the repo all over the place
s/true/false, we were trying to disable a repository here
Remove dead code
All mirror doesn't exists yet
Fix full repo update
Really fix this time
Get public key from pkg_repo struct.

Obtain public key in repo_archive_extract_file from pkg_repo struct
instead of global configuration that enables multi-repo support.

Reported by:	bapt
Load mirror_type per repository
Add a new member reponame to struct pkg_repo
Now test and validate a repository before using it
Update tests for new options
New Release 1.1.a4
add vulnxml entry to options
remove non option testing
Make pkgdb_get_reponame take a repository name and return a repository
internal name, this makes pkg rquery work with -r
Fix loading repositories
make pkg search -r works
Add a new sql function reponame that strips 'repo-' from dbname
Try to set mtime directly only for http urls.

Mtime detection may be broken for other types of urls, therefore
just ensure that we handle an HTTP url.
Use url for packagesite key.

Fix broken update by setting packagesite key to pkg_repo_url
instead of pkg_repo_name.
Fall back on unix-dotfile locking strategy if PKG_DBDIR is store on a network filesystem