Define OSMAJOR as the OS major version, and add it to CFLAGS when
compiling libpkg sources.

Add new function: bool pkg_compiled_for_same_os_major(void) -- detect
when pkg(8) is running on a different OS major version than what it
was compiled for (presumably as a consequence of system upgrade)

Add INDEXDIR and INDEXFILE config file values to parallel the usage in
${PORTSDIR}/Makefile etc.  These are respectively the directory to
search for the ports index in (if undefined, defaults to the value of
PORTSDIR) and the filename of the index -- default INDEX-N where N is
the OS major version.
Fix typo.
Add some helpful advice for people doing major version upgrades.
Merge branch 'master' into indexfile
added ability to install packages with missing dependencies
added -M to pkg-add.8, pkg-install.8
Merge pull request #750 from skinder/missing-deps-support

Added ability to install packages with missing dependencies
Do not enter in a sandbox if the database is open

One may try to write on need meaning it would need to create a -journal file
Do not count the lock owner as lock blocker.
Merge branch 'master' into indexfile

Conflicts:
	libpkg/Makefile
	libpkg/pkg.h.in
	libpkg/pkg_config.c
Get the OS Major version we're being compiled under from the
__FreeBSD__ or __DragonFly__ macro built into cc.  Default to using
the ports INDEX as during our compilation, but warn when that does not
match the runtime OS major version -- ie. we're in the middle of an OS
upgrade.
Add a flag to indicate processing a named INDEX file from the command
line -- backwards compatibility with pkg_version, and also to make
'pkg version' do what the man page says it does...
Print debug in some problematic solver's states.
Add types for conflicts.
Use conflict types for solver.
Add some debug for solver.
Place remove jobs before installing.
Disable remote packages detection in universe.

Since we do this job in find_remote_pkg we should avoid doing it in
universe handling since we can easily skip adding that packages to
a request.
Rework priorities and upgrade split logic.
Release 1.3.0.a5